/* Variables CSS pour cohérence */
:root {
    --primary-color: #dc3545;
    --secondary-color: #0d6efd;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --border-radius: 16px;
    --transition: all 0.3s ease;
}

/* Reset global pour éviter le débordement */
* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

img, iframe, video {
    max-width: 100%;

}

/* Hero Section avec overlay */
.hero-section {
    position: relative;
    height: 50vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(33, 37, 41, 0.85) 100%);
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 0 4rem;
    width: 100%;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 0.5rem;
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
    animation: fadeInUp 1s ease-out;
    color: white;
}

.hero-date {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.hero-btn {
    padding: 0.8rem 2rem;
    border: 2px solid white;
    background: transparent;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 5px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.hero-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.hero-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.hero-btn.active:hover {
    background: #c82333;
    border-color: #c82333;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Info Banner */
.info-banner {
    background: #001a30;
    color: white;
    padding: 2.5rem 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
}

.info-top-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.info-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.info-detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-detail-icon {
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.15);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.info-detail-content {
    display: flex;
    flex-direction: column;
}

.info-detail-label {
    font-size: 0.85rem;
    opacity: 0.8;
    font-weight: 500;
}

.info-detail-value {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
}

.action-social-section {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.social-links-banner {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.social-btn-banner {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.3rem;
    color: white;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.social-btn-banner:hover {
    background: rgba(40, 45, 49, 0.8);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    color: white;
}

/* Section Description */
.description-section {
    padding: 4rem 2rem;
}

.description-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: start;
}

.description-container.no-description {
    grid-template-columns: 1fr;
    justify-items: center;
}

.content-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-align: center;
    grid-column: 1 / -1;
}

.description-content {
    display: flex;
    flex-direction: column;
}

.description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 2rem;
}

.description p {
    margin-bottom: 1.5rem;
}

/* Publicité carrée */
.ad-square {
    position: sticky;
    top: 100px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 15px;
    padding: 0.2rem;
    min-height: 200px;
    max-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    min-width: 250px;
}

.ad-square .adsbygoogle {
    width: 100%;
    min-width: 250px;
    display: block;
    min-height: 200px;
    max-height: 300px;
}

.ad-label {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(220, 53, 69, 0.3);
    color: white;
    padding: 5px 10px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 10;
    backdrop-filter: blur(4px);
}

.ad-placeholder {
    color: #6c757d;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Publicité horizontale */
.ad-horizontal-section {
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.ad-horizontal {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 15px;
    padding: 0.2rem;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    width: 100%;
    min-width: 320px;
}

.ad-horizontal .adsbygoogle {
    width: 100%;
    min-width: 320px;
    display: block;
    min-height: 100px;
}

/* Boutons d'affiliation en ligne */
.affiliate-buttons-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
    justify-content: center;
}

.affiliate-btn-inline {
    background: linear-gradient(135deg, var(--primary-color), #c82333);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(220, 53, 69, 0.3);
    transition: var(--transition);
    text-transform: capitalize;
}

.affiliate-btn-inline:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.5);
    color: white;
}

/* Poster dans la section Map */
.poster-column-map {
    display: flex;
    flex-direction: column;
}

.poster-column-map h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.event-poster {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.event-poster:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

/* Map & Highlights Section */
.map-highlights-section {
    background: rgba(0, 26, 48, 0.05);
    padding: 4rem 2rem;
}

.map-highlights-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.map-highlights-container.no-poster {
    grid-template-columns: 1fr;
}

.map-column h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.map-embed-new {
    width: 100%;
    height: 450px;
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}


/* Section Plateau */
.aircraft-section {
    background: var(--light-color);
    padding: 4rem 2rem;
}

.aircraft-container {
    max-width: 1400px;
    margin: 0 auto;
}

.aircraft-container h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-align: center;
}

.legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    font-weight: 600;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}

.badge-static {
    background: #001a30;
    color: white;
}

.badge-dynamic {
    background: linear-gradient(135deg, var(--primary-color), #c82333);
    color: white;
}

.aircraft-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.aircraft-card {
    position: relative;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: block;
}

.aircraft-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.aircraft-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.aircraft-card:hover .aircraft-image {
    transform: scale(1.1);
}

.aircraft-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(0);
    transition: var(--transition);
}



.aircraft-badges {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
}

.badge-type {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
}

.aircraft-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: white;
}

.aircraft-registration {
    font-size: 1rem;
    color: #ffa726;
    font-weight: 500;
}

/* Notice */
.notice {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    border-radius: 6px;
    color: #0c5460;
}

.notice i {
    font-size: 1.25rem;
}

/* CTA Section */
.cta-section {
    background: #001a30;
    padding: 5rem 2rem;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.cta-btn {
    background: linear-gradient(135deg, var(--primary-color), #c82333);
    color: white;
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    display: inline-block;
    box-shadow: 0 5px 20px rgba(220, 53, 69, 0.4);
    transition: var(--transition);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(220, 53, 69, 0.6);
    color: white;
}

/* Responsive */
@media (max-width: 1024px) {
    .aircraft-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 400px;
        height: 50vh;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-date {
        font-size: 1.5rem;
    }

    .hero-content {
        padding: 0 0 2rem;
    }

    .info-top-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .action-social-section {
        justify-content: center;
    }

    .social-links-banner {
        justify-content: center;
    }

    .info-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .description-section {
        padding: 2rem 1rem;
    }

    .description-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ad-square {
        position: relative;
        top: 0;
        max-width: 300px;
        margin: 0 auto;
    }

    .affiliate-buttons-inline {
        flex-direction: row;
        justify-content: center;
    }

    .affiliate-btn-inline {
        flex: 0 1 auto;
    }

    .ad-horizontal-section {
        padding: 0 1rem;
        margin: 2rem auto;
    }

    .ad-horizontal {
        min-height: 150px;
        padding: 1.5rem;
    }

    .map-highlights-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .poster-column-map {
        max-width: 400px;
        margin: 0 auto;
    }

    .map-embed-new {
        height: 300px;
    }

    .aircraft-grid {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding: 3rem 2rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-subtitle {
        font-size: 1rem;
    }

    .cta-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .description-section,
    .map-highlights-section,
    .aircraft-section,
    .cta-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .description-container,
    .map-highlights-container,
    .aircraft-container {
        gap: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-date {
        font-size: 1.2rem;
    }

    .affiliate-btn-inline {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .ad-square,
    .ad-horizontal {
        min-width: 280px;
    }

    .ad-square .adsbygoogle,
    .ad-horizontal .adsbygoogle {
        min-width: 240px;
    }
}
