/* ============================================
   La House of Flow — Brand Stylesheet
   Colors: Blush, Coral, Orange, Terracotta,
           Ochre, Ivory, Beige, Teal
   Fonts: Mont Light, Cervanttis
   ============================================ */

/* --- Font Faces --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  --blush: #cfa796;
  --coral: #d68872;
  --orange: #cc7446;
  --terracotta: #ac552c;
  --ochre: #b78745;
  --ivory: #cfb98d;
  --beige: #dabfa9;
  --teal: #204e49;
  --white: #ffffff;
  --off-white: #faf7f4;
  --dark: #2c2c2c;
  --font-main: 'Montserrat', sans-serif;
  --font-script: 'Cervanttis', cursive;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  font-weight: 300;
  color: var(--dark);
  background-color: var(--off-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul { list-style: none; }

h1, h2, h3, h4 {
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
}

h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }

.script {
  font-family: var(--font-script);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 247, 244, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(207, 167, 150, 0.2);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(32, 78, 73, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 3%;
  max-width: 1500px;
  margin: 0 auto;
  position: relative;
}

/* Center logo */
.logo {
  flex: 0 0 auto;
  margin: 0 1.5rem;
}

.logo img {
  height: 90px;
  width: auto;
}

/* Left + right nav share same link styles */
.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  flex: 1;
}

.nav-left {
  justify-content: flex-end;
}

.nav-right {
  justify-content: flex-start;
}

.nav-left a,
.nav-right a {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  padding: 0.5rem 0.65rem;
  position: relative;
  font-weight: 400;
  white-space: nowrap;
}

.nav-left a::after,
.nav-right a::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  transition: transform 0.3s ease;
}

.nav-left a:hover::after,
.nav-left a.active::after,
.nav-right a:hover::after,
.nav-right a.active::after {
  transform: translateX(-50%) scale(1);
}

.nav-left a:hover,
.nav-right a:hover {
  color: var(--terracotta);
}

/* Mobile-only nav (hidden on desktop) */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.main-nav a {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  padding: 0.5rem 0.7rem;
  position: relative;
  font-weight: 400;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--coral);
  transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 60%;
}

.main-nav a:hover {
  color: var(--terracotta);
}

/* Single Language Flag */
.lang-flag {
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.85;
}

.lang-flag:hover {
  transform: scale(1.1);
  opacity: 1;
}

.flag-img {
  width: 26px;
  height: 18px;
  border-radius: 3px;
  border: 1px solid rgba(0,0,0,0.12);
  object-fit: cover;
  display: block;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Desktop: flag inside nav-right, hide mobile flag */
.lang-flag--desktop {
  margin-left: 0.8rem;
  padding-left: 0.8rem;
  border-left: 1px solid var(--beige);
}

.lang-flag--mobile {
  display: none;
}

/* Footer flag */
.site-footer .flag-img {
  border-color: rgba(255,255,255,0.25);
}

/* Desktop: hide mobile nav drawer */
.nav-wrapper {
  display: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--teal);
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img,
.hero-bg picture {
  width: 100%;
  height: 100%;
}

.hero-bg picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(32, 78, 73, 0.4) 0%,
    rgba(32, 78, 73, 0.6) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 2rem;
}

.hero-content .hero-logo {
  height: 120px;
  width: auto;
  margin: 0 auto 1.5rem;
}

.hero-content h1 {
  color: var(--white);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  letter-spacing: 0.3em;
  margin-bottom: 0.5rem;
  font-weight: 300;
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--beige);
  letter-spacing: 0.1em;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--terracotta);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(172, 85, 44, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

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

.btn-teal {
  background: var(--teal);
  color: var(--white);
}

.btn-teal:hover {
  background: #1a3f3b;
  transform: translateY(-2px);
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--teal);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
  color: var(--white);
}

.stat-item .stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--coral);
}

.stat-item .stat-label {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 0.5rem;
  opacity: 0.9;
}

/* --- Section Styles --- */
.section {
  padding: 5rem 0;
}

.section-light {
  background: var(--off-white);
}

.section-beige {
  background: var(--beige);
  background: linear-gradient(135deg, rgba(218,191,169,0.3) 0%, rgba(207,185,141,0.2) 100%);
}

.section-teal {
  background: var(--teal);
  color: var(--white);
}

.section-teal h2,
.section-teal h3 {
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header .divider {
  width: 60px;
  height: 2px;
  background: var(--coral);
  margin: 0 auto;
}

.section-header p {
  color: var(--teal);
  opacity: 0.7;
  max-width: 600px;
  margin: 1rem auto 0;
  font-size: 0.95rem;
}

/* --- Classes Grid --- */
.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.class-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  text-align: center;
  border-bottom: 3px solid var(--coral);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.class-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(32, 78, 73, 0.1);
}

.class-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.class-card p {
  font-size: 0.9rem;
  color: var(--dark);
  opacity: 0.7;
}

.class-card .class-icon {
  margin-bottom: 1rem;
  color: var(--coral);
  line-height: 0;
}

.class-card .class-icon svg {
  width: 42px;
  height: 42px;
}

/* Global SVG icon sizing */
svg {
  flex-shrink: 0;
}

