
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #080f1e;
    color: white;
    line-height: 1.6;
}

/* Navigation */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 22px 6%;
    background: #080f1e;
    border-bottom: 1px solid #23334d;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #38bdf8;
    letter-spacing: 2px;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

nav a:hover {
    color: #38bdf8;
}

/* Homepage */

.hero {
    min-height: 450px;
    display: flex;
    align-items: center;
    padding: 60px 8%;
    background: linear-gradient(
        120deg, #080f1e, #123c75
    );
}

.hero-content {
    max-width: 650px;
}

.hero-content h1 {
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.1;
    margin: 20px 0;
}

.hero-content p {
    color: #b9d1e8;
    margin-bottom: 20px;
}

.btn, button {
    display: inline-block;
    background: #38bdf8;
    color: #080f1e;
    padding: 14px 26px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}

.btn:hover, button:hover {
    background: #7dd3fc;
}

/* Reservation section */

.booking {
    background: #152238;
    margin: 25px 6%;
    padding: 30px;
    border: 1px solid #30435f;
    border-radius: 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.booking h2 {
    width: 100%;
    margin-bottom: 10px;
}

input {
    padding: 12px;
    border: 1px solid #405674;
    border-radius: 7px;
    background: #0b1425;
    color: white;
    color-scheme: dark;
}

/* Rental benefits */

.benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 30px 6%;
}

.benefits div {
    background: #111d30;
    border: 1px solid #263b55;
    padding: 22px 12px;
    text-align: center;
    border-radius: 10px;
    color: #7dd3fc;
    font-weight: bold;
}

/* Vehicle fleet */

.fleet {
    padding: 60px 6%;
    text-align: center;
}

.fleet h2 {
    font-size: 36px;
}

.fleet p {
    color: #aabbd0;
    margin: 12px 0 30px;
}

#vehicle-list {
    display: grid;
    grid-template-columns: repeat(
        auto-fit, minmax(250px, 1fr)
    );
    gap: 25px;
}

/* Footer */

footer {
    background: #050a13;
    padding: 40px 6%;
    text-align: center;
    border-top: 1px solid #263b55;
}

footer h2 {
    color: #38bdf8;
    margin-bottom: 15px;
}

footer p {
    color: #aabbd0;
    margin: 6px 0;
}

/* Mobile compatibility */

@media (max-width: 768px) {
    .navbar {
        justify-content: center;
        text-align: center;
    }

    nav {
        justify-content: center;
    }

    .hero {
        min-height: 380px;
        text-align: center;
        justify-content: center;
    }

    .booking {
        flex-direction: column;
        align-items: stretch;
    }

    .benefits {
        grid-template-columns: repeat(2, 1fr);
    }
}



/* Vehicle Cards */

.vehicle-card {
    background: #111d30;
    border: 1px solid #263b55;
    border-radius: 14px;
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s,
                box-shadow 0.3s;
}

.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px
                rgba(56, 189, 248, 0.15);
}

.vehicle-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.vehicle-info {
    padding: 22px;
}

.category {
    display: inline-block;
    background: #1d3554;
    color: #7dd3fc;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.vehicle-info h3 {
    font-size: 21px;
    margin: 15px 0;
}

.price {
    font-size: 32px;
    font-weight: bold;
    color: #38bdf8;
}

.price span {
    font-size: 14px;
    color: #aabbd0;
    font-weight: normal;
}

.vehicle-info p {
    font-size: 13px;
    margin: 10px 0 20px;
}

.vehicle-info button {
    width: 100%;
}
.fleet img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.fleet img:hover {
    transform: scale(1.03);
}

.photo-preview {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: pointer;
}

.photo-preview img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
}/* Vehicle Photo Gallery */

.photo-preview {
    background: rgba(0, 0, 0, 0.96);
    flex-direction: column;
    cursor: default;
}

.photo-preview img {
    max-width: 80%;
    max-height: 70vh;
}

.gallery-close,
.gallery-prev,
.gallery-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 28px;
    cursor: pointer;
    z-index: 10000;
}

.gallery-close {
    top: 20px;
    right: 20px;
}

.gallery-prev {
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-next {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-counter {
    color: white;
    font-size: 16px;
    margin-top: 15px;
}

.gallery-title {
    color: white;
    font-size: 22px;
    margin-bottom: 15px;
}

.gallery-close:hover,
.gallery-prev:hover,
.gallery-next:hover {
    background: #00d4ff;
    color: #000;
}


/* RENTAL PRICE CALCULATOR */

.rental-calculator {
    width: 90%;
    max-width: 850px;
    box-sizing: border-box;
    margin: 40px auto;
    padding: 30px;
    background: rgba(10, 25, 47, 0.85);
    border: 1px solid #2563eb;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: white;
}

.rental-calculator h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.rental-calculator > p {
    color: #b8c7dc;
    margin-bottom: 25px;
}

.rental-calculator > label {
    display: block;
    margin-top: 15px;
    margin-bottom: 8px;
    font-weight: bold;
}

.rental-calculator select,
.rental-calculator input[type="number"] {
    width: 100%;
    box-sizing: border-box;
    padding: 14px;
    background: #10243d;
    color: white;
    border: 1px solid #2563eb;
    border-radius: 8px;
    font-size: 16px;
}

.insurance-option {
    margin-top: 25px;
    padding: 18px;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid #2563eb;
    border-radius: 10px;
}

.insurance-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.insurance-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #22d3ee;
}

.insurance-option p {
    color: #b8c7dc;
    font-size: 14px;
    margin-top: 10px;
}

.rental-summary {
    margin-top: 25px;
    padding: 22px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 12px;
}

.rental-summary p {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 15px;
}

.rental-summary hr {
    border: none;
    border-top: 1px solid #334155;
    margin: 20px 0;
}

.rental-summary h3 {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 24px;
}

#rental-total {
    color: #22d3ee;
    font-size: 32px;
}

