/* Import des polices et variables */
@import url('https://fonts.googleapis.com/css2?family=Dela+Gothic+One&family=Montserrat:wght@300;400;600&family=Playfair+Display:ital@0;1&display=swap');

:root {
    --primary-color: #1a1a1a;
    --accent-color: #4CAF50; /* Vert pour la nature */
    --secondary-color: #FF4B4B; /* Rouge pour l'énergie */
    --text-color: #ffffff;
    --gradient-start: rgba(76, 175, 80, 0.2); /* Vert transparent */
    --gradient-end: rgba(255, 75, 75, 0.2); /* Rouge transparent */
    --glassmorphism-bg: rgba(255, 255, 255, 0.1);
    --glassmorphism-border: rgba(255, 255, 255, 0.2);
    --shadow-color: rgba(0, 0, 0, 0.2);
    --transition-speed: 0.3s;
    --heading-font: 'Dela Gothic One', cursive;
    --body-font: 'Montserrat', sans-serif;
    --serif-font: 'Playfair Display', serif;
}

/* Reset de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    overflow-x: hidden;
    background-color: var(--primary-color);
    line-height: 1.6;
}

/* Barre de progression de défilement */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 1100;
}

.scroll-progress-bar {
    width: 0;
    height: 100%;
    background: var(--accent-color);
    transition: width 0.2s ease;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Header de navigation */
.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

a{
    text-decoration: none;
    color: white;
}

.nav-header .title {
    font-family: var(--heading-font);
    font-size: 2rem;
    color: var(--text-color);
    text-align: center;
    flex: 1;
    margin: 0 10px; /* Adjusted margin to center the title */
}

/* Menu Burger */
.menu-toggle {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-toggle i {
    color: var(--text-color);
    font-size: 20px;
    transition: transform 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.05);
}

/* Navigation principale */
.main-nav {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center; /* Center vertically */
}

.main-nav.active {
    transform: translateX(300px);
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.main-nav li {
    width: 100%;
}

.main-nav li a {
    display: flex;
    align-items: center;
    padding: 20px 30px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.main-nav li a i {
    width: 30px;
    margin-right: 15px;
    font-size: 1.2em;
}

.main-nav li a:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 40px;
    color: white;
}

/* Bouton Adhérer */
.adhesion-button {
    background: rgba(230, 54, 54, 0.9);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 0 25px;
    height: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.adhesion-button i {
    font-size: 18px;
}

.adhesion-button:hover {
    transform: translateY(-2px);
    background: rgba(230, 54, 54, 1);
    box-shadow: 0 5px 15px rgba(230, 54, 54, 0.3);
}

/* Section Nous Trouver */
.nous-trouver-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 80px 20px; /* Added padding to create space between nav and info */
    align-items: center;
}

.contact-info {
    color: var(--text-color);
    text-align: center;
    margin-top: 20px; /* Added margin to create space between title and info */
}

.contact-info p {
    margin: 10px 0;
    line-height: 1.8;
    font-size: 1rem;
}

.contact-info p strong {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.contact-info i {
    margin-right: 10px;
    color: var(--accent-color);
}

.map-container {
    width: 100%;
    max-width: 600px;
    height: 400px;
    border: 2px solid var(--accent-color);
    border-radius: 10px;
    overflow: hidden;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 40px 20px;
    text-align: center;
    border-top: 2px solid var(--accent-color);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.footer-info, .footer-association {
    flex: 1;
    min-width: 300px;
}

.footer-info p, .footer-association p {
    margin: 10px 0;
    line-height: 1.8;
    font-size: 1rem;
}

.footer-info p strong {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.footer-association p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-info, .footer-association {
        text-align: center;
    }

    .nav-header {
        flex-direction: column;
        align-items: center;
    }

    .nav-header .title {
        margin: 10px 0;
    }

    .main-nav {
        width: 100%;
        left: -100%;
        top: 60px; /* Adjusted top to prevent overlap */
    }

    .main-nav.active {
        transform: translateX(100%);
    }

    .main-nav ul {
        padding-top: 20px;
    }

    .nous-trouver-container {
        padding: 60px 10px; /* Adjusted padding for smaller screens */
    }

    .map-container {
        width: 100%;
        height: 300px; /* Adjusted height for smaller screens */
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-info, .footer-association {
        text-align: center;
        margin-bottom: 20px;
    }

    .following-content {
        margin-top: 120px; /* Added margin to prevent overlap */
    }

    .adhesion-button {
        margin-top: 10px; /* Added margin to create space between nav and adhesion button */
    }
}



