/* ========== VARIABLES ========== */
:root {
  --black: #000000;
  --dark: #0a0a0a;
  --dark-gray: #1a1a1a;
  --mid-gray: #2a2a2a;
  --light-gray: #b0b0b0;
  --white: #ffffff;
  --emerald: #047857;
  --emerald-light: #059669;
  --emerald-glow: #10b981;
  --font-main: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

input,
textarea,
select,
button {
  font: inherit;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--black);
  color: var(--white);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--emerald-glow);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--emerald-light);
}

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 48px;
}

/* Skip link: visible on focus */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 24px;
  background: var(--emerald);
  color: var(--white);
  font-weight: 600;
  z-index: 100;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* ========== NAVBAR ========== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end; /* Align logo and nav-group to the bottom */
  padding: 15px 48px;
  height: auto; /* Let it grow with the content */
  min-height: 140px; /* Ensure enough space for the stacked items */
}

.nav-logo {
  flex-shrink: 0;
}

.logo-img {
  height: 120px;
  width: auto;
  display: block;
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at center, black 50%, transparent 95%);
  mask-image: radial-gradient(ellipse 85% 85% at center, black 50%, transparent 95%);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-link {
  display: inline-block;
  vertical-align: bottom;
  padding: 10px 18px;
  font-size: 1.05rem;
  font-weight: 500;
  border-radius: 4px;
}

.nav-link:hover {
  color: var(--white);
  background-color: var(--mid-gray);
}

.nav-link.active {
  color: var(--white);
  background-color: var(--emerald);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--white);
  transition: all 0.3s ease;
}

/* ========== HERO / WELCOME ========== */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 50%, var(--emerald) 150%);
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 70%;
  background: url('../images/calistenics_skill_lab.jpg') center right / cover no-repeat;
  mask-image: linear-gradient(to right, transparent 0%, black 30%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 30%);
  opacity: 0.6;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 60%, rgba(4, 120, 87, 0.15) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 24px;
  text-align: center;
  margin-right: auto;
  margin-left: 8%;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 8px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: var(--emerald-glow);
  font-weight: 300;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-text {
  font-size: 1.2rem;
  color: var(--light-gray);
  margin-bottom: 40px;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  background-color: var(--emerald);
  color: var(--white);
  border: 2px solid var(--emerald);
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--emerald-light);
  border-color: var(--emerald-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--emerald-glow);
}

.btn-outline:hover {
  background-color: var(--emerald);
  color: var(--white);
}

/* ========== WELCOME INTRO ========== */
.welcome-intro {
  position: relative;
  padding: 80px 0 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: 8%;
}

.welcome-intro::before {
  content: '';
  position: absolute;
  left: -60px;
  top: 50%;
  transform: translateX(-100%) translateY(-50%);
  width: 30vw;
  height: 70%;
  background: url('../images/why_calistenics_skill_lab.JPG') center / cover no-repeat;
  mask-image: linear-gradient(to left, transparent 0%, black 30%);
  -webkit-mask-image: linear-gradient(to left, transparent 0%, black 30%);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

.intro-heading {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  text-align: center;
  color: var(--white);
  margin-bottom: 8px;
}

.intro-subheading {
  text-align: center;
  font-size: 1.1rem;
  color: var(--emerald-glow);
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 40px;
}

.intro-paragraph {
  color: var(--light-gray);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: center;
}

.intro-highlight {
  margin: 36px 0;
  padding: 24px 32px;
  border-left: 4px solid var(--emerald);
  background-color: var(--dark-gray);
  border-radius: 0 8px 8px 0;
}

.intro-highlight p {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.5px;
}

.intro-heading2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--emerald-glow);
  text-align: center;
  margin-top: 40px;
  margin-bottom: 16px;
}

.intro-bullets {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
  counter-reset: bullet-counter;
}

