body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0b0b0c;
    color: #fff;
}
.gallery-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.gallery-modal img {
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

.gallery-prev { left: 30px; }
.gallery-next { right: 30px; }
/* 🔥 HERO */
.hero {
    height: 300px;
     background: #0b0b0c;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 40px;
    margin: 0;
}

.hero p {
    color: #aaa;
}

/* CONTAINER */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
}

/* LIST */
.car-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* CARD */
.car-card {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 25px;
    background: linear-gradient(145deg, #111, #1a1a1a);
    border-radius: 14px;
    padding: 18px;
    border: 1px solid rgba(255,165,0,0.2);
    box-shadow: 0 0 20px rgba(255,140,0,0.1);
}

/* SLIDER */
.carousel {
    position: relative;
    height: 240px;
    border-radius: 10px;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.slide.active {
    display: block;
}

/* arrows */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
}

.prev { left: 10px; }
.next { right: 10px; }

/* CONTENT */
.car-content h2 {
    margin: 0;
}

.price {
    font-size: 26px;
    color: #f59e0b;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(245,158,11,0.4);
}

/* INFO */
.car-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    color: #bbb;
}

/* BUTTONS */
.buttons {
    margin-top: 15px;
    display: flex;
    gap: 12px; 
    align-items: center;
}

.btn {
    padding: 8px 14px; 
    font-size: 13px;
    border-radius: 5px;
}

.primary {
    background: linear-gradient(45deg, #f59e0b, #d97706);
    color: black;
    font-weight: 600;
}

.secondary {
    background: #1f1f1f;
    color: #ddd;
    border: 1px solid #333;
}
.info-item {
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

.label {
    color: #888;
    font-size: 12px;
    margin-bottom: 2px;
}

.value {
    color: #fff;
    font-weight: 500;
}
/* MOBILE */
@media (max-width: 768px) {
    .car-card {
        grid-template-columns: 1fr;
    }

    .car-info {
        grid-template-columns: 1fr;
    }
}