/* ============================================
   CAR INFO PAGE - car-info.css
   ============================================ */

@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;
    padding: 235px 0 80px;
    text-align: left;
    color: #fff;
    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;
}

.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;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.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;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background: #65BDED;
    color: #fff;
    border-color: #65BDED;
}

.filter-btn.active {
    background: #65BDED;
    color: #fff;
    border-color: #65BDED;
}

.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;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.search-box input:focus {
    border-color: #65BDED;
}

.search-box input::placeholder {
    color: #aaa;
}

.search-box button {
    background: #65BDED;
    color: #fff;
    border: 1px solid #65BDED;
    padding: 10px 22px;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 0.85rem;
}

.search-box button:hover {
    background: #4AAEE0;
}

/* ============================================
   CARS SHOWCASE SECTION
   ============================================ */
.cars-showcase {
    padding: 70px 0;
    background: #fff;
}

.cars-showcase.alt-bg {
    background: #f8f9fb;
}

.section-title-with-icon {
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 2.5rem;
    letter-spacing: -0.5px;
}

/* ============================================
   CARS GRID
   ============================================ */
.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 2rem;
}

/* ============================================
   CAR DETAIL CARD
   ============================================ */
.car-detail-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #E8EDF2;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.car-detail-card:hover {
    box-shadow: 0 12px 40px rgba(101,189,237,0.15);
    border-color: #65BDED;
}

/* Car Image */
.car-image-container {
    position: relative;
    background: linear-gradient(145deg, #EBF4FB 0%, #F0F8FD 50%, #E8F5FA 100%);
    padding: 2.5rem 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.12));
}

.car-detail-card:hover .car-image-container img {
    transform: scale(1.05) translateY(-4px);
}

/* Badge */
.car-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #65BDED;
    color: #fff;
    padding: 5px 14px;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.car-badge.popular {
    background: #E53E3E;
}

/* Car Content */
.car-content {
    padding: 1.8rem 2rem 2rem;
    border-top: 1px solid #F3F4F6;
}

.car-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    color: #1F2937;
    margin-bottom: 0.8rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

/* Price */
.car-price-info {
    margin-bottom: 1.5rem;
}

.price-label {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    color: #9CA3AF;
    margin-bottom: 0.2rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.price {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #65BDED;
    line-height: 1.1;
    margin-bottom: 0.2rem;
}

.price-note {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    color: #bbb;
    font-style: italic;
}

/* ============================================
   SPEC ITEMS — Clean 2-column grid
   ============================================ */
.car-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid #E8EDF2;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: #F8FAFB;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.9rem 1.1rem;
}

.spec-item:first-child {
    border-right: 1px solid #E8EDF2;
}

.spec-item i {
    color: #65BDED;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.spec-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.spec-value {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1F2937;
    line-height: 1.2;
}

.spec-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.68rem;
    color: #9CA3AF;
    font-weight: 400;
    line-height: 1.2;
}

/* ============================================
   FEATURES LIST
   ============================================ */
.car-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.8rem 0;
}

.car-features li {
    padding: 0.55rem 0;
    border-bottom: 1px solid #F3F4F6;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    color: #4B5563;
    font-size: 0.9rem;
    font-weight: 400;
}

.car-features li:last-child {
    border-bottom: none;
}

.car-features li i {
    color: #65BDED;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* ============================================
   VIEW DETAILS BUTTON
   ============================================ */
.btn-book {
    background: #65BDED;
    color: #fff;
    padding: 13px 0;
    border-radius: 10px;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    display: block;
    text-align: center;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    width: 100%;
}

.btn-book:hover {
    background: #4AAEE0;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(101,189,237,0.4);
}

/* Hide promotion section */
.promotion-inline {
    display: none !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
    .car-info-hero .container {
        grid-template-columns: 1fr;
    }
    .car-info-hero h1,
    .car-info-hero p {
        grid-column: 1;
    }
    .car-info-hero h1 { font-size: 2.8rem; }

    .cars-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .filter-btn {
        width: 100%;
        max-width: 260px;
    }
}

@media (max-width: 768px) {
    .car-info-hero {
        padding: 120px 0 50px;
        min-height: 400px;
    }
    .car-info-hero h1 { font-size: 2.2rem; }
    .section-title-with-icon { font-size: 1.6rem; }
    .car-image-container { padding: 1.5rem 1rem; min-height: 200px; }
    .car-content { padding: 1.3rem 1.3rem 1.5rem; }
    .car-content h3 { font-size: 1.2rem; }
    .price { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .car-specs {
        grid-template-columns: 1fr;
    }
    .spec-item:first-child {
        border-right: none;
        border-bottom: 1px solid #E8EDF2;
    }
}