/* =========================================
   1. ROOT VARIABLES & RESET
   ========================================= */
:root {
    /* MIDNIGHT PREMIUM PALETTE */
    --bg-main: #020617;       /* Deepest Blue/Black */
    --bg-card: #0f172a;       /* Slightly Lighter */
    --bg-glass: rgba(15, 23, 42, 0.85); /* Frosted effect */
    
    --primary: #fbbf24;       /* Neon Gold */
    --primary-glow: rgba(251, 191, 36, 0.4);
    
    --text-main: #f8fafc;     /* White */
    --text-muted: #94a3b8;    /* Grey */
    
    --border: rgba(255, 255, 255, 0.08);
    
    --font-head: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background-color: var(--bg-main); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; transition: 0.3s; color: inherit; }
ul { list-style: none; }
input, select, button { font-family: inherit; }

/* =========================================
   2. LAYOUT UTILITIES
   ========================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.flex { display: flex; align-items: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: 1.2fr 0.8fr; gap: 60px; }

.content-section { padding: 100px 0; border-top: 1px solid var(--border); }
.content-section h2 { font-family: var(--font-head); font-size: 2.5rem; margin-bottom: 15px; color: #fff; }

/* =========================================
   3. HEADER & NAVIGATION
   ========================================= */
header { background: rgba(2, 6, 23, 0.95); backdrop-filter: blur(15px); padding: 18px 0; position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid var(--border); }

.logo a { font-family: var(--font-head); font-size: 24px; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 10px; }

nav ul { display: flex; align-items: center; gap: 30px; }
nav a { font-weight: 500; color: var(--text-muted); font-size: 15px; }
nav a:hover { color: var(--primary); text-shadow: 0 0 10px var(--primary-glow); }

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero { 
    position: relative; 
    padding: 120px 0 60px; 
    background: radial-gradient(circle at top right, rgba(251, 191, 36, 0.08), transparent 45%), 
                linear-gradient(to bottom, var(--bg-main), rgba(2, 6, 23, 0.9)), 
                url('../images/hero-bg.jpg') no-repeat center center/cover; 
}
.hero h1 { font-family: var(--font-head); font-size: 3.8rem; line-height: 1.15; margin-bottom: 25px; color: #fff; text-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.hero p { font-size: 1.25rem; color: #cbd5e1; margin-bottom: 35px; max-width: 90%; }

/* =========================================
   5. BOOKING FORM (FLOATING LABELS)
   ========================================= */
.booking-card { 
    background: var(--bg-glass); backdrop-filter: blur(20px); 
    padding: 35px; border-radius: 24px; 
    border: 1px solid rgba(255,255,255,0.1); 
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7); 
    text-align: left; 
}
.booking-card h3 { font-family: var(--font-head); font-size: 1.5rem; margin-bottom: 25px; color: var(--text-main); }

/* Input Groups */
.floating-group { position: relative; margin-bottom: 20px; width: 100%; }

.floating-input { 
    width: 100%; padding: 18px 20px 18px 50px; 
    background: rgba(0, 0, 0, 0.3); border: 1px solid var(--border); 
    border-radius: 14px; color: #fff; font-size: 16px; outline: none; 
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    
    /* Fix: Google Logo Repeat */
    background-repeat: no-repeat !important; 
    background-position: right 15px center !important; 
    background-size: 20px !important;
}
.floating-icon { position: absolute; top: 50%; left: 20px; transform: translateY(-50%); color: var(--text-muted); font-size: 16px; transition: 0.3s; }
.floating-label { position: absolute; top: 50%; left: 50px; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; transition: 0.3s; font-size: 15px; }

/* Active Input States */
.floating-input:focus, .floating-input:not(:placeholder-shown) { border-color: var(--primary); background: rgba(0, 0, 0, 0.5); padding-top: 24px; padding-bottom: 12px; }
.floating-input:focus ~ .floating-label, .floating-input:not(:placeholder-shown) ~ .floating-label { top: 12px; font-size: 11px; color: var(--primary); font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; }
.floating-input:focus ~ .floating-icon { color: var(--primary); filter: drop-shadow(0 0 5px var(--primary)); }

