/* Import high-end luxury typography */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --bg-obsidian: #09090B;
  --gold-champagne: #D4AF37;
  --gold-hover: #F3E5AB;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-glow: rgba(212, 175, 55, 0.25);
  --text-muted: #A1A1AA;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-obsidian);
  color: #FAFAFA;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Serif font style for luxury headings */
.font-luxury {
  font-family: 'Playfair Display', serif;
}

/* Custom Glassmorphism Utility */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

/* Gold Gradient text */
.text-gold-gradient {
  background: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 50%, #AA7C11 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Golden Buttons */
.btn-gold {
  background: linear-gradient(135deg, #D4AF37 0%, #B8901C 100%);
  color: #09090B;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.15);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
}

/* Pulse animation for the hotspots */
@keyframes hotspot-pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
  }
  70% {
    transform: scale(1.1);
    opacity: 1;
    box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
  }
  100% {
    transform: scale(0.9);
    opacity: 0.6;
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
  }
}

.pulsing-pin {
  animation: hotspot-pulse 2s infinite ease-in-out;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pulsing-pin:hover {
  transform: scale(1.25);
  background-color: var(--gold-hover);
  animation-play-state: paused;
}

/* Customized range slider track and thumb */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold-champagne);
  border: 2px solid #09090B;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
  transition: all 0.2s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  background: var(--gold-hover);
  transform: scale(1.2);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
}

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

::-webkit-scrollbar-track {
  background: #09090B;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

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

/* Material Swatches macOS Dock Magnification Style */
.dock-swatch {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
}

.dock-container:hover .dock-swatch:hover {
  transform: scale(1.25) translateY(-6px);
}

.dock-container:hover .dock-swatch:not(:hover) {
  transform: scale(0.95);
}

/* Smooth active state glow */
.active-swatch {
  border-color: var(--gold-champagne) !important;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* Image Cross-fade Animation Container */
.fade-img {
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
}
