/* ============================================================
   DHARI CEYLON WELLNESS — Design System & Styles
   ============================================================ */

/* ---- CSS Variables / Design Tokens ---- */
:root {
  /* Primary Palette — Deep Emerald Teal Theme */
  --green-deep: #0A2E26;
  --green-deep-rgb: 10, 46, 38;
  --green-medium: #114B3E;
  --green-light: #185A4B;
  --green-pale: #8EC4B9;
  --green-mist: #CDE8E2;

  /* Gold / Warm Accents */
  --gold: #D4A574;
  --gold-light: #E8C9A4;
  --gold-dark: #B8844C;
  --gold-glow: #F5DEB3;

  /* Earthy Neutrals */
  --sand: #FAF5F0;
  --sand-dark: #F0E6D8;
  --cream: #FFF9F2;
  --terracotta: #C67B5C;
  --terracotta-light: #E8A88C;

  /* Text */
  --text-dark: #1A1A1A;
  --text-body: #3D3D3D;
  --text-muted: #7A7A7A;
  --text-light: #F5F1EC;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
  --shadow-gold: 0 4px 30px rgba(212, 165, 116, 0.25);

  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-body);
  background: var(--sand);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Georgia', serif;
  color: var(--green-deep);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

::selection {
  background: var(--gold);
  color: var(--green-deep);
}

/* ---- Container ---- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 800px;
}

/* ---- Section Defaults ---- */
.section {
  padding: var(--space-3xl) 0;
}

.section-cream { background: var(--sand); }
.section-white { background: #fff; }
.section-dark { background: var(--green-deep); }

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold-dark);
  margin-bottom: var(--space-sm);
  position: relative;
  padding: 0.4rem 1rem;
  background: rgba(212, 165, 116, 0.12);
  border-radius: var(--radius-full);
}

.section-label-light {
  color: var(--gold-light);
  background: rgba(212, 165, 116, 0.15);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-md);
}

.section-title-light { color: var(--cream); }

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.section-subtitle-light { color: rgba(245, 241, 236, 0.7); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--green-deep);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--green-medium);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 35px rgba(212, 165, 116, 0.4);
  filter: brightness(1.05);
}

.btn-outline-light {
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--cream);
  background: transparent;
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}

.btn-sm { padding: 0.6rem 1.4rem; font-size: 0.85rem; }
.btn-lg { padding: 1.1rem 2.8rem; font-size: 1.05rem; }
.btn-full { width: 100%; }


/* ===========================================================
   HEADER
   =========================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(var(--green-deep-rgb, 26, 77, 46), 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.3s var(--ease-out);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header.scrolled {
  background: rgba(var(--green-deep-rgb, 26, 77, 46), 0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--cream);
  transition: opacity 0.3s;
}
.logo:hover { opacity: 0.85; }

.logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.logo-icon {
  width: 42px;
  height: 42px;
  color: var(--gold);
}

.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; letter-spacing: 0.02em; line-height: 1.1; }
.logo-tagline { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.25em; opacity: 0.7; font-weight: 500; }

/* Desktop Nav */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: rgba(245, 241, 236, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}
.nav-link:hover { color: var(--gold-light); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
  background: var(--gold);
  color: var(--green-deep);
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
}
.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

/* Auth Button — Desktop */
.auth-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(245, 241, 236, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(255,255,255,0.2);
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
}
.auth-btn:hover {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.08);
}
.auth-btn.signed-in {
  border-color: var(--gold);
  background: rgba(212, 165, 116, 0.1);
}
.auth-btn .auth-signout-hint {
  display: none;
  font-size: 0.75rem;
  color: var(--gold-light);
}
.auth-btn.signed-in:hover .auth-btn-text { display: none; }
.auth-btn.signed-in:hover .auth-signout-hint { display: inline; }

.auth-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

/* Auth Button — Mobile */
.auth-btn-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--cream);
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  margin-top: 0.5rem;
  transition: all 0.3s;
  cursor: pointer;
}
.auth-btn-mobile:hover {
  background: rgba(255,255,255,0.1);
}
.auth-btn-mobile.signed-in {
  border-color: var(--gold);
}
.auth-btn-mobile .auth-avatar {
  width: 24px;
  height: 24px;
}

