/* =========================
   DESIGN TOKENS
   ========================= */

:root {
  --font-body: 'Inter', sans-serif;
  --font-heading: 'League Spartan', sans-serif;

  --color-primary: #18a66a;
  --color-dark: #0f172a;
  --color-text: #334155;
  --color-muted: #64748b;
  --color-white: #ffffff;
}

/* =========================
   RESET
   ========================= */

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

/* =========================
   BASE
   ========================= */

html {
  scroll-behavior: auto;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--color-text);
  background: linear-gradient(
    180deg,
    #f6fbf8 0%,
    #ffffff 55%,
    #f4fbf7 100%
  );
  position: relative;
  overflow-x: hidden;
}

/* Background blobs */
body::before,
body::after {
  content: "";
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background: #18a66a;
  top: -140px;
  left: -140px;
}

body::after {
  background: #9ae6c5;
  bottom: -180px;
  right: -140px;
}

section,
nav {
  position: relative;
  z-index: 1;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--color-dark);
}

a {
  text-decoration: none;
  color: inherit;
}

/* =========================
   ACCESSIBILITY
   ========================= */

/* Skip to main content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: white;
  padding: 8px 16px;
  z-index: 10000;
  text-decoration: none;
  border-radius: 0 0 4px 0;
}

.skip-link:focus {
  top: 0;
}

/* Visually hidden labels for screen readers */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* =========================
   NAV — CLEAN FLOATING BAR
   ========================= */

.nav {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(-120%);
  opacity: 0;
  z-index: 1000;

  transition: transform 0.4s ease, opacity 0.4s ease;
}

.nav.nav-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 1.5rem;

  padding: 0.5rem 0.9rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);

  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

/* Logo */

.nav-logo {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
  opacity: 0.65;
  white-space: nowrap;
  padding-right: 0.5rem;
}

/* Links */

.nav-links {
  display: flex;
  gap: 0.3rem;
  list-style: none;
}

.nav-links a {
   font-size: 0.8rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;

  color: var(--color-muted);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  background: rgba(24, 166, 106, 0.08);
  color: var(--color-dark);
}
/* =========================
   INTRO
   ========================= */

#intro {
  padding: 6rem 2rem 2rem;
}

#intro h1 {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  max-width: 600px;
  margin-bottom: 4rem;
  color: var(--color-muted);
}

/* =========================
   BUTTONS
   ========================= */

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.9rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(24,166,106,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(24,166,106,0.3);
}

.btn-primary:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* =========================
   SECTIONS
   ========================= */

.section-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

/* =========================
   PRICING (LOCKED)
   ========================= */

.pricing-container {
  max-width: 900px;
}

.pricing-toggle {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2.5rem 0 4rem;
  flex-wrap: wrap;
}