.intro-bullets li {
  counter-increment: bullet-counter;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px 24px 28px;
  background: linear-gradient(160deg, var(--dark-gray) 0%, rgba(4, 120, 87, 0.08) 100%);
  border: 1px solid var(--mid-gray);
  border-radius: 14px;
  transition: all 0.4s ease;
  text-align: center;
  overflow: hidden;
}

.intro-bullets li::before {
  content: counter(bullet-counter, decimal-leading-zero);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(16, 185, 129, 0.35);
  line-height: 1;
  margin-bottom: 4px;
  transition: color 0.4s ease;
}

.intro-bullets li::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald), var(--emerald-glow));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.intro-bullets li:hover {
  border-color: var(--emerald);
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(4, 120, 87, 0.2);
}

.intro-bullets li:hover::before {
  color: rgba(16, 185, 129, 0.55);
}

.intro-bullets li:hover::after {
  transform: scaleX(1);
}

.intro-bullets li strong {
  color: var(--white);
  font-size: 1.15rem;
  letter-spacing: 0.3px;
}

.intro-bullets li span {
  color: var(--light-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .intro-bullets {
    grid-template-columns: 1fr;
  }
}

/* ========== TAB CONTENT ========== */
.tab-content {
  display: none;
  min-height: 100vh;
  padding-top: 80px;
}

.tab-content.active {
  display: block;
}

#welcome.tab-content {
  padding-top: 0;
}

/* ========== SECTION TITLES ========== */
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 16px;
}

.accent {
  color: var(--emerald-glow);
}

.section-subtitle {
  text-align: center;
  color: var(--light-gray);
  font-size: 1.1rem;
  margin-bottom: 48px;
}

/* ========== ABOUT ========== */
.about-heading {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 16px;
}

.about-section {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr;
  gap: 48px;
  align-items: start;
  padding: 80px 0;
  border-bottom: 1px solid var(--mid-gray);
}

.about-section:last-child {
  border-bottom: none;
}

.about-section.image-right {
  grid-template-columns: 1.5fr 1fr;
}

.about-section.image-right .about-section-image {
  order: 2;
}

.about-section.image-right .about-section-text {
  order: 1;
}

/* Stacked layout: text above, large image below */
.about-section-stacked {
  padding: 80px 0;
  border-bottom: 1px solid var(--mid-gray);
  text-align: center;
}

.about-section-stacked .about-section-text {
  max-width: 800px;
  margin: 0 auto 40px;
}

.about-section-image-stacked {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.about-section-image-stacked img {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  border-radius: 12px;
  -webkit-mask-image: radial-gradient(ellipse 80% 75% at center, black 40%, transparent 85%);
  mask-image: radial-gradient(ellipse 80% 75% at center, black 40%, transparent 85%);
}

.about-section-image {
  align-self: stretch;
}

.about-section-image img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  -webkit-mask-image: radial-gradient(ellipse 90% 85% at center, black 60%, transparent 95%);
  mask-image: radial-gradient(ellipse 90% 85% at center, black 60%, transparent 95%);
}

.image-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background-color: var(--mid-gray);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-gray);
  font-size: 1.1rem;
  border: 2px dashed var(--emerald);
}

.about-section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.about-coach-title {
  color: var(--emerald-glow);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.about-coach-quote {
  color: var(--light-gray);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  padding: 16px 24px;
  border-left: 3px solid var(--emerald);
  background-color: var(--dark-gray);
  border-radius: 0 8px 8px 0;
  margin-bottom: 28px;
}

.about-paragraph {
  color: var(--light-gray);
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-section-text .intro-bullets {
  margin-top: 16px;
  margin-bottom: 24px;
}

/* About: side-by-side text-only columns */
.about-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 80px 0;
  border-bottom: 1px solid var(--mid-gray);
}

.about-column {
  padding: 32px;
  background-color: var(--dark-gray);
  border: 1px solid var(--mid-gray);
  border-radius: 12px;
}

.about-column:hover {
  border-color: var(--emerald);
}

.about-cta {
  margin-top: 80px;
  margin-bottom: 80px;
  text-align: center;
  padding: 40px;
  background-color: var(--dark-gray);
  border: 1px solid var(--emerald);
  border-radius: 12px;
}

.about-cta-text {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.about-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 20px;
  padding: 40px 0;
  border-bottom: 1px solid var(--mid-gray);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--emerald-glow);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========== SERVICES ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  padding-bottom: 60px;
}

