:root {
    --primary-dark: #0f172a;
    --accent: #1e293b;
    --text-white: #ffffff;
    --text-gray: #94a3b8;
    --border-color: #e2e8f0;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background-color: #f8fafc; line-height: 1.5; }

/* --- HEADER / TOP NAV --- */
.top-nav { background-color: var(--primary-dark); padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.nav-container { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.logo { margin-left: 10px; transition: transform 0.3s; }
.logo img { height: 45px; width: auto; }
.contact-info { text-align: center; }
.toll-label { display: block; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-gray); margin-bottom: 2px; }
.phone-numbers { display: flex; gap: 10px; align-items: center; }
.phone-link { color: white; text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.separator { color: #475569; }

/* --- HERO & WIDGET --- */
.hero { position: relative; min-height: 100vh; background: url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?q=80&w=1920&auto=format&fit=crop') no-repeat center center/cover; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); }
.hero-content { position: relative; z-index: 10; color: white; text-align: center; margin-bottom: 30px; }
.hero-content h1 { font-family: 'Playfair Display', serif; font-size: 2.5rem; margin-bottom: 10px; }

.booking-widget { position: relative; z-index: 10; background: white; padding: 25px; border-radius: 12px; box-shadow: var(--shadow); width: 100%; max-width: 1100px; }
.service-toggles, .trip-toggles { display: flex; flex-direction: column; gap: 12px; margin-bottom: 15px; border-bottom: 1px solid #f1f5f9; padding-bottom: 15px; }
.trip-toggles { border: none; }

.radio-container, .checkbox-container { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 0.85rem; font-weight: 600; color: var(--primary-dark); }

/* --- FORM INPUTS (Mobile First) --- */
.input-row { display: flex; flex-direction: column; gap: 12px; }
.input-group input { width: 100%; height: 50px; padding: 0 15px; border: 1px solid var(--border-color); border-radius: 6px; font-size: 0.95rem; }
.date-time-wrapper { display: flex; gap: 8px; width: 100%; }
.date-time-wrapper input[type="date"] { flex: 2; }
.date-time-wrapper input[type="time"] { flex: 1; }
.btn-search { width: 100%; height: 50px; background: var(--primary-dark); color: white; border: none; border-radius: 6px; font-weight: 700; cursor: pointer; }

.age-section { margin-top: 15px; display: flex; align-items: center; gap: 15px; }
.hidden { display: none !important; }

/* --- DESKTOP RECTIFICATION (768px+) --- */
@media (min-width: 768px) {
    .nav-container { flex-direction: row; justify-content: space-between; }
    .hero-content { text-align: left; }
    .hero-content h1 { font-size: 3.5rem; }
    .service-toggles, .trip-toggles { flex-direction: row; gap: 30px; }

    /* FIX: Desktop search bar overlapping */
    .input-row { flex-direction: row; align-items: flex-end; flex-wrap: wrap; }
    .location-field { flex: 1.5; min-width: 250px; }
    .date-time-wrapper { flex: 1.2; min-width: 260px; }
    .btn-search { flex: 0.5; min-width: 140px; }
}

@media (min-width: 1024px) {
    .input-row { flex-wrap: nowrap; } /* Only snap to single line on large screens */
}

/* --- FLEET GRID SYNC --- */
.fleet-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile: 1 Column[cite: 2] */
    gap: 20px;
    width: 100%;
}

@media (min-width: 768px) {
    .fleet-grid {
        grid-template-columns: repeat(2, 1fr); /* Tablet: 2 Columns[cite: 2] */
    }
}

@media (min-width: 1024px) {
    .fleet-grid {
        grid-template-columns: repeat(3, 1fr); /* Desktop: 3 Columns[cite: 2] */
    }
}

/* --- CAR CARD STYLES --- */
.car-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.car-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.car-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #eee;
}

.car-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.car-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-gray);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.btn-book-now {
    width: 100%;
    height: 48px;
    background: var(--primary-dark);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 15px;
}

/* Filter Styling */
.fleet-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
}

.filter-btn.active {
    background: var(--primary-dark);
    color: white;
    border-color: var(--primary-dark);
}

