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

:root {
  --gold-primary: #D4AF37;
  --gold-light: #F3E5AB;
  --gold-dark: #9A7B20;
  --gold-glow: rgba(212, 175, 55, 0.25);
  --bg-dark: #080B10;
  --bg-card: #111622;
  --bg-card-hover: #161E2E;
  --border-gold: rgba(212, 175, 55, 0.2);
  --border-glass: rgba(255, 255, 255, 0.08);
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-dark);
  color: #E2E8F0;
  overflow-x: hidden;
  selection-background-color: #D4AF37;
  selection-color: #080B10;
}

::selection {
  background: #D4AF37;
  color: #080B10;
}

.font-serif-luxury {
  font-family: 'Playfair Display', serif;
}

.font-cinzel {
  font-family: 'Cinzel', serif;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #0B0E14;
}
::-webkit-scrollbar-thumb {
  background: #2A364E;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

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

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

.gold-shimmer {
  position: relative;
  overflow: hidden;
}
.gold-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 30%,
    rgba(255, 246, 214, 0.2) 50%,
    transparent 70%
  );
  transform: rotate(30deg);
  animation: shimmer 5s infinite linear;
}

@keyframes shimmer {
  0% { transform: translate(-100%, -100%) rotate(30deg); }
  100% { transform: translate(100%, 100%) rotate(30deg); }
}

/* Glassmorphism Luxury Panels */
.glass-panel {
  background: rgba(17, 22, 34, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
}

.glass-panel-gold {
  background: rgba(17, 22, 34, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 25px -5px var(--gold-glow);
}

.glass-nav {
  background: rgba(8, 11, 16, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

/* Luxury Card Glow */
.property-card {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.property-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 20px -3px rgba(212, 175, 55, 0.2);
}

/* Range Slider Luxury Styling */
input[type=range].luxury-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: #1E293B;
  border-radius: 3px;
  outline: none;
}
input[type=range].luxury-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #D4AF37;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
  border: 2px solid #080B10;
  transition: transform 0.15s ease;
}
input[type=range].luxury-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Interactive Floor Plan Hotspot */
.hotspot-pin {
  position: absolute;
  width: 28px;
  height: 28px;
  background: rgba(212, 175, 55, 0.9);
  border: 2px solid #FFF;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #080B10;
  font-weight: 700;
  font-size: 11px;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
  transform: translate(-50%, -50%);
  transition: all 0.25s ease;
  z-index: 20;
}
.hotspot-pin:hover {
  transform: translate(-50%, -50%) scale(1.25);
  background: #FFFFFF;
  color: #D4AF37;
}

.hotspot-ping {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.6);
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%, 100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* Modal Animations */
.modal-backdrop {
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content-box {
  transform: scale(0.95) translateY(20px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}
.modal-backdrop.active .modal-content-box {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Floating WhatsApp Pulse */
.wa-float {
  box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.4), 0 0 15px 0 rgba(37, 211, 102, 0.3);
  animation: wa-pulse 3s infinite;
}
@keyframes wa-pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Luxury button transitions */
.btn-gold {
  background: linear-gradient(135deg, #D4AF37 0%, #B8972E 100%);
  color: #080B10;
  font-weight: 700;
  transition: all 0.25s ease;
}
.btn-gold:hover {
  background: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 100%);
  box-shadow: 0 10px 20px -5px rgba(212, 175, 55, 0.4);
  transform: translateY(-1px);
}

.btn-outline-gold {
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #D4AF37;
  transition: all 0.25s ease;
}
.btn-outline-gold:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: #D4AF37;
  color: #FFF6D6;
}