.service-card {
  position: relative;
  background-color: var(--dark-gray);
  border: 1px solid var(--mid-gray);
  border-radius: 12px;
  padding: 32px 24px;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--emerald);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(4, 120, 87, 0.15);
}

.service-card.featured {
  border-color: var(--emerald);
}

.service-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background-color: var(--emerald);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 16px;
  border-radius: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--mid-gray);
  color: var(--white);
}

.service-card p {
  color: var(--light-gray);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.service-details {
  list-style: none;
  margin-bottom: 20px;
}

.service-details li {
  color: var(--light-gray);
  font-size: 0.9rem;
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.service-details li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--emerald-glow);
  font-weight: bold;
}

.service-price {
  display: inline-block;
  color: var(--emerald-glow);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ========== SERVICE CARD CLICKABLE ========== */
.service-card {
  cursor: pointer;
}

.service-card.selected {
  border-color: var(--emerald-glow);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.2);
  transform: translateY(-4px);
}

/* ========== EXPANDED PANEL ========== */
.service-expanded {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    opacity 0.3s ease;
  opacity: 0;
}

.service-expanded.open {
  max-height: none;
  opacity: 1;
  margin-top: 32px;
  margin-bottom: 60px;
}

.expanded-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 0;
  background-color: var(--dark-gray);
  border: 1px solid var(--emerald);
  border-radius: 12px;
  overflow: hidden;
  align-items: stretch;
}

.expanded-image {
  position: relative;
  min-height: 500px;
}

.expanded-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 12px 0 0 12px;
  -webkit-mask-image: linear-gradient(to right, black 50%, transparent 100%);
  mask-image: linear-gradient(to right, black 50%, transparent 100%);
}

.expanded-details {
  padding: 40px;
}

.expanded-image .image-placeholder {
  aspect-ratio: 4/3;
}

.expanded-details h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.expanded-text {
  color: var(--light-gray);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.expanded-details .service-details {
  margin-bottom: 20px;
}

.expanded-details .service-price {
  display: block;
  margin-bottom: 24px;
}

.expanded-cta {
  display: inline-block;
}

@media (max-width: 768px) {
  .expanded-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .expanded-image {
    min-height: 250px;
    position: relative;
  }

  .expanded-image img {
    border-radius: 12px 12px 0 0;
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
  }

  .expanded-details {
    padding: 24px;
  }
}

/* ========== EXPANDED SECTIONS (Location/Schedule inside cards) ========== */
.expanded-section {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--mid-gray);
}

.expanded-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--emerald-glow);
  text-align: center;
  margin-bottom: 8px;
}

.expanded-section-subtitle {
  text-align: center;
  color: var(--light-gray);
  margin-bottom: 24px;
}

/* ========== LOCATIONS LIST ========== */
.locations-subheading {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  text-align: center;
  margin-top: 20px;
  margin-bottom: 12px;
}

.locations-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.location-item {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--dark-gray);
  border: 1px solid var(--mid-gray);
  border-radius: 8px;
  color: var(--light-gray);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.location-item:hover {
  border-color: var(--emerald);
  color: var(--white);
}

/* ========== LOCATION ========== */
.location-card {
  text-align: center;
  padding: 40px;
  background-color: var(--dark-gray);
  border: 1px solid var(--mid-gray);
  border-radius: 12px;
  margin-bottom: 32px;
}

.location-pin {
  font-size: 2rem;
  color: var(--emerald-glow);
  margin-bottom: 12px;
}

.location-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.location-map {
  margin-bottom: 60px;
}