/* Google Sign-In Button */
.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 2rem;
  background: #fff;
  color: #3c4043;
  border: 1.5px solid #dadce0;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.btn-google:hover {
  background: #f8f9fa;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transform: translateY(-1px);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translateY(7px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translateY(-7px); }

/* Mobile Nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 1rem 1.5rem 2rem;
  background: var(--green-deep);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.nav-mobile.active { display: flex; }

.nav-mobile-link {
  color: rgba(245, 241, 236, 0.85);
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s;
}
.nav-mobile-link:hover { color: var(--gold); }

.nav-mobile-cta {
  display: block;
  text-align: center;
  background: var(--gold);
  color: var(--green-deep);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-top: 1rem;
}


/* ===========================================================
   HERO
   =========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(165deg, var(--green-deep) 0%, #071F1A 50%, #03100D 100%);
  overflow: hidden;
  padding: 120px 0 80px;
}

/* Background video styles */
.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  filter: contrast(1.05) brightness(0.9);
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, 
    rgba(var(--green-deep-rgb, 26, 77, 46), 0.45) 0%, 
    rgba(var(--green-deep-rgb, 26, 77, 46), 0.55) 40%, 
    rgba(var(--green-deep-rgb, 26, 77, 46), 0.8) 100%
  );
  z-index: 1;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(ellipse at 20% 50%, rgba(212, 165, 116, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(64, 145, 108, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(212, 165, 116, 0.04) 0%, transparent 50%);
  animation: heroGlow 8s ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes heroGlow {
  0% { opacity: 0.8; }
  100% { opacity: 1.2; }
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(212, 165, 116, 0.12);
  border: 1px solid rgba(212, 165, 116, 0.25);
  border-radius: var(--radius-full);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-lg);
}

.hero-logo {
  margin-bottom: var(--space-lg);
}

.hero-logo-img {
  height: 180px;
  width: auto;
  margin: 0 auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 4px 30px rgba(212, 165, 116, 0.3));
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--cream);
  margin-bottom: var(--space-md);
  font-weight: 700;
}

.hero-accent {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(245, 241, 236, 0.75);
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  font-weight: 300;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-stat { text-align: center; }
.hero-stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
}
.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(245, 241, 236, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(245, 241, 236, 0.3);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  z-index: 2;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  margin: 8px auto 0;
  border-right: 2px solid rgba(245, 241, 236, 0.3);
  border-bottom: 2px solid rgba(245, 241, 236, 0.3);
  transform: rotate(45deg);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% { transform: rotate(45deg) translateY(0); }
  40% { transform: rotate(45deg) translateY(6px); }
  60% { transform: rotate(45deg) translateY(3px); }
}


/* ===========================================================
   ABOUT
   =========================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-image-column { position: relative; }

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image {
  width: 100%;
  height: 500px;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease-out);
}
.about-image-wrapper:hover .about-image {
  transform: scale(1.03);
}

.about-image-accent {
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 120px;
  height: 120px;
  border: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-experience-badge {
  position: absolute;
  bottom: 30px;
  left: -30px;
  background: var(--green-deep);
  color: var(--cream);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.experience-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.experience-text {
  font-size: 0.8rem;
  line-height: 1.4;
  opacity: 0.9;
}

.about-content { padding-left: 1rem; }

.about-lead {
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.about-content p {
  margin-bottom: var(--space-md);
  color: var(--text-body);
}

.about-quote {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--green-deep);
  border-left: 3px solid var(--gold);
  padding: 1rem 0 1rem 1.5rem;
  margin: var(--space-lg) 0;
  line-height: 1.6;
}


/* ===========================================================
   PILLARS / DIFFERENCE
   =========================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-card {
  background: var(--sand);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  transition: all 0.4s var(--ease-out);
  border: 1px solid rgba(0,0,0,0.04);
}
.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(212, 165, 116, 0.2);
}

.pillar-icon {
  width: 56px;
  height: 56px;
  color: var(--gold-dark);
  margin-bottom: var(--space-md);
}
.pillar-icon svg { width: 100%; height: 100%; }

.pillar-number {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  color: rgba(212, 165, 116, 0.1);
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  line-height: 1;
}

.pillar-title {
  font-size: 1.35rem;
  margin-bottom: var(--space-sm);
  color: var(--green-deep);
}

.pillar-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.pillar-highlight {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-dark);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(212, 165, 116, 0.2);
}


/* ===========================================================
   WHY BANNER
   =========================================================== */
