/* ═══════════════════════════════════════════════════════════════════════════ */
/* SECTION FLOTTE MODERNE - Design Premium et Interactif                       */
/* ═══════════════════════════════════════════════════════════════════════════ */

.fleet-section-modern {
    padding: 80px 0;
    /* Gradient bleu dégradé avec touches de blanc */
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 50%, #f5f9fc 100%);
    position: relative;
    overflow: hidden;
}

/* Motif de fond géométrique moderne */
.fleet-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        /* Cercles décoratifs */
        radial-gradient(circle at 10% 20%, rgba(52, 152, 219, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(41, 128, 185, 0.06) 0%, transparent 50%),
        /* Lignes diagonales subtiles */
        repeating-linear-gradient(45deg, transparent, transparent 60px, rgba(52, 152, 219, 0.02) 60px, rgba(52, 152, 219, 0.02) 120px);
    pointer-events: none;
}

/* Effet de lumière en haut */
.fleet-section-modern::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 50%;
    background: radial-gradient(ellipse at center, rgba(52, 152, 219, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* HEADER AVEC STATS                                                            */
/* ═══════════════════════════════════════════════════════════════════════════ */

.fleet-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.fleet-title-wrapper {
    flex: 1;
    min-width: 300px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.2);
}

.section-badge svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    stroke: currentColor;
}

