/* Brand Selector */
.brand-selector {
    background: #fff;
    padding: 30px 0;
    text-align: center;
}

.brand-list {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.brand-btn {
    background: #f8f9fa;
    color: #222;
    width: 200px;
    border: 2px solid rgb(9, 197, 9);
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border 0.2s;
}

.brand-btn.active,
.brand-btn:hover {
    background: rgb(9, 197, 9);
    color: #fff;
    border-color: rgb(9, 197, 9);
}

.container {
    margin: 20px auto;
}

/* Car Collections */
.car-collections {
    background: #f8f9fa;
    padding: 60px 0 40px 0;
}

.car-btn {
    background: black;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    margin: 15px auto;
    width: 100%;
}

.car-category {
    margin-bottom: 50px;
}

.car-category h2 {
    font-size: 2rem;
    color: #222;
    margin-bottom: 25px;
    border-left: 5px solid rgb(9, 197, 9);
    padding-left: 15px;
    letter-spacing: 1px;
    font-weight: 700;
}

.car-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.car-item {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 24px 18px 18px 18px;
    flex: 1 1 220px;
    max-width: 260px;
    min-width: 220px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.car-item:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(197, 157, 95, 0.18);
    z-index: 2;
}

.car-item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    background: #eee;
}

.car-item h3 {
    font-size: 1.15rem;
    color: rgb(9, 197, 9);
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.car-item p {
    color: #555;
    font-size: 0.98rem;
    margin-bottom: 0;
    letter-spacing: 0.2px;
}

/* Responsive Styles */
@media (max-width: 900px) {
    .car-list {
        gap: 18px;
    }

    .car-item {
        max-width: 48%;
        min-width: 160px;
    }
}

@media (max-width: 600px) {
    .brand-list {
        flex-direction: column;
        gap: 10px;
    }

    .brand-btn {
        width: 100%;
    }

    .car-list {
        flex-direction: column;
        gap: 16px;
    }

    .car-item {
        max-width: 100%;
    }

    .car-category h2 {
        font-size: 1.3rem;
        padding-left: 8px;
    }
}