/* ==========================================================================
   VITESSE PRESTIGE — Master Luxury Design System (Quiet Luxury & Auto Prestige)
   Palette: Noir Profond #0B0B0C | Anthracite #151515 | Champagne #C6A96B | Ivoire #F5F1E8
   Typography: Cormorant Garamond & Manrope
   Motion System: Continuous Ambient Float, Light Sweep & Interactive Parallax
   ========================================================================== */

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

/* Circular Gold LT Seal Emblem Logo */
.logo-lt-seal {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #E6C88B 0%, #C6A96B 50%, #8A6C28 100%);
  padding: 2.5px;
  box-shadow: 0 4px 18px rgba(198, 169, 107, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.logo-lt-seal:hover {
  transform: scale(1.06) rotate(3deg);
  box-shadow: 0 6px 28px rgba(198, 169, 107, 0.55);
}
.logo-lt-seal-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #0B0B0C;
  border: 1.5px solid rgba(198, 169, 107, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C6A96B;
  font-family: var(--vp-font-serif);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.05em;
}

:root {
  --vp-bg-main: #0B0B0C;
  --vp-bg-section: #151515;
  --vp-accent-gold: #C6A96B;
  --vp-text-primary: #F5F1E8;
  --vp-text-secondary: #AAA59B;
  --vp-border-subtle: #292929;
  
  --vp-gold-glow: rgba(198, 169, 107, 0.22);
  --vp-gold-border: rgba(198, 169, 107, 0.35);

  /* Fonts */
  --vp-font-serif: 'Cormorant Garamond', serif;
  --vp-font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --vp-font-mono: 'JetBrains Mono', monospace;
}

/* Base Body Setup — Zero Horizontal Wobble Guarantee */
html {
  height: 100%;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
}

body {
  min-height: 100%;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
  position: relative;
  background-color: var(--vp-bg-main);
  color: var(--vp-text-primary);
  font-family: var(--vp-font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  touch-action: pan-y;
}

/* Allow horizontal touch gestures exclusively inside designated scrollbars */
.overflow-x-auto, [class*="overflow-x-auto"], .lang-dropdown-menu {
  touch-action: pan-x pan-y !important;
  -webkit-overflow-scrolling: touch;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: var(--vp-bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--vp-accent-gold);
  border-radius: 999px;
}

/* Typography Utility Classes */
.font-serif-luxe { font-family: var(--vp-font-serif); }
.font-sans { font-family: var(--vp-font-sans); }
.font-mono { font-family: var(--vp-font-mono); }

.tracking-luxury { letter-spacing: 0.18em; }
.tracking-tracked { letter-spacing: 0.12em; }

/* Champagne Metallic Gradient Button */
.btn-gold-luxe {
  background: linear-gradient(135deg, #D4B675 0%, #C6A96B 50%, #9E7D1A 100%);
  color: #0B0B0C;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(198, 169, 107, 0.25);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-gold-luxe:hover {
  box-shadow: 0 6px 35px rgba(198, 169, 107, 0.48);
  transform: translateY(-2px) scale(1.01);
  opacity: 0.98;
}

/* Glassmorphism Luxe Panels */
.glass-luxe-pill {
  background: rgba(21, 21, 21, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--vp-border-subtle);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.glass-luxe-pill:hover {
  border-color: var(--vp-gold-border);
  box-shadow: 0 0 25px rgba(198, 169, 107, 0.15);
}

/* Ambient Lighting Halo with Continuous Pulse Animation */
.ambient-halo {
  background: radial-gradient(circle at 50% 45%, rgba(198, 169, 107, 0.14) 0%, rgba(11, 11, 12, 0.85) 70%);
  animation: ambientPulse 8s ease-in-out infinite alternate;
}

@keyframes ambientPulse {
  0% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 0.95; transform: scale(1.06); }
  100% { opacity: 0.6; transform: scale(1); }
}

/* Continuous Light Sweep Beam across screen */
.light-sweep-overlay {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(198, 169, 107, 0.08) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  animation: lightSweep 12s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes lightSweep {
  0% { left: -100%; }
  35% { left: 200%; }
  100% { left: 200%; }
}

/* Burger Overlay Animation */
#menu-overlay {
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.4s;
}
#menu-overlay.open { opacity: 1; visibility: visible; }
#menu-overlay.closed { opacity: 0; visibility: hidden; }

/* Discrete Language Dropdown */
.lang-dropdown {
  position: relative;
  display: inline-block;
}
.lang-dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 8px;
  background: #151515;
  border: 1px solid #292929;
  border-radius: 12px;
  padding: 6px;
  min-width: 120px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  z-index: 50;
  animation: fadeInDown 0.25s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.lang-dropdown:hover .lang-dropdown-menu,
.lang-dropdown:focus-within .lang-dropdown-menu {
  display: flex;
  flex-direction: column;
}
.lang-item {
  padding: 8px 14px;
  font-size: 12px;
  color: #AAA59B;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lang-item:hover {
  background: rgba(198, 169, 107, 0.12);
  color: #F5F1E8;
}

/* ==========================================================================
   MOTION SYSTEM (Continuous & Interactive Parallax Animations)
   ========================================================================== */

@keyframes kenBurnsBg {
  0% { transform: scale(1); background-position: center center; }
  100% { transform: scale(1.06); background-position: center 42%; }
}

.animate-kenburns {
  animation: kenBurnsBg 28s cubic-bezier(0.25, 1, 0.5, 1) infinite alternate;
}

/* Hero Maybach Car Visual — Integrated Full-Bleed & 4-Side Gradient Mask */
.hero-maybach-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  left: 0;
  right: 0;
  margin-left: 0;
  margin-right: 0;
  background-color: #0B0B0C;
  border-radius: 0;
  border: none;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 80%, transparent 100%), linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 80%, transparent 100%), linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

/* Warm Copper/Gold Radial Glow Behind Car Rims */
.hero-maybach-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 65%, rgba(198, 169, 107, 0.16), transparent 75%);
  pointer-events: none;
  z-index: 1;
}

