/* Sections */
.section {
    padding: 5rem 0;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-family: 'Orbitron', monospace;
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 3rem;
    color: var(--neon-blue);
    position: relative;
    letter-spacing: 0.1em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    box-shadow: 0 0 10px var(--neon-blue);
}



@media (max-width: 992px) {
    
    nav {
        border-radius: 0;
        box-shadow: 0;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        top: 100%;
        left: 0;
        position: absolute;
        width: 100%;
        background: var(--bg-darker);
        padding: 1rem;
        border: 1px solid var(--neon-blue);
        border-top: none;
        border-radius: 0;
        box-shadow: 0 10px 20px rgba(27, 172, 255, 0.25);
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.4s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    /* Animation du bouton hamburger */
    .hamburger {
        transition: transform 0.3s ease, background 0.3s ease;
        display: block;
    }

    .hamburger[aria-expanded="true"] {
        transform: rotate(90deg);
        background: var(--neon-blue);
        color: var(--bg-dark);
    }
} 

/* Responsive Sponsor pour petits écrans */
@media (max-width: 600px) {
    .sponsors-grid {
        grid-template-columns: 1fr;
    }

    .sponsor-card {
        min-height: 200px;
        padding: 1rem;
    }

    .sponsor-title {
        font-size: 1.1rem;
    }

    .sponsor-logo {
        width: 120px;
        height: 80px;
    }
}


/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-darker);
        padding: 1rem;
        box-shadow: 0 5px 20px rgba(27, 172, 255, 0.3);
    }

    .nav-links.active {
        display: flex;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .timeline-stats {
        flex-direction: column;
        gap: 0.5rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}


@media (max-width: 600px) {
    .hero h1 {
        font-size: 2.8rem;
        line-height: 1.2;
        word-break: break-word;
    }

    .section-title {
        font-size: 1.6rem;
        line-height: 1.2;
        text-align: center;
        letter-spacing: 0em;
    }

    .about-text h3 {
        font-size: 1.3rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }

    .about-text p,
    .info-card p,
    .timeline-item p,
    .faq-answer-content p,
    .archive-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        word-break: break-word;
    }

    .cta-button, .submit-btn, .inscription-text {
        padding: 0.6rem 1.2rem;
        font-size: 1rem;
    }


    .about-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .sponsors-grid {
        grid-template-columns: 1fr;
    }

    .archives-gallery {
        grid-template-columns: 1fr;
    }

    /* ESPACEMENTS GLOBAUX */
    .section {
        padding: 3rem 1rem;
    }

    .timeline-item h3 {
        font-size: 1.2rem;
        letter-spacing: 0em;
    }

    .timeline-item p {
        font-size: 0.90rem;
        letter-spacing: 0em;
    }
    .glitched-text-yellow::after {
        left: -0.05em;             
        width: 100%;         
        text-align: inherit;
    }

    .contact-container h2 {
        font-size: 1.3rem;
        text-align: left;
    }
}