/* ═══════════════════════════════════════════════
   BODHI & BALANCE — Global Styles
   Theme: Dark green + warm golden brown
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Nunito+Sans:wght@300;400;500;600&display=swap');

:root {
  /* Primary palette */
  --green-deep: #1a3a0a;
  --green-dark: #2d5016;
  --green-mid: #3a6b1e;
  --green-soft: #4a8c2a;
  --green-light: #6aad3d;
  --green-pale: #e8f0e2;

  /* Golden brown palette */
  --gold-dark: #8b6914;
  --gold: #b8860b;
  --gold-warm: #c4956a;
  --gold-light: #d4b896;
  --gold-pale: #f5ead6;
  --gold-cream: #faf6ef;

  /* Neutrals */
  --white: #ffffff;
  --off-white: #fdfcfa;
  --gray-light: #f0ede8;
  --gray-mid: #9a9489;
  --gray-dark: #5a554d;
  --text-primary: #2a2520;
  --text-secondary: #5a554d;

  /* Typography */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Nunito Sans', -apple-system, sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
  --nav-height: 80px;

  /* Transitions */
  --ease-gentle: cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-primary);
  background: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ═══════════ TYPOGRAPHY ═══════════ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--green-deep);
}

h1 { font-size: clamp(2.8rem, 5vw, 4.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); }
h4 { font-size: 1.25rem; font-weight: 500; }

p { margin-bottom: 1em; color: var(--text-secondary); }
p:last-child { margin-bottom: 0; }

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

.section-title { margin-bottom: 24px; }

.section-subtitle {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--gray-mid);
  font-weight: 300;
  max-width: 600px;
}

/* ═══════════ BUTTONS ═══════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: none;
  transition: all 0.4s var(--ease-gentle);
  text-decoration: none;
}

.btn-primary {
  background: var(--green-dark);
  color: var(--gold-pale);
}
.btn-primary:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(45, 80, 22, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border: 1.5px solid var(--green-dark);
}
.btn-outline:hover {
  background: var(--green-dark);
  color: var(--gold-pale);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(184, 134, 11, 0.3);
}

/* ═══════════ NAVIGATION ═══════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: all 0.4s var(--ease-gentle);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(253, 252, 250, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--gold-pale);
}

.nav-brand-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--green-deep);
  letter-spacing: 0.02em;
}

.navbar:not(.scrolled) .nav-brand-text { color: var(--gold-pale); }
.navbar:not(.scrolled) .nav-links a { color: var(--gold-pale); }
.navbar:not(.scrolled) .nav-book { border-color: var(--gold-pale); color: var(--gold-pale); }
.navbar:not(.scrolled) .nav-book:hover { background: var(--gold-pale); color: var(--green-deep); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.3s var(--ease-gentle);
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-book {
  padding: 10px 28px;
  border: 1.5px solid var(--green-dark);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--green-dark);
  transition: all 0.3s var(--ease-gentle);
}

.nav-book:hover {
  background: var(--green-dark);
  color: var(--gold-pale);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--green-deep);
  transition: all 0.3s;
  border-radius: 2px;
}
.navbar:not(.scrolled) .nav-toggle span { background: var(--gold-pale); }

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--green-deep) 0%, #1e4010 40%, var(--green-dark) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(196, 149, 106, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--off-white), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero h1 {
  color: var(--gold-pale);
  margin-bottom: 24px;
  font-weight: 300;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-warm);
}

.hero p {
  color: rgba(212, 184, 150, 0.85);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-logo {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  height: 420px;
  opacity: 0.4;
  z-index: 1;
  border-radius: 50%;
  overflow: hidden;
}

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

/* ═══════════ SECTIONS ═══════════ */
section { padding: var(--section-padding); }

.section-green {
  background: var(--green-deep);
  color: var(--gold-pale);
}
.section-green h2, .section-green h3 { color: var(--gold-pale); }
.section-green p { color: rgba(212, 184, 150, 0.8); }
.section-green .section-label { color: var(--gold-warm); }

.section-cream { background: var(--gold-cream); }
.section-soft { background: var(--gray-light); }

/* ═══════════ FEATURE CARDS ═══════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.feature-card {
  padding: 48px 36px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.4s var(--ease-gentle);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  font-size: 1.5rem;
}

.feature-card h3 { margin-bottom: 14px; }
.feature-card p { font-size: 0.95rem; }

/* ═══════════ PHILOSOPHY SECTION ═══════════ */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 60px;
}

.philosophy-image {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--green-deep), var(--green-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.philosophy-image img {
  width: 80%;
  opacity: 0.85;
  border-radius: 50%;
}

.philosophy-content h2 { margin-bottom: 20px; }
.philosophy-content p { margin-bottom: 16px; font-size: 1.05rem; }

.philosophy-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.value-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 8px;
  flex-shrink: 0;
}

.value-item h4 { margin-bottom: 4px; font-family: var(--font-heading); color: var(--green-dark); }
.value-item p { font-size: 0.92rem; margin: 0; }

/* ═══════════ TREATMENTS ═══════════ */
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.treatment-card {
  padding: 44px 40px;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.4s var(--ease-gentle);
  position: relative;
  overflow: hidden;
}

.treatment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(to bottom, var(--gold), var(--green-mid));
  transition: height 0.4s var(--ease-gentle);
  border-radius: 0 4px 4px 0;
}

.treatment-card:hover::before { height: 100%; }

.treatment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