/* --- CTA Cards --- */
.cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cta-card {
  position: relative;
  height: 350px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.cta-card img,
.cta-card picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cta-card picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cta-card:hover img {
  transform: scale(1.05);
}

.cta-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(32,78,73,0.85) 0%, rgba(32,78,73,0.1) 60%);
  z-index: 1;
}

.cta-card-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  color: var(--white);
  width: 100%;
}

.cta-card-content h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.cta-card-content .btn {
  font-size: 0.7rem;
  padding: 0.6rem 1.5rem;
}

/* --- Benefits Section --- */
.benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.benefit-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.benefit-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: var(--coral);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.benefit-icon svg {
  width: 22px;
  height: 22px;
}

.benefit-item h4 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.benefit-item p {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* --- Two Column Layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.two-col.reverse {
  direction: rtl;
}

.two-col.reverse > * {
  direction: ltr;
}

.two-col-img {
  overflow: hidden;
}

.two-col-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 500px;
}

.two-col-text h2 {
  margin-bottom: 1.5rem;
}

.two-col-text p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  opacity: 0.85;
}

/* --- Schedule Table --- */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  overflow: hidden;
}

.schedule-table thead {
  background: var(--teal);
  color: var(--white);
}

.schedule-table th {
  padding: 1rem;
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.schedule-table td {
  padding: 0.8rem 1rem;
  text-align: center;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(218,191,169,0.3);
}

.schedule-table tbody tr:hover {
  background: rgba(207,167,150,0.08);
}

.schedule-tag {
  display: inline-block;
  padding: 0.25rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.tag-bikram { background: rgba(214,136,114,0.15); color: var(--coral); }
.tag-pilates { background: rgba(214,136,114,0.15); color: var(--coral); }
.tag-yin { background: rgba(214,136,114,0.15); color: var(--coral); }
.tag-vinyasa { background: rgba(214,136,114,0.15); color: var(--coral); }

/* --- Rates / Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.pricing-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  text-align: center;
  border-top: 4px solid var(--coral);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(32, 78, 73, 0.1);
}

.pricing-card.featured {
  border-top-color: var(--teal);
  transform: scale(1.03);
}

.pricing-card h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.pricing-card .price-unit {
  font-size: 0.8rem;
  color: var(--ochre);
  letter-spacing: 0.1em;
}

.pricing-card .price-details {
  margin: 1.5rem 0;
  font-size: 0.85rem;
  opacity: 0.7;
}

.pricing-card .price-details li {
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(218,191,169,0.2);
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(218,191,169,0.4);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.5rem 0;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 400;
  color: var(--teal);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 0.05em;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--coral);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.8;
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--coral);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.contact-icon svg {
  width: 18px;
  height: 18px;
}

.contact-info-item h4 {
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}

.contact-info-item p,
.contact-info-item a {
  font-size: 0.9rem;
  opacity: 0.8;
}

.contact-info-item a:hover {
  color: var(--coral);
  opacity: 1;
}

.contact-map {
  width: 100%;
  height: 350px;
  border: none;
  filter: saturate(0.8);
}

/* --- Footer --- */
.site-footer {
  background: var(--teal);
  color: var(--white);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: var(--coral);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.footer-col p,
.footer-col a {
  font-size: 0.85rem;
  opacity: 0.8;
  line-height: 2;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--coral);
}

.footer-nav a {
  display: block;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--coral);
  border-color: var(--coral);
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.6;
}

/* --- Page Header --- */
.page-header {
  padding: 8rem 0 3rem;
  text-align: center;
  background: linear-gradient(135deg, var(--teal) 0%, #1a3f3b 100%);
  color: var(--white);
  margin-top: 0;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.page-header .divider {
  width: 60px;
  height: 2px;
  background: var(--coral);
  margin: 1rem auto;
}

.page-header p {
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
  font-size: 0.95rem;
}

/* --- Access List --- */
.access-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.access-item {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  font-size: 0.9rem;
}

.access-item .icon {
  color: var(--coral);
}

.access-item .icon svg {
  width: 18px;
  height: 18px;
}

/* --- Notice Banner --- */
.notice-banner {
  background: linear-gradient(135deg, var(--coral) 0%, var(--terracotta) 100%);
  color: var(--white);
  text-align: center;
  padding: 1rem 2rem;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

/* --- Responsive --- */
@media (max-width: 968px) {
  .nav-left,
  .nav-right {
    display: none;
  }

  /* Show mobile flag on the left of logo */
  .lang-flag--mobile {
    display: inline-flex;
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
  }

  .hamburger {
    display: flex;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
  }

  .header-inner {
    justify-content: center;
  }

  .logo img {
    height: 70px;
  }

  .nav-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--off-white);
    padding: 5rem 2rem 2rem;
    transition: right 0.4s ease;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
  }

  .nav-wrapper.open {
    right: 0;
  }

  .main-nav {
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
  }

  .main-nav a {
    font-size: 0.9rem;
    padding: 0.8rem 0;
    width: 100%;
    border-bottom: 1px solid rgba(218,191,169,0.2);
  }

  .main-nav a::after { display: none; }

  .two-col,
  .two-col.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    direction: ltr;
  }

  .cta-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    letter-spacing: 0.15em;
  }

  .section {
    padding: 3rem 0;
  }

  .cta-card {
    height: 250px;
  }
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-teal { color: var(--teal); }
.text-coral { color: var(--coral); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
