/* Kankacım, Araç Filomuz Bölümü - MAVİ KONSEPT */

.fleet-section {
    padding: 100px 0;
    background-color: #ffffff; /* Temiz beyaz zemin */
    position: relative;
    overflow: hidden;
}

.fleet-header {
    text-align: center;
    margin-bottom: 60px;
}

.fleet-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.fleet-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    /* Başlık altı çizgi MAVİ (#317da8) */
    background-color: #317da8;
    margin: 10px auto 0;
    border-radius: 2px;
}

.fleet-desc {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Galeri Grid Yapısı */
.fleet-grid {
    display: grid;
    /* Masaüstünde 3 sütun, ekrana göre otomatik ayarlanır */
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    max-width: 1550px; /* Site genişliği */
    margin: 0 auto;
    padding: 0 20px;
}

/* Araç Kartı */
.fleet-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 300px; /* Sabit yükseklik, hepsi eşit dursun */
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    
    /* ANİMASYON BAŞLANGIÇ */
    opacity: 0;
    transform: translateY(50px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Scroll Animasyonu Tetiklenince */
.fleet-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.fleet-item:hover {
    transform: translateY(-5px); /* Hafif yukarı kalksın */
    /* Gölgeye hafif MAVİ tint ekledik */
    box-shadow: 0 15px 30px rgba(49, 125, 168, 0.15);
}

/* Araç Resmi */
.fleet-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmi kutuya tam doldur, taşanı kes */
    transition: transform 0.6s ease;
}

.fleet-item:hover img {
    transform: scale(1.1); /* Resim büyüsün */
}

/* Mavi Overlay (Perde) */
.fleet-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Kankacım burayı MAVİ gradient yaptık */
    background: linear-gradient(to top, rgba(49, 125, 168, 0.9), rgba(0, 0, 0, 0.1));
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 2;
}

.fleet-item:hover .fleet-overlay {
    opacity: 1; /* Hoverda görünür olsun */
}

/* Büyüteç İkonu */
.zoom-icon {
    width: 60px;
    height: 60px;
    background-color: #fff;
    /* İkon Rengi MAVİ */
    color: #317da8;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    transform: translateY(20px); /* Aşağıdan gelsin */
    transition: all 0.4s ease 0.1s; /* Hafif gecikmeli */
}

.fleet-item:hover .zoom-icon {
    transform: translateY(0);
}

.fleet-overlay span {
    color: #fff;
    font-weight: 700;
    margin-top: 15px;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transform: translateY(20px);
    transition: all 0.4s ease 0.2s; /* İkondan sonra gelsin */
}

.fleet-item:hover .fleet-overlay span {
    transform: translateY(0);
}

/* --- LIGHTBOX (TAM EKRAN) STİLLERİ --- */
.lightbox-modal {
    display: none; /* JS ile flex yapılacak */
    position: fixed;
    z-index: 9999; /* En üstte */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.95); /* Çok koyu arka plan */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 5px;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
    object-fit: contain;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-close:hover {
    /* Kapatma butonu aksiyon olduğu için TURUNCU yakışır */
    color: #e68f23;
    text-decoration: none;
    transform: scale(1.1);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .fleet-grid {
        grid-template-columns: 1fr; /* Mobilde tek sütun */
    }
    .fleet-item {
        height: 250px; /* Mobilde biraz daha kısa olabilir */
    }
    
    .lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
}