/* ═══════════════════════════════════════════════════════════════════════════ */
/* SECTION AÉROPORTS DU MAROC - Design Moderne et Interactif                  */
/* ═══════════════════════════════════════════════════════════════════════════ */

.coverage-section-compact {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f8ff 0%, #ffffff 50%, #e6f3ff 100%);
    position: relative;
    overflow: hidden;
}

/* Motif de fond aéronautique */
.coverage-section-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        /* Avions décoratifs */
        radial-gradient(circle at 15% 25%, rgba(52, 152, 219, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(41, 128, 185, 0.04) 0%, transparent 50%),
        /* Lignes de vol */
        repeating-linear-gradient(45deg, transparent, transparent 80px, rgba(52, 152, 219, 0.02) 80px, rgba(52, 152, 219, 0.02) 160px);
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* HEADER SECTION                                                              */
/* ═══════════════════════════════════════════════════════════════════════════ */

.coverage-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    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-title-compact {
    font-size: 42px;
    font-weight: 800;
    color: #2c3e50;
    margin: 0 0 10px;
    line-height: 1.2;
    letter-spacing: -1px;
}

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

/* ═══════════════════════════════════════════════════════════════════════════ */
/* GRILLE DES AÉROPORTS                                                         */
/* ═══════════════════════════════════════════════════════════════════════════ */

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

/* Cartes d'aéroport modernes */
.airport-card-modern {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    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;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.airport-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transition: left 0.6s ease;
}

.airport-card-modern:hover::before {
    left: 100%;
}

.airport-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #3498db;
}

.airport-card-modern.active {
    border-color: #3498db;
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
    transform: translateY(-4px);
}

/* Header de la carte */
.airport-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.airport-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.airport-card-modern:hover .airport-icon {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    transform: rotate(10deg) scale(1.1);
}

.airport-icon svg {
    width: 30px;
    height: 30px;
    color: #3498db;
    transition: color 0.3s ease;
}

.airport-card-modern:hover .airport-icon svg {
    color: #fff;
}

.airport-title {
    flex: 1;
}

.airport-title h3 {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 4px;
    line-height: 1.3;
}

.airport-city {
    font-size: 14px;
    color: #7f8c8d;
    font-weight: 500;
}

.airport-status {
    font-size: 20px;
    line-height: 1;
}

.airport-status.available {
    color: #27ae60;
}

/* Code de l'aéroport */
.airport-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 30px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 10px;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* AFFICHAGE DES INFORMATIONS D'AÉROPORT                                       */
/* ═══════════════════════════════════════════════════════════════════════════ */

.airport-info-display {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
    position: relative;
    z-index: 1;
}

/* Header des informations */
.airport-info-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f3f5;
}

.airport-info-icon {
    font-size: 48px;
    line-height: 1;
}

.airport-info-title {
    flex: 1;
}

.airport-info-title h3 {
    font-size: 28px;
    font-weight: 800;
    color: #2c3e50;
    margin: 0 0 8px;
    line-height: 1.2;
}

.airport-info-city {
    font-size: 18px;
    color: #7f8c8d;
    font-weight: 600;
}

.airport-info-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 50px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Sections d'informations */
.airport-address-section,
.airport-services-section,
.airport-contact-section {
    margin-bottom: 25px;
}

