/* =========================================================================
   FLEET SHOWCASE COMPONENT (assets/css/components/fleet.css)
   Target: template-parts/home-fleet-block.php
   ========================================================================= */

.home-fleet-section {
    background-color: #ffffff;
    padding: 20px 0 30px 0; /* Üst padding 20px'e çekildi */
    border-top: none;
    border-bottom: none;    /* Çizgi kaldırıldı */
}

.fleet-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* SECTION HEADER */
.fleet-header {
    text-align: center;
    margin-bottom: 30px;
}

.fleet-subtitle {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--fogya-orange, #f16b4e);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.fleet-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 16px 0;
}

.fleet-title-divider {
    width: 60px;
    height: 3px;
    background-color: var(--fogya-orange, #f16b4e);
    margin: 0 auto;
    border-radius: 2px;
}

/* 🎯 FLEET GRID: MASAÜSTÜNDE 3 SÜTUNLU MİMARİ */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.fleet-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.fleet-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px -5px rgba(0, 0, 0, 0.08);
}

/* 🎯 RESİM ARKA PLANI (SLATE DARK TONU) */
.fleet-media {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #e2e8f0;
}

.fleet-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.fleet-card:hover .fleet-media img {
    transform: scale(1.05);
}

.fleet-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background-color: var(--fogya-orange, #f16b4e);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.fleet-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.vehicle-name {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.vehicle-desc {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.5;
    margin: 0 0 16px 0;
    flex-grow: 1;
}

.vehicle-specs {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.spec-item i {
    color: var(--fogya-orange, #f16b4e);
    font-size: 15px;
}

/* RESPONSIVE COLLAPSE */
@media (max-width: 991px) {
    .fleet-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .fleet-grid {
        grid-template-columns: 1fr;
    }
    
    .fleet-media {
        height: 200px;
    }
}