@media (min-width: 640px) {
  .hero-maybach-container {
    position: absolute;
    inset: 0;
    width: 100%;
    left: 0;
    right: 0;
    margin: 0;
    z-index: 0;
  }
}

.hero-maybach-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: all 0.5s ease-out;
}

@media (max-width: 639px) {
  .hero-maybach-container {
    margin-top: 1.25rem;
    height: 240px;
    width: 100%;
    left: auto;
    right: auto;
    margin-left: 0;
    margin-right: 0;
    position: relative;
    overflow: hidden;
  }
  .hero-maybach-img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeup-1 { animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards; }
.animate-fadeup-2 { animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards; }
.animate-fadeup-3 { animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards; }
.animate-fadeup-4 { animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards; }

/* Section Hairline Divider */
.border-hairline {
  border-color: rgba(255, 255, 255, 0.08);
}

/* Lightened Hero Vignette for Instant Car Visibility */
.hero-vignette-light {
  background: linear-gradient(180deg, 
    rgba(10, 10, 12, 0.65) 0%, 
    rgba(10, 10, 12, 0.15) 45%, 
    rgba(10, 10, 12, 0.90) 100%);
}

/* Range Rover Style Catalog Row */
.rr-catalog-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 15, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--vp-border-subtle);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.rr-catalog-row:hover {
  background: rgba(25, 25, 30, 0.95);
  border-color: var(--vp-gold-border);
}

/* Luxury Quiet Card */
.luxe-card {
  background: rgba(21, 21, 21, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--vp-border-subtle);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.luxe-card:hover {
  border-color: var(--vp-accent-gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(198, 169, 107, 0.15);
}

/* Interactive Service Card Component */
.service-interactive-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--vp-border-subtle);
  background: #151515;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.service-interactive-card:hover {
  border-color: var(--vp-accent-gold);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 25px rgba(198, 169, 107, 0.2);
  transform: translateY(-4px);
}

/* Luxury Editorial Color Grading Filter (Louis Vuitton / Maybach Champagne Gold & Obsidian Tone) */
.service-card-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) contrast(1.15) saturate(1.1) sepia(0.18) hue-rotate(-10deg);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
}
.service-interactive-card:hover .service-card-bg-img {
  transform: scale(1.08);
  filter: brightness(0.95) contrast(1.18) saturate(1.15) sepia(0.15) hue-rotate(-8deg);
}