/* Select Dropdown Fix */
select.floating-input { appearance: none; padding-top: 18px; cursor: pointer; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fbbf24' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); background-repeat: no-repeat !important; background-position: right 1rem center !important; background-size: 1em !important; }
option { background: #0f172a; color: #fff; }

/* =========================================
   6. SWAP BUTTON & LOCATIONS
   ========================================= */
.location-row { position: relative; display: flex; flex-direction: column; gap: 15px; margin-bottom: 20px; width: 100%; }
.location-row .floating-input { padding-right: 60px !important; }

.swap-btn-container { position: absolute; top: 50%; right: 15px; transform: translateY(-50%); z-index: 50; height: 40px; width: 40px; pointer-events: none; }

.swap-btn { 
    width: 40px; height: 40px; border-radius: 50%; 
    background: #0f172a; border: 1px solid var(--border); 
    color: var(--primary); cursor: pointer; 
    display: flex; align-items: center; justify-content: center; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.5); 
    transition: all 0.3s ease; pointer-events: auto; 
}
.swap-btn:hover { background: var(--primary); color: #000; transform: rotate(180deg); border-color: var(--primary); }

/* =========================================
   7. BUTTONS & LOADERS
   ========================================= */
.btn-primary { width: 100%; padding: 16px; background: linear-gradient(135deg, var(--primary), #f59e0b); color: #000; font-weight: 700; border: none; border-radius: 50px; font-size: 16px; cursor: pointer; transition: 0.3s; box-shadow: 0 5px 20px var(--primary-glow); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px var(--primary-glow); }

.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text-main); padding: 12px 28px; border-radius: 50px; font-weight: 600; cursor: pointer; display: inline-block; transition: 0.3s; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* Loading Animation (Zooming Car) */
.btn-loading { position: relative; color: transparent !important; overflow: hidden; background: var(--primary) !important; pointer-events: none; }
.cab-loader { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; }
.cab-loader i { font-size: 28px; color: #000; position: absolute; left: -60px; animation: zoomDrive 3s ease-in-out forwards; filter: drop-shadow(-5px 2px 2px rgba(0,0,0,0.2)); }
.cab-loader::after { content: '== ='; position: absolute; left: -90px; font-weight: 900; color: rgba(0,0,0,0.3); font-size: 20px; animation: zoomDrive 3s ease-in-out forwards; }
@keyframes zoomDrive { 0% { left: -10%; transform: scale(0.8); } 20% { left: 20%; transform: scale(1); } 60% { left: 60%; transform: scale(1); } 100% { left: 120%; transform: scale(1.1); } }

/* =========================================
   8. ROAD ANIMATION (PICK & DROP)
   ========================================= */
.road-stage { position: relative; width: 100%; height: 240px; background: linear-gradient(to bottom, var(--bg-main) 0%, #1e293b 100%); overflow: hidden; margin-top: 60px; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 4px solid #334155; }

.scenery-layer { position: absolute; bottom: 70px; width: 100%; height: 120px; z-index: 0; }
.tree { position: absolute; bottom: 0; color: rgba(255,255,255,0.08); font-size: 60px; }
.t-1 { left: 5%; font-size: 80px; } .t-2 { left: 30%; font-size: 50px; } .t-3 { left: 85%; font-size: 70px; } 

.billboard { position: absolute; left: 15%; bottom: 0; }
.board-sign { background: #000; border: 2px solid var(--primary); color: var(--primary); padding: 6px 14px; font-family: var(--font-head); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 0 15px var(--primary-glow); border-radius: 4px; }
.board-pole { width: 6px; height: 60px; background: #475569; margin: 0 auto; }

.road-surface { position: absolute; bottom: 0; width: 100%; height: 70px; background: #2d3748; border-top: 4px solid #4a5568; z-index: 1; }
.road-line { position: absolute; bottom: 33px; left: 0; width: 100%; height: 4px; background: repeating-linear-gradient(90deg, #fff 0, #fff 40px, transparent 40px, transparent 80px); opacity: 0.4; z-index: 2; }

.traffic-layer { position: absolute; bottom: 15px; left: 0; width: 100%; height: 100px; z-index: 10; }
.cab-wrapper { position: absolute; left: -400px; display: flex; flex-direction: column; align-items: center; animation: cabDrive 12s linear infinite; z-index: 20; }
.cab-body { font-size: 110px; color: var(--primary); filter: drop-shadow(0 8px 10px rgba(0,0,0,0.6)); transform: scaleX(-1); }
.passenger-wrapper { position: absolute; bottom: 12px; left: 50%; display: flex; align-items: flex-end; gap: 0; color: #fff; font-size: 65px; opacity: 0; animation: passengerBoard 12s linear infinite; z-index: 15; }
.bag { color: #ef4444; font-size: 35px; margin-bottom: 4px; margin-left: -10px; }

@keyframes cabDrive { 0% { left: -400px; } 30% { left: 38%; } 60% { left: 38%; } 65% { left: 38%; transform: translateX(-2px); } 100% { left: 120%; transform: translateX(300px); } }
@keyframes passengerBoard { 0%, 25% { opacity: 0; transform: translateX(80px); } 30% { opacity: 1; transform: translateX(0); } 45% { opacity: 1; transform: translateX(0); } 50% { opacity: 1; transform: translateX(-40px); } 55% { opacity: 0; transform: translateX(-50px); } 100% { opacity: 0; } }

/* =========================
   9. COMPONENTS (Google Maps, Sliders, Cards)
   ========================= */
.pac-container { background-color: #0f172a !important; border: 1px solid rgba(255, 255, 255, 0.1) !important; border-radius: 0 0 16px 16px !important; box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.8) !important; font-family: 'Inter', sans-serif !important; z-index: 10000 !important; margin-top: 5px; }
.pac-item { border-top: 1px solid rgba(255, 255, 255, 0.05) !important; color: #94a3b8 !important; padding: 12px 20px !important; cursor: pointer; line-height: 1.5 !important; }
.pac-item:hover, .pac-item-selected { background-color: rgba(251, 191, 36, 0.1) !important; color: #fff !important; }
.pac-item-query { color: #fff !important; font-weight: 600 !important; }
.pac-icon { filter: invert(1) brightness(2) opacity(0.6) !important; margin-top: 5px !important; }
.pac-logo::after { display: none !important; }

/* Sliders */
.carousel-wrapper { overflow: hidden; padding: 10px 0; }
.carousel-track { display: flex; gap: 25px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 25px; scrollbar-width: none; align-items: stretch; }
.carousel-card { min-width: 350px; max-width: 350px; scroll-snap-align: start; flex-shrink: 0; height: auto; }

/* Cards */
.gallery-card-slider { height: 260px; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); }
.gallery-card-slider img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.gallery-card-slider:hover img { transform: scale(1.05); }

.review-card { background: var(--bg-card); border: 1px solid var(--border); padding: 30px; border-radius: 20px; height: 100%; display: flex; flex-direction: column; justify-content: space-between; transition: 0.3s; }
.review-card:hover { border-color: var(--primary); transform: translateY(-5px); box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5); }
.review-text { color: #cbd5e1; font-style: italic; font-size: 15px; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.user-info { display: flex; align-items: center; gap: 15px; border-top: 1px solid var(--border); padding-top: 15px; margin-top: auto; }
.user-avatar { width: 45px; height: 45px; background: var(--primary); color: #000; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; flex-shrink: 0; }

/* Feature Grid */
.grid-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-top: 50px; }
.feature-card { background: linear-gradient(145deg, var(--bg-card), #0a0f1d); padding: 35px; border-radius: 20px; border: 1px solid var(--border); transition: 0.3s; }
.feature-card:hover { transform: translateY(-7px); border-color: var(--primary); box-shadow: var(--shadow-glow); }
.feature-card i { color: var(--primary); font-size: 24px; margin-bottom: 15px; display:inline-block; }

/* =========================
   10. FOOTER STYLES
   ========================= */
.site-footer { background-color: #020617; border-top: 1px solid var(--border); padding-top: 80px; position: relative; }
.footer-cta { background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.06)); border: 1px solid var(--border); border-radius: 24px; padding: 40px 50px; margin-bottom: 70px; display: flex; align-items: center; justify-content: space-between; gap: 30px; position: relative; overflow: hidden; box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5); }
.footer-cta::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--primary); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; margin-bottom: 60px; }
.footer-col h4 { color: #fff; font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 25px; letter-spacing: 0.5px; text-transform: uppercase; }
.footer-links a { color: var(--text-muted); font-size: 15px; transition: 0.3s; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.footer-links a:hover { color: var(--primary); transform: translateX(5px); }
.footer-contact li { display: flex; gap: 15px; color: var(--text-muted); margin-bottom: 20px; align-items: flex-start; }
.contact-icon { width: 35px; height: 35px; background: rgba(255,255,255,0.05); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; }
.social-row { display: flex; gap: 10px; margin-top: 25px; }
.social-btn { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; color: #fff; border: 1px solid var(--border); transition: 0.3s; text-decoration: none; }
.social-btn.whatsapp:hover { background: #25D366; border-color: #25D366; box-shadow: 0 0 15px rgba(37, 211, 102, 0.6); transform: translateY(-3px) scale(1.1); }
.social-btn.facebook:hover { background: #1877F2; border-color: #1877F2; transform: translateY(-3px) scale(1.1); }
.social-btn.instagram:hover { background: #E1306C; border-color: #E1306C; transform: translateY(-3px) scale(1.1); }
.social-btn.twitter:hover { background: #1DA1F2; border-color: #1DA1F2; transform: translateY(-3px) scale(1.1); }
.footer-bottom { border-top: 1px solid var(--border); padding: 30px 0; color: rgba(255,255,255,0.4); font-size: 14px; display: flex; justify-content: space-between; align-items: center; }

/* =========================
   11. MOBILE RESPONSIVE
   ========================= */
.mobile-toggle { display: none; background: transparent; border: none; color: #fff; font-size: 24px; cursor: pointer; }
.mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(2, 6, 23, 0.98); z-index: 2000; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: 0.3s; opacity: 0; visibility: hidden; transform: translateY(-20px); }
.mobile-menu-overlay.active { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu-overlay a { font-size: 24px; color: #fff; margin: 15px 0; font-family: var(--font-head); }
.mobile-close { position: absolute; top: 20px; right: 20px; background: transparent; border: none; color: #fff; font-size: 30px; cursor: pointer; }

@media (max-width: 992px) {
    .grid-2, .faq-grid-wrapper, .footer-grid { grid-template-columns: 1fr; gap: 50px; }
    .hero { text-align: center; padding: 60px 0; }
    .hero h1 { font-size: 2.8rem; }
    .carousel-card { min-width: 300px; max-width: 300px; }
    .mobile-toggle { display: block; }
    .desktop-only { display: none; }
    .footer-cta { flex-direction: column; text-align: center; padding: 30px 20px; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
    
    /* Animation Adjustments */
    .road-stage { height: 180px; margin-top: 40px; }
    .cab-body { font-size: 70px; }
    .passenger-wrapper { font-size: 45px; left: 40%; bottom: 8px; }
    .scenery-layer { bottom: 50px; }
    .billboard { left: 5%; transform: scale(0.7); transform-origin: bottom left; }
    @keyframes cabDrive { 0% { left: -200px; } 30% { left: 20%; } 60% { left: 20%; } 100% { left: 120%; } }
    @keyframes passengerBoard { 0%, 25% { opacity: 0; transform: translateX(40px); left: 35%; } 30% { opacity: 1; transform: translateX(0); left: 35%; } 50% { opacity: 1; transform: translateX(-20px); left: 35%; } 55% { opacity: 0; transform: translateX(-30px); left: 35%; } 100% { opacity: 0; left: 35%; } }
}

/* UTILS */
.city-link { display: block; padding: 10px 15px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 50px; text-align: center; font-size: 14px; color: var(--text-muted); }
.city-link:hover { border-color: var(--primary); color: var(--primary); background: rgba(251, 191, 36, 0.05); }
.rate-table { width: 100%; border-collapse: collapse; margin: 20px 0; background: var(--bg-card); border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.rate-table th { background: rgba(255,255,255,0.05); color: var(--primary); padding: 15px; text-align: left; }
.rate-table td { padding: 15px; border-bottom: 1px solid var(--border); color: var(--text-muted); }

/* =========================
   PARTNERS MARQUEE (FIXED)
   ========================= */
.partner-marquee-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 40px 0;
    background: var(--bg-main); /* Ensure background matches */
    
    /* Gradient Fade on Edges */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partner-track {
    display: flex;
    width: max-content; /* Critical for marquee */
    gap: 50px;
    animation: marquee 30s linear infinite;
}

/* Pause on Hover (Optional UX improvement) */
.partner-track:hover {
    animation-play-state: paused;
}

.partner-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 10px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: max-content; /* Prevent squashing */
    transition: 0.3s;
}

.partner-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.partner-card img {
    height: 24px; /* Fixed height */
    width: auto;
    filter: grayscale(100%) brightness(1.5); /* Make logos look silver/white */
    transition: 0.3s;
}

.partner-card:hover img {
    filter: grayscale(0%); /* Color on hover */
}

.partner-text {
    color: #cbd5e1;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-head);
}
.partner-card:hover .partner-text { color: #fff; }

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Move exactly half the width */
}

/* =========================================
   MISSING STYLES FIX PACK
   ========================================= */

/* 1. CAROUSEL NAVIGATION BUTTONS (Arrows) */
.slider-nav {
    display: flex;
    gap: 12px;
}
.nav-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.nav-btn:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--primary-glow);
}

/* 2. FAQ ACCORDION (Animation & Spacing) */
.faq-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
}
.faq-question {
    width: 100%;
    text-align: left;
    padding: 18px 25px;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question i {
    transition: 0.3s;
    color: var(--text-muted);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    transition: all 0.4s ease;
    opacity: 0;
}

/* FAQ Active State */
.faq-item.active {
    border-color: var(--primary);
    background: rgba(251, 191, 36, 0.03);
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}
.faq-item.active .faq-answer {
    max-height: 500px; /* Big enough to show content */
    padding-bottom: 20px;
    opacity: 1;
}

/* 3. "WHO WE ARE" (ABOUT PAGE) */
/* Makes the image look premium and text readable */
.content-section img {
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px -10px rgba(0,0,0,0.5);
    transition: 0.5s;
}
.content-section img:hover {
    transform: scale(1.02);
    border-color: var(--primary);
}

/* 4. CUSTOM SCROLLBAR (The Cherry on Top) */
/* Makes the browser scrollbar look like your theme */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #020617;
}
::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* 5. TEXT SELECTION COLOR */
::selection {
    background: var(--primary);
    color: #000;
}

/* MOBILE FIX FOR FAQ */
@media (max-width: 992px) {
    .faq-grid-wrapper {
        grid-template-columns: 1fr;
    }
}

/* =========================
   RECEIPT PRINT SAFETY
   ========================= */
#receiptTemplate {
    background-color: #ffffff !important;
    color: #000000 !important;
}
#receiptTemplate * {
    color: #000000 !important; /* Force black text everywhere inside receipt */
    border-color: #dddddd !important;
}
#receiptTemplate h1, #receiptTemplate h2, #receiptTemplate h3, #receiptTemplate strong {
    color: #000000 !important;
    font-weight: bold !important;
}
#receiptTemplate .accent-color {
    color: #fbbf24 !important; /* Keep gold where needed */
}

/* =========================
   PDF GENERATOR CONTAINER (CRITICAL FIX)
   ========================= */
#pdf-renderer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 99999;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
}

/* Force Content Styling inside PDF */
#pdf-content {
    background: #ffffff !important;
    width: 750px;
    margin: 0 auto;
    color: #000000 !important; /* Force BLACK text */
}

#pdf-content * {
    color: #000000 !important; /* Force ALL children to black */
    border-color: #dddddd !important;
}

/* Keep Header Colors Correct */
#pdf-content h1, #pdf-content h2, #pdf-content .accent {
    color: #fbbf24 !important; /* Gold */
}
#pdf-content .bg-dark {
    background-color: #020617 !important;
    color: #ffffff !important; /* White text on dark header */
}
#pdf-content .bg-dark * {
    color: #ffffff !important;
}

/* =========================
   RECEIPT PRINT SAFETY
   ========================= */
#receiptTemplate {
    background-color: #ffffff !important;
    color: #000000 !important;
}
#receiptTemplate * {
    color: #000000 !important; /* Force black text everywhere inside receipt */
    border-color: #dddddd !important;
}
#receiptTemplate h1,
#receiptTemplate h2,
#receiptTemplate h3,
#receiptTemplate strong {
    color: #000000 !important;
    font-weight: bold !important;
}
#receiptTemplate .accent-color {
    color: #fbbf24 !important; /* Keep gold where needed */
}



/* =========================================
   BOOKING FORM – ENHANCED UI (SCROLLABLE CARS)
   ========================================= */

/* Success message */
#bookingSuccess {
    display: none;
    text-align: center;
    padding: 20px 18px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid #10b981;
    border-radius: 16px;
    margin-bottom: 22px;
}
#bookingSuccess i {
    font-size: 40px;
    color: #10b981;
    margin-bottom: 8px;
}
#bookingSuccess strong {
    display: block;
    font-size: 18px;
    color: #f9fafb;
}
#bookingSuccess p {
    margin-top: 4px;
    font-size: 13px;
    color: #cbd5e1;
}

/* Distance field (readonly from Google) */
#distanceInput[readonly] {
    background: rgba(251, 191, 36, 0.08);
    border-color: rgba(251, 191, 36, 0.4);
    cursor: not-allowed;
}
#distanceInput.flash-distance {
    box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.7);
}

/* =========================================
   VEHICLE SELECTION – VERTICAL 2-COLUMN GRID
   ========================================= */

/* Title above cars (unchanged, just here for completeness) */
.vehicle-section-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 6px;
}

