/* ============================================
   CAR INFO PAGE - MINIMAL REDESIGN
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

/* Hero Section */
.car-info-hero {
    background: url('../images/hero-showroom.jpg') center top / cover no-repeat; / cover no-repeat;
    padding: 235px 0 80px;
    text-align: left;
    color: var(--white);
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
}

.car-info-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
    z-index: 1;
}

.car-info-hero .container {
    position: relative;
    z-index: 2;
    padding-bottom: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
}

.car-info-hero h1,
.car-info-hero p {
    grid-column: 2;
    text-align: left;
}

.car-info-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.car-info-hero h1 .highlight {
    color: #a8d8f0;
    font-style: normal;
}

.car-info-hero p {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    opacity: 0.85;
    letter-spacing: 0.5px;
}

/* Filter Section */
.filter-section {
    background: #fff;
    padding: 1.5rem 0;
    border-bottom: 1px solid #efefef;
    position: sticky;
    top: 70px;
    z-index: 100;
}

.filter-box {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.filter-btn {
    background: transparent;
    color: #555;
    border: 1px solid #ddd;
    padding: 9px 22px;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-btn i { display: none; }

.filter-btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.search-box {
    display: flex;
    justify-content: center;
    margin-top: 0.75rem;
}

.search-box input {
    width: 100%;
    max-width: 420px;
    padding: 10px 18px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 10px 0 0 10px;
    font-family: 'Outfit', sans-serif;
}

.search-box input::placeholder { color: #aaa; }

.search-box input:focus {
    border-color: #999;
}

.search-box button {
    background: var(--primary-color);
    color: #fff;
    border: 1px solid var(--primary-color);
    padding: 10px 22px;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 0.85rem;
}

.search-box button:hover {
    background: var(--secondary-color);
}

/* Cars Showcase Section */
.cars-showcase {
    padding: 80px 0;
    background: #fff;
}

.cars-showcase.alt-bg {
    background: #f8f8f8;
}

.section-title-with-icon {
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.section-title-with-icon i { display: none; }

.section-subtitle {
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    color: #888;
    margin-bottom: 3rem;
    font-style: normal;
    line-height: 1.6;
}

/* Cars Grid */
.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

/* Car Detail Card */
.car-detail-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.car-detail-card:hover {
    transform: none;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border-color: #ccc;
}

.car-image-container {
    position: relative;
    background: #f5f5f5;
    padding: 3rem 2rem;
    text-align: center;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-image-container img {
    width: 100%;
    max-width: 380px;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.1));
}

.car-detail-card:hover .car-image-container img {
    transform: scale(1.04);
}

.car-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--primary-color);
    color: #fff;
    padding: 5px 14px;
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: none;
}

.car-badge.popular {
    background: #c0392b;
}

.car-content {
    padding: 2rem;
    border-top: 1px solid #efefef;
}

.car-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.car-price-info {
    margin-bottom: 1.5rem;
}

.price-label {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 0.25rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.price {
    color: var(--primary-color);
}

.price-note {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    color: #bbb;
}

/* Car Specs */
.car-specs {
    display: flex;
    gap: 2rem;
    padding: 1rem 1.25rem;
    background: #f8f8f8;
    border: 1px solid #efefef;
    margin-bottom: 1.5rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--dark-color);
}

.spec-item i {
    color: #65BDED;
    font-size: 1rem;
}

/* Car Features List */
.car-features {
    list-style: none;
    margin-bottom: 2rem;
}

.car-features li {
    padding: 0.6rem 0;
    border-bottom: 1px solid #f2f2f2;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    color: #555;
    font-size: 0.9rem;
    font-weight: 300;
}

.car-features li:last-child { border-bottom: none; }

.car-features li i {
    color: #65BDED;
    font-size: 0.8rem;
}

/* Book / View Details Button */
.btn-book {
    background: var(--primary-color);
    color: #fff;
    padding: 13px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s ease;
    box-shadow: none;
    width: 100%;
    justify-content: center;
}

.btn-book i { display: none; }

.btn-book:hover {
    background: var(--secondary-color);
    transform: none;
    box-shadow: none;
}

/* Hide promotion section */
.promotion-inline {
    display: none !important;
}

/* Responsive */
@media (max-width: 968px) {
    .car-info-hero h1 { font-size: 2.8rem; }
    .car-info-hero .container {
        grid-template-columns: 1fr;
    }
    .car-info-hero h1,
    .car-info-hero p {
        grid-column: 1;
    }
    .cars-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .car-specs { flex-direction: column; gap: 0.75rem; }
    .filter-box { flex-direction: column; align-items: center; }
    .filter-btn { width: 100%; max-width: 280px; justify-content: center; }
}

@media (max-width: 768px) {
    .car-info-hero { padding: 100px 0 60px; min-height: 500px; }
    .car-info-hero h1 { font-size: 2.2rem; }
    .car-content h3 { font-size: 1.4rem; }
    .price { font-size: 1.7rem; }
    .section-title-with-icon { font-size: 1.8rem; }
    .car-image-container { padding: 2rem 1rem; min-height: 200px; }
}