.service-overlay-panel {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, transparent 20%, rgba(11, 11, 12, 0.5) 70%, rgba(11, 11, 12, 0.95) 100%),
              linear-gradient(180deg, 
                rgba(11, 11, 12, 0.35) 0%, 
                rgba(11, 11, 12, 0.8) 60%, 
                rgba(11, 11, 12, 0.98) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-details-reveal {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-interactive-card:hover .service-details-reveal,
.service-interactive-card.active .service-details-reveal,
.service-interactive-card:focus-within .service-details-reveal {
  max-height: 320px;
  opacity: 1;
  margin-top: 12px;
}

.service-interactive-card:active .service-card-bg-img,
.service-interactive-card.active .service-card-bg-img {
  transform: scale(1.05);
}

/* Accessibility: Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .animate-kenburns,
  .animate-fadeup-1,
  .animate-fadeup-2,
  .animate-fadeup-3,
  .animate-fadeup-4,
  .gold-particle,
  .light-sweep-overlay,
  .service-card-bg-img {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* VIP Menu Overlay & Navigation Links */
.menu-nav-link {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-nav-link::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 2px;
  height: 65%;
  background: #C6A96B;
  box-shadow: 0 0 10px rgba(198, 169, 107, 0.8);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-nav-link:hover::before,
.menu-nav-link.active::before {
  transform: translateY(-50%) scaleY(1);
}

.menu-nav-link:hover {
  transform: translateX(6px);
}

.menu-nav-link .menu-link-title {
  transition: color 0.3s ease;
}

.menu-nav-link:hover .menu-link-title {
  color: #C6A96B;
}

.menu-nav-link .menu-link-subtitle {
  transition: color 0.3s ease;
}

.menu-nav-link:hover .menu-link-subtitle {
  color: #F5F1E8;
}

/* VIP Minimalist Palace Navigation (Cormorant Garamond Pure Luxury) */
.menu-palace-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.menu-palace-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--vp-font-serif, 'Cormorant Garamond', serif);
  color: #F5F1E8;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 640px) {
  .menu-palace-link {
    padding: 20px 0;
  }
}

.menu-palace-link:last-child {
  border-bottom: none;
}

.menu-palace-text {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: #F5F1E8;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 640px) {
  .menu-palace-text {
    font-size: 32px;
  }
}

.menu-palace-link:hover .menu-palace-text {
  color: #C6A96B;
  transform: translateX(8px);
}

.menu-palace-link:active .menu-palace-text {
  transform: scale(0.99) translateX(4px);
}

.menu-palace-link.active .menu-palace-text {
  color: #C6A96B;
  font-style: italic;
  font-weight: 400;
}

.menu-palace-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: #C6A96B;
  box-shadow: 0 0 10px rgba(198, 169, 107, 0.9);
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease;
}

.menu-palace-link.active .menu-palace-dot {
  opacity: 1;
  transform: scale(1);
}

.menu-palace-arrow {
  font-family: var(--vp-font-mono, monospace);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.2);
  transform: translateX(-4px);
  opacity: 0;
  transition: all 0.3s ease;
}

.menu-palace-link:hover .menu-palace-arrow {
  color: #C6A96B;
  transform: translateX(0);
  opacity: 1;
}

.menu-palace-link.active .menu-palace-arrow {
  display: none;
}

/* Language Switcher Pills in Menu */
.menu-lang-pill {
  padding: 4px 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #AAA59B;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.25s ease;
  cursor: pointer;
}

.menu-lang-pill:hover {
  border-color: rgba(198, 169, 107, 0.5);
  color: #F5F1E8;
  background: rgba(198, 169, 107, 0.08);
}

.menu-lang-pill.active {
  background: rgba(198, 169, 107, 0.18);
  border-color: #C6A96B;
  color: #C6A96B;
  box-shadow: 0 0 15px rgba(198, 169, 107, 0.3);
}

/* Subtle Gold Anchor Glow Highlight for targeted cards */
.bento-gold-glow {
  border-color: #C6A96B !important;
  box-shadow: 0 0 35px rgba(198, 169, 107, 0.45) !important;
  transform: translateY(-2px);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