.why-banner {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  padding: var(--space-xl) 0;
}

.why-banner-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.why-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--green-deep);
}

.why-icon { font-size: 1.8rem; }

.why-text {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
}


/* ===========================================================
   TREATMENTS GRID
   =========================================================== */
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.treatment-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease-out);
  border: 1px solid rgba(0,0,0,0.04);
}
.treatment-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.treatment-card-featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.treatment-card-featured .treatment-card-image {
  height: 100%;
  min-height: 300px;
}

.treatment-card-image {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform 0.5s var(--ease-out);
  border-top-left-radius: calc(var(--radius-lg) - 1px);
  border-top-right-radius: calc(var(--radius-lg) - 1px);
}
.treatment-card:hover .treatment-card-image {
  transform: scale(1.03);
}

.treatment-card-content {
  padding: 1.75rem;
}

.treatment-card-content h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.treatment-card-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.treatment-card-tag {
  display: inline-block;
  background: var(--green-deep);
  color: var(--cream);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.tag-surfer {
  background: var(--terracotta);
}

.treatment-card-tiers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.treatment-card-tiers span {
  font-size: 0.72rem;
  padding: 0.25rem 0.6rem;
  background: var(--green-mist);
  color: var(--green-deep);
  border-radius: var(--radius-full);
  font-weight: 500;
}

.treatment-card-price {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.treatment-card-price strong {
  font-size: 1.3rem;
  color: var(--green-deep);
  font-family: 'Playfair Display', serif;
}


/* ===========================================================
   MULTI-DAY JOURNEYS
   =========================================================== */
.journey-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.journey-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  transition: all 0.4s var(--ease-out);
  backdrop-filter: blur(10px);
}
.journey-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 165, 116, 0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.journey-card-premium {
  border-color: rgba(212, 165, 116, 0.3);
  background: rgba(212, 165, 116, 0.06);
}

.journey-premium-badge {
  position: absolute;
  top: -12px;
  left: 2rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-gold);
  z-index: 11;
}

.journey-duration {
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.journey-title {
  font-size: 1.75rem;
  color: var(--cream);
  margin-bottom: 1rem;
}

.journey-desc {
  color: rgba(245, 241, 236, 0.65);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.journey-includes {
  list-style: none;
  margin-bottom: 1.5rem;
}
.journey-includes li {
  color: rgba(245, 241, 236, 0.75);
  font-size: 0.85rem;
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.journey-includes li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.7rem;
}

.journey-ideal {
  font-size: 0.8rem;
  color: rgba(245, 241, 236, 0.5);
  margin-bottom: 1.5rem;
  padding: 0.75rem;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
}
.journey-ideal strong { color: var(--gold-light); }

.journey-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.journey-price {
  color: rgba(245, 241, 236, 0.6);
  font-size: 0.9rem;
}
.journey-price strong {
  font-size: 1.8rem;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
}


/* ===========================================================
   TESTIMONIALS
   =========================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s var(--ease-out);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

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

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-deep), var(--green-light));
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.testimonial-origin {
  font-size: 0.78rem;
  color: var(--text-muted);
}


/* ===========================================================
   BOOKING
   =========================================================== */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.booking-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.booking-info p {
  color: var(--text-body);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.booking-steps {
  margin-bottom: var(--space-lg);
}

.booking-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
}

.booking-step-num {
  min-width: 36px;
  height: 36px;
  background: var(--green-deep);
  color: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 0.9rem;
}

.booking-step strong {
  color: var(--text-dark);
  font-size: 0.95rem;
}

.booking-step p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0 !important;
}

.booking-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.trust-item {
  font-size: 0.85rem;
  color: var(--green-medium);
  font-weight: 500;
}

/* Booking Form */

.booking-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,0,0,0.04);
}

.form-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  color: var(--green-deep);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #E5E0D8;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: #FEFCF9;
  transition: all 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.12);
}

.form-group textarea { resize: vertical; }

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}


/* ===========================================================
   AUTH GATE OVERLAY (on booking form)
   =========================================================== */
.booking-form-wrapper {
  position: sticky;
  top: 100px;
}

.auth-gate {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.auth-gate-content {
  max-width: 320px;
}

.auth-gate-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.25rem;
  color: var(--gold-dark);
  background: rgba(212, 165, 116, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.auth-gate-icon svg {
  width: 100%;
  height: 100%;
}

.auth-gate h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--green-deep);
}

