/* ==========================================================================
   Beauty Junction - Luxury Design System & Master Stylesheet
   Somerset West, Western Cape
   Author: Senior Frontend Engineer & UI/UX Designer
   ========================================================================== */

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

:root {
  /* Brand Palette: Deep Forest Emerald & Champagne Gold */
  --primary: #1b4332;
  --primary-rgb: 27, 67, 50;
  --primary-light: #2d6a4f;
  --primary-light-rgb: 45, 106, 79;
  --primary-dark: #081c15;
  --primary-dark-rgb: 8, 28, 21;
  --primary-foreground: #ffffff;

  --gold: #d4af37;
  --gold-rgb: 212, 175, 55;
  --gold-light: #f3e5ab;
  --gold-dark: #997a15;
  --gold-gradient: linear-gradient(135deg, #d4af37 0%, #aa8825 100%);
  --gold-shimmer: linear-gradient(90deg, #d4af37 0%, #fef08a 50%, #d4af37 100%);

  --background: #fbfcfb;
  --foreground: #112217;

  --card: #ffffff;
  --card-foreground: #112217;
  --card-hover: #f7faf8;

  --secondary: #0c2017;
  --secondary-foreground: #f0fdf4;

  --muted: #f1f5f2;
  --muted-foreground: #4a5d52;

  --border: rgba(27, 67, 50, 0.1);
  --border-focus: rgba(27, 67, 50, 0.4);
  --input: #ffffff;
  --ring: rgba(27, 67, 50, 0.35);

  --radius-xs: 0.375rem;
  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-full: 9999px;

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Elevation & Shadows */
  --shadow-xs: 0 1px 2px rgba(8, 28, 21, 0.04);
  --shadow-sm: 0 2px 8px -1px rgba(8, 28, 21, 0.06);
  --shadow-md: 0 10px 25px -4px rgba(8, 28, 21, 0.08), 0 4px 10px -2px rgba(8, 28, 21, 0.03);
  --shadow-lg: 0 20px 35px -8px rgba(8, 28, 21, 0.12), 0 8px 16px -4px rgba(8, 28, 21, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(8, 28, 21, 0.2);
  --shadow-glow: 0 0 35px rgba(212, 175, 55, 0.28);
  --shadow-emerald: 0 10px 30px -5px rgba(27, 67, 50, 0.35);

  /* Transitions */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   CSS Reset & Base Foundation
   ========================================================================== */

*, *::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;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6, .font-serif {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--foreground);
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2.1rem, 3.8vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  font-weight: 600;
  line-height: 1.25;
}

h4 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 600;
  line-height: 1.35;
}

p {
  color: var(--muted-foreground);
  font-size: 1rem;
  line-height: 1.65;
}

strong, b {
  font-weight: 600;
  color: var(--foreground);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1280px) {
  .container {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background-color var(--transition-base),
              backdrop-filter var(--transition-base),
              border-color var(--transition-base),
              padding var(--transition-base),
              box-shadow var(--transition-base);
  padding: 1.25rem 0;
  background: rgba(8, 28, 21, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

#site-header .brand-title {
  color: #ffffff;
  transition: color var(--transition-fast);
}

#site-header .brand-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

#site-header .nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

#site-header .nav-link:hover,
#site-header .nav-link.active {
  color: #ffffff;
}

#site-header .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0.15rem;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition-fast), transform var(--transition-fast);
  transform: translateX(-50%);
  border-radius: var(--radius-full);
}

#site-header .nav-link:hover::after,
#site-header .nav-link.active::after {
  width: 65%;
}

#site-header .phone-link {
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: color var(--transition-fast);
}

#site-header .phone-link:hover {
  color: var(--gold);
}

#site-header #mobile-menu-btn {
  color: #ffffff;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Scrolled Navbar */
#site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(27, 67, 50, 0.1);
  padding: 0.75rem 0;
  box-shadow: 0 4px 25px rgba(8, 28, 21, 0.06);
}

#site-header.scrolled .brand-title {
  color: var(--foreground);
}

#site-header.scrolled .brand-subtitle {
  color: var(--muted-foreground);
}

#site-header.scrolled .nav-link {
  color: var(--muted-foreground);
}

#site-header.scrolled .nav-link:hover,
#site-header.scrolled .nav-link.active {
  color: var(--primary);
}

#site-header.scrolled .nav-link::after {
  background: var(--primary);
}

#site-header.scrolled .phone-link {
  color: var(--primary);
}

#site-header.scrolled .phone-link:hover {
  color: var(--primary-light);
}

#site-header.scrolled #mobile-menu-btn {
  color: var(--foreground);
}

/* Mobile Menu Drawer */
#mobile-menu {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(27, 67, 50, 0.12);
  box-shadow: 0 20px 40px rgba(8, 28, 21, 0.1);
  animation: slideDownMobileMenu 0.3s var(--ease-smooth);
}

