:root {
    --primary: #f4c430;
    --dark: #222;
    --light: #f4f4f4;
    --text-gray: #666;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--dark);
}

header {
    background: var(--dark);
    color: #fff;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky; 
    top: 0;
    z-index: 1000;
}


.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 80px; 
    width: auto;
    object-fit: contain;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.hero {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    
    min-height: 100vh; 
    padding: 120px 20px 60px; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.booking-container {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.booking-container h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-gray);
}

input, select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}


@media screen and (max-width: 768px) {
    input, select {
        font-size: 16px; 
    }
}

.btn-book {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    border: none;
    color: var(--dark);
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s;
    margin-top: 10px;
}

.btn-book:hover {
    background: #d4a81e;
}

.estimate-box {
    background: #f9f9f9;
    padding: 10px;
    margin-top: 15px;
    border-radius: 4px;
    text-align: center;
    display: none; 
    border-left: 5px solid var(--primary);
}

.fleet {
    padding: 4rem 5%;
    text-align: center;
    background: var(--light);
}

.fleet h2 {
    margin-bottom: 2rem;
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.car-card {
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.car-card h3 {
    margin: 1rem 0 0.5rem;
}

footer {
    background: var(--dark);
    color: #fff;
    text-align: center;
    padding: 1.5rem;
    margin-top: auto;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        position: relative; 
    }

    .hero {
        padding-top: 20px;
        align-items: flex-start; 
    }

    nav {
        margin-top: 15px;
        width: 100%;
    }

    nav ul {
        justify-content: center;
        padding: 0;
        flex-wrap: wrap; 
        width: 100%;
    }

    nav ul li {
        margin: 5px 10px; 
    }

    .booking-container {
        width: 100%;
        margin-top: 20px;
        border-radius: 0; 
    }
}


    #map {
    height: 250px;   
    width: 100%;        
    margin-bottom: 15px; 
    border-radius: 4px;
    border: 1px solid #ddd;
    z-index: 1;          
    display: none;       
}


.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1); 
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

/* IMPROVED INPUT STYLING */
input, select {
    width: 100%;
    padding: 12px 15px; /* Bigger touch area */
    border: 1px solid #ccc;
    border-radius: 6px; /* Softer corners */
    font-size: 1rem;
    color: #333;
    transition: border 0.3s, box-shadow 0.3s;
    background-color: #fff;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(244, 196, 48, 0.2); /* Yellow glow on focus */
}

/* Ensure Date input has same height as Time select */
input[type="date"] {
    appearance: none;
    min-height: 46px; /* Matches the select box height */
}