/* =========================================================
   SUPER SMASH Badminton Academy — style.css
   Design tokens from Figma "1920w light"
   ========================================================= */
:root {
  --teal: #2f88a6;
  --yellow: #f3f24c;
  --yellow-bright: #faf904;
  --red: #ce0000;
  --text-dark: #404040;
  --black: #000000;
  --white: #ffffff;

  --font-display: "Yanone Kaffeesatz", sans-serif;
  --font-body: "Poppins", sans-serif;
  --font-button: "Oswald", sans-serif;
  --font-nav: "Assistant", sans-serif;
  --font-brand: "Archivo Black", sans-serif;

  --header-height: 86px;
  --radius: 20px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
}

img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-button);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  text-decoration: none;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }

.btn-yellow {
  background: var(--yellow);
  color: var(--teal);
  font-size: 28px;
  padding: 22px 40px;
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
  font-size: 20px;
  padding: 18px 36px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* ---------- Section titles ---------- */
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 52px;
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
}
.section-title.teal { color: var(--teal); }
.section-title.dark { color: var(--black); }
.section-title.yellow { color: var(--yellow); }
.section-title.yellow-bright { color: var(--yellow); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--teal);
  z-index: 100;
}

.header-inner {
  max-width: 1600px;
  margin: 0 auto;
  height: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand-logo { height: 66px; width: auto; }
.brand-name {
  font-family: var(--font-brand);
  font-size: 30px;
  line-height: 31px;
  text-transform: capitalize;
  display: flex;
  flex-direction: column;
}
.brand-super { color: var(--black); }
.brand-smash { color: var(--red); }

.main-nav { margin-left: auto; }
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 42px;
}
.main-nav a {
  font-family: var(--font-nav);
  font-size: 22px;
  color: var(--yellow-bright);
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.main-nav a:hover { opacity: 0.8; }

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--yellow-bright);
  margin: 5px 0;
  border-radius: 2px;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  margin-top: var(--header-height);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  padding: 0 32px 0 167px;
}
.hero-content h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 72px;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--yellow);
  max-width: 720px;
}
.hero-sub {
  margin-top: 28px;
  font-size: 30px;
  color: var(--white);
}
.hero-content .btn { margin-top: 48px; }

/* =========================================================
   BADMINTON FOR ALL
   ========================================================= */
.for-all {
  position: relative;
  padding: 68px 0 90px;
  overflow: hidden;
}
.for-all-bg,
.for-all-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.for-all-content { position: relative; z-index: 1; }

.for-all-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.for-all-text p {
  color: var(--white);
  font-size: 20px;
  line-height: 24px;
}
.for-all-text p + p { margin-top: 32px; }
.for-all-media video {
  width: 100%;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.4);
}

/* =========================================================
   TRAINING (feature rows)
   ========================================================= */
.pattern-bg {
  background-image: url("../assets/pattern-bg.png");
  background-size: 600px 600px;
  background-position: top left;
}

.training { padding: 60px 0 80px; }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  margin-top: 70px;
}
.feature-row.reverse .feature-media { order: 2; }
.feature-row.reverse .feature-text { order: 1; }

.feature-media img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

.feature-text h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 36px;
  line-height: 48px;
  text-transform: uppercase;
  color: var(--black);
}
.feature-tag {
  margin-top: 6px;
  font-weight: 500;
  font-size: 15px;
  text-transform: uppercase;
  color: var(--teal);
}
.feature-tag.center { text-align: center; }
.feature-divider {
  margin: 18px 0;
  border: none;
  border-top: 1px solid var(--teal);
  width: 72px;
}
.feature-text > p:not(.feature-tag) {
  font-size: 16px;
  line-height: 28px;
  color: var(--text-dark);
}
.feature-text .btn { margin-top: 28px; }

/* =========================================================
   SCHEDULE & PACKAGES
   ========================================================= */
.schedule { padding: 70px 0 90px; text-align: center; }