@keyframes slideDownMobileMenu {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav-link {
  color: var(--foreground);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(27, 67, 50, 0.08);
  display: block;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link:focus-visible {
  color: var(--primary);
  padding-left: 0.5rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 9rem 1.5rem 6rem;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 28, 21, 0.75) 0%,
    rgba(8, 28, 21, 0.5) 45%,
    rgba(8, 28, 21, 0.85) 100%
  );
  z-index: 1;
}

/* Radial light overlay for luxury depth */
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(212, 175, 55, 0.12) 0%, transparent 65%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-light);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-title {
  color: #ffffff;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 300;
  max-width: 44rem;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle strong {
  color: #ffffff;
  font-weight: 600;
}

/* Elegant Scroll Indicator */
.scroll-indicator {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.scroll-indicator-text {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
}

.scroll-indicator-mouse {
  width: 1.375rem;
  height: 2.375rem;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255, 255, 255, 0.6);
  display: flex;
  justify-content: center;
  padding-top: 0.35rem;
}

.scroll-indicator-dot {
  width: 0.25rem;
  height: 0.5rem;
  background-color: var(--gold);
  border-radius: var(--radius-full);
  animation: scrollWheel 2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(0.5rem); opacity: 0.4; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   Luxury Buttons & Components
   ========================================================================== */

.btn-luxury {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  background: linear-gradient(135deg, #1b4332 0%, #081c15 100%);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.875rem 1.875rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 18px rgba(27, 67, 50, 0.35);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-luxury::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transition: 0.6s ease;
}

.btn-luxury:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(27, 67, 50, 0.45);
  background: linear-gradient(135deg, #245a43 0%, #0c261d 100%);
  border-color: rgba(212, 175, 55, 0.3);
}

.btn-luxury:hover::after {
  left: 100%;
}

.btn-luxury:active {
  transform: translateY(0);
}

.btn-outline-luxury {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.8125rem 1.75rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn-outline-luxury:hover {
  background: var(--primary);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #ffffff;
  color: var(--foreground) !important;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.9375rem 2.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn-white:hover {
  background: #fbfcfb;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  color: var(--primary) !important;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #d4af37 0%, #aa8825 100%);
  color: #0f1d14 !important;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.625rem;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.5);
  background: linear-gradient(135deg, #e3c04f 0%, #b8942b 100%);
}

/* Badges & Divider */
.badge-luxury {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3rem 0.85rem;
  background: rgba(27, 67, 50, 0.08);
  color: var(--primary);
  border: 1px solid rgba(27, 67, 50, 0.18);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3rem 0.85rem;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-dark);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.divider-gold {
  height: 2px;
  width: 60px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1rem auto;
  border-radius: var(--radius-full);
}

/* Cards & Panels */
.card-premium {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card-premium:hover {
  border-color: rgba(27, 67, 50, 0.28);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.glass-panel {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(27, 67, 50, 0.1);
  border-radius: var(--radius-lg);
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-portrait-wrapper {
  position: relative;
  z-index: 10;
  max-width: 440px;
  margin: 0 auto;
}

.about-portrait-frame {
  aspect-ratio: 3/4;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 6px solid #ffffff;
  background: #ffffff;
}

.about-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-smooth);
}

.about-portrait-frame:hover img {
  transform: scale(1.03);
}

.about-credential-card {
  position: absolute;
  bottom: -1.25rem;
  right: -1rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.875rem 1.125rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(27, 67, 50, 0.15);
  max-width: 280px;
  z-index: 20;
}

@media (min-width: 640px) {
  .about-credential-card {
    right: -1.75rem;
    padding: 1rem 1.25rem;
  }
}

.stat-card-luxury {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(27, 67, 50, 0.03);
  border: 1px solid rgba(27, 67, 50, 0.1);
  transition: all var(--transition-fast);
}

.stat-card-luxury:hover {
  background: rgba(27, 67, 50, 0.06);
  border-color: rgba(27, 67, 50, 0.2);
}

/* ==========================================================================
   Advanced Skincare Showcase
   ========================================================================== */

.treatment-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .treatment-card-grid {
    gap: 5.5rem;
  }
}

.treatment-item-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .treatment-item-row {
    grid-template-columns: repeat(12, 1fr);
    gap: 4rem;
  }
}

.treatment-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(27, 67, 50, 0.08);
  background: #ffffff;
}

.treatment-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-smooth);
}

.treatment-image-wrapper:hover img {
  transform: scale(1.04);
}

.treatment-price-pill {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(27, 67, 50, 0.15);
  z-index: 10;
}

/* Process Box */
.process-box {
  background: rgba(27, 67, 50, 0.04);
  padding: 1.125rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(27, 67, 50, 0.08);
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   Essential Therapies Menu & Filters
   ========================================================================== */

.filter-tab-btn {
  padding: 0.625rem 1.35rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted-foreground);
  background: #ffffff;
  border: 1px solid var(--border);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.filter-tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(27, 67, 50, 0.03);
}

.filter-tab-btn.active {
  background: var(--primary);
  color: #ffffff !important;
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(27, 67, 50, 0.25);
}

/* Package Banner */
.package-banner {
  background: linear-gradient(135deg, #1b4332 0%, #081c15 100%);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.package-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* ==========================================================================
   Specials & Gallery
   ========================================================================== */

.special-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  background: var(--card);
  transition: all var(--transition-base);
}

.special-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(212, 175, 55, 0.4);
}

.special-card-image-wrap {
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
}

@media (min-width: 640px) {
  .special-card-image-wrap {
    aspect-ratio: 1/1;
  }
}

.special-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-smooth);
}

