/* Style de base */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

/* En-tête */
.main-header {
    background-color: #E74C3C; /* Couleur principale tirée du logo */
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 80px;
    width: auto;
}

.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: -webkit-flex; /* Ajoutez -webkit- pour Safari */
    display: flex;
}

.navbar ul li {
    margin: 0 15px;
}

.navbar ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.8em;
}

/* Section Hero */
.hero-section {
    background-color: #F9F9F9;
    text-align: center;
    padding: 100px 20px;
    background-image: url('img/banniere.png'); /* Image de fond de la bannière */
    background-size: cover;
    color: #2C3E50;
}

.hero-banner h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hero-banner p {
    font-size: 1.2em;
}

/* Section "À Propos" */
.about-section {
    padding: 60px 20px;
    background-color: #FFF;
    text-align: left;
}

.social-links img {
    width: 30px;
    margin: 0 10px;
}

/* Section "Articles" */
.articles-section {
    padding: 40px 20px;
    background-color: #F3F3F3;
}

.articles-section ul {
    list-style-type: none;
    padding: 0;
}

.articles-section ul li {
    margin: 10px 0;
}

.articles-section ul li a {
    color: #E74C3C;
    text-decoration: none;
    font-weight: bold;
}

/* Pied de page */
.main-footer {
    background-color: #2C3E50;
    color: white;
    text-align: center;
    padding: 20px;
}

.footer-social-links img {
    width: 30px;
    margin: 0 10px;
}

/* Section Écologie */
.ecologie-section {
    padding: 60px 20px;
    background-color: #FFF;
    text-align: center;
}

.ecologie-section h2 {
    color: #2C3E50;
    font-size: 2.2em;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 2px solid #E74C3C;
    display: inline-block;
    padding-bottom: 5px;
}

.ecologie-section p {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #333;
}

.ecologie-gallery {
    display: flex; /* Utilisation de Flexbox */
    flex-wrap: wrap; /* Permet de passer à la ligne si nécessaire */
    justify-content: center; /* Centre les éléments horizontalement */
    gap: 20px;
    padding: 0px 0; /* Ajout de marges pour espacement */
}

.ecologie-gallery img {
    width: 100%;
    height: auto;
    max-width: 300px; /* Taille maximale des images */
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    margin: 0 auto; /* Centre chaque image individuellement */
}

.ecologie-gallery img:hover {
    transform: scale(1.05);
}

/* Styles pour l'affichage plein écran de l'image */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 500px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.modal-content, .close {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform: scale(0)} 
    to {transform: scale(1)}
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
    text-align: center;
}

/* Dropdown button */
.dropbtn {
    background-color: #E74C3C;
    color: white;
    padding-top: 5px;
    font-weight: bold;
    text-decoration: none;
    display: block;
    text-align: center;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    left: 50%;
    background-color: #E74C3C;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.8em;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #f6c57f;
    color: white;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .dropdown-content {
        position: relative;
        min-width: 100%;
    }
}

/* Section Boycott */
.boycott-section {
    padding: 60px 20px;
    background-color: #FFF;
    text-align: center;
}

.boycott-section h2 {
    color: #2C3E50;
    font-size: 2.2em;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 2px solid #E74C3C;
    display: inline-block;
    padding-bottom: 5px;
}

.boycott-section p {
    text-align: left;
}

.boycott-gallery {
    text-align: center;
    margin: 30px auto;
}

.boycott-gallery img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.boycott-gallery img:hover {
    transform: scale(1.05);
}

/* Styles for the download buttons */
.download-buttons {
    display: flex;
    justify-content: center; /* Centers the buttons horizontally */
    gap: 20px; /* Adds space between the buttons */
    margin: 30px auto; /* Adjusts the spacing around the buttons */
    align-items: center; /* Ensures buttons are vertically aligned */
}

.download-buttons img {
    width: 150px; /* Set a standard width for the buttons */
    height: auto; /* Keep aspect ratio */
    transition: transform 0.3s ease; /* Adds a hover effect */
}

.download-buttons img:hover {
    transform: scale(1.05); /* Slight zoom on hover */
}

/* Section Médias */
.medias-section {
    padding: 60px 20px;
    background-color: #FFF;
    text-align: center;
}

.medias-section h2 {
    color: #2C3E50;
    font-size: 2.2em;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 2px solid #E74C3C;
    display: inline-block;
    padding-bottom: 5px;
}

.medias-section p {
    text-align: left;
}

.media-map {
    margin: 30px auto;
    margin-left: 300px;
    margin-right: 300px;
    text-align: center;
}

