/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    scroll-padding-top: 2rem;
    scroll-behavior: smooth;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
}

/* Variables */
:root {
    --main-color: #fe5b3d;
    --second-color: #ffac38;
    --text-color: #444;
    --gradient: linear-gradient(#fe5b3d, #ffac38);
}

/* Custom Scroll Bar */
html::-webkit-scrollbar {
    width: 0.5rem;
}

html::-webkit-scrollbar-track {
    background: transparent;
}

html::-webkit-scrollbar-thumb {
    background: var(--main-color);
    border-radius: 5rem;
}

/* Body and Background */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-position: center;
    position: relative;
    background: url(img/luxury-car-hire-500x500.png) no-repeat;
    background-size: cover;
    color: #fff;
}

/* Overlay for Contrast */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: -1;
}

/* Main Booking Section */
.book {
    text-align: center;
    z-index: 1;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 100%;
}

/* Title Styling */
.book h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.book h1 span {
    color: var(--main-color);
}

/* Form Box Styling */
.form-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-box h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--main-color);
    font-weight: 500;
}

/* Input Fields */
.input-box {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.input-box label {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.input-box input,
.input-box select {
    padding: 0.8rem;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #ddd;
    outline: none;
    transition: border-color 0.3s;
}

.input-box input:focus,
.input-box select:focus {
    border-color: var(--main-color);
}

/* Button Styling */
.btn {
    padding: 1rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 5px;
    cursor: pointer;
    border: none;
    color: #fff;
    transition: background-color 0.3s;
    margin-top: 1rem;
}

.btn:hover {
    background-color: var(--main-color);
}

.btn:nth-of-type(1) {
    background-color: var(--second-color);
}

.btn:nth-of-type(2) {
    background-color: var(--main-color);
}

.btn:active {
    transform: scale(0.98);
}

/* Responsive Design */
@media (max-width: 768px) {
    .book h1 {
        font-size: 2rem;
    }

    .form-box {
        padding: 1rem;
    }

    .input-box input,
    .input-box select {
        font-size: 0.9rem;
    }

    .btn {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .book {
        padding: 1.5rem;
        max-width: 90%;
    }

    .form-box h2 {
        font-size: 1.2rem;
    }

    .input-box input,
    .input-box select {
        font-size: 0.85rem;
    }

    .btn {
        font-size: 0.85rem;
        padding: 0.9rem;
    }
}
