
    
    .photo-gallery {
    padding: 60px 0;
    background: #f4f4f4;
}

.gallery-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #333;
}

.gallery-header p {
    color: #666;
    font-size: 16px;
    margin-bottom: 40px;
}

/* GRID LAYOUT */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-auto-rows: 200px;
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.8);
}

/* HOVER OVERLAY */
.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 76, 96, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item .overlay span {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* RESPONSIVE */
@media screen and (max-width: 768px) {
    .gallery-grid {
        grid-auto-rows: 180px;
    }
}

@media screen and (max-width: 576px) {
    .gallery-grid {
        grid-auto-rows: 150px;
    }
}

   .vehicle-scroll-wrapper {
    overflow: hidden;
    width: 100%;
    background: #f9f9f9;
    padding: 20px 0;
}

.vehicle-scroll {
    display: flex;
    width: max-content;
    animation: scrollLeft 20s linear infinite;
}

.vehicle-scroll img {
    width: 200px;
    height: 120px;
    object-fit: cover;
    margin-right: 10px;
    border-radius: 8px;
    transition: transform 0.3s;
}

.vehicle-scroll img:hover {
    transform: scale(1.05);
}

/* Keyframes for continuous scrolling */
@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

       
        /* ================= HERO IMAGE ================= */
       /* HERO IMAGE FIXED */
.car-hero {
    position: relative;
    width: 100%;
    height: 550px; /* adjust as needed */
    margin: 0; /* remove top and bottom gaps */
    border-radius: 0; /* remove rounded corners for full width */
    overflow: hidden;
}

.hero-bg {
    width: 100%;
    height: 550px;
    background-size: cover;
    background-position: center center; /* center image */
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    z-index: 2;
}

/* optional: overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 550px;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* remove spacing before and after hero */
body, #content {
    margin: 0;
    padding: 0;
}

/* hero text styles */
.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
}

.hero-content h3 {
    font-size: 32px;
    color: #ff7b00;
}

.hero-content p {
    font-size: 16px;
    color: #ddd;
}



   /* ================= GALLERY GRID ================= */
.car-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    grid-auto-rows: 150px;
    gap: 10px;
    max-width: 1200px;
    margin: auto;
    padding: 15px;
}

.car-gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.4s ease;
}

.car-gallery-grid img:hover {
    transform: scale(1.08);
}

/* Hero image */
.hero-grid {
    grid-column: span 2;
    grid-row: span 2;
}

/* ================= FULLSCREEN MODAL ================= */
.fullscreen-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.9);
}

.fullscreen-modal img {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    margin-top: 5%;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #ff7b00;
}

        /* ================= CAR INFO ================= */
        .car-info-section {
            padding: 20px 0;
        }

        .car-info-section h3 {
            font-size: 28px;
            color: #fff;
        }

        .car-info-section p {
            color: #ccc;
            font-size: 15px;
        }

        .ul-check li {
            position: relative;
            padding-left: 20px;
            margin-bottom: 8px;
            color: #ddd;
        }

        .ul-check li::before {
            content: "✓";
            position: absolute;
            left: 0;
            color: #ff7b00;
        }

        /* ================= RELATED CARS ================= */
        .car-item {
            background: #096da8;
            border-radius: 10px;
            overflow: hidden;
            transition: 0.3s;
            cursor: pointer;
        }

        .car-item img {
            width: 100%;
            height: 160px;
            object-fit: cover;
            transition: transform 0.3s;
        }

        .car-item:hover img {
            transform: scale(1.05);
        }

        .car-item .p-3 {
            padding: 15px;
        }

        .car-item h4 {
            color: #fff;
            margin-bottom: 4px;
        }

        .car-item p {
            color: #bbb;
            font-size: 13px;
            margin-bottom: 4px;
        }

        .car-item .id-color {
            color: #ff7b00;
            font-weight: 600;
            font-size: 16px;
        }
   