.special-card:hover .special-card-image-wrap img {
  transform: scale(1.08);
}

.special-card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(8, 28, 21, 0.5) 45%,
    rgba(8, 28, 21, 0.92) 100%
  );
  z-index: 10;
}

.special-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 20;
}

.special-card-content {
  position: absolute;
  inset-x: 0;
  bottom: 0;
  padding: 1.5rem;
  z-index: 20;
  color: #ffffff;
}

/* Gallery Grid */
.gallery-item {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition-base);
}

.gallery-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(27, 67, 50, 0.25);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  transition: transform 0.7s var(--ease-smooth);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 28, 21, 0.85) 100%);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  transition: opacity var(--transition-base);
  z-index: 10;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Lightbox Modal */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 28, 21, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

#lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

#lightbox img {
  max-width: 90vw;
  max-height: 82vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   Contact Section & Footer
   ========================================================================== */

.contact-card-link {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.contact-card-link:hover {
  border-color: rgba(27, 67, 50, 0.3);
  background: rgba(27, 67, 50, 0.02);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.contact-icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.35rem;
}

.hours-table-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

/* FOOTER LUXURY: Deep Forest Emerald with Gold & WCAG AA Contrast */
.footer-luxury {
  background-color: #081c15 !important;
  color: #e2ede6 !important;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  padding-top: 4.5rem;
  padding-bottom: 3.5rem;
  position: relative;
}

.footer-luxury h3,
.footer-luxury h4 {
  color: #ffffff !important;
}

.footer-luxury p,
.footer-luxury li,
.footer-luxury a {
  color: #c0d8ca !important;
  transition: color var(--transition-fast);
}

.footer-luxury a:hover {
  color: var(--gold-light) !important;
}

.footer-luxury .footer-divider {
  border-color: rgba(255, 255, 255, 0.12);
}

.footer-luxury .footer-copyright {
  color: #8fae9b !important;
}

/* ==========================================================================
   Booking Calendar Engine Modal
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 28, 21, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #ffffff;
  border: 1px solid rgba(27, 67, 50, 0.15);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px -10px rgba(8, 28, 21, 0.35);
  width: 100%;
  max-width: 840px;
  max-height: 92vh;
  overflow-y: auto;
  transform: scale(0.96) translateY(15px);
  transition: all var(--transition-base);
}

.modal-backdrop.active .modal-content {
  transform: scale(1) translateY(0);
}

/* Step Indicator */
.step-indicator-pill {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

/* Calendar Day Grid */
.calendar-container {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.125rem 1.35rem;
  background: linear-gradient(135deg, #1b4332 0%, #081c15 100%);
  color: #ffffff;
}

.calendar-days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  padding: 0.75rem 0.5rem 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted-foreground);
  border-bottom: 1px solid var(--border);
}

.calendar-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 0.625rem 0.35rem;
  gap: 0.25rem;
}

.calendar-day-btn {
  width: 2.375rem;
  height: 2.375rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  margin: 0 auto;
}

@media (min-width: 640px) {
  .calendar-day-btn {
    width: 2.625rem;
    height: 2.625rem;
    font-size: 0.9375rem;
  }
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
  gap: 0.5rem;
}

.time-slot-btn {
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  border: 1px solid var(--border);
  text-align: center;
}

.service-checkbox-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #ffffff;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.service-checkbox-card:hover {
  border-color: rgba(27, 67, 50, 0.35);
  background: rgba(27, 67, 50, 0.02);
}

/* ==========================================================================
   Toasts & Notifications
   ========================================================================== */

#toast-container {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 420px;
}

.toast {
  background: #ffffff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 0.875rem 1.25rem;
  box-shadow: var(--shadow-lg);
  font-size: 0.875rem;
  color: var(--foreground);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  animation: toastSlideIn 0.3s var(--ease-smooth);
}

.toast.success {
  border-left-color: #059669;
}

.toast.warning {
  border-left-color: #d97706;
}

.toast.error {
  border-left-color: #dc2626;
}

.toast.info {
  border-left-color: var(--primary);
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--muted);
}

::-webkit-scrollbar-thumb {
  background: rgba(27, 67, 50, 0.25);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}