.schedule-subtitle {
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 36px;
  line-height: 48px;
  text-transform: uppercase;
  color: var(--black);
}
.schedule-divider {
  margin: 20px auto 0;
  border: none;
  border-top: 1px solid var(--teal);
  width: 90px;
}

.perks {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.perk i {
  font-size: 50px;
  color: var(--teal);
}
.perk-icon {
  height: 52px;
  width: 52px;
  margin: 0 auto;
}
.perk p {
  margin-top: 16px;
  font-size: 18px;
  text-transform: capitalize;
  color: var(--black);
}

.poster { margin-top: 56px; }
.poster img { width: 100%; }

.schedule-footer { margin-top: 60px; }
.schedule-note {
  font-size: 14px;
  line-height: 24px;
  color: var(--text-dark);
}
.schedule-cta-text {
  margin-top: 28px;
  font-size: 14px;
  color: var(--text-dark);
}
.schedule-footer .btn { margin-top: 20px; }

/* =========================================================
   ENVIRONMENT
   ========================================================= */
.environment {
  position: relative;
  background: var(--teal);
  padding: 130px 0 140px;
}
.env-inner { position: relative; }

.env-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
  text-align: center;
  max-width: 900px;
}
.env-grid p {
  color: var(--white);
  font-size: 18px;
  line-height: 24px;
  text-transform: capitalize;
}

.env-player {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 113px;
  height: 193px;
}

.env-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  line-height: 0;
  transform: rotate(180deg);
}
.env-wave img { width: 100%; height: 66px; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials {
  background: var(--white);
  padding: 130px 0;
  text-align: center;
}

.slider { position: relative; }
.slide { display: none; }
.slide.active { display: block; }

.quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 36px;
  line-height: 48px;
  text-transform: uppercase;
  color: var(--black);
  max-width: 1200px;
  margin: 0 auto;
}
.slide cite {
  display: block;
  margin-top: 44px;
  font-style: normal;
}
.cite-title {
  display: block;
  font-size: 20px;
  line-height: 30px;
  text-transform: uppercase;
  color: var(--teal);
}
.cite-sub {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  color: var(--text-dark);
}

.slider-dots {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.dot {
  width: 24px;
  height: 6px;
  border: none;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: background 0.2s ease;
}
.dot.active { background: var(--teal); }

/* =========================================================
   CTA
   ========================================================= */
.cta {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: #7e7e7e;
  opacity: 0.6;
}
.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.cta-content p {
  margin-top: 42px;
  font-size: 18px;
  line-height: 28px;
  color: var(--white);
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}
.cta-content .btn { margin-top: 36px; font-size: 16px; }
.btn-wa i { font-size: 22px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--teal); }

.footer-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 12px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--white);
  text-decoration: none;
}
.footer-wa-icon { width: 18px; height: 18px; }

.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-nav a {
  position: relative;
  font-family: var(--font-button);
  font-size: 14px;
  line-height: 21px;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  padding-bottom: 3px;
}
.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--yellow-bright);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.footer-nav a:hover::after { opacity: 1; }

.footer-copy {
  font-size: 12px;
  text-transform: capitalize;
  color: var(--white);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .section-title { font-size: 42px; }
  .hero-content { padding-left: 32px; }
  .hero-content h1 { font-size: 56px; }
  .quote { font-size: 30px; line-height: 42px; }
  .env-player { display: none; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .main-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--teal);
    display: none;
    padding: 16px 32px 24px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 18px; }

  .hero-content h1 { font-size: 42px; }
  .hero-sub { font-size: 22px; }
  .btn-yellow { font-size: 20px; padding: 16px 28px; }

  .for-all-grid,
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row.reverse .feature-media { order: 0; }
  .feature-row.reverse .feature-text { order: 1; }

  .perks { grid-template-columns: 1fr; }
  .env-grid { grid-template-columns: 1fr; gap: 28px; }

  .section-title { font-size: 32px; }
  .quote { font-size: 24px; line-height: 34px; }

  .footer-inner { justify-content: center; text-align: center; }
}