/* ========== SCHEDULE ========== */
.schedule-table {
  max-width: 600px;
  margin: 0 auto 40px;
}

.schedule-table table {
  width: 100%;
  border-collapse: collapse;
}

.schedule-table th {
  text-align: center;
  padding: 12px 20px;
  color: var(--emerald-glow);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid var(--emerald);
}

.schedule-table td {
  padding: 16px 20px;
  color: var(--light-gray);
  font-size: 1.05rem;
  border-bottom: 1px solid var(--mid-gray);
}

.schedule-table tr:hover td {
  color: var(--white);
  background-color: var(--dark-gray);
}

.schedule-pricing-heading {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--emerald-glow);
  margin-bottom: 24px;
}

.pricing-cards {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding-bottom: 60px;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 32px 40px;
  background-color: var(--dark-gray);
  border: 1px solid var(--mid-gray);
  border-radius: 12px;
  transition: border-color 0.3s ease;
  min-width: 220px;
}

.pricing-card:hover {
  border-color: var(--emerald);
}

.pricing-frequency {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-per-class {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--emerald-glow);
}

.pricing-total {
  font-size: 0.95rem;
  color: var(--light-gray);
}

@media (max-width: 768px) {
  .pricing-cards {
    flex-direction: column;
    align-items: center;
  }

  .pricing-card {
    width: 100%;
    max-width: 300px;
  }
}

.schedule-note {
  text-align: center;
  color: var(--light-gray);
  font-size: 0.9rem;
  font-style: italic;
  margin-top: 20px;
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--light-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  background-color: var(--dark-gray);
  border: 1px solid var(--mid-gray);
  border-radius: 6px;
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font-main);
  transition: border-color 0.3s ease;
}

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

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background-color: var(--dark-gray);
}

.btn-submit {
  align-self: flex-start;
}

.form-status {
  font-size: 0.95rem;
  min-height: 24px;
}

.form-status.success {
  color: var(--emerald-glow);
}

.form-status.error {
  color: #ef4444;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 8px;
}

.info-item h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  color: var(--emerald-glow);
}

.info-item p {
  color: var(--light-gray);
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  color: var(--light-gray);
  font-weight: 500;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: var(--emerald-glow);
}

/* ========== REVIEWS ========== */
#reviews.tab-content,
#contact.tab-content {
  position: relative;
  background: url('../images/calistenics_park.jpg') center / cover no-repeat fixed;
}

#reviews.tab-content::before,
#contact.tab-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 0;
}

#reviews .container,
#contact .container {
  position: relative;
  z-index: 1;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  padding-bottom: 40px;
}

