/* Akademi Bulu Tangkis Anak — youth-badminton style */
:root {
  --primary: #00a86b;
  --primary-dark: #007a4d;
  --accent: #ffd600;
  --accent-dark: #c9a800;
  --sky: #e0f7ef;
  --dark: #0d2e1c;
  --text: #1a3d28;
  --muted: #4a6e58;
  --white: #ffffff;
  --light: #f5faf7;
  --border: #c2e0d0;
  --radius: 12px;
  --radius-sm: 6px;
  --shadow: 0 4px 18px rgba(0,168,107,0.12);
  --shadow-md: 0 8px 32px rgba(0,168,107,0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

/* ── Demo Bar ── */
.demo-bar {
  background: var(--dark);
  color: var(--accent);
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  z-index: 1000;
}
.demo-bar a {
  color: var(--white);
  text-decoration: underline;
  font-weight: 600;
}
.demo-bar a:hover { color: var(--accent); }

/* ── Nav ── */
nav {
  background: var(--white);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary-dark);
  letter-spacing: -0.5px;
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-links {
  display: none;
  list-style: none;
  gap: 4px;
}
.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--sky);
  color: var(--primary-dark);
}
.nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  border-radius: 20px !important;
  padding: 8px 18px !important;
}
.nav-cta:hover { background: var(--primary-dark) !important; }

/* Checkbox hack mobile menu */
#menu-toggle { display: none; }
.menu-label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.menu-label:hover { background: var(--sky); }
.menu-label span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
#menu-toggle:checked ~ .nav-inner .menu-label span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#menu-toggle:checked ~ .nav-inner .menu-label span:nth-child(2) { opacity: 0; }
#menu-toggle:checked ~ .nav-inner .menu-label span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
#menu-toggle:checked ~ .nav-mobile {
  display: flex;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 12px 20px 20px;
}
.nav-mobile a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--primary); }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .menu-label { display: none; }
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #00c97e 100%);
  color: var(--white);
  padding: 64px 20px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(255,214,0,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,214,0,0.2);
  border: 1px solid rgba(255,214,0,0.4);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  opacity: 0.92;
  max-width: 560px;
  margin: 0 auto 32px;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.btn-primary {
  background: var(--accent);
  color: var(--dark);
  font-weight: 800;
  padding: 14px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 16px rgba(255,214,0,0.35);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.6);
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

/* Shuttle SVG decoration */
.hero-deco {
  margin-top: 40px;
  opacity: 0.18;
}

/* ── Sections ── */
section { padding: 64px 20px; }
.container { max-width: 1100px; margin: 0 auto; }
.section-label {
  display: inline-block;
  background: var(--sky);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.2;
}
.section-sub {
  color: var(--muted);
  font-size: 1rem;
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto 40px; }

/* ── Stat Strip ── */
.stats-strip {
  background: var(--primary);
  color: var(--white);
  padding: 40px 20px;
}
.stats-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (min-width: 600px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-item { text-align: center; }
.stat-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.stat-label { font-size: 0.85rem; opacity: 0.9; margin-top: 4px; }

/* ── Cards ── */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 600px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .cards-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card-icon {
  width: 52px;
  height: 52px;
  background: var(--sky);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

/* ── Program Cards ── */
.program-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.program-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.program-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 24px;
  text-align: center;
}
.program-header.gold { background: linear-gradient(135deg, #b8860b, #ffd600); color: var(--dark); }
.program-header.silver { background: linear-gradient(135deg, #555, #999); }
.program-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.85; }
.program-name { font-size: 1.4rem; font-weight: 900; margin: 4px 0 8px; }
.program-price { font-size: 1.6rem; font-weight: 800; }
.program-price small { font-size: 0.85rem; font-weight: 400; opacity: 0.85; }
.program-body { padding: 24px; }
.program-body ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.program-body li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
}
.check { color: var(--primary); flex-shrink: 0; margin-top: 2px; }

/* ── Pelatih ── */
.coach-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.coach-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.coach-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 2rem;
  color: var(--white);
  font-weight: 900;
}
.coach-name { font-size: 1.05rem; font-weight: 800; color: var(--dark); }
.coach-title { font-size: 0.85rem; color: var(--primary); font-weight: 600; margin-bottom: 8px; }
.coach-bio { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* ── Jadwal Table ── */
.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 540px;
}
thead th {
  background: var(--primary);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
}
thead th:first-child { border-radius: var(--radius-sm) 0 0 0; }
thead th:last-child { border-radius: 0 var(--radius-sm) 0 0; }
tbody tr:nth-child(even) { background: var(--sky); }
tbody td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text); }
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}
.badge-green { background: #d4f5e7; color: #006644; }
.badge-yellow { background: #fff3c4; color: #7a5900; }
.badge-blue { background: #d0e9ff; color: #004d80; }

/* ── Galeri Grid ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 600px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
}
.gallery-thumb {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.g1 { background: linear-gradient(135deg, #00a86b 0%, #00c97e 100%); }
.g2 { background: linear-gradient(135deg, #007a4d 0%, #00a86b 100%); }
.g3 { background: linear-gradient(135deg, #ffd600 0%, #ffb300 100%); }
.g4 { background: linear-gradient(135deg, #0d2e1c 0%, #1a5c35 100%); }
.g5 { background: linear-gradient(135deg, #00c97e 0%, #ffd600 100%); }
.g6 { background: linear-gradient(135deg, #00a86b 0%, #0d2e1c 100%); }
.g7 { background: linear-gradient(135deg, #ffd600 0%, #00a86b 100%); }
.g8 { background: linear-gradient(135deg, #1a5c35 0%, #00c97e 100%); }
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  padding: 10px 12px 8px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* ── Testimonial ── */
.testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 600px) { .testi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }
.testi-card {
  background: var(--sky);
  border-radius: var(--radius);
  padding: 24px;
  border-left: 4px solid var(--primary);
}
.testi-stars { color: var(--accent); font-size: 1.1rem; margin-bottom: 10px; }
.testi-text { color: var(--text); font-size: 0.9rem; line-height: 1.7; margin-bottom: 14px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 10px; }
.testi-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.testi-name { font-weight: 700; font-size: 0.9rem; color: var(--dark); }
.testi-role { font-size: 0.78rem; color: var(--muted); }

/* ── CTA Strip ── */
.cta-strip {
  background: linear-gradient(135deg, var(--dark), var(--primary-dark));
  color: var(--white);
  padding: 64px 20px;
  text-align: center;
}
.cta-strip h2 { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 900; margin-bottom: 12px; }
.cta-strip p { opacity: 0.85; max-width: 480px; margin: 0 auto 32px; }

/* ── Form ── */
.form-section { background: var(--light); }
.form-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
}
.form-group { margin-bottom: 20px; }
label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; color: var(--dark); }
input, select, textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s;
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--primary); }
textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 520px) { .form-row { grid-template-columns: 1fr 1fr; } }
.btn-submit {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 14px 36px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
}
.btn-submit:hover { background: var(--primary-dark); }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 10px; text-align: center; }
.success-msg {
  display: none;
  background: #d4f5e7;
  color: #006644;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  margin-top: 16px;
  font-weight: 600;
  text-align: center;
}