.auth-gate p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}


/* ===========================================================
   FORM USER INFO BAR
   =========================================================== */
.form-user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--green-mist);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  border: 1px solid var(--green-pale);
}

.form-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--green-light);
}

.form-user-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--green-deep);
  line-height: 1.2;
}

.form-user-email {
  font-size: 0.78rem;
  color: var(--text-muted);
}


/* ===========================================================
   MY BOOKINGS SECTION
   =========================================================== */
.my-bookings-auth {
  text-align: center;
}

.my-bookings-auth-card {
  max-width: 420px;
  margin: 0 auto;
  padding: 3rem 2rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.04);
}

.my-bookings-auth-card h3 {
  font-size: 1.35rem;
  margin: 1rem 0 0.5rem;
}

.my-bookings-auth-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.my-bookings-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.booking-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s var(--ease-out);
}
.booking-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.booking-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 1rem;
}

.booking-card-treatment {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--green-deep);
  line-height: 1.3;
}

.booking-card-status {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  background: var(--green-mist);
  color: var(--green-deep);
  white-space: nowrap;
}

.booking-card-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.booking-card-detail {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--text-body);
}

.booking-card-icon {
  font-size: 1rem;
}

.booking-card-actions {
  display: flex;
  justify-content: flex-end;
}

.btn-cancel {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--terracotta);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--terracotta-light);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Inter', sans-serif;
}
.btn-cancel:hover {
  background: #FFF5F0;
  border-color: var(--terracotta);
  transform: translateY(-1px);
}

.my-bookings-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.my-bookings-empty p {
  font-size: 1rem;
  margin-bottom: 1.25rem;
}


/* ===========================================================
   CONTACT
   =========================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.contact-social-icon {
  transition: all 0.3s var(--ease-out);
}
.contact-social-icon:hover {
  color: var(--accent-gold) !important;
  transform: translateY(-3px) scale(1.1);
}

.footer-social-link {
  transition: all 0.3s var(--ease-out);
}
.footer-social-link:hover {
  color: var(--accent-gold) !important;
  opacity: 1 !important;
  transform: translateY(-3px);
}

.contact-card {
  text-align: center;
  padding: 2rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s var(--ease-out);
  text-decoration: none;
  color: inherit;
  display: block;
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--gold-dark);
}
.contact-icon svg { width: 100%; height: 100%; }

.contact-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}


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

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: color 0.2s;
  gap: 1rem;
}
.faq-question:hover { color: var(--green-deep); }

.faq-icon {
  font-size: 1.5rem;
  color: var(--gold);
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
  line-height: 1;
}

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

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

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

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}


/* ===========================================================
   FINAL CTA
   =========================================================== */
.cta-final {
  background: linear-gradient(165deg, var(--green-deep) 0%, #071F1A 50%, #03100D 100%);
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(212, 165, 116, 0.08) 0%, transparent 70%);
}

.cta-final-content {
  text-align: center;
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.cta-final h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--cream);
  margin-bottom: var(--space-md);
}

.cta-final p {
  font-size: 1.1rem;
  color: rgba(245, 241, 236, 0.7);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}


/* ===========================================================
   FOOTER
   =========================================================== */
.footer {
  background: var(--green-deep);
  color: rgba(245, 241, 236, 0.7);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--cream);
  margin-bottom: 1rem;
}

.footer-logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-links-group h4 {
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.footer-links-group a {
  display: block;
  font-size: 0.85rem;
  padding: 0.3rem 0;
  transition: color 0.2s;
}
.footer-links-group a:hover { color: var(--gold-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  font-size: 0.82rem;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}
.footer-bottom-links a { transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--gold-light); }


/* ===========================================================
   MODAL
   =========================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal-overlay.active { display: flex; }

.modal-content {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 3rem;
  max-width: 450px;
  text-align: center;
  box-shadow: var(--shadow-xl);
  animation: modalIn 0.3s var(--ease-spring);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green-mist);
  color: var(--green-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.modal-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.modal-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}


/* ===========================================================
   WHATSAPP MODAL
   =========================================================== */
.modal-icon-whatsapp {
  background: #25D366 !important;
  color: #fff !important;
}

.modal-icon-whatsapp svg {
  width: 32px;
  height: 32px;
}

.modal-slot-info {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--green-deep);
  background: var(--green-mist);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}


