/* Importation d'une police Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* Couleurs */
:root {
    --color-white: #fff;
    --color-green: #005f30;
    --color-gold: #e8dfc8;
    --color-black: #000;
    --color-red: #ff0000;
}

/* Styles généraux */
body, h1, h2, h3, p {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    color: var(--color-black);
}

body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: var(--color-gold);
}

.since h3 {
    font-size: 1.5em;
    font-style: italic;
    font-weight: 400;
    color: #04530f;
    margin-bottom: 30px;
    text-align: center;
}

/* Pop-up styles */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    max-width: 95%;
    max-height: 95%;
    overflow-y: auto;
    position: relative;
    border-radius: 10px;
    padding: 0;
}

.popup-flyer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.popup-flyer-image {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5em;
    cursor: pointer;
    color: #fff;
    background-color: #ff0000;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hero section */
.hero {
    background: var(--color-gold);
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 0.5em;
    color: var(--color-green);
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 1.5em;
}

.cta {
    padding: 0.75em 1.5em;
    background-color: var(--color-green);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    transition: background-color 0.3s;
}

.cta:hover {
    background-color: #c8961e;
}

/* Effet de survol sur les images */
.stats-image,
.flyer-image {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
}

.stats-image:hover,
.flyer-image:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Image centrale */
.stats-image {
    width: 100%;
    max-width: 800px;
    object-fit: cover;
    display: block;
    margin: 20px auto;
    border-radius: 10px;
}

/* Section de statistiques */
.statistics {
    text-align: center;
    padding: 50px 20px;
    background-color: var(--color-gold);
    margin-top: 40px;
}

.statistics h2 {
    font-size: 2.5em;
    color: var(--color-black);
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    justify-items: center;
}

.stat-item {
    background-color: var(--color-white);
    color: var(--color-black);
    border-radius: 10px;
    padding: 30px;
    width: 320px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid var(--color-black);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.stat-item h3 {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: var(--color-green);
}

.stat-item p {
    font-size: 1.2em;
    color: var(--color-black);
    background-color: var(--color-white);
}

/* Section En ce moment */
.en-ce-moment {
    text-align: center;
    padding: 40px 0;
}

.en-ce-moment h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--color-black);
}

.flyer-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.flyer-image {
    width: 48%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background-color: var(--color-gold);
    text-align: center;
    padding: 1em 0;
    margin-top: 50px;
    font-size: 1em;
    color: var(--color-black);
}

/* Responsive pour les petits écrans */
@media screen and (max-width: 768px) {
    .hero h1 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1em;
    }

    .statistics h2 {
        font-size: 1.8em;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-item {
        padding: 15px;
        width: 100%;
    }

    .stat-item h3 {
        font-size: 1.5em;
    }

    .stat-item p {
        font-size: 0.9em;
    }


    .flyer-container {
        flex-direction: column;
        align-items: center;
    }

    .flyer-image {
        width: 100%;
        margin-bottom: 20px;
    }

    .en-ce-moment h2 {
        font-size: 1.5em;
    }
}