.pricing-toggle button {
  background: transparent;
  border: 1px solid #e2e8f0;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--color-muted);
  cursor: pointer;
  font-family: var(--font-body);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.pricing-toggle button:hover {
  border-color: var(--color-dark);
}

.pricing-toggle button.active {
  color: var(--color-dark);
  border-color: var(--color-dark);
}

.pricing-panel {
  display: none;
}

.pricing-panel.active {
  display: block;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 2.25rem 0;
  border-bottom: 1px solid #e2e8f0;
  gap: 2rem;
}

.pricing-row:last-child {
  border-bottom: none;
}

.pricing-info {
  max-width: 520px;
}

.pricing-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.pricing-info p {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.pricing-price {
  text-align: right;
  min-width: 140px;
}

.pricing-price span {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-dark);
  display: block;
  line-height: 1.05;
}

.pricing-price small {
  display: block;
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 0.25rem;
}

/* Group pricing buttons */
.group-rate-buttons {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.group-btn {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: transparent;
  font-size: 0.75rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.group-btn:hover {
  border-color: var(--color-muted);
}

.group-btn.active {
  border-color: var(--color-dark);
  color: var(--color-dark);
}

/* =========================
   ABOUT
   ========================= */

.about {
  padding-top: 5rem;
}

.about-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 4rem;
  align-items: center;
  padding: 0 2rem;
}

.about-image {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--color-primary);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

/* =========================
   CONTACT CARD
   ========================= */

.contact-card {
  max-width: 1000px;
  margin: 2.5rem auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  background: rgba(255,255,255,0.95);
  border-radius: 2.75rem;
  padding: 3.5rem 4rem;
  box-shadow: 0 28px 55px rgba(24,166,106,0.12);
}

.contact-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-image {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 2rem;
}

.contact-map {
  width: 100%;
  height: 160px;
  border-radius: 1.5rem;
  overflow: hidden;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================
   CONTACT FORM
   ========================= */

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.booking-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.booking-card {
  padding: 1rem;
  border-radius: 1.5rem;
  border: 2px solid #e2e8f0;
  background: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.booking-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(24,166,106,0.15);
}

.booking-card.active {
  border-color: var(--color-primary);
  background: rgba(24,166,106,0.08);
  color: var(--color-primary);
}

.booking-cards.small {
  grid-template-columns: 1fr;
}

.lesson-card {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.lesson-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(24,166,106,0.12);
}

.lesson-card.active {
  border-color: var(--color-primary);
  background: rgba(24,166,106,0.08);
}

/* =========================
   RESPONSIVE (EXISTING)
   ========================= */

@media (max-width: 1000px) {
  .nav-container {
    padding: 1.05rem 1.5rem;
  }
}

/* =========================
   TABLET & MOBILE
   ========================= */

@media (max-width: 900px) {

  /* CONTACT CARD */
  .contact-card {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .contact-content {
    order: 1;
  }

  .contact-visual {
    order: 2;
  }

  /* ABOUT */
  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image {
    margin: 0 auto;
  }

  /* FORMS */
  .booking-cards {
    grid-template-columns: 1fr;
  }

  /* PRICING */
  .pricing-row {
    flex-direction: column;
    gap: 1rem;
  }

  .pricing-price {
    text-align: left;
    min-width: auto;
  }
}

/* =========================
   MOBILE TYPOGRAPHY & SPACING
   ========================= */

@media (max-width: 768px) {

  h1 {
    font-size: 2.05rem;
    line-height: 1.15;
  }

  h2 {
    font-size: 1.75rem;
    line-height: 1.2;
    text-align: center;
  }

  h3 {
    font-size: 1.3rem;
    line-height: 1.25;
  }

  p {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .section-container {
    padding: 4.25rem 1.5rem;
  }

  .section-subtitle {
    text-align: center;
    margin: 0 auto 2.75rem;
  }

  .btn-primary {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* =========================
   SMALL PHONES
   ========================= */

@media (max-width: 480px) {

  .section-container {
    padding: 3.75rem 1.25rem;
  }

  h1 {
    font-size: 1.9rem;
  }

  h2 {
    font-size: 1.55rem;
  }

  #intro h1 {
    font-size: 2.1rem;
  }

  .contact-card {
    padding: 2.1rem 1.4rem;
    border-radius: 1.9rem;
  }

  .contact-image {
    height: 250px;
  }

  .contact-map {
    height: 135px;
  }
}
/* =========================
   MOBILE NAV — TOGGLE
   ========================= */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-dark);
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Hamburger animation when open */
.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* =========================
   MOBILE NAV — SOFT SHEET
   ========================= */

@media (max-width: 700px) {

  /* NAV BAR */
 
 .nav-container {
  position: relative;
  justify-content: center;
  padding: 1.35rem 1.25rem;
   gap: 0.75rem;
}
  /* CENTER LOGO */
  .nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    white-space: normal;
    line-height: 1.35;
    opacity: 0.85;
  }

  /* HAMBURGER LEFT */
  .nav-toggle {
    display: block;
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
  }

  /* MENU PANEL */
  .nav-links {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translate(-50%, -10px);
    width: calc(100% - 2rem);
    max-width: 420px;

    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);

    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 2.25rem 2rem 2.5rem;

    border-radius: 28px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);

    opacity: 0;
    pointer-events: none;

    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav-links.nav-open {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
  }

  /* MENU LINKS */
  .nav-links a {
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--color-dark);
    opacity: 0.85;
    text-align: center;
  }

  /* PRIMARY CTA */
  .nav-links a[href="#contact"] {
    margin-top: 0.75rem;
    padding: 0.7rem 1.5rem;
    background: var(--color-primary);
    color: #ffffff;
    border-radius: 999px;
    font-weight: 600;
    opacity: 1;
  }
}
/* =========================
   MOBILE NAV HARD RESET
   ========================= */

@media (max-width: 700px) {

  .nav {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
  }

  .nav.nav-visible {
    transform: none;
  }

  .nav-container {
    border-radius: 0;
    box-shadow: none;
    width: 100%;
  }

}/* =========================
   FORCE MOBILE NAV ON TABLET
   ========================= */

@media (max-width: 1366px) {

  /* Nav container base */
  .nav-container {
    position: relative;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    justify-content: center;
    padding: 1.35rem 1.25rem;
  }

  /* Show hamburger */
  .nav-toggle {
    display: block;
    position: absolute;
    right: 1.25rem;        /* hamburger on RIGHT */
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
  }

  /* Center logo */
  .nav-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    white-space: normal;
    line-height: 1.35;
    opacity: 0.85;
  }

  /* Hide inline nav links by default */
  .nav-links {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translate(-50%, -10px);
    width: calc(100% - 2rem);
    max-width: 420px;

    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);

    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 2.25rem 2rem 2.5rem;

    border-radius: 28px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);

    opacity: 0;
    pointer-events: none;

    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  /* Open state */
  .nav-links.nav-open {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
  }

  /* Mobile link styling */
  .nav-links a {
    font-size: 1.05rem;
    font-weight: 500;
    text-align: center;
    color: var(--color-dark);
    opacity: 0.85;
  }

  /* Contact button */
  .nav-links a[href="#contact"] {
    margin-top: 0.75rem;
    padding: 0.7rem 1.5rem;
    background: var(--color-primary);
    color: #ffffff;
    border-radius: 999px;
    font-weight: 600;
    opacity: 1;
  }

  /* Nav bar positioning */
  .nav {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
  }

  .nav.nav-visible {
    transform: none;
  }
}