/* GLOSS STUDIO - Custom Design Tokens & Luxury Styles */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&family=Montserrat:wght@200;300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  /* Colors aligned to attached Gloss Studio Logo */
  --bg-cream: #F9F3EB;
  --bg-cream-card: #FFFFFF;
  --bg-cream-dark: #F3EAE0;
  --bg-cream-glass: rgba(249, 243, 235, 0.92);
  --gold-primary: #A57448;
  --gold-light: #C49265;
  --gold-amber: #D69E6E;
  --gold-dark: #825833;
  --gold-glow: rgba(165, 116, 72, 0.25);
  --dark-espresso: #3D2B1D;
  --dark-charcoal: #231911;
  --text-muted: #7D6B5D;
  --text-body: #4A3A2F;
  --font-serif: 'Cormorant Garamond', 'Playfair Display', serif;
  --font-sans: 'Montserrat', sans-serif;
}

/* Base Reset & Setup */
html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--text-body);
}

body {
  overflow-x: hidden;
  background-color: var(--bg-cream);
}

/* Custom Gold Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: var(--bg-cream);
}
::-webkit-scrollbar-thumb {
  background: #D8C3B0;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

/* Typography Helpers */
.font-serif {
  font-family: var(--font-serif);
}

.font-sans {
  font-family: var(--font-sans);
}

.gold-gradient-text {
  background: linear-gradient(135deg, #A57448 0%, #C49265 50%, #825833 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-gradient-bg {
  background: linear-gradient(135deg, #A57448 0%, #C49265 100%);
}

.gold-gradient-bg:hover {
  background: linear-gradient(135deg, #825833 0%, #A57448 100%);
}

.gold-border {
  border-color: rgba(165, 116, 72, 0.3);
}

/* Buttons */
.btn-gold-outline {
  position: relative;
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  z-index: 1;
}

.btn-gold-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: var(--gold-primary);
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.btn-gold-outline:hover {
  color: #FFFFFF !important;
  border-color: var(--gold-primary);
  box-shadow: 0 8px 20px -4px rgba(165, 116, 72, 0.35);
}

.btn-gold-outline:hover::before {
  width: 100%;
}

.btn-gold-solid {
  background-color: var(--gold-primary);
  color: #FFFFFF !important;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(165, 116, 72, 0.3);
}

.btn-gold-solid:hover {
  background-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(165, 116, 72, 0.45);
}

/* Header & Navigation */
.glass-header {
  background: rgba(249, 243, 235, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(165, 116, 72, 0.18);
}

.nav-link-item {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link-item::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--gold-primary);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link-item:hover::after {
  width: 100%;
}

/* Hero Overlay & Text Contrast Fix */
.hero-overlay-dark {
  background: linear-gradient(180deg, rgba(35, 25, 17, 0.72) 0%, rgba(35, 25, 17, 0.5) 45%, rgba(249, 243, 235, 0.95) 90%, #F9F3EB 100%);
}

.hero-glass-box {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(165, 116, 72, 0.3);
  box-shadow: 0 30px 60px -15px rgba(61, 43, 29, 0.15), 0 0 30px rgba(165, 116, 72, 0.15);
}

/* Cards & Elevation */
.luxury-card {
  background: var(--bg-cream-card);
  border: 1px solid rgba(165, 116, 72, 0.18);
  transition: all 0.4s ease;
}

.luxury-card:hover {
  transform: translateY(-6px);
  border-color: rgba(165, 116, 72, 0.45);
  box-shadow: 0 20px 40px -15px rgba(61, 43, 29, 0.08), 0 0 25px rgba(165, 116, 72, 0.12);
}

/* Treatment Menu Item Card */
.menu-item-card {
  background: #FFFFFF;
  border: 1px solid rgba(165, 116, 72, 0.18);
  transition: all 0.3s ease;
}

.menu-item-card:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 10px 25px -5px rgba(165, 116, 72, 0.15);
}

/* Filter Tab Styling */
.menu-tab-btn.active, .gallery-filter-btn.active {
  background-color: var(--gold-primary);
  color: #FFFFFF !important;
  border-color: var(--gold-primary);
  box-shadow: 0 4px 15px rgba(165, 116, 72, 0.3);
}

/* Lightbox Modal */
.lightbox-modal, .booking-modal {
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}

.lightbox-modal.active, .booking-modal.active {
  opacity: 1;
  visibility: visible;
}

/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* Image Zoom */
.zoom-img-container {
  overflow: hidden;
}

.zoom-img-container img {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.zoom-img-container:hover img {
  transform: scale(1.06);
}

/* Testimonial Track */
.testimonial-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* Before After Slider */
.ba-container {
  position: relative;
  overflow: hidden;
  user-select: none;
}

.ba-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  overflow: hidden;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(165, 116, 72, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(165, 116, 72, 0); }
}

.pulse-badge {
  animation: pulseGlow 2.5s infinite;
}