/* ===========================================================
   SLOT LOADING & NO-SLOTS STATES
   =========================================================== */

/* Loading spinner on time select */
.form-group.loading {
  position: relative;
}

.form-group.loading::after {
  content: '';
  position: absolute;
  right: 1rem;
  bottom: 14px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--gold-light);
  border-top-color: var(--gold-dark);
  border-radius: 50%;
  animation: slotSpin 0.6s linear infinite;
}

@keyframes slotSpin {
  to { transform: rotate(360deg); }
}

.form-group.loading select {
  color: var(--text-muted);
  opacity: 0.7;
}

/* No slots available state */
.form-group.no-slots select {
  border-color: #E8A88C;
  background: #FFF5F0;
  color: var(--terracotta);
  font-weight: 500;
}

.form-group.no-slots label::after {
  content: ' — fully booked';
  color: var(--terracotta);
  font-weight: 400;
  font-size: 0.8rem;
}

/* Booked/disabled slot options */
select option:disabled {
  color: #b0a898;
  background: #f5f0eb;
  font-style: italic;
}


/* ===========================================================
   BOOKING BUTTON STATES
   =========================================================== */
.btn-loader {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-loader::before {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: slotSpin 0.6s linear infinite;
}

#bookingSubmitBtn:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none !important;
}


/* ===========================================================
   SPA VIEW TRANSITIONS
   =========================================================== */
.spa-view {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.spa-view.active {
  opacity: 1;
}


/* ===========================================================
   CUSTOM MULTI-SELECT DROPDOWN
   =========================================================== */
.select-treatments-group {
  position: relative;
}

.multi-select-input {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 0.5rem 1rem;
  border: 1.5px solid #E5E0D8;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: #FEFCF9;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
  box-sizing: border-box;
}

.multi-select-input:focus,
.multi-select-input.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.12);
}

.selected-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  flex-grow: 1;
}

.placeholder-text {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.treatment-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  background: var(--green-mist);
  color: var(--green-deep);
  border-radius: var(--radius-full);
  border: 1px solid var(--green-pale);
  line-height: 1;
}

.chip-remove {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-light);
  cursor: pointer;
  transition: color 0.2s;
  display: inline-block;
  line-height: 0.8;
}

.chip-remove:hover {
  color: var(--terracotta);
}

.dropdown-arrow {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-left: 0.75rem;
  transition: transform 0.2s;
}

.multi-select-input.active .dropdown-arrow {
  transform: rotate(180deg);
}

.multi-select-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1.5px solid #E5E0D8;
  border-radius: var(--radius-sm);
  margin-top: 0.25rem;
  max-height: 280px;
  overflow-y: auto;
  z-index: 100;
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
}

/* Scrollbar styling for dropdown */
.multi-select-dropdown::-webkit-scrollbar {
  width: 6px;
}
.multi-select-dropdown::-webkit-scrollbar-track {
  background: transparent;
}
.multi-select-dropdown::-webkit-scrollbar-thumb {
  background: var(--gold-light);
  border-radius: 3px;
}

.dropdown-category-group {
  margin-bottom: 0.5rem;
}

.dropdown-category-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  padding: 0.4rem 1rem;
  background: #FAF6F0;
  border-bottom: 1px solid rgba(0,0,0,0.02);
}

.dropdown-option-row {
  padding: 0.45rem 1rem;
  transition: background 0.2s;
}

.dropdown-option-row:hover {
  background: var(--sand);
}

.dropdown-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  width: 100%;
  font-size: 0.88rem;
  color: var(--text-body);
}

.dropdown-checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--gold-dark);
  cursor: pointer;
}

.option-price {
  font-weight: 600;
  color: var(--green-medium);
  margin-left: 0.25rem;
}


/* ===========================================================
   ADMIN DASHBOARD SECTION
   =========================================================== */
.admin-dashboard {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-top: 2rem;
}

.admin-actions {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.admin-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-card {
  background: var(--sand);
  border: 1px solid #E5E0D8;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
}

.stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.admin-main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.admin-form-card {
  background: #fff;
  border: 1px solid #E5E0D8;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.admin-form-card h3 {
  font-size: 1.35rem;
  color: var(--green-deep);
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #E5E0D8;
  padding-bottom: 0.5rem;
}

.admin-form-card .form-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.admin-form-card .checkbox-group {
  margin: 1.25rem 0;
}

.admin-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-body);
  cursor: pointer;
}