.rental-summary small {
    display: block;
    color: #b8c7dc;
    margin-top: 12px;
}



/* CUSTOMER RESERVATION FORM */

.reservation-form {
    max-width: 800px;
    margin: 60px auto;
    padding: 35px;
    background: rgba(10, 25, 47, 0.85);
    border: 1px solid #38bdf8;
    border-radius: 20px;
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.15);
    box-sizing: border-box;
    width: 90%;
}

.reservation-form h2 {
    font-size: 30px;
    margin-bottom: 12px;
    color: white;
}

.reservation-form > p {
    color: #b8c7dc;
    margin-bottom: 25px;
}

.reservation-form form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reservation-form label {
    font-weight: bold;
    color: white;
    margin-top: 8px;
}

.reservation-form input,
.reservation-form textarea {
    width: 100%;
    padding: 15px;
    background: #10243d;
    border: 1px solid #38bdf8;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-family: inherit;
    box-sizing: border-box;
}

.reservation-form textarea {
    resize: vertical;
    min-height: 100px;
}

.reservation-form input::placeholder,
.reservation-form textarea::placeholder {
    color: #94a3b8;
}

.reservation-summary {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px;
    border-radius: 15px;
    margin: 15px 0;
}

.reservation-summary h3 {
    margin-bottom: 15px;
}

.reservation-summary p {
    margin: 12px 0;
    color: #cbd5e1;
}

#summary-total {
    color: #67e8f9;
    font-size: 25px;
    border-top: 1px solid #475569;
    padding-top: 20px;
    margin-top: 20px;
}

.reservation-form button {
    width: 100%;
    padding: 16px;
    background: #67e8f9;
    color: #0a192f;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
}

.reservation-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.reservation-form small {
    text-align: center;
    color: #94a3b8;
    margin-top: 10px;
}

@media (max-width: 600px) {
    .reservation-form {
        padding: 20px;
    }

    .reservation-form h2 {
        font-size: 24px;
    }
}


/* CONTINUE TO RESERVATION BUTTON */

#continue-reservation {
    width: 100%;
    padding: 16px;
    margin-top: 25px;
    background: #67e8f9;
    color: #0a192f;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

#continue-reservation:hover {
    background: #22d3ee;
    transform: translateY(-2px);
}


/* CONTACT SECTION */

#contact {
    padding: 45px 20px;
    text-align: center;
}

.contact-details {
    margin: 25px auto;
}

.contact-details h3 {
    color: #67e8f9;
    margin-top: 25px;
    margin-bottom: 10px;
}

.contact-details p {
    margin: 6px 0;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px auto;
}

.contact-buttons a {
    background: #67e8f9;
    color: #0a192f;
    padding: 14px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.contact-buttons a:hover {
    background: #22d3ee;
    transform: translateY(-2px);
}

#contact small {
    display: block;
    color: #94a3b8;
    margin: 20px 0;
}

@media (max-width: 600px) {
    .contact-buttons {
        flex-direction: column;
        max-width: 300px;
    }
}



/* RENTAL REQUIREMENTS AND POLICIES */

.rental-policies {
    max-width: 1200px;
    margin: 60px auto;
    padding: 30px 20px;
    text-align: center;
}

.rental-policies h2 {
    font-size: 32px;
    color: white;
    margin-bottom: 12px;
}

.rental-policies > p {
    color: #94a3b8;
    margin-bottom: 35px;
}

.policy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.policy-card {
    background: #10243d;
    border: 1px solid #2563eb;
    border-radius: 15px;
    padding: 25px;
    text-align: left;
    transition: 0.3s;
}

.policy-card h3 {
    color: #67e8f9;
    margin-bottom: 15px;
    font-size: 20px;
}

.policy-card p {
    color: #e2e8f0;
    line-height: 1.6;
    margin-bottom: 10px;
}

.policy-card:hover {
    border-color: #67e8f9;
    transform: translateY(-4px);
}

@media (max-width: 900px) {
    .policy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .policy-grid {
        grid-template-columns: 1fr;
    }

    .rental-policies h2 {
        font-size: 26px;
    }
}



/* CUSTOMER PRIVACY NOTICE */

.privacy-notice {
    max-width: 900px;
    margin: 60px auto;
    padding: 30px;
    background: #10243d;
    border: 1px solid #2563eb;
    border-radius: 15px;
}

.privacy-notice h2 {
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
}

.privacy-notice h3 {
    color: #67e8f9;
    margin-top: 25px;
    margin-bottom: 10px;
}

.privacy-notice p {
    color: #e2e8f0;
    line-height: 1.7;
}

.privacy-notice a {
    display: inline-block;
    color: #67e8f9;
    margin-top: 20px;
    font-weight: bold;
}

@media (max-width: 600px) {
    .privacy-notice {
        margin: 40px 15px;
        padding: 20px;
    }
}



.reservation-privacy {
    font-size: 13px;
    color: #cbd5e1;
    text-align: center;
    line-height: 1.6;
    margin-top: 15px;
}

.reservation-privacy a {
    color: #67e8f9;
    text-decoration: underline;
}
