body { font-family: Arial, sans-serif; margin: 0; padding: 0; }
.header { background: #222; color: white; padding: 15px; text-align: center; }
nav a { margin: 0 15px; color: white; text-decoration: none; }
.hero { text-align: center; padding: 60px; background: #eee; }
.btn { background: #ff6600; color: white; padding: 10px 25px; text-decoration: none; }
.features { display: flex; justify-content: space-around; margin: 30px; }
.footer { background: #222; color: white; text-align: center; padding: 10px; }


/* Cars Page */
.cars {
    padding: 40px;
    text-align: center;
}

.car-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.car-card {
    background: #fff;
    border: 1px solid #ddd;
    width: 260px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.car-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 6px;
}

.price {
    font-weight: bold;
    color: #ff6600;
    margin: 10px 0;
}

.footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 10px;
    margin-top: 30px;
}



/* ABOUT PAGE */
.about {
    padding: 60px 10%;
    text-align: center;
}

.about h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.tagline {
    color: #ff6600;
    font-weight: bold;
    margin-bottom: 30px;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-text {
    max-width: 800px;
    margin: auto;
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}

.about-boxes {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.box {
    background: white;
    padding: 20px;
    width: 220px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.box h3 {
    margin-bottom: 10px;
    color: #ff6600;
}

/* CONTACT PAGE */
.contact {
    padding: 60px 10%;
    text-align: center;
}

.contact h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.contact .tagline {
    color: #ff6600;
    margin-bottom: 40px;
}

.contact-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-info {
    background: white;
    padding: 30px;
    width: 300px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: left;
}

.contact-info h3 {
    margin-bottom: 15px;
    color: #ff6600;
}

.contact-info p {
    margin: 10px 0;
    font-size: 15px;
}

.contact-form {
    background: white;
    padding: 30px;
    width: 320px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.contact-form button {
    width: 100%;
    background: #ff6600;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.contact-form button:hover {
    background: #e65c00;
}

/* TOP BAR */
.top-bar {
    background-color: #1c1f38;  /* Slightly darker top strip */
    color: white;
    padding: 8px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* MAIN NAVBAR */
header.navbar {
    background-color: #242743;  /* Exact screenshot color */
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.top-right a {
    color: #dcdde5;
    margin-left: 18px;
    font-size: 16px;
    transition: 0.3s;
}

.top-right a:hover {
    color: #ff8c00;
    transform: scale(1.2);
}






/* MENU LINKS */
.navbar nav a {
    text-decoration: none;
    color: white;
    margin-left: 30px;
    font-weight: 500;
    transition: 0.3s;
    position: relative;
}

/* Hover Effect */
.navbar nav a::after {
    content: "";
    width: 0%;
    height: 3px;
    background: #ff9800;
    position: absolute;
    bottom: -5px;
    left: 0;
    transition: 0.3s;
}

.navbar nav a:hover::after,
.navbar nav .active::after {
    width: 100%;
}

.navbar nav a:hover,
.navbar nav .active {
    color: #ff9800;
}




/* GENERAL */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f5f5;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10%;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 22px;
    font-weight: bold;
}

.logo img {
    height: 40px;   /* Adjust size if needed */
    width: auto;
}


.navbar a {
    text-decoration: none;
    margin: 0 15px;
    color: #333;
    font-weight: 500;
}

.navbar a.active {
    color: #ff6600;
}

/* HERO */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    animation: slider 10s infinite;
}

/* Image Slider */
@keyframes slider {
    0% { background-image: url("images/banner1.jpg"); }
    50% { background-image: url("images/banner2.jpg"); }
    100% { background-image: url("images/banner1.jpg"); }
}

/* Overlay */
.hero::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

/* Transparent Dark Overlay */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(36, 39, 67, 0.6);  /* Transparent navy */
    z-index: 1;
}

/* Keep text above overlay */
.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
}


@keyframes slideBg {
    0%, 45% {
        background-image: url('../images/banner2.jpg');
    }
    50%, 95% {
        background-image: url('../images/banner3.jpg');
    }
    100% {
        background-image: url('../images/banner2.jpg');
    }
}


.hero-content h2 {
    font-size: 45px;
    margin-bottom: 10px;
    color: white;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 20px;
    color: white;
}

.btn {
    background: #ff6600;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.btn:hover {
    background: #e65c00;
}

/* FEATURES */
.features {
    padding: 60px 10%;
    text-align: center;
    background: white;
}

.feature-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.feature-box {
    width: 250px;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* FEATURED CARS */
.featured-cars {
    padding: 60px 10%;
    text-align: center;
}

.car-preview {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 40px 0;
}

.car-card {
    background: white;
    padding: 20px;
    width: 250px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.car-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
}

/* FOOTER */
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 20px;
}

/* BOOKING FORM */
.booking-section {
    padding: 60px 10%;
    background: #fff;
    text-align: center;
}

.booking-section h2 {
    margin-bottom: 30px;
    font-size: 30px;
}

.booking-form {
    max-width: 700px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.booking-form input,
.booking-form select {
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 15px;
}

.date-time {
    display: flex;
    gap: 10px;
}

.date-time input {
    flex: 1;
}

.booking-form button {
    background: #ff6600;
    color: white;
    border: none;
    padding: 14px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

.booking-form button:hover {
    background: #e65c00;
}

/* ===== FOOTER ===== */
.main-footer {
    background: #2c2f4a;
    color: #dcdde5;
    padding: 60px 60px 0 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-col h3 {
    color: white;
    margin-bottom: 20px;
}

.footer-col h4 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.footer-col p {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #dcdde5;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #ff8c00;
    padding-left: 5px;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.gallery img {
    width: 100%;
    height: 70px;
    object-fit: cover;
}

/* Social Icons */
.social-icons a {
    display: inline-block;
    background: #1f2238;
    padding: 10px;
    margin-right: 10px;
    color: white;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #ff8c00;
}

/* Bottom */
.footer-bottom {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    background: #1f2238;
    font-size: 14px;
}

/* WHATSAPP FLOATING BUTTON */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background: #25D366;
    color: white;
    font-size: 28px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
    z-index: 999;
    transition: 0.3s;
}

.whatsapp-float:hover {
    background: #1ebe5d;
    transform: scale(1.1);
}

/* NAVBAR (Same as Home Page) */
.navbar {
    background-color: #242743;   /* Same dark navy color */
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    font-size: 22px;
    font-weight: bold;
}

.navbar nav a {
    color: #dcdde5;
    text-decoration: none;
    margin-left: 35px;
    font-weight: 500;
    transition: 0.3s;
}

.navbar nav a:hover,
.navbar nav .active {
    color: #ff8c00;
}

/* ABOUT SECTION */
.about-section {
    padding: 80px 60px;
    background: #f4f6fb;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: auto;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.about-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #242743;
}

.about-content p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #555;
}

.about-btn {
    display: inline-block;
    padding: 12px 25px;
    background: #ff8c00;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.about-btn:hover {
    background: #e67600;
}

/* ================= MOBILE RESPONSIVE ================= */

/* HIDE MENU ON MOBILE */
@media (max-width: 768px) {

    #nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #242743;

        display: none;   /* ❗ hidden initially */
        flex-direction: column;
        text-align: center;
    }

    #nav-menu a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    /* SHOW MENU */
    #nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
        font-size: 26px;
        cursor: pointer;
    }
}


    /* LOGO */
    .logo {
        justify-content: center;
    }

    .logo img {
        height: 35px;
    }

    /* BOOKING FORM */
    .booking-form {
        width: 90%;
        padding: 20px;
    }

    /* DATE TIME */
    .date-time {
        flex-direction: column;
    }

    /* HERO / HEADER TEXT */
    .hero-content h2,
    .header-title h1 {
        font-size: 24px;
    }

    /* ABOUT SECTION */
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-image img {
        max-width: 100%;
    }

    /* FEATURE CARDS */
    .car-preview {
        flex-direction: column;
        align-items: center;
    }

    .car-card {
        width: 90%;
        margin-bottom: 20px;
    }

    /* FEATURES */
    .feature-container {
        flex-direction: column;
    }

    .feature-box {
        margin-bottom: 20px;
    }

    /* FOOTER */
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

}

.date-time {
    display: flex;
    gap: 10px;
}

/* PREMIUM NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: rgba(36, 39, 67, 0.7);
    backdrop-filter: blur(10px);

    z-index: 1000;
    transition: 0.3s;
}

/* Shadow on scroll */
.navbar.scrolled {
    background: rgba(36, 39, 67, 0.95);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 22px;
    font-weight: bold;
}

.logo img {
    height: 40px;
}

/* Links */
.navbar nav a {
    color: #ddd;
    text-decoration: none;
    margin-left: 30px;
    position: relative;
}

/* Underline animation */
.navbar nav a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #ff8c00;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

.navbar nav a:hover::after {
    width: 100%;
}

.navbar nav .active {
    color: #ff8c00;
}

.btn {
    padding: 12px 30px;
    background: linear-gradient(45deg, #ff8c00, #ff5e00);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}


.menu-toggle {
    display: none;
    font-size: 26px;
    color: white;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .navbar nav {
        display: none;
        flex-direction: column;
        background: #242743;
        position: absolute;
        top: 70px;
        right: 0;
        width: 200px;
    }

    .navbar nav.active {
        display: flex;
    }
}
html {
    scroll-behavior: smooth;
}

/* MENU TOGGLE */
.menu-toggle {
    display: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
}

/* DEFAULT NAV */
#nav-menu {
    display: flex;
}

/* MOBILE STYLE */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    #nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100%;
        background: #242743;
        flex-direction: column;
        padding-top: 80px;
        transition: 0.4s ease;
        z-index: 1000;
    }

    #nav-menu a {
        display: block;
        margin: 20px;
        font-size: 18px;
    }

    /* SHOW MENU */
    #nav-menu.active {
        right: 0;
    }
}

/* OVERLAY */
.menu-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 999;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}