.admin-checkbox-label input {
  width: 16px;
  height: 16px;
  accent-color: var(--gold-dark);
}

/* Packages list table */
.admin-packages-list {
  background: #fff;
  border: 1px solid #E5E0D8;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.admin-packages-list h3 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.packages-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.packages-table th,
.packages-table td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid #E5E0D8;
  font-size: 0.9rem;
}

.packages-table th {
  font-weight: 700;
  color: var(--text-dark);
  background: var(--sand);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.packages-table tbody tr:hover {
  background: #FCFAF7;
}

.admin-table-category {
  font-size: 0.72rem;
  padding: 0.25rem 0.6rem;
  background: var(--sand-dark);
  color: var(--text-body);
  border-radius: var(--radius-full);
  font-weight: 600;
  white-space: nowrap;
}

.admin-table-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-edit,
.btn-delete {
  padding: 0.35rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-edit {
  background: var(--green-mist);
  color: var(--green-deep);
  border: 1px solid var(--green-pale);
}
.btn-edit:hover {
  background: var(--green-pale);
  color: var(--green-deep);
}

.btn-delete {
  background: #FFF5F0;
  color: var(--terracotta);
  border: 1px solid var(--terracotta-light);
}
.btn-delete:hover {
  background: var(--terracotta-light);
  color: #fff;
}


/* ===========================================================
   MY BOOKINGS ADDITIONAL STYLING
   =========================================================== */
.booking-card-treatments-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.booking-card-treatment-item {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green-deep);
}


/* ===========================================================
   THEME COLOR SWITCHER
   =========================================================== */
.color-switcher {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10000;
  background: #fff;
  border: 1.5px solid #E5E0D8;
  padding: 10px 15px;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: 'Inter', sans-serif;
  animation: slideInUp 0.5s var(--ease-spring);
}

@keyframes slideInUp {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.color-switcher-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.color-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #fff;
  cursor: pointer;
  box-shadow: 0 0 5px rgba(0,0,0,0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}

.color-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 0 8px rgba(0,0,0,0.25);
}

.color-btn.active {
  transform: scale(1.2);
  border-color: var(--gold);
}


/* ===========================================================
   FLOATING CART BUTTON & DRAWER
   =========================================================== */
.floating-cart-btn {
  position: fixed;
  bottom: 120px; /* Positioned above the theme color switcher */
  right: 20px;
  z-index: 9999;
  background: var(--gold);
  color: var(--green-deep);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: transform 0.3s var(--ease-spring), background-color 0.2s;
  border: 1px solid rgba(255,255,255,0.2);
}

.floating-cart-btn:hover {
  transform: scale(1.1) translateY(-2px);
  background: var(--gold-light);
}

.floating-cart-btn .cart-icon {
  font-size: 1.5rem;
}

.floating-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--terracotta);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 4px;
  border: 2px solid #fff;
  box-sizing: border-box;
}

/* Side Drawer Overlay */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 30, 20, 0.4);
  backdrop-filter: blur(4px);
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}

.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Slide out Cart Panel */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px; /* Hidden offscreen by default */
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: #fff;
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 10002;
  display: flex;
  flex-direction: column;
  transition: right 0.3s var(--ease-out);
  font-family: 'Inter', sans-serif;
}

.cart-drawer.active {
  right: 0;
}

.cart-drawer-header {
  padding: 1.5rem;
  border-bottom: 1.5px solid #E5E0D8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--sand-light);
}

.cart-drawer-header h3 {
  font-family: 'Playfair Display', serif;
  color: var(--green-deep);
  font-size: 1.25rem;
  margin: 0;
}

.cart-close-btn {
  background: transparent;
  border: none;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
  padding: 0;
  margin: 0;
}

.cart-close-btn:hover {
  color: var(--terracotta);
}

.cart-drawer-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Cart Item Card */
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--sand-light);
  border: 1px solid #E5E0D8;
  border-radius: var(--radius-md);
  padding: 1rem;
  transition: border-color 0.2s;
}

.cart-item:hover {
  border-color: var(--gold-light);
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cart-item-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-deep);
}

.cart-item-category {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.cart-item-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green-medium);
  margin-top: 0.15rem;
}

.cart-item-remove {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
  padding: 0.25rem;
}

.cart-item-remove:hover {
  color: var(--terracotta);
}