.airport-address-section h4,
.airport-services-section h4,
.airport-contact-section h4 {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.airport-address {
    font-size: 16px;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

/* Grille des services */
.airport-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.service-item-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.service-item-modern:hover {
    background: #e3f2fd;
    transform: translateY(-2px);
}

.service-icon {
    font-size: 24px;
    line-height: 1;
}

.service-text {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
}

/* Contact */
.airport-contact {
    font-size: 15px;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #27ae60;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* CTA SECTION                                                                  */
/* ═══════════════════════════════════════════════════════════════════════════ */

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

.btn-coverage-contact {
    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-coverage-contact::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-coverage-contact:hover::before {
    left: 100%;
}

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

.btn-icon {
    font-size: 20px;
}

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

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

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

.airport-card-modern:nth-child(1) { animation-delay: 0.1s; }
.airport-card-modern:nth-child(2) { animation-delay: 0.2s; }
.airport-card-modern:nth-child(3) { animation-delay: 0.3s; }
.airport-card-modern:nth-child(4) { animation-delay: 0.4s; }
.airport-card-modern:nth-child(5) { animation-delay: 0.5s; }
.airport-card-modern:nth-child(6) { animation-delay: 0.6s; }
.airport-card-modern:nth-child(7) { animation-delay: 0.7s; }
.airport-card-modern:nth-child(8) { animation-delay: 0.8s; }
.airport-card-modern:nth-child(9) { animation-delay: 0.9s; }
.airport-card-modern:nth-child(10) { animation-delay: 1.0s; }
.airport-card-modern:nth-child(11) { animation-delay: 1.1s; }
.airport-card-modern:nth-child(12) { animation-delay: 1.2s; }

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

/* Tablettes (max-width: 1024px) */
@media (max-width: 1024px) {
    .airports-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 18px;
    }
    
    .section-title-compact {
        font-size: 36px;
    }
    
    .airport-info-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .airport-info-code {
        align-self: flex-end;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .coverage-section-compact {
        padding: 60px 0;
    }
    
    .coverage-header {
        margin-bottom: 30px;
    }
    
    .section-title-compact {
        font-size: 32px;
    }
    
    .section-subtitle-compact {
        font-size: 16px;
    }
    
    .airports-grid-modern {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .airport-card-modern {
        padding: 15px;
    }
    
    .airport-header {
        gap: 12px;
    }
    
    .airport-icon {
        width: 45px;
        height: 45px;
    }
    
    .airport-icon svg {
        width: 26px;
        height: 26px;
    }
    
    .airport-title h3 {
        font-size: 16px;
    }
    
    .airport-city {
        font-size: 13px;
    }
    
    .airport-info-display {
        padding: 20px;
    }
    
    .airport-info-title h3 {
        font-size: 24px;
    }
    
    .airport-info-city {
        font-size: 16px;
    }
    
    .airport-info-code {
        width: 70px;
        height: 45px;
        font-size: 16px;
    }
    
    .airport-services-grid {
        grid-template-columns: 1fr;
    }
    
    .btn-coverage-contact {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }
}

/* Petits mobiles (max-width: 480px) */
@media (max-width: 480px) {
    .coverage-section-compact {
        padding: 40px 0;
    }
    
    .section-title-compact {
        font-size: 28px;
    }
    
    .airport-card-modern {
        padding: 12px;
    }
    
    .airport-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .airport-icon {
        width: 40px;
        height: 40px;
    }
    
    .airport-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .airport-title h3 {
        font-size: 15px;
    }
    
    .airport-city {
        font-size: 12px;
    }
    
    .airport-code {
        width: 45px;
        height: 25px;
        font-size: 11px;
    }
    
    .airport-info-display {
        padding: 15px;
    }
    
    .airport-info-header {
        gap: 10px;
    }
    
    .airport-info-icon {
        font-size: 36px;
    }
    
    .airport-info-title h3 {
        font-size: 20px;
    }
    
    .airport-info-city {
        font-size: 14px;
    }
    
    .airport-info-code {
        width: 60px;
        height: 40px;
        font-size: 14px;
    }
    
    .service-item-modern {
        padding: 12px;
    }
    
    .service-icon {
        font-size: 20px;
    }
    
    .service-text {
        font-size: 13px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* ÉTATS DE FOCUS ET ACCESSIBILITÉ                                             */
/* ═══════════════════════════════════════════════════════════════════════════ */

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

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

/* Amélioration pour les utilisateurs préférant moins d'animations */
@media (prefers-reduced-motion: reduce) {
    .airport-card-modern,
    .airport-info-display,
    .service-item-modern,
    .btn-coverage-contact {
        animation: none;
        transition: none;
    }
    
    .airport-card-modern:hover {
        transform: none;
    }
}