/* MAIN GRID – 2 columns on larger screens, 1 on mobile */
.booking-card .vehicle-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-height: 260px;        /* scroll vertically if many cars */
    overflow-y: auto;
    padding-right: 2px;
    padding-left: 2px;
    width: 100%;
    max-width: 100%;
}

/* Mobile: single column, full height */
@media (max-width: 576px) {
    .booking-card .vehicle-grid {
        grid-template-columns: 1fr;
        max-height: none;     /* let it grow; page will scroll */
    }
}

/* Each car card – full width of its grid cell */
.booking-card .vehicle-card {
    min-width: 0;             /* important: no horizontal overflow */
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: 14px 14px 12px;
    cursor: pointer;
    text-align: left;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    transition: 0.25s ease;
    position: relative;
}

/* Hide native radio */
.booking-card .vehicle-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Icon bubble */
.booking-card .vehicle-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(251, 191, 36, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.booking-card .vehicle-card-icon i {
    color: var(--primary);
    font-size: 18px;
}

/* Text */
.booking-card .vehicle-card-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.booking-card .vehicle-name {
    font-size: 14px;
    font-weight: 600;
    color: #e5e7eb;
}
.booking-card .vehicle-meta {
    font-size: 11px;
    color: #94a3b8;
}
.booking-card .vehicle-tag {
    font-size: 10px;
    color: #facc15;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Selected state */
.booking-card .vehicle-card.selected {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.3), 0 12px 30px rgba(0, 0, 0, 0.7);
    background: radial-gradient(circle at top left, rgba(251,191,36,0.12), #020617);
    transform: translateY(-2px);
}
.booking-card .vehicle-card.selected .vehicle-name {
    color: #fefce8;
}
.booking-card .vehicle-card.selected .vehicle-card-icon {
    background: var(--primary);
}
.booking-card .vehicle-card.selected .vehicle-card-icon i {
    color: #000;
}

/* Checkmark badge */
.booking-card .vehicle-card::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: transparent;
}
.booking-card .vehicle-card.selected::after {
    content: '✓';
    font-size: 11px;
    color: #0f172a;
    background: var(--primary);
    border-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}
