/* ==========================================================================
   THE GENTLEMAN'S CUT - LUXURY EDITORIAL STYLES
   ========================================================================== */

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

:root {
  --bg-main: #0a0b0d;
  --bg-card: #121418;
  --bg-card-hover: #181b20;
  --gold-primary: #c5a880;
  --gold-light: #e8d5b5;
  --gold-dark: #9a7b52;
  --gold-glow: rgba(197, 168, 128, 0.25);
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-gold: rgba(197, 168, 128, 0.3);
  --text-muted: #8e95a5;
  --text-light: #e4e7eb;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-main);
  color: var(--text-light);
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: clip;
}

body {
  background-color: var(--bg-main);
  color: var(--text-light);
  overflow-x: clip;
  position: relative;
  min-height: 100%;
}

/* Custom Selection */
::selection {
  background-color: var(--gold-primary);
  color: #0a0b0d;
}

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

::-webkit-scrollbar-track {
  background: #0a0b0d;
}

::-webkit-scrollbar-thumb {
  background: #262930;
  border-radius: 3px;
}

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

/* Typography Classes */
.font-cinzel {
  font-family: 'Cinzel', serif;
}

.font-editorial {
  font-family: 'Cormorant Garamond', serif;
}

.font-sans-clean {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Gold Gradient Text */
.text-gold-gradient {
  background: linear-gradient(135deg, #f3e7d3 0%, #c5a880 50%, #9a7b52 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-silver-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #64748b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Luxury Borders & Glows */
.border-gold-subtle {
  border-color: var(--border-gold);
}

.gold-glow {
  box-shadow: 0 0 35px -5px var(--gold-glow);
}

.gold-glow-sm {
  box-shadow: 0 0 15px -3px var(--gold-glow);
}

/* Glassmorphism */
.glass-nav {
  background: rgba(10, 11, 13, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(197, 168, 128, 0.15);
}

.glass-card {
  background: rgba(18, 20, 24, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  background: rgba(24, 27, 32, 0.9);
  border-color: rgba(197, 168, 128, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6), 0 0 30px -10px var(--gold-glow);
}

/* Button Shimmer Effect */
.btn-gold {
  background: linear-gradient(135deg, #c5a880 0%, #a68962 100%);
  color: #0a0b0d;
  font-weight: 600;
  letter-spacing: 0.12em;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-gold::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 20%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 80%
  );
  transform: rotate(30deg) translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-gold:hover::after {
  transform: rotate(30deg) translateX(100%);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #d8bc94 0%, #b89970 100%);
  box-shadow: 0 0 25px rgba(197, 168, 128, 0.45);
  transform: translateY(-1px);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid var(--gold-primary);
  letter-spacing: 0.12em;
  transition: all 0.3s ease;
}

.btn-outline-gold:hover {
  background: rgba(197, 168, 128, 0.1);
  border-color: var(--gold-light);
  box-shadow: 0 0 20px rgba(197, 168, 128, 0.2);
  transform: translateY(-1px);
}

/* ==========================================================================
   HERO SCROLL WRAPPER & STICKY CANVAS
   ========================================================================== */
#hero-track {
  position: relative;
  width: 100%;
  height: 380vh;
  background-color: #0a0b0d;
  display: block;
}

#canvas-container {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background-color: #0a0b0d;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero-canvas {
  width: 100%;
  height: 100%;
  display: block;
  background-color: #0a0b0d;
}

/* Subsequent Sections */
.content-section {
  position: relative;
  z-index: 20;
  background-color: #0a0b0d;
  width: 100%;
}

/* Cinematic Vignette */
.vignette-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at center,
    rgba(10, 11, 13, 0.1) 0%,
    rgba(10, 11, 13, 0.5) 60%,
    rgba(10, 11, 13, 0.95) 100%
  );
  z-index: 2;
}

.gradient-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 220px;
  pointer-events: none;
  background: linear-gradient(to top, #0a0b0d 20%, transparent 100%);
  z-index: 3;
}

.gradient-top-fade {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 140px;
  pointer-events: none;
  background: linear-gradient(to bottom, #0a0b0d 20%, transparent 100%);
  z-index: 3;
}

/* Narrative Text Overlays */
.hero-narrative-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(20px);
  z-index: 5;
}

.hero-narrative-overlay.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-narrative-overlay.exit {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}

/* Luxury Line Accent */
.gold-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  width: 100%;
}

.gold-line-left {
  height: 1px;
  background: linear-gradient(90deg, var(--gold-primary), transparent);
}

/* Animations */
@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.animate-pulse-glow {
  animation: pulseGlow 4s infinite ease-in-out;
}

@keyframes scrollIndicator {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(10px);
    opacity: 0.2;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.animate-scroll-dot {
  animation: scrollIndicator 2s infinite ease-in-out;
}

/* Custom Radio in Booking Form */
.service-option input:checked + label {
  border-color: #c5a880 !important;
  background: rgba(197, 168, 128, 0.12) !important;
  box-shadow: 0 0 20px -5px rgba(197, 168, 128, 0.3);
}

.time-slot.selected {
  background: #c5a880 !important;
  color: #0a0b0d !important;
  font-weight: 700;
  box-shadow: 0 0 15px rgba(197, 168, 128, 0.4);
}

/* Form input styling */
.luxury-input {
  background: rgba(18, 20, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all 0.3s ease;
}

.luxury-input:focus {
  outline: none;
  border-color: var(--gold-primary);
  background: rgba(22, 25, 30, 0.95);
  box-shadow: 0 0 15px rgba(197, 168, 128, 0.2);
}

/* Mobile Menu Transitions */
#mobile-menu {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#mobile-menu.menu-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

#mobile-menu.menu-closed {
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
}
