/* ============================================
   RAPID LUX — Premium Limo & Shuttle Service
   Global Stylesheet
   ============================================ */

/* ---- CSS Variables ---- */
:root {
  --gold:          #C9A84C;
  --gold-light:    #E8CB7C;
  --gold-dark:     #A07830;
  --dark-bg:       #0A0A0A;
  --dark-surface:  #111111;
  --dark-card:     #161616;
  --dark-border:   rgba(201,168,76,0.18);
  --white:         #FFFFFF;
  --off-white:     #E8E8E8;
  --grey:          #999999;
  --nav-height:    80px;
  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     24px;
  --transition:    0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  background-color: var(--dark-bg);
  color: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
}
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ---- Utilities ---- */
.container       { width: 90%; max-width: 1180px; margin: 0 auto; }
.text-center     { text-align: center; }
.gold-text       { color: var(--gold); }
.hover-gold:hover { color: var(--gold); transition: color 0.3s ease; }
.text-glow       { color: var(--gold); }
.relative-z      { position: relative; z-index: 2; }

/* ---- Typography ---- */
.subtitle {
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.title {
  font-family: 'Bodoni Moda', serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.01em;
}
.full-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.no-padding { padding: 0 !important; }
.overflow-hidden { overflow: hidden; }
.divider {
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin: 1.2rem auto 0;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.9rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  outline: none;
}
.btn-primary {
  background: var(--gold);
  color: #0A0A0A;
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-large { padding: 1rem 2.5rem; font-size: 1rem; }
.btn-block  { width: 100%; text-align: center; }

/* ---- Minimal Glass Panel ---- */
.glass-panel {
  background: rgba(22,22,22,0.85);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(10,10,10,0.95);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.logo {
  display: inline-flex;
  align-items: center;
}
.logo-img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
}
.brand-col .logo-img {
  height: 44px;
  margin-bottom: 1rem;
}
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--off-white);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--white);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 1.5rem 5%;
  background: rgba(10,10,10,0.97);
  border-top: 1px solid var(--dark-border);
  gap: 0.5rem;
}
.mobile-nav.active { display: flex; }
.mobile-link {
  font-size: 1rem;
  font-weight: 500;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--off-white);
  transition: color var(--transition);
}
.mobile-link:hover { color: var(--gold); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('assets/hero.png');
  background-size: cover;
  background-position: center 30%;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.65);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  padding: 0 1.5rem;
  padding-top: var(--nav-height);
}
.hero-title {
  font-family: 'Bodoni Moda', serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(232,200,124,0.85);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   BOOKING WIDGET
   ============================================ */
.booking-widget-section {
  padding: 10rem 0;
  position: relative;
  z-index: 10;
}
.booking-widget {
  padding: 1.8rem 2rem;
}
.widget-row {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  flex-wrap: wrap;
}
.form-group {
  flex: 1;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.form-group label i { margin-right: 0.4rem; }
.form-control {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
}
.form-control:focus { border-color: var(--gold); }
.form-control option { background: var(--dark-card); }
.button-group { min-width: 140px; max-width: 160px; }

/* ============================================
   WAITLIST WIDGET
   ============================================ */
.waitlist-inner {
  text-align: center;
  padding: 0.5rem 0;
}
.waitlist-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
}
.waitlist-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.waitlist-sub {
  font-size: 0.95rem;
  color: var(--grey);
  max-width: 580px;
  margin: 0 auto 2rem;
  line-height: 1.75;
}
.wl-fields {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  flex-wrap: wrap;
  justify-content: center;
}
.wl-fields .form-group { min-width: 180px; flex: 1; max-width: 260px; text-align: left; }
.wl-fields .button-group { min-width: 160px; max-width: 180px; }

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
  padding: 6rem 0;
}
.section-header { margin-bottom: 4rem; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 2.2rem 2rem;
  transition: transform var(--transition), border-color var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(201,168,76,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  color: var(--gold);
  transition: background var(--transition);
}
.feature-card:hover .feature-icon {
  background: rgba(201,168,76,0.22);
}
.feature-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.8rem;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.75;
}

/* ============================================
   ROUTES SECTION
   ============================================ */
.routes-section {
  padding: 6rem 0;
  background-color: var(--dark-bg);
}
.routes-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.routes-text .title { margin-bottom: 1.2rem; }
.routes-text p {
  color: var(--grey);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}