.review-card {
  background-color: var(--dark-gray);
  border: 1px solid var(--mid-gray);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.review-card:hover {
  border-color: var(--emerald);
}

.review-stars {
  color: #fbbf24;
  font-size: 1.2rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.review-text {
  color: var(--light-gray);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.review-author {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--mid-gray);
}

.author-name {
  color: var(--white);
  font-weight: 600;
}

.reviews-cta {
  text-align: center;
  padding: 32px 0 60px;
}

.reviews-cta p {
  color: var(--light-gray);
  margin-bottom: 16px;
}

/* ========== FOOTER ========== */
.footer {
  border-top: 1px solid var(--mid-gray);
  padding: 24px 0;
  text-align: center;
  color: var(--light-gray);
  font-size: 0.85rem;
}

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children slightly */
.about-section.reveal:nth-child(even) {
  transform: translateX(-40px);
}

.about-section.reveal:nth-child(odd) {
  transform: translateX(40px);
}

.about-section.reveal.revealed {
  transform: translateX(0);
}

.intro-bullets li.reveal {
  transition-delay: calc(var(--i, 0) * 0.1s);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  /* --- Layout --- */
  .container {
    padding: 0 20px;
  }

  /* --- Navbar --- */
  .navbar {
    padding: 12px 20px;
    min-height: auto;
    align-items: center;
  }

  .logo-img {
    height: 60px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-right-group {
    flex-direction: row-reverse;
    align-items: center;
    gap: 16px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.98);
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid var(--mid-gray);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    padding: 12px 16px;
  }

  .lang-switch {
    margin-right: 0;
  }

  /* --- Hero --- */
  .hero {
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero::after {
    width: 100%;
    opacity: 0.3;
    mask-image: linear-gradient(to bottom, transparent 0%, black 40%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 40%);
  }

  .hero-content {
    margin-left: 0;
    padding: 120px 24px 60px;
    text-align: center;
  }

  .hero-subtitle {
    letter-spacing: 3px;
    font-size: clamp(1rem, 4vw, 1.5rem);
  }

  .hero-text {
    font-size: 1rem;
    margin-bottom: 28px;
  }

  .hero-content .btn {
    display: block;
    margin: 0 auto 12px;
    max-width: 280px;
  }

  .hero-content .btn-outline {
    margin-left: 0 !important;
  }

  /* --- Welcome Intro --- */
  .welcome-intro {
    margin-left: auto;
    margin-right: auto;
    padding: 48px 0 40px;
    max-width: 100%;
  }

  .welcome-intro::before {
    display: none;
  }

  .intro-heading {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .intro-subheading {
    margin-bottom: 24px;
  }

  .intro-highlight {
    padding: 20px 20px;
    margin: 24px 0;
  }

  .intro-highlight p {
    font-size: 1.05rem;
  }

  /* --- Tab Content --- */
  .tab-content {
    padding-top: 60px;
  }

  /* --- Section Titles --- */
  .section-title {
    margin-top: 32px;
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  /* --- About --- */
  .about-heading {
    margin-top: 32px;
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .about-section,
  .about-section.image-right {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0;
  }

  .about-section.image-right .about-section-image,
  .about-section.image-right .about-section-text {
    order: unset;
  }

  .about-section-image {
    max-width: 300px;
    margin: 0 auto;
  }

  .about-section-stacked {
    padding: 40px 0;
  }

  .about-columns {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0;
  }

  .about-column {
    padding: 24px;
  }

  .about-stats {
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    padding: 24px 0;
  }

  .about-cta {
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 28px 20px;
  }

  .about-cta-text {
    font-size: 1.1rem;
  }

  .about-section-title {
    font-size: 1.4rem;
  }

  .about-coach-quote {
    padding: 12px 16px;
    font-size: 1rem;
  }

  /* --- Services --- */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .expanded-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .expanded-image {
    min-height: 200px;
    position: relative;
  }

  .expanded-image img {
    border-radius: 12px 12px 0 0;
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
  }

  .expanded-details {
    padding: 24px 20px;
  }

  .expanded-details h3 {
    font-size: 1.3rem;
  }

  .location-card {
    padding: 24px 16px;
  }

  .pricing-cards {
    flex-direction: column;
    align-items: center;
  }

  .pricing-card {
    width: 100%;
    max-width: 300px;
    min-width: unset;
    padding: 24px 20px;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 12px 12px;
    font-size: 0.95rem;
  }

  /* --- Contact --- */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    order: -1;
  }

  .btn-submit {
    align-self: stretch;
  }

  /* --- Reviews --- */
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    padding: 24px 20px;
  }

  /* --- Footer --- */
  .footer {
    padding: 20px 0;
  }
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  margin-top: 4px;
  margin-right: 0;
  z-index: 10; /* Stay on top */
}

.lang-btn {
  background: none;
  border: none;
  color: var(--light-gray);
  cursor: pointer;
  font-weight: bold;
  transition: color 0.3s;
}

.lang-btn.active {
  color: var(--emerald-glow);
}

.lang-btn:hover {
  color: var(--white);
}

.nav-right-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* Stick to the right wall */
  justify-content: flex-end;
  gap: 12px; /* Space between language toggle and buttons */
  margin-left: auto; /* Push the whole group to the right */
}