.section-title-modern {
    font-size: 42px;
    font-weight: 800;
    color: #2c3e50;
    margin: 0 0 10px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.section-subtitle-modern {
    font-size: 18px;
    color: #7f8c8d;
    margin: 0;
    font-weight: 400;
}

/* Stats Modernes */
.fleet-stats-modern {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-item-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-item-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    font-size: 32px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: var(--accent-color, #b00020);
}

.stat-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: #95a5a6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* FILTRES PAR CATÉGORIE                                                        */
/* ═══════════════════════════════════════════════════════════════════════════ */

.fleet-filters-modern {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.filter-btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-btn-modern:hover {
    border-color: #3498db;
    color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
}

.filter-btn-modern.active {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-color: #3498db;
    color: #fff;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.filter-icon {
    font-size: 18px;
    line-height: 1;
}

.filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.filter-btn-modern.active .filter-count {
    background: rgba(255, 255, 255, 0.2);
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* GRILLE DE VÉHICULES                                                          */
/* ═══════════════════════════════════════════════════════════════════════════ */

.vehicles-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

/* Cartes Véhicules Modernes */
.vehicle-card-modern {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    position: relative;
}

.vehicle-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.vehicle-card-modern:focus {
    outline: 3px solid #3498db;
    outline-offset: 2px;
}

/* Image Container */
.vehicle-image-modern {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #ecf0f1 0%, #bdc3c7 100%);
}

.vehicle-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.vehicle-card-modern:hover .vehicle-thumbnail {
    transform: scale(1.08);
}

.vehicle-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ecf0f1 0%, #bdc3c7 100%);
}

.placeholder-icon {
    font-size: 64px;
    opacity: 0.3;
}

/* Badges Superposés */
.vehicle-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    z-index: 2;
}

.vehicle-badges span {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.badge-new {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: #fff;
}

.badge-promo {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
}

.badge-category {
    background: rgba(255, 255, 255, 0.95);
    color: #2c3e50;
    border: 1px solid rgba(52, 152, 219, 0.3);
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* CONTENU VÉHICULE                                                             */
/* ═══════════════════════════════════════════════════════════════════════════ */

.vehicle-content-modern {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.vehicle-title-modern {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 5px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vehicle-year {
    font-size: 13px;
    color: #95a5a6;
    margin: 0 0 15px;
    font-weight: 500;
}

/* Spécifications Grid */
.vehicle-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 13px;
}

.spec-icon {
    font-size: 16px;
    line-height: 1;
}

.spec-value {
    color: #6c757d;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Footer avec Prix et Bouton */
.vehicle-footer-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 2px solid #f1f3f5;
}

.vehicle-price-modern {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-amount {
    font-size: 24px;
    font-weight: 800;
    color: #27ae60;
    line-height: 1;
}

.price-period {
    font-size: 13px;
    color: #95a5a6;
    font-weight: 500;
}

.price-on-request {
    font-size: 14px;
    color: #3498db;
    font-weight: 600;
}

/* Bouton Réserver */
.btn-reserve-modern {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.2);
}

.btn-reserve-modern:hover {
    background: linear-gradient(135deg, #2980b9 0%, #21618c 100%);
    transform: translateX(3px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-arrow {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.btn-reserve-modern:hover .btn-arrow {
    transform: translateX(3px);
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* MESSAGE PAS DE RÉSULTATS                                                     */
/* ═══════════════════════════════════════════════════════════════════════════ */

.fleet-no-results {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.no-results-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.fleet-no-results h3 {
    font-size: 24px;
    color: #2c3e50;
    margin: 0 0 10px;
}

.fleet-no-results p {
    font-size: 16px;
    color: #95a5a6;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* CTA PRINCIPALE                                                               */
/* ═══════════════════════════════════════════════════════════════════════════ */

.fleet-cta-modern {
    text-align: center;
    position: relative;
    z-index: 1;
}

.btn-fleet-all {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 25px rgba(44, 62, 80, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-fleet-all::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-fleet-all:hover::before {
    left: 100%;
}

.btn-fleet-all:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(44, 62, 80, 0.3);
}

.btn-icon {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
}

.btn-text {
    font-size: 16px;
}

.btn-count {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* ANIMATIONS                                                                    */
/* ═══════════════════════════════════════════════════════════════════════════ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vehicle-card-modern {
    animation: fadeInUp 0.6s ease backwards;
}

.vehicle-card-modern:nth-child(1) { animation-delay: 0.1s; }
.vehicle-card-modern:nth-child(2) { animation-delay: 0.2s; }
.vehicle-card-modern:nth-child(3) { animation-delay: 0.3s; }
.vehicle-card-modern:nth-child(4) { animation-delay: 0.4s; }
.vehicle-card-modern:nth-child(5) { animation-delay: 0.5s; }
.vehicle-card-modern:nth-child(6) { animation-delay: 0.6s; }

/* Filtrage Animé */
.vehicle-card-modern.hidden {
    display: none;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* RESPONSIVE DESIGN                                                             */
/* ═══════════════════════════════════════════════════════════════════════════ */

/* Tablettes (max-width: 1024px) */
@media (max-width: 1024px) {
    .fleet-header-modern {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    
    .fleet-stats-modern {
        width: 100%;
        justify-content: space-between;
    }
    
    .vehicles-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .section-title-modern {
        font-size: 36px;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .fleet-section-modern {
        padding: 60px 0;
    }
    
    .fleet-header-modern {
        margin-bottom: 30px;
    }
    
    .section-title-modern {
        font-size: 32px;
    }
    
    .section-subtitle-modern {
        font-size: 16px;
    }
    
    .fleet-stats-modern {
        gap: 12px;
    }
    
    .stat-item-modern {
        flex: 1;
        min-width: 100px;
        padding: 12px 15px;
    }
    
    .stat-icon {
        font-size: 24px;
        width: 36px;
        height: 36px;
    }
    
    .stat-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .stat-number {
        font-size: 20px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .fleet-filters-modern {
        gap: 8px;
        margin-bottom: 30px;
    }
    
    .filter-btn-modern {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .vehicles-grid-modern {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .vehicle-image-modern {
        height: 200px;
    }
    
    .vehicle-title-modern {
        font-size: 18px;
    }
    
    .spec-item {
        font-size: 12px;
    }
    
    .price-amount {
        font-size: 20px;
    }
    
    .btn-fleet-all {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }
}

/* Petits mobiles (max-width: 480px) */
@media (max-width: 480px) {
    .fleet-section-modern {
        padding: 40px 0;
    }
    
    .section-title-modern {
        font-size: 28px;
    }
    
    .fleet-stats-modern {
        flex-direction: column;
    }
    
    .stat-item-modern {
        width: 100%;
    }
    
    .fleet-filters-modern {
        justify-content: flex-start;
    }
    
    .vehicle-specs-grid {
        grid-template-columns: 1fr;
    }
    
    .vehicle-footer-modern {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .btn-reserve-modern {
        width: 100%;
        justify-content: center;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* ÉTATS DE CHARGEMENT ET TRANSITIONS                                           */
/* ═══════════════════════════════════════════════════════════════════════════ */

.vehicles-grid-modern.loading {
    opacity: 0.5;
    pointer-events: none;
}

.vehicle-card-modern.filtering {
    transition: all 0.3s ease;
}

/* Effet de focus pour l'accessibilité */
.filter-btn-modern:focus {
    outline: 3px solid #3498db;
    outline-offset: 2px;
}

.btn-fleet-all:focus {
    outline: 3px solid #2c3e50;
    outline-offset: 2px;
}