.treatment-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  background: var(--gold-pale);
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.treatment-card h3 { margin-bottom: 12px; }
.treatment-card p { font-size: 0.95rem; margin-bottom: 20px; }

.treatment-meta {
  display: flex;
  gap: 20px;
  color: var(--gray-mid);
  font-size: 0.85rem;
}

/* ═══════════ TESTIMONIALS ═══════════ */
.testimonials-container {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  padding: 40px 36px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.testimonial-card blockquote {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.testimonial-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-dark);
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--gray-mid);
}

/* ═══════════ PRICING ═══════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.pricing-card {
  padding: 48px 40px;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  text-align: center;
  transition: all 0.4s var(--ease-gentle);
  position: relative;
}

.pricing-card.featured {
  background: var(--green-deep);
  border: none;
  transform: scale(1.04);
}
.pricing-card.featured h3 { color: var(--gold-pale); }
.pricing-card.featured .pricing-amount { color: var(--gold-warm); }
.pricing-card.featured p, .pricing-card.featured li { color: rgba(212, 184, 150, 0.8); }
.pricing-card.featured .pricing-label { color: var(--gold-warm); }

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}
.pricing-card.featured:hover {
  transform: scale(1.04) translateY(-6px);
}

.pricing-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.pricing-card h3 { margin-bottom: 8px; }

.pricing-amount {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 300;
  color: var(--green-deep);
  margin: 20px 0 8px;
}

.pricing-duration {
  font-size: 0.85rem;
  color: var(--gray-mid);
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 36px;
}

.pricing-features li {
  padding: 10px 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--green-mid);
  font-weight: 700;
  font-size: 0.8rem;
}
.pricing-card.featured .pricing-features li::before { color: var(--gold-warm); }
.pricing-card.featured .pricing-features li { border-color: rgba(255,255,255,0.08); }

/* ═══════════ CONTACT / BOOKING ═══════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
}

.form-group { margin-bottom: 24px; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--text-primary);
  transition: border-color 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(58, 107, 30, 0.08);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.contact-info-card {
  padding: 40px;
  background: var(--green-deep);
  border-radius: 20px;
  color: var(--gold-pale);
}

.contact-info-card h3 { color: var(--gold-pale); margin-bottom: 20px; }
.contact-info-card p { color: rgba(212, 184, 150, 0.8); }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(196, 149, 106, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-detail h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-warm);
  margin-bottom: 4px;
}

.contact-detail p { font-size: 0.95rem; margin: 0; }

/* ═══════════ BOOKING CALENDAR ═══════════ */
.booking-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.time-slot {
  padding: 14px;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.9rem;
}

.time-slot:hover, .time-slot.selected {
  border-color: var(--green-mid);
  background: var(--green-pale);
  color: var(--green-deep);
}

/* ═══════════ CTA SECTION ═══════════ */
.cta-section {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(160deg, var(--green-deep), #1e4010);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(196, 149, 106, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 { color: var(--gold-pale); margin-bottom: 16px; }
.cta-section p { color: rgba(212, 184, 150, 0.8); max-width: 500px; margin: 0 auto 36px; font-size: 1.1rem; }

/* ═══════════ FOOTER ═══════════ */
.footer {
  background: var(--green-deep);
  color: var(--gold-pale);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand img { width: 56px; margin-bottom: 16px; border-radius: 50%; object-fit: cover; }
.footer-brand p { color: rgba(212, 184, 150, 0.6); font-size: 0.9rem; max-width: 280px; }

.footer h4 {
  color: var(--gold-warm);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer ul { list-style: none; }
.footer li { margin-bottom: 12px; }
.footer a {
  color: rgba(212, 184, 150, 0.6);
  font-size: 0.9rem;
  transition: color 0.3s;
}
.footer a:hover { color: var(--gold-pale); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(212, 184, 150, 0.4);
}

/* ═══════════ ANIMATIONS ═══════════ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-gentle), transform 0.8s var(--ease-gentle);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════ PAGE HEADERS ═══════════ */
.page-header {
  padding: 160px 0 80px;
  background: linear-gradient(160deg, var(--green-deep), #1e4010);
  text-align: center;
}

.page-header h1 { color: var(--gold-pale); margin-bottom: 16px; }
.page-header p { color: rgba(212, 184, 150, 0.8); max-width: 560px; margin: 0 auto; font-size: 1.1rem; }

/* ═══════════ ABOUT PAGE ═══════════ */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-story p { font-size: 1.05rem; }

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

.team-card {
  text-align: center;
}

.team-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-pale), var(--gold-pale));
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.team-card h3 { margin-bottom: 4px; font-size: 1.3rem; }
.team-card .role { color: var(--gold); font-size: 0.85rem; font-weight: 500; margin-bottom: 12px; }
.team-card p { font-size: 0.9rem; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
  .features-grid, .testimonials-container, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-6px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-logo { display: none; }
}

@media (max-width: 768px) {
  :root { --section-padding: 72px 0; --nav-height: 68px; }
  .container { padding: 0 24px; }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    gap: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  }
  .nav-links.open a { color: var(--text-primary); }

  .features-grid, .treatments-grid, .testimonials-container, .pricing-grid,
  .contact-grid, .about-story, .philosophy-grid, .team-grid {
    grid-template-columns: 1fr;
  }

  .philosophy-grid { gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero-buttons { flex-direction: column; }
}

/* ═══════════ DECORATIVE DIVIDER ═══════════ */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto;
  padding: 8px 0;
  opacity: 0.4;
}

.divider-line { width: 60px; height: 1px; background: var(--gold); }
.divider-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
