/* The Hummer Safari Dubai — Arabian Desert Luxury Noir */

:root {
  --obsidian: #0B0A09;
  --charcoal: #141210;
  --umber: #1D1916;
  --gold: #D4A359;
  --gold-soft: #F2CA85;
  --sand: #F5F0E8;
  --sand-muted: #B5AA99;
  --hairline: rgba(212, 163, 89, 0.16);
  --whatsapp: #25D366;
  --whatsapp-hover: #1EBE5D;
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  background-color: var(--obsidian);
  color: var(--sand);
  font-family: 'Inter', system-ui, sans-serif;
  overflow-x: hidden;
}

/* Glassmorphic sticky navbar */
.glass-nav {
  background: rgba(11, 10, 9, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hairline);
}

.gold-gradient-text {
  background: linear-gradient(135deg, #F7DEAA 0%, #D4A359 55%, #B88438 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Card surfaces (homepage .card-surface, admin .panel) */
.card-surface,
.panel {
  background: linear-gradient(180deg, #171412 0%, #110F0D 100%);
  border: 1px solid rgba(212, 163, 89, 0.15);
}
.card-surface { transition: border-color 0.25s ease; }
.card-surface:hover { border-color: rgba(212, 163, 89, 0.42); }

/* Dark cinematic hero vignette */
.hero-vignette {
  background: linear-gradient(
    180deg,
    rgba(11, 10, 9, 0.62) 0%,
    rgba(11, 10, 9, 0.35) 38%,
    rgba(11, 10, 9, 0.82) 78%,
    #0B0A09 100%
  );
}

/* Gold gradient buttons */
.gold-btn {
  background: linear-gradient(135deg, #E8B86B 0%, #C69242 100%);
  color: var(--obsidian);
}
.gold-btn:hover { background: linear-gradient(135deg, #F3CA86 0%, #D4A359 100%); }
.gold-btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* WhatsApp buttons */
.wa-btn {
  background: var(--whatsapp);
  color: var(--obsidian);
}
.wa-btn:hover { background: var(--whatsapp-hover); }

.fleet-swatch-active {
  box-shadow: 0 0 0 2px var(--obsidian), 0 0 0 4px var(--gold);
}

/* Modal backdrop */
.modal-backdrop {
  background: rgba(5, 4, 4, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.85) sepia(0.3) saturate(2) hue-rotate(10deg);
  cursor: pointer;
}

/* WordPress: keep sticky headers below the admin toolbar when logged in */
body.admin-bar .sticky.top-0 { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar .sticky.top-0 { top: 46px; } }
@media (min-width: 1024px) {
  body.admin-bar .lg\:sticky.lg\:top-0 { top: 32px; height: calc(100vh - 32px); }
}

/* Long-form text pages (Terms, Privacy, WordPress pages) */
.legal h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.35rem; font-weight: 700; color: var(--sand); margin: 2.25rem 0 0.75rem; }
.legal h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.1rem; font-weight: 700; color: var(--sand); margin: 1.5rem 0 0.5rem; }
.legal p, .legal li { font-size: 0.95rem; line-height: 1.75; color: rgba(245, 240, 232, 0.82); }
.legal p { margin: 0.75rem 0; }
.legal ul { list-style: disc; padding-left: 1.25rem; margin: 0.5rem 0; }
.legal ol { list-style: decimal; padding-left: 1.25rem; margin: 0.5rem 0; }
.legal li { margin: 0.35rem 0; }
.legal a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--sand); }
.legal img { max-width: 100%; height: auto; border-radius: 0.75rem; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
