/* ===== Design tokens: Modern Ayurveda & Divine Wellness ===== */
:root {
  --color-green-dark: #223326;   /* deep forest - grounding, Ayurveda */
  --color-green: #3f5c40;
  --color-maroon: #6d1f2b;       /* temple maroon - divinity, dharma */
  --color-maroon-dark: #4a151d;
  --color-saffron: #c8942f;      /* sacred gold - replaces old saffron accent */
  --color-gold-light: #e6c877;
  --color-night: #131f33;        /* night-blue - Ramayana/moonlit hero sections */
  --color-night-alt: #1c2c47;
  --color-cream: #faf6ec;
  --color-cream-alt: #f4ead2;
  --color-text: #2b2416;
  --color-text-light: #5c5442;
  --color-white: #ffffff;
  --font-heading: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-display: "Yatra One", var(--font-heading);
  --font-body: "Poppins", "Segoe UI", sans-serif;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(30, 20, 10, 0.14);
  --container-width: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-cream);
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-green-dark);
  line-height: 1.25;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; color: var(--color-text-light); }

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

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
}

.section--alt {
  background: var(--color-cream-alt);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.eyebrow {
  display: inline-block;
  color: var(--color-saffron);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--outline {
  background: transparent;
  border-color: var(--color-green);
  color: var(--color-green);
}

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

.btn--whatsapp {
  background: #25d366;
  color: var(--color-white);
}

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 238, 0.95);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.nav__brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
}

.nav__brand img {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.nav__brand-text {
  display: flex;
  flex-direction: column;
}

.nav__brand strong {
  font-size: 1.3rem;
  color: var(--color-maroon);
}

.nav__brand span {
  font-size: 0.68rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-saffron);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links > li {
  position: relative;
}

.nav__links a {
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding: 4px 0;
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--color-maroon);
}

/* Dropdown menus (Therapy / Programs) */
.nav__dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  font: inherit;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  padding: 4px 0;
}

.nav__dropdown-toggle::after {
  content: "\25BE";
  font-size: 0.7rem;
  color: var(--color-saffron);
}

.nav__dropdown-toggle:hover,
.has-dropdown.is-active > .nav__dropdown-toggle {
  color: var(--color-maroon);
}

.nav__dropdown {
  list-style: none;
  margin: 0;
  padding: 10px;
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 240px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 50;
}

.has-dropdown:hover .nav__dropdown,
.has-dropdown.is-active .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown li a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 0.92rem;
  color: var(--color-text);
}

.nav__dropdown li a:hover {
  background: var(--color-cream-alt);
  color: var(--color-maroon);
}

.nav__dropdown li a small {
  display: block;
  color: var(--color-text-light);
  font-weight: 400;
  font-size: 0.78rem;
  margin-top: 2px;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--color-green-dark);
  cursor: pointer;
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ===== Hero ===== */
.hero {
  background: radial-gradient(circle at 15% 15%, rgba(200, 148, 47, 0.18), transparent 45%),
              linear-gradient(135deg, var(--color-night), var(--color-night-alt) 55%, var(--color-maroon-dark));
  color: var(--color-white);
  padding: 96px 0;
  text-align: center;
}

.hero h1 { color: var(--color-white); }

.hero p.lead {
  color: #e7dfca;
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== Cards ===== */
.grid {
  display: grid;
  gap: 32px;
}

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

.card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  text-align: left;
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-cream-alt);
  color: var(--color-maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

/* ===== Pillar / Team cards (About Us) ===== */
.pillar-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 4px solid var(--color-maroon);
}

.pillar-card h3 { margin-bottom: 4px; }

.pillar-card .pillar-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-saffron);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.team-card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  text-align: center;
}

.team-card .avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--color-cream-alt);
  color: var(--color-maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-family: var(--font-heading);
  margin: 0 auto 16px;
  overflow: hidden;
}

.team-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.team-card .role {
  color: var(--color-saffron);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

/* ===== Tag strip (brand pillars/keywords) ===== */
.tag-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  padding: 18px 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-maroon);
}

/* ===== Therapy/Program sub-navigation (tab pills) ===== */
.subnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: -24px auto 48px;
  max-width: 900px;
}

.subnav a {
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--color-white);
  box-shadow: var(--shadow);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.subnav a:hover { color: var(--color-maroon); }

.subnav a[aria-current="page"] {
  background: var(--color-maroon);
  color: var(--color-white);
}

/* ===== Schedule list (Sangama sessions) ===== */
.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.schedule-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 24px;
}

.schedule-item .time {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-maroon);
  min-width: 130px;
  font-size: 1.1rem;
}

.schedule-item h4 { margin: 0 0 4px; }
.schedule-item p { margin: 0; }

/* ===== Stat cards ===== */
.stat-card {
  background: var(--color-night);
  color: var(--color-white);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}

.stat-card .stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--color-gold-light);
  display: block;
}

/* ===== Two column layout ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ===== Lists ===== */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  color: var(--color-text-light);
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-green);
  color: var(--color-white);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Pricing card ===== */
.price-card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
  border-top: 4px solid var(--color-saffron);
}

.price-card .price {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--color-green-dark);
  margin: 12px 0;
}

.price-card .price span {
  font-size: 1rem;
  color: var(--color-text-light);
  font-family: var(--font-body);
}

/* ===== Testimonials ===== */
.testimonial-placeholder {
  text-align: center;
  padding: 48px;
  border: 2px dashed #cfc6ae;
  border-radius: var(--radius);
  color: var(--color-text-light);
}

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.06);
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info li {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  color: var(--color-text-light);
}

.contact-info .icon {
  color: var(--color-saffron);
  font-size: 1.2rem;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8d2c0;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.form-field textarea { resize: vertical; min-height: 120px; }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-embed iframe {
  width: 100%;
  height: 320px;
  border: 0;
}

/* ===== Floating WhatsApp button ===== */
.float-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  background: #25d366;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: var(--shadow);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--color-night);
  color: #cfc9b8;
  padding: 56px 0 24px;
}

.site-footer h4 { color: var(--color-white); }

.site-footer a:hover { color: var(--color-gold-light); }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #8b8877;
}

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-night);
  color: var(--color-white);
  padding: 18px 24px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 300;
  flex-wrap: wrap;
}

.cookie-banner.is-visible { display: flex; }

.cookie-banner p { color: #cfc9b8; margin: 0; font-size: 0.9rem; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .grid--3 { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--5 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-cream);
    flex-direction: column;
    gap: 0;
    padding: 12px 24px;
    display: none;
    box-shadow: var(--shadow);
    max-height: 70vh;
    overflow-y: auto;
  }

  .nav__links.is-open { display: flex; }
  .nav__links > li { width: 100%; padding: 12px 0; border-bottom: 1px solid #e8e1cd; }
  .nav__toggle { display: block; }
  .nav__cta .btn span { display: none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .grid--4, .grid--5 { grid-template-columns: 1fr; }

  .nav__dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    padding: 6px 0 6px 14px;
  }

  .has-dropdown.is-active .nav__dropdown { display: block; }
  .subnav { margin-top: 0; }
}
