:root {
  /* Color Palette - Navy & Gold */
  --bg-primary: #fcfcfd;
  --bg-secondary: #f4f5f8;
  --text-primary: #111827;
  --text-secondary: #4b5563;
  
  --navy-light: #2b3b5c;
  --navy: #1e293b;
  --navy-dark: #0f172a;
  
  --gold-light: #fef08a;
  --gold: #eab308;
  --gold-dark: #ca8a04;
  
  --white: #ffffff;
  --border: #e5e7eb;
  
  /* Typography */
  --font-sans: var(--font-inter), sans-serif;
  --font-serif: var(--font-playfair), serif;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-gold: 0 4px 14px 0 rgba(234, 179, 8, 0.39);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --border: #334155;
  }
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Utilities */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.bg-navy { background-color: var(--navy-dark); color: var(--white); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: var(--font-sans);
}

.btn-primary {
  background-color: var(--gold);
  color: var(--navy-dark);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(234, 179, 8, 0.5);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background-color: var(--gold);
  color: var(--navy-dark);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

/* Glassmorphism */
.glass {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Boutique Hover Effects */
.boutique-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.boutique-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(10, 25, 47, 0.1);
  border-color: rgba(212, 175, 55, 0.3);
}

.glow-on-hover {
  position: relative;
  overflow: hidden;
}
.glow-on-hover::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.glow-on-hover:hover::after {
  opacity: 1;
}

/* Infinite Marquee */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  display: flex;
}
.marquee-content {
  display: flex;
  animation: marquee 30s linear infinite;
}
@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

@media (prefers-color-scheme: dark) {
  .glass {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
  }
}

/* Phase 6: Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--navy-dark);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.preloader-content {
  text-align: center;
  color: var(--gold);
}
.preloader-logo {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 2px;
  animation: pulseGold 2s infinite;
}
@keyframes pulseGold {
  0% { text-shadow: 0 0 10px rgba(212,175,55,0.2); transform: scale(0.98); }
  50% { text-shadow: 0 0 30px rgba(212,175,55,0.8); transform: scale(1.02); }
  100% { text-shadow: 0 0 10px rgba(212,175,55,0.2); transform: scale(0.98); }
}

/* Phase 6: Premium WhatsApp Widget */
.whatsapp-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: transform 0.3s ease;
}
.whatsapp-widget:hover {
  transform: translateY(-5px);
}
.whatsapp-bubble {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  border-radius: 20px;
  border: 1px solid rgba(37, 211, 102, 0.3);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  color: #1e293b;
  font-weight: 600;
  font-size: 14px;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.whatsapp-widget:hover .whatsapp-bubble {
  opacity: 1;
  transform: translateX(0);
}
.whatsapp-icon {
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  position: relative;
}
.whatsapp-icon::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25D366;
  z-index: -1;
  animation: pingWA 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes pingWA {
  75%, 100% {
    transform: scale(1.5);
    opacity: 0;
  }
}
.whatsapp-icon svg {
  width: 32px;
  height: 32px;
  fill: white;
}

/* Phase 6: Before & After Slider */
.ba-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  cursor: ew-resize;
}
.ba-slider img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}
.ba-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%; /* Initial split */
  height: 100%;
  overflow: hidden;
  border-right: 3px solid var(--gold);
}
.ba-after img {
  width: auto;
  height: 100%;
  max-width: none;
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--gold);
  border: 3px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  pointer-events: none;
}
.ba-handle::before, .ba-handle::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
}
.ba-handle::before {
  border-width: 6px 8px 6px 0;
  border-color: transparent white transparent transparent;
  left: 6px;
}
.ba-handle::after {
  border-width: 6px 0 6px 8px;
  border-color: transparent transparent transparent white;
  right: 6px;
}
.ba-label {
  position: absolute;
  bottom: 20px;
  background: rgba(10, 25, 47, 0.7);
  color: white;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(4px);
  z-index: 5;
}
.ba-label-before { right: 20px; }
.ba-label-after { left: 20px; }

/* --- LUXURY DESIGN UPGRADES --- */
/* Custom Cursor (hidden on touch devices) */
@media (pointer: fine) {
  body {
    cursor: none;
  }
  a, button, input, textarea, select, .cursor-pointer, .hover-target, details summary {
    cursor: none !important;
  }
}

.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease-out, background-color 0.3s ease;
}

.custom-cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(216, 172, 81, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease-out, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

/* Cursor Hover States */
.custom-cursor-outline.hovering {
  width: 60px;
  height: 60px;
  border-color: rgba(216, 172, 81, 0.8);
  background-color: rgba(216, 172, 81, 0.1);
  backdrop-filter: blur(2px);
}
.custom-cursor-dot.hovering {
  transform: translate(-50%, -50%) scale(0.5);
}

/* Premium Noise Texture */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* Magnetic Button Wrapper */
.magnetic-wrap {
  display: inline-block;
}

/* Image Parallax/Reveal */
.img-reveal {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.5s cubic-bezier(0.77, 0, 0.175, 1);
}
.img-reveal.aos-animate {
  clip-path: inset(0 0 0 0);
}

/* Elegant Text Selection */
::selection {
  background: var(--gold);
  color: var(--navy-dark);
}