.media-map img {
    width: 100%;
    max-width: 950px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Conteneur de la carte zoomable */
.zoom-container {
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
}

.zoom-image {
    -webkit-transition: -webkit-transform 0.2s ease;
    transition: transform 0.2s ease;
    width: 100%;
    height: auto;
    max-width: 950px;
}

/* Section Femme */
.femme-section {
    padding: 60px 20px;
    background-color: #FFF;
    text-align: center;
}

.femme-section h2 {
    color: #2C3E50;
    font-size: 2.2em;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 2px solid #E74C3C;
    display: inline-block;
    padding-bottom: 5px;
}

.femme-section p {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #333;
}

.femme-gallery {
    display: flex; /* Utilisation de Flexbox */
    flex-wrap: wrap; /* Permet de passer à la ligne si nécessaire */
    justify-content: center; /* Centre les éléments horizontalement */
    gap: 20px;
    padding: 0px 0; /* Ajout de marges pour espacement */
}

.femme-gallery img {
    width: 100%;
    height: auto;
    max-width: 300px; /* Taille maximale des images */
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    margin: 0 auto; /* Centre chaque image individuellement */
}

.femme-gallery img:hover {
    transform: scale(1.05);
}

/* Section Harcèlement */
.harcelement-section {
    padding: 60px 20px;
    background-color: #FFF;
    text-align: center;
}

.harcelement-section h2 {
    color: #2C3E50;
    font-size: 2.2em;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 2px solid #E74C3C;
    display: inline-block;
    padding-bottom: 5px;
}

.harcelement-section p {
    text-align: left;
}

.harcelement-visual {
    text-align: center;
    margin: 30px auto;
}

.harcelement-visual img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.harcelement-visual img:hover {
    transform: scale(1.05);
}

/* Section Pauvreté */
.pauvrete-section {
    padding: 60px 20px;
    background-color: #FFF;
    text-align: center;
}

.pauvrete-section h2 {
    color: #2C3E50;
    font-size: 2.2em;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 2px solid #E74C3C;
    display: inline-block;
    padding-bottom: 5px;
}

.pauvrete-section p {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #333;
}

.pauvrete-gallery {
    display: flex; /* Utilisation de Flexbox */
    flex-wrap: wrap; /* Permet de passer à la ligne si nécessaire */
    justify-content: center; /* Centre les éléments horizontalement */
    gap: 20px;
    padding: 0px 0; /* Ajout de marges pour espacement */
}

.pauvrete-gallery img {
    width: 100%;
    height: auto;
    max-width: 300px; /* Taille maximale des images */
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    margin: 0 auto; /* Centre chaque image individuellement */
}

.pauvrete-gallery img:hover {
    transform: scale(1.05);
}

/* Styles de base pour les mobiles */
@media (max-width: 768px) {
    .main-header {
        background-color: #E74C3C;
        padding: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: column; /* Ajout pour centrer le contenu verticalement */
    }
    
    .logo {
        height: 80px;
        width: auto;
        margin-bottom: 10px; /* Ajout pour espacer le logo du menu */
    }
    
    .navbar {
        width: 100%; /* Assure que le menu prend toute la largeur */
    }
    
    .navbar ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center; /* Centre les éléments horizontalement */
        flex-direction: column; /* Empile les éléments verticalement */
        align-items: center; /* Centre les éléments alignés verticalement */
    }
    
    .navbar ul li {
        margin: 5px 0; /* Réduire les marges pour un meilleur espacement sur mobile */
        width: 100%; /* Assure que chaque élément occupe toute la largeur */
        text-align: center; /* Centre le texte */
    }
    
    .navbar ul li a {
        color: white;
        text-decoration: none;
        font-weight: bold;
        display: block; /* Assure que chaque lien occupe toute la largeur */
        padding: 10px 20px; /* Ajouter de l'espacement autour des liens */
    }

    .zoom-image {
        width: 100%;
        height: auto;
        max-width: 100%; /* Assurez que l'image prend toute la largeur de l'écran sur mobile */
    }
    
    .media-map {
        margin: 0 auto; /* Centrer l'image sans marge */
    }
}

/* Section Engagement */
.engagement-section {
    padding: 60px 20px;
    background-color: #FFF;
    text-align: center;
}

.engagement-section h2 {
    color: #2C3E50;
    font-size: 2.2em;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 2px solid #E74C3C;
    display: inline-block;
    padding-bottom: 5px;
}

.engagement-section p {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #333;
}

.engagement-gallery {
    /* display: flex; /* Utilisation de Flexbox */
    flex-wrap: wrap; /* Permet de passer à la ligne si nécessaire */
    justify-content: center; /* Centre les éléments horizontalement */
    gap: 20px;
    padding: 0px 0; /* Ajout de marges pour espacement */
}

.engagement-gallery img {
    width: 100%;
    height: auto;
    max-width: 300px; /* Taille maximale des images */
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    margin: 0 20px; /* Centre chaque image individuellement */
}

.engagement-gallery img:hover {
    transform: scale(1.05);
}

/* Section Rencontre */
.rencontre-section {
    padding: 60px 20px;
    background-color: #FFF;
    text-align: center;
}

.rencontre-section h2 {
    color: #2C3E50;
    font-size: 2.2em;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 2px solid #E74C3C;
    display: inline-block;
    padding-bottom: 5px;
}

.rencontre-section p {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #333;
}

.carte-visual {
    text-align: center;
    margin: 30px auto;
}

.carte-visual img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.carte-visual img:hover {
    transform: scale(1.05);
}

.text-rencontre-gallery p {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #333;
}

.rencontre-gallery {
    display: flex; /* Utilisation de Flexbox */
    flex-wrap: wrap; /* Permet de passer à la ligne si nécessaire */
    justify-content: center; /* Centre les éléments horizontalement */
    gap: 20px;
    padding: 20px 0; /* Ajout de marges pour espacement */
}

.rencontre-gallery img {
    width: 100%;
    height: auto;
    max-width: 300px; /* Taille maximale des images */
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    margin: 0 auto; /* Centre chaque image individuellement */
}

.rencontre-gallery img:hover {
    transform: scale(1.05);
}