.cart-drawer-footer {
  padding: 1.5rem;
  border-top: 1.5px solid #E5E0D8;
  background: var(--sand-light);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-deep);
}

.cart-total-row strong {
  font-size: 1.35rem;
  color: var(--green-medium);
  font-weight: 700;
}

/* Responsive adjustment for drawer */
@media (max-width: 480px) {
  .cart-drawer {
    max-width: 100%;
    right: -100%;
  }
}


/* ===========================================================
   SINGLE WELLNESS TREATMENTS STYLE
   =========================================================== */
.single-treatments-container {
  background: var(--sand-light);
  border: 1px solid #E5E0D8;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-top: 2rem;
  box-shadow: var(--shadow-sm);
}

.single-treatments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.single-treatment-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.75rem 1rem;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(212, 165, 116, 0.15); /* Light gold border */
  transition: all 0.2s;
}

.single-treatment-item:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(212, 165, 116, 0.08);
}

.single-treatment-icon {
  font-size: 1.1rem;
  color: var(--gold-dark);
}


/* ===========================================================
   SCROLL ANIMATIONS
   =========================================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ===========================================================
   LIGHT THEME OVERRIDES
   =========================================================== */
.light-theme {
  --text-light: #3D3D3D;
  --text-muted: #666666;
}

.light-theme .hero-title {
  color: var(--green-deep);
}

.light-theme .hero-subtitle {
  color: var(--text-body);
}

.light-theme .hero-scroll-indicator {
  color: rgba(0, 0, 0, 0.5);
}

.light-theme .scroll-arrow {
  border-right-color: rgba(0, 0, 0, 0.4);
  border-bottom-color: rgba(0, 0, 0, 0.4);
}

.light-theme .btn-outline-light {
  border-color: var(--green-deep);
  color: var(--green-deep);
}

.light-theme .btn-outline-light:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: var(--green-deep);
}

.light-theme .header {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.light-theme .nav-link {
  color: var(--text-body);
}

.light-theme .nav-link:hover {
  color: var(--gold-dark);
}

.light-theme .logo {
  color: var(--green-deep);
}

.light-theme .mobile-toggle span {
  background: var(--green-deep);
}

.light-theme .auth-btn {
  color: var(--text-body);
  border-color: rgba(0, 0, 0, 0.15);
}

.light-theme .auth-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.25);
}

.light-theme .auth-btn-mobile {
  color: var(--text-body);
  border-color: rgba(0, 0, 0, 0.15);
  background: rgba(0, 0, 0, 0.02);
}

.light-theme .auth-btn-mobile:hover {
  background: rgba(0, 0, 0, 0.05);
}

.light-theme .nav-mobile-link {
  color: var(--text-body);
  border-bottom-color: rgba(0,0,0,0.06);
}

.light-theme .nav-mobile-link:hover {
  color: var(--gold-dark);
}

.light-theme .nav-mobile-cta {
  color: #fff;
}

.light-theme .nav-mobile {
  border-top-color: rgba(0,0,0,0.08);
  background: var(--sand);
}

.light-theme .journey-premium-badge {
  color: #fff !important;
}

.light-theme .section-title-light {
  color: var(--green-deep);
}

.light-theme .section-subtitle-light {
  color: var(--text-body);
}

.light-theme .journey-title {
  color: var(--green-deep);
}

.light-theme .journey-desc {
  color: var(--text-muted);
}

.light-theme .journey-includes li {
  color: var(--text-body);
  border-bottom-color: rgba(0,0,0,0.06);
}

.light-theme .journey-ideal {
  background: rgba(0,0,0,0.02);
  color: var(--text-muted);
}

.light-theme .journey-ideal strong {
  color: var(--green-deep);
}

.light-theme .journey-footer {
  border-top-color: rgba(0,0,0,0.08);
}

.light-theme .journey-price {
  color: var(--text-muted);
}


