* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: black;
    color: white;
}

html {
    scroll-behavior: smooth;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

.neon-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow:
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px #d4af37,
        0 0 30px #d4af37,
        0 0 40px #d4af37;
    white-space: normal;
    /* Allow wrapping */
    text-align: center;
    /* Center lines relative to each other */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    animation: neon-pulse 1.5s infinite alternate;
}

.nav-subtitle {
    font-size: 0.8rem;
    letter-spacing: 2px;
}

@keyframes neon-pulse {
    from {
        text-shadow:
            0 0 5px #fff,
            0 0 10px #fff,
            0 0 20px #d4af37,
            0 0 30px #d4af37,
            0 0 40px #d4af37;
    }

    to {
        text-shadow:
            0 0 2px #fff,
            0 0 5px #fff,
            0 0 10px #d4af37,
            0 0 15px #d4af37,
            0 0 20px #d4af37;
    }
}

.logo {
    height: 110px;
    /* Increased from 70px */
}

.lux-nav a {
    color: #d4af37;
    text-decoration: none;
    margin-left: 15px;
    font-weight: bold;
    padding: 10px 20px;
    border: 1px solid #d4af37;
    border-radius: 20px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lux-nav a:hover {
    background: #d4af37;
    color: #000;
    box-shadow: 0 0 15px #d4af37;
    transform: scale(1.05);
}

/* HERO */
.hero {
    height: 100vh;
    background: url("images/showroom.webp") center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 80px;
    text-align: center;
}

.lux-title {
    font-size: 60px;
    color: #d4af37;
    animation: glow 3s infinite alternate, float 6s infinite;
}

.hero-sub {
    margin: 15px 0;
    color: #ccc;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px #d4af37;
    }

    to {
        text-shadow: 0 0 40px #d4af37;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.booking-btn {
    margin-top: 70px;
    /* Moved down further (approx 2cm) */
    padding: 15px 35px;
    background: linear-gradient(135deg, #d4af37, #fff1b8);
    color: black;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    display: inline-block;
    /* Fix for margins and padding */
    transition: transform 0.3s, box-shadow 0.3s;
}

.booking-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Specific adjustment for Fleet cards */
.fleet-cards .booking-btn {
    margin-top: 20px;
    /* Smaller margin than hero */
    padding: 10px 25px;
    /* Slightly smaller button */
    font-size: 0.9rem;
}

/* FLEET */
.fleet {
    padding: 120px 40px;
    text-align: center;
}

.section-tagline {
    color: #ccc;
    font-size: 1.2rem;
    letter-spacing: 3px;
    margin-top: 10px;
    margin-bottom: 40px;
    font-weight: bold;
    text-transform: uppercase;
}

.fleet-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: nowrap;
    /* Force one row */
    padding: 20px;
}

.car-card {
    background: #111;
    padding: 20px;
    border-radius: 15px;
    width: 260px;
    /* Neon Glow */
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5), 0 0 20px rgba(212, 175, 55, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.3);
    /* Float Animation */
    animation: float 4s infinite ease-in-out;
    transition: transform 0.3s;
}

/* Stagger float animation for better visual */
.car-card:nth-child(2) {
    animation-delay: 1s;
}

.car-card:nth-child(3) {
    animation-delay: 2s;
}

.car-card:hover {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.8), 0 0 40px rgba(212, 175, 55, 0.5);
    transform: translateY(-5px) scale(1.02);
}

.car-card img {
    width: 100%;
    border-radius: 10px;
}

/* BOOKING */
.booking {
    padding: 160px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: black;
    /* Fallback */
}

/* Background Animation Layer */
.booking::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("images/bckgrnd.webp") center/cover no-repeat;
    z-index: 0;
    animation: pan-zoom 20s infinite alternate ease-in-out;
    opacity: 0.6;
    /* Darken slightly so form is readable */
}

/* Keyframes for Moving Effect */
@keyframes pan-zoom {
    0% {
        transform: scale(1) translate(0, 0);
    }

    50% {
        transform: scale(1.1) translate(-2%, 1%);
    }

    100% {
        transform: scale(1.2) translate(1%, -2%);
    }
}

/* Ensure content is above background */
.booking>* {
    position: relative;
    z-index: 1;
}

.booking form {
    max-width: 400px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.booking input,
.booking select,
.booking button {
    padding: 14px;
    border-radius: 25px;
    border: none;
}

.booking button {
    background: #d4af37;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
}

/* CAR SELECTOR */
.car-selector-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    /* Allow wrapping for multiple cars */
}

