/* NAV BAR */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FF6B35;
    --secondary-color: #004E89;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 5px;
    transition: all 0.3s ease;
}


/* Version mobile */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 2rem;
        transition: right 0.5s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .burger {
        display: block;
    }

    .burger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger.toggle .line2 {
        opacity: 0;
    }

    .burger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}


/* ACCUEIL */

.hero {
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('NELTA\ -\ Groupe.png') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-button {
    padding: 0; 
    margin-top: 1rem;
    background: var(--primary-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    overflow: hidden; 
}

.cta-link {
    display: inline-block;
    padding: 1rem 2rem; 
    color: white !important; 
    text-decoration: none !important; 
    width: 100%;
    height: 100%;
    font-family: inherit; 
}

.cta-button:hover {
    background: var(--secondary-color);
}

.cta-link:hover {
    color: white !important; 
}

.cta-link:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}


/* MISSION */

.mission {
    padding: 4rem 0;
    background: #f8f9fa;
}

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

.mission-content h2 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.lead {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.objective-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.objective-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.objective-card ul {
    list-style: none;
    padding-left: 1rem;
}

.objective-card li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.objective-card li::before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.values-section {
    margin: 4rem 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.value-item h4 {
    color: var(--secondary-color);
    margin: 1rem 0;
}

.slogan {
    text-align: center;
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin: 4rem auto;
    max-width: 800px;
    font-style: italic;
    padding: 2rem;
    border-left: 4px solid var(--primary-color);
    background: rgba(255,107,53,0.05);
}

/* Responsive */
@media (max-width: 768px) {
    .objective-card {
        padding: 1.5rem;
    }
    
    .slogan {
        font-size: 1.1rem;
        padding: 1rem;
    }
}


/* ACTIVIES */

/* Activités Section */
.activities {
    padding: 4rem 0;
    background: white;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.activity-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-5px);
}

.activity-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.activity-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.activity-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.activity-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.activity-card li::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
}

/* Statistiques */
.stats-section {
    margin: 4rem 0;
    padding: 2rem;
    background: var(--secondary-color);
    border-radius: 10px;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    .activity-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}


/* SPONSORS */

.sponsors {
    padding: 5rem 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 3rem;
}

.scroller-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo-scroller {
    display: inline-flex;
    gap: 4rem;
    padding: 2rem 0;
    animation: scroll 40s linear infinite;
}

.logo-item {
    flex: 0 0 auto;
    width: 200px;
    height: 120px;
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    display: grid;
    place-items: center;
}

.logo-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.logo-item img {
    max-width: 160px;
    max-height: 80px;
    transition: all 0.3s ease;
}

.logo-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.1)
}

.controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.control-btn {
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    pointer-events: all;
}

.control-btn:hover {
    background: white;
    transform: scale(1.1);
}

.control-btn svg {
    width: 24px;
    height: 24px;
    fill: #1a1a1a;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Pause au survol */
.logo-scroller:hover {
    animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
    .logo-scroller {
        gap: 2rem;
        animation-duration: 25s;
    }
    
    .logo-item {
        width: 150px;
        height: 100px;
        padding: 1rem;
    }
    
    .control-btn {
        width: 40px;
        height: 40px;
    }
}


/* CONTACT*/

/* Contact Section */
.contact-section {
    width: 100%;
    min-height: 100vh;
    padding: 4rem 0;
    background: linear-gradient(135deg, #004e89, #002d4a);
    color: white;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 0 2rem;
}

.contact-form, .social-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.contact-form h2, .social-section h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    position: relative;
}

.contact-form h2::after, .social-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #ff6b35;
}

/* Style des inputs */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #ff6b35;
    font-size: 1.1rem;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: #ff6b35;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

/* Style du bouton */
.submit-btn {
    width: 100%;
    padding: 15px;
    background: #ff6b35;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #ff4500;
    transform: translateY(-2px);
}

/* Section Réseaux Sociaux */
.social-icons {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link.linkedin { background: #0077b5; }
.social-link.instagram { background: #e1306c; }

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.contact-info p {
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-info i {
    width: 25px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .social-section {
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}


/* FOOTER */

.main-footer {
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    color: white;
    padding: 4rem 0 0;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.footer-col {
    padding: 1rem;
}

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    color: #ff6b35;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: currentColor;
}

.footer-col p {
    line-height: 1.6;
    opacity: 0.9;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin: 0.8rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-col a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #ff6b35;
}

/* Icônes sociales */
.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon.twitter { background: #1DA1F2; }
.social-icon.tiktok { background: #000000; }
.social-icon.facebook { background: #1877F2; }
.social-icon.youtube { background: #FF0000; }

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Copyright */
.copyright {
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-col ul li {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}


/* Bouton Scroll to Top */

:root {
    --scroll-color: linear-gradient(45deg, #ff6b35, #ff4500);
    --scroll-size: 50px;
}

.scroll-top {
    position: fixed;
    bottom: -60px;
    right: 30px;
    width: var(--scroll-size);
    height: var(--scroll-size);
    background: var(--scroll-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 20px rgba(255,107,53,0.3);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
}

.scroll-top.show {
    bottom: 30px;
    opacity: 1;
    visibility: visible;
}

.scroll-top i {
    color: white;
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.scroll-top:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(255,107,53,0.4);
}

.scroll-top:hover i {
    transform: translateY(-3px);
}

/* Animation d'apparition */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.scroll-top:active {
    animation: pulse 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .scroll-top {
        right: 15px;
        bottom: -60px;
        width: 40px;
        height: 40px;
    }
    
    .scroll-top.show {
        bottom: 20px;
    }
}