.route-list { display: flex; flex-direction: column; gap: 0.9rem; }
.route-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: var(--off-white);
}
.route-list li i { font-size: 1rem; flex-shrink: 0; }

/* Route Map Visual */
.routes-image { 
  position: relative;
  overflow: hidden;
  background-color: #121212;
  aspect-ratio: 16 / 10;
}
.routes-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.route-map-placeholder {
  text-align: center;
  position: relative;
  width: 100%;
}
.route-map-placeholder i {
  font-size: 5rem;
  display: block;
  margin-bottom: 1rem;
}
.route-map-placeholder h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--white);
  margin-top: 1.5rem;
}
.route-line {
  width: 80%;
  height: 2px;
  background: var(--gold);
  margin: 0.5rem auto;
  border-radius: 2px;
}

/* Pulse dots */
.pulse-dot {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  top: 44%;
}
.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  animation: pulse 2s ease infinite;
}
.pulse-dot.nv { left: 10%; }
.pulse-dot.ca { right: 10%; }

@keyframes pulse {
  0%   { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2);   opacity: 0; }
}

/* ============================================
   FAQ ACCORDION (GEO OPTIMIZED)
   ============================================ */
.faq-section {
  padding: 8rem 0;
  background: var(--dark-bg);
}
.faq-accordion {
  max-width: 800px;
  margin: 4rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.faq-item {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item:hover, .faq-item.active {
  border-color: var(--gold);
}
.faq-question {
  padding: 1.8rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s;
}
.faq-question h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0;
  line-height: 1.4;
}
.faq-icon {
  color: var(--gold);
  transition: transform 0.4s ease;
  font-size: 0.9rem;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255,255,255,0.02);
}
.faq-item.active .faq-answer {
  max-height: 300px; /* Adjust as needed */
}
.faq-answer p {
  padding: 0 2rem 2rem;
  color: var(--grey);
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
  background-image: url('assets/hero.png');
  background-size: cover;
  background-position: center 60%;
  background-attachment: fixed;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.84);
}
.cta-section .title { margin-bottom: 1rem; }
.cta-section p {
  font-size: 1.1rem;
  color: rgba(232,200,124,0.8);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--dark-surface);
  border-top: 1px solid var(--dark-border);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}
.brand-col .logo { margin-bottom: 1.2rem; display: inline-block; }
.brand-col p {
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.75;
  max-width: 280px;
  margin-bottom: 1.5rem;
}
.social-links {
  display: flex;
  gap: 0.9rem;
}
.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--dark-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--grey);
  transition: all var(--transition);
}
.social-links a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.08);
}
.footer-col h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--dark-border);
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--grey);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }
.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--grey);
}
.contact-info li i { color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding-top: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.82rem; color: var(--grey); }
.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a {
  font-size: 0.82rem;
  color: var(--grey);
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--gold); }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
  .routes-content { grid-template-columns: 1fr; }
  .routes-image-wrapper { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-btn { display: none; }
  .mobile-menu-btn { display: block; }
}

@media (max-width: 640px) {
  .widget-row { flex-direction: column; }
  .form-group, .button-group { min-width: 100%; max-width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-actions { flex-direction: column; align-items: center; }
}

/* ============================================
   MODAL & MULTI-STEP FORM
   ============================================ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  width: 100%;
  max-width: 540px;
  position: relative;
  border-radius: var(--radius-lg);
  padding: 4rem 3rem 3rem;
  transform: scale(0.95) translateY(20px);
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--off-white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.modal-close:hover {
  opacity: 1;
  color: var(--gold);
}

.modal-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.modal-header .subtitle {
  display: block;
  margin-bottom: 0.5rem;
}

.modal-header .title {
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

.step-indicator {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1rem;
}

.step-indicator .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: all 0.4s ease;
}

.step-indicator .dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

.form-step {
  display: none;
  animation: stepFade 0.4s ease forwards;
}

.form-step.active {
  display: block;
}

@keyframes stepFade {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

.step-desc {
  text-align: center;
  color: var(--grey);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.modal-container .form-group {
  margin-bottom: 2.2rem;
}

.modal-footer {
  display: flex;
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.modal-footer .btn {
  flex: 1;
}

.btn-secondary {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
}

@media (max-width: 576px) {
  .modal-container {
    padding: 3rem 1.5rem 2rem;
  }
}
