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

:root {
  --navy-dark: #0A192F;
  --navy-midnight: #060D1A;
  --navy-card: #112240;
  --navy-light: #1E293B;
  --gold-primary: #D4AF37;
  --gold-light: #F59E0B;
  --gold-pale: #FDE68A;
  --gold-dark: #996515;
  --bg-slate: #F8FAFC;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: 'Inter', sans-serif;
  color: #1E293B;
  background-color: #F8FAFC;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, .font-heading {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
}

/* Gold Gradient utilities */
.bg-gold-gradient {
  background: linear-gradient(135deg, #F59E0B 0%, #D4AF37 50%, #B8860B 100%);
}

.text-gold-gradient {
  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 50%, #D4AF37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.border-gold-glow {
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

.border-gold-glow:hover {
  border-color: rgba(212, 175, 55, 0.8);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.35);
}

/* Glassmorphism */
.glass-navy {
  background: rgba(10, 25, 47, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.glass-card {
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Floating Action Buttons with Authentic Glow Pulse */
.fab-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

@media (max-width: 640px) {
  .fab-container {
    bottom: 16px;
    right: 16px;
    gap: 10px;
  }
}

.fab-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  position: relative;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
}

@media (max-width: 640px) {
  .fab-btn {
    width: 50px;
    height: 50px;
  }
}

.fab-btn:hover {
  transform: scale(1.1);
}

.fab-phone {
  background: linear-gradient(135deg, #F59E0B, #D4AF37);
  color: #0A192F;
}

.fab-phone::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.5);
  animation: pulse-gold 2s infinite ease-in-out;
  z-index: -1;
}

.fab-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #FFFFFF;
}

.fab-whatsapp::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.55);
  animation: pulse-green 2s infinite ease-in-out;
  z-index: -1;
}

@keyframes pulse-gold {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

@keyframes pulse-green {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

/* Vehicle Image display - Crisp, zero distortion, responsive */
.vehicle-img-contain {
  width: 100%;
  height: 220px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

@media (max-width: 640px) {
  .vehicle-img-contain {
    height: 180px;
  }
}

.vehicle-card:hover .vehicle-img-contain {
  transform: scale(1.05);
}

/* Custom Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 13, 26, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.modal-overlay.active {
  display: flex;
}

/* Badges & Pills */
.gold-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(212, 175, 55, 0.15);
  color: #D4AF37;
  border: 1px solid rgba(212, 175, 55, 0.35);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 9999px;
  font-weight: 600;
}

/* Tab buttons */
.tab-btn {
  white-space: nowrap;
}

.tab-btn.active {
  background: linear-gradient(135deg, #F59E0B, #D4AF37);
  color: #0A192F;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #0A192F;
}
::-webkit-scrollbar-thumb {
  background: #D4AF37;
  border-radius: 3px;
}

/* Mobile viewport stability - prevent iOS input zoom */
@media screen and (max-width: 768px) {
  input, select, textarea {
    font-size: 16px !important;
  }
}