/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .about-content { padding-left: 0; }
  .about-experience-badge { left: 20px; }
  
  .pillars-grid { grid-template-columns: 1fr; }
  
  .treatment-card-featured { grid-column: span 1; grid-template-columns: 1fr; }
  .treatments-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
  
  .journey-grid { grid-template-columns: 1fr; max-width: 500px; }
  
  .testimonials-grid { grid-template-columns: 1fr; }
  
  .booking-grid { grid-template-columns: 1fr; }
  .booking-form-wrapper { position: static; }
  
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: var(--space-2xl) 0; }
  
  .nav-desktop { display: none; }
  .mobile-toggle { display: flex; }
  
  .header-inner { height: 70px; }
  
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .hero-stat-divider { width: 40px; height: 1px; }
  .hero-scroll-indicator { display: none; }
  
  .about-image { height: 350px; }
  .about-image-accent { display: none; }
  
  .why-banner-grid { justify-content: center; }
  .why-item { flex: 0 0 auto; }
  
  .treatments-grid { grid-template-columns: 1fr; }
  
  .form-row { grid-template-columns: 1fr; }
  
  .my-bookings-cards { grid-template-columns: 1fr; }
  
  .contact-grid { grid-template-columns: 1fr; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; }
  
  .booking-form { padding: 1.5rem; }
  .booking-trust { grid-template-columns: 1fr; }
}


/* ===========================================================
   GALLERY SECTION
   =========================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease-out);
  border: 1px solid rgba(0,0,0,0.04);
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.gallery-media-wrapper {
  position: relative;
  width: 100%;
  padding-top: 67%; /* 3:2 Aspect Ratio */
  background: var(--sand-dark);
}

.gallery-media-wrapper img,
.gallery-media-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item-caption {
  padding: 1.25rem 1.5rem;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.03);
}

.gallery-item-caption p {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
  margin: 0;
  line-height: 1.5;
}

/* Red Delete Overlay for Admins */
.gallery-delete-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(220, 53, 69, 0.9);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.gallery-delete-btn:hover {
  background: rgba(220, 53, 69, 1);
}

/* Light background override styling for journey/package cards */
.section-cream .journey-card,
.section-white .journey-card {
  background: #ffffff;
  border: 1px solid rgba(10, 46, 38, 0.08);
  box-shadow: 0 10px 30px rgba(10, 46, 38, 0.04);
}

.section-cream .journey-card:hover,
.section-white .journey-card:hover {
  border-color: var(--gold);
  box-shadow: 0 20px 50px rgba(10, 46, 38, 0.08);
}

.section-cream .journey-card-premium,
.section-white .journey-card-premium {
  background: var(--sand-light);
  border-color: rgba(212, 165, 116, 0.4);
}

.section-cream .journey-title,
.section-white .journey-title {
  color: var(--green-deep);
}

.section-cream .journey-desc,
.section-white .journey-desc {
  color: var(--text-dark);
}

.section-cream .journey-includes li,
.section-white .journey-includes li {
  color: var(--text-dark);
  border-bottom: 1px solid rgba(10, 46, 38, 0.05);
}

.section-cream .journey-ideal,
.section-white .journey-ideal {
  color: var(--text-muted);
  background: rgba(10, 46, 38, 0.03);
}

.section-cream .journey-ideal strong,
.section-white .journey-ideal strong {
  color: var(--gold-dark);
}

.section-cream .journey-footer,
.section-white .journey-footer {
  border-top: 1px solid rgba(10, 46, 38, 0.08);
}

.section-cream .journey-price,
.section-white .journey-price {
  color: var(--text-muted);
}

/* Floating Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #eaeaea;
  color: #111111;
  border: 2px solid #b5b5b5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  padding: 0;
  outline: none;
}

.back-to-top:hover {
  background: #ffffff;
  color: #000000;
  border-color: #888888;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

/* Featured Treatment Card premium design (SS1 style) */
.treatment-card-premium {
  position: relative;
  background: #fff8f2 !important;
  border: 2px solid #d4a574 !important;
  box-shadow: 0 10px 30px rgba(212, 165, 116, 0.15) !important;
  overflow: visible !important;
}

.treatment-card-premium .journey-premium-badge {
  left: 1.5rem;
}

.treatment-card-premium .treatment-card-image {
  border-top-left-radius: calc(var(--radius-lg) - 2px) !important;
  border-top-right-radius: calc(var(--radius-lg) - 2px) !important;
}

/* Large High-Visibility Discount Badge (3x Larger & Extra Bold) */
.discount-percent-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #e0a96d, #b37d4e);
  color: #ffffff !important;
  font-size: 1.15rem;
  font-weight: 800;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 25px rgba(179, 125, 78, 0.6);
  z-index: 10;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid rgba(255, 255, 255, 0.5);
  pointer-events: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