.car-option {
    cursor: pointer;
    width: 30%;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    background: #1a1a1a;
    transition: all 0.3s ease;
}

.car-option:hover {
    background: #222;
}

.car-option input {
    display: none;
}

.car-option img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
    object-fit: cover;
}

.car-option span {
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
}

/* Selected state using the :checked pseudo-class sibling selector logic if possible, 
   but since input is inside label, we can use :has() or just JS. 
   For broader support, let's use the input:checked + styling technique if we restructure html,
   or relies on the fact that the input is inside.
   Actually with nesting, the :checked must be selected.
*/
.car-option:has(input:checked) {
    border-color: #d4af37;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

/* Fallback for browsers not supporting :has - we might stick to simple hover or add a class via JS 
   but :has is widely supported now. Alternatively strictly structurally: */


/* WHATSAPP BUTTON */
.whatsapp-btn {
    display: inline-block;
    background-color: #25D366;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.6);
}

/* CONTACT */
/* CONTACT */
.contact-section {
    padding: 100px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stars-container {
    color: #d4af37;
    font-size: 2rem;
    letter-spacing: 5px;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    animation: glow 3s infinite alternate;
}

.contact-box {
    margin-top: 30px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    /* Glass effect */
    border: 2px solid #d4af37;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(5px);
    max-width: 500px;
    width: 100%;
    transition: transform 0.3s;
}

.contact-box:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

.contact-item {
    font-size: 1.5rem;
    margin: 15px 0;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.contact-item span {
    font-weight: bold;
    color: #f0f0f0;
}

/* ============================
   MOBILE RESPONSIVENESS
   ============================ */

/* Tablet & Mobile Layout (Max Width 1024px) */
@media (max-width: 1024px) {
    .navbar {
        flex-direction: column;
        padding: 15px;
        height: auto;
        background: rgba(0, 0, 0, 0.95);
        /* More opaque */
    }

    .logo {
        height: 70px;
        margin-bottom: 5px;
    }

    /* Reset absolute positioning for neon text to stack it */
    .neon-text {
        position: static;
        transform: none;
        margin: 10px 0 20px 0;
        width: 100%;
        text-align: center;
    }

    .lux-nav {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .lux-nav a {
        margin: 5px;
        font-size: 0.9rem;
        padding: 8px 15px;
        flex: 1 1 auto;
        /* Grow to fill space but allow wrapping */
        text-align: center;
        min-width: 100px;
    }

    /* Adjust Hero padding because navbar is taller now */
    .hero {
        padding-top: 260px;
        /* Push content down below tall navbar */
        height: auto;
        min-height: 100vh;
        padding-bottom: 60px;
    }

    .lux-title {
        font-size: 40px;
        padding: 0 15px;
        line-height: 1.2;
    }

    .booking-btn {
        margin-top: 40px;
    }
}

/* Mobile Layout (Max Width 768px) */
@media (max-width: 768px) {

    /* Fleet - Stack Vertically */
    .fleet-cards {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin-top: 20px;
    }

    .car-card {
        width: 100%;
        max-width: 380px;
        /* Don't get too wide on tablets */
    }

    /* Booking Page */
    .booking {
        padding-top: 280px;
        /* Clear the stacked navbar */
        min-height: 100vh;
        height: auto;
    }

    .booking form {
        width: 100%;
        padding: 0 15px;
    }

    .car-selector-container {
        justify-content: center;
        gap: 10px;
    }

    .car-option {
        width: calc(50% - 10px);
        /* 2 columns */
    }

    .contact-box {
        width: 100%;
        padding: 20px;
        margin-top: 20px;
    }

    .contact-item {
        font-size: 1.1rem;
        flex-direction: column;
        gap: 8px;
    }
}

/* Small Mobile (Max Width 480px) */
@media (max-width: 480px) {
    .lux-title {
        font-size: 32px;
    }

    .car-option {
        width: 100%;
        /* 1 column */
    }

    .neon-text {
        font-size: 1rem;
    }

    .nav-subtitle {
        font-size: 0.7rem;
    }
}

/* FLOATING WHATSAPP BUTTON */
.float-wa {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    animation: pulse-wa 2s infinite;
}

.float-wa img {
    width: 35px;
    height: 35px;
}

.float-wa:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

@keyframes pulse-wa {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}