/* ── Info Box ── */
.info-box {
  background: var(--sky);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
}
.info-box h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.info-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.info-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--text); }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  font-weight: 700;
  padding: 18px 0;
  cursor: default;
  color: var(--dark);
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.faq-q::before {
  content: "Q";
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}
.faq-a { padding: 0 0 16px 34px; color: var(--muted); font-size: 0.9rem; line-height: 1.7; }

/* ── Contact Blocks ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: var(--sky);
  border-radius: var(--radius);
}
.contact-item-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item-text strong { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 2px; }
.contact-item-text span { font-weight: 700; color: var(--dark); font-size: 0.95rem; }
.map-placeholder {
  border-radius: var(--radius);
  overflow: hidden;
  height: 280px;
  background: linear-gradient(135deg, var(--sky) 0%, var(--border) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  border: 2px solid var(--border);
}

/* ── Page Header ── */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 48px 20px 52px;
  text-align: center;
}
.page-header h1 { font-size: clamp(1.6rem, 5vw, 2.4rem); font-weight: 900; margin-bottom: 10px; }
.page-header p { opacity: 0.9; font-size: 1rem; max-width: 480px; margin: 0 auto; }
.breadcrumb {
  font-size: 0.82rem;
  opacity: 0.75;
  margin-bottom: 12px;
}
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ── Prestasi ── */
.achievement-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: box-shadow 0.2s;
}
.achievement-card:hover { box-shadow: var(--shadow); }
.achievement-medal {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.medal-gold { background: linear-gradient(135deg, #ffd600, #b8860b); }
.medal-silver { background: linear-gradient(135deg, #bbb, #777); }
.medal-bronze { background: linear-gradient(135deg, #cd7f32, #8b4513); }
.achievement-info h3 { font-weight: 700; color: var(--dark); margin-bottom: 4px; font-size: 0.95rem; }
.achievement-info p { color: var(--muted); font-size: 0.85rem; }
.achievement-year {
  margin-left: auto;
  background: var(--sky);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Facility ── */
.facility-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 768px) { .facility-grid { grid-template-columns: repeat(4, 1fr); } }
.facility-item {
  background: var(--sky);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
}
.facility-item svg { margin-bottom: 10px; }
.facility-item strong { display: block; font-weight: 700; color: var(--dark); font-size: 0.9rem; margin-bottom: 4px; }
.facility-item span { font-size: 0.82rem; color: var(--muted); }

/* ── Two Col Layout ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media (min-width: 768px) { .two-col { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .two-col { grid-template-columns: 3fr 2fr; } }

/* ── Footer ── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 48px 20px 28px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
@media (min-width: 600px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand .logo { color: var(--white); }
.footer-brand p { font-size: 0.88rem; opacity: 0.7; margin-top: 12px; line-height: 1.7; }
.footer-col h4 { color: var(--white); font-weight: 700; margin-bottom: 14px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.55;
}

/* ── Utilities ── */
.mb-0 { margin-bottom: 0 !important; }
.mt-8 { margin-top: 8px; }
.bg-light { background: var(--light); }
.tag {
  display: inline-block;
  background: var(--sky);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}
.divider { border: none; border-top: 1.5px solid var(--border); margin: 0; }
