html {
    scroll-behavior: smooth; /* Défilement fluide */
}

/* Global Styles */
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Global Image Styling */
img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px; /* Ajoute un effet arrondi si souhaité */
}

/* Uniformiser la Taille des Images */
.uniform-image {
    width: 250px; /* Largeur fixe */
    height: 250px; /* Hauteur fixe */
    object-fit: cover; /* Maintient les proportions et recadre l'image si nécessaire */
    border-radius: 8px; /* Coins arrondis */
    margin-bottom: 1rem; /* Espacement entre les images */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optionnel : ajoute un effet d'ombre */
}

/* Section: Team & Gallery */
.team .member img,
.gallery .category img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    margin-bottom: 1rem; /* Espacement entre les images sur mobile */
}

/* Responsive: Espacement des Images sur Mobile */
@media screen and (max-width: 768px) {
    .team, .gallery {
        flex-direction: column;
        align-items: center;
        gap: 1rem; /* Augmente l'espace entre les éléments */
    }

    .team .member img,
    .gallery .category img {
        width: 90%; /* Images prennent 90% de la largeur du conteneur */
        height: auto; /* Ajuste la hauteur automatiquement */
    }
}

/* Header général */
header {
    font-family: 'Montserrat', sans-serif;
    background: #007b5e;
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #fff;
    flex-shrink: 0; /* Empêche le logo de rétrécir */
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
}

.logo span {
    font-size: 1.3rem;
    font-weight: 500;
    white-space: nowrap; /* Évite les retours à la ligne */
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    text-align: center;
    flex: 1; /* Prend tout l'espace restant entre le logo et les liens */
    justify-content: flex-end; /* Aligne les liens à droite */
}

.nav-links li a {
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #ffce54;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 0.4rem;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 4px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.4s ease, background 0.4s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 8px);
    background: #ff3b3b;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -9px);
    background: #ff3b3b;
}

/* Responsiveness */
@media (max-width: 1015px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        width: 250px;
        flex-direction: column;
        align-items: flex-start;
        background: rgba(14, 22, 11, 0.9);
        padding: 1.5rem;
        gap: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.4s ease;
    }

    .nav-links.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links li a {
        font-size: 1.1rem;
        text-align: left;
        padding: 0.5rem 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .logo img {
        width: 85px;
        height: 85px;
    }

    .logo span {
        font-size: 1.1rem;
    }

    .nav-links li a {
        font-size: 1rem;
    }
}

/*ACCUEIL*/

/* Hero Section */
.hero {
    position: relative;
    height: 100vh; /* Toujours couvrir toute la hauteur de l'écran */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background: url('images/29.jpg') center/cover no-repeat;
    background-attachment: fixed; /* L'image reste fixe */
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Couche sombre */
    z-index: -1;
    filter: blur(8px); /* Effet flou */
}

.hero-content {
    width: 90%; /* Largeur réduite pour s'adapter aux petits écrans */
    max-width: 600px; /* Limiter la largeur maximale */
    padding: 1rem;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
    line-height: 1.6;
}

.btn-primary {
    display: inline-block;
    font-size: 1.2rem;
    color: #fff;
    background: #007b5e;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease, transform 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: #16a085;
    transform: translateY(-3px);
    border: 2px solid #fff;
}

.btn-primary i {
    margin-right: 0.5rem;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .btn-primary {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .btn-primary {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

.hero {
    display: grid;
    place-items: center; /* Centre tout le contenu */
}


/*SECTION GALERIE */

/* Section principale */
.content-section {
    padding: 4rem 2rem;
    /* background-color: #f1f1f1; */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.content-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #005b3e;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Galerie Wrapper */
.gallery-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    /* justify-items: center; */
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    width: 100%;
}

/* Galerie Group */
.gallery-group {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 350px;
    text-align: center;
    align-items: center;
}

/* Hover effect */
.gallery-group:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Title of each group */
.gallery-group h3 {
    font-size: 1.75rem;
    padding: 1rem;
    background: #007b5e;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-weight: 500;
    text-transform: capitalize;
}

/* Image Container */
.image-container {
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.75rem;
}

/* Responsive Images */
.responsive-img {
    width: 100%;
    height: 250px; /* Hauteur fixe pour toutes les images */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    object-fit: cover; /* Cette propriété permet de remplir l'espace sans déformer l'image */
}

/* Hover effect on images */
.responsive-img:hover {
    transform: scale(1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}


/* Bouton Voir Plus */
.button-primary {
    display: inline-block;
    margin-top: 3rem; /* Ajouté pour espacer davantage le bouton */
    padding: 12px 20px;
    background-color: #005f47;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 25px;
    transition: background 0.3s ease, transform 0.3s ease;
    align-self: center; /* Centrer le bouton */
}

.button-primary:hover {
    background: #16a085;
    transform: translateY(-5px);
}

.button-primary i {
    margin-left: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .gallery-wrapper {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .gallery-wrapper {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .gallery-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .responsive-img {
        max-width: 100%;
    }
    
    /* .button-primary {
        width: 100%;
        padding: 1rem;
    } */
}

/* Services Section */
#services {
    /* background-color: #f9f9f9; */
    padding: 4rem 1rem;
    text-align: center;
}

#services h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #005b3e;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.services {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: stretch;
    margin-top: 3rem;
}

/* Service Card */
.service {
    text-align: center;
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
    flex: 1;
    max-width: 300px;
    min-width: 220px;
}

/* Hover Effect */
.service:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

/* Icon Styling */
.service i {
    font-size: 3rem;
    color: #007b5e;
    margin-bottom: 1rem;
}

/* Title Styling */
.service h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.8rem;
}

/* Description Text */
.service p {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Responsivity */
@media (max-width: 1024px) {
    .services {
        gap: 1.5rem;
        justify-content: center;
    }

    .service {
        max-width: 45%;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .services {
        gap: 1rem;
    }

    .service {
        max-width: 90%;
        padding: 1.2rem;
    }

    #services h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .services {
        gap: 0.8rem;
    }

    .service {
        max-width: 100%;
        padding: 1rem;
    }

    #services h2 {
        font-size: 1.8rem;
    }

    .service i {
        font-size: 2.5rem;
    }

    .service h3 {
        font-size: 1.2rem;
    }

    .service p {
        font-size: 0.9rem;
    }
}

                        /* PAGE A-PROPOS*/
/* Hero Section for About Page */
.heroabout {
    position: relative;
    height: 100vh; /* Toujours couvrir toute la hauteur de l'écran */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background: url('images/30.jpg') center/cover no-repeat; /* Modifier l'image selon le besoin */
    background-attachment: fixed; /* L'image reste fixe */
    overflow: hidden;
}

.heroabout::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Couche sombre */
    z-index: -1;
    filter: blur(8px); /* Effet flou */
}

.hero-contentabout {
    width: 90%; /* Largeur réduite pour s'adapter aux petits écrans */
    max-width: 600px; /* Limiter la largeur maximale */
    padding: 1rem;
}

.hero-contentabout h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-contentabout p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
    line-height: 1.6;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hero-contentabout h1 {
        font-size: 2.5rem;
    }

    .hero-contentabout p {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-contentabout h1 {
        font-size: 2rem;
    }

    .hero-contentabout p {
        font-size: 1rem;
    }
}

/* Section: About */
#about {
    /* background-color: #f9f9f9; */
    padding: 50px 0;
    font-family: 'Arial', sans-serif;
    color: #333;
}

#about h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #005b3e;
    margin-bottom: 1.5rem;
}

#about p {
    text-align: center;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

#about h3 {
    font-size: 1.75rem;
    color: #333;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

#about ul {
    list-style-type: none;
    padding-left: 0;
    text-align: center;
    font-size: 1.125rem;
    color: #555;
}

#about ul li {
    margin-bottom: 10px;
}

/* Team Section */
.team {
    display: flex;
    flex-direction: column; /* Image sous le texte */
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.team .member {
    text-align: center;
    max-width: 300px;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team .member:hover {
    transform: translateY(-10px);
}

.team .member img {
    width: 100%;
    height: auto;
    max-width: 400px; /* Limite la taille de l'image sur grand écran */
    border-radius: 8px;
    margin-top: 1rem; /* Marge pour espacer l'image du texte */
}

/* Responsive Styles */
@media (max-width: 768px) {
    #about {
        padding: 30px 20px;
    }

    #about h2 {
        font-size: 2rem;
    }

    .team {
        flex-direction: column;
        align-items: center;
    }

    .team .member {
        max-width: 90%;
        margin-bottom: 2rem;
    }

    #about ul {
        font-size: 1rem;
    }
}

/* Style du bouton Voir Plus */
.btn-primaryabout {
    display: inline-block;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    background-color: #005b3e;
    color: white;
    border-radius: 25px;
    border: 2px solid transparent;
    transition: background-color 0.3s, border-color 0.3s, transform 0.3s ease;
    margin-top: 20px;
    cursor: pointer;
}

.btn-primaryabout:hover {
    background: #16a085;
    transform: translateY(-5px); /* Effet de survol */
}

.btn-primaryabout:focus {
    outline: none;
    box-shadow: 0 0 5px 2px rgba(0, 91, 62, 0.5); /* Ombre autour du bouton */
}

@media screen and (max-width: 768px) {
    .btn-primaryabout {
        font-size: 0.9rem; /* Réduire la taille du texte sur petits écrans */
        padding: 10px 15px; /* Ajuster les espacements */
    }
}

/* Fun Facts Section */
.fun-facts {
    background-color: #f3f4f6;
    padding: 4rem 1rem;
    text-align: center;
}

.fun-facts .title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.fun-facts .facts {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: stretch;
    margin-top: 3rem;
}

/* Fun Fact Card */
.fun-facts .fact {
    text-align: center;
    max-width: 300px;
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
    flex: 1;
    max-width: 100%;
    min-width: 220px;
}

/* Hover Effect */
.fun-facts .fact:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

/* Icon Styling */
.fun-facts .fact i {
    font-size: 3rem;
    color: #007b5e;
    margin-bottom: 1rem;
}

/* Title Styling */
.fun-facts .fact h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.8rem;
}

/* Description Text */
.fun-facts .fact p {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Responsivity */
@media (max-width: 1024px) {
    .fun-facts .facts {
        gap: 1.5rem;
        justify-content: center;
    }

    .fun-facts .fact {
        max-width: 45%;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .fun-facts .facts {
        gap: 1rem;
    }

    .fun-facts .fact {
        max-width: 90%;
        padding: 1.2rem;
    }

    .fun-facts .title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .fun-facts .facts {
        gap: 0.8rem;
    }

    .fun-facts .fact {
        max-width: 100%;
        padding: 1rem;
    }

    .fun-facts .title {
        font-size: 1.8rem;
    }

    .fun-facts .fact i {
        font-size: 2.5rem;
    }

    .fun-facts .fact h3 {
        font-size: 1.2rem;
    }

    .fun-facts .fact p {
        font-size: 0.9rem;
    }
}


/* Testimonials Section */
.testimonials-container {
    position: relative;
    overflow: hidden;
    max-width: 100%; /* Ensure the container takes full width */
}

.testimonials {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
}

.testimonial {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    width: 250px; /* Adjust width to control size */
    height: 200px; /* Set a fixed height for uniform blocks */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 14px; /* Adjust text size if necessary */
    line-height: 1.5;
    height: 100px; /* Limit text height */
    overflow: hidden;
}

.testimonial h3 {
    font-weight: bold;
    color: #007b5e;
    font-size: 16px; /* Adjust font size of name */
    margin-top: auto;
}

/* Arrows (optional) */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    font-size: 18px;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}
                            /** FIN PAGE A-PROPOS/

                            /* Section Styling */
.section {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #007b5e;
}

.team, .gallery {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.team .member, .gallery .category {
    text-align: center;
    max-width: 300px;
}

.team .member img, .gallery .category img {
    width: 100%;
    border-radius: 8px;
}

.contact-info p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.contact-info i {
    color: #007b5e;
    margin-right: 0.5rem;
}

                        /* Contact Form */
form {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

form input, form textarea {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

form button {
    align-self: center;
    cursor: pointer;
}

/* Footer */
footer {
    background: #333; /* Couleur de fond */
    color: #fff; /* Couleur du texte */
    padding: 1rem 0; /* Espacement vertical */
    text-align: center; /* Centrage du texte */
    width: 100%; /* S'étend sur toute la largeur */
    box-sizing: border-box; /* Gère le padding dans la largeur totale */
}

footer a {
    color: #007b5e; /* Couleur des liens */
    text-decoration: underline; /* Lien souligné */
    font-weight: bold; /* Lien en gras */
}

footer a:hover {
    color: #005f47; /* Couleur des liens au survol */
}


                        /* PAGE DALERIE*/
/* Section Galerie */
.gallery {
    text-align: center;
    padding: 2rem 1rem;
    background-color: #f9f9f9;
}

.gallery h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: bold;
}

.gallery p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #ffffff;
}

.gallery-category {
    margin-bottom: 4rem;
}

.gallery-category h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #16a085;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 0 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: calc(33.33% - 1.5rem);
    max-width: 300px; /* Limite la largeur maximale */
    height: 300px; /* Hauteur fixe */
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(90%);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    animation: fadeIn 0.3s ease;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .gallery h1 {
        font-size: 2.2rem;
    }

    .gallery-category h2 {
        font-size: 1.8rem;
    }

    .gallery-grid {
        gap: 1rem;
    }

    .gallery-item {
        width: calc(50% - 1rem);
        max-width: 250px; /* Limite la largeur sur les petits écrans */
        height: 250px; /* Ajuste la hauteur */
    }

    .gallery-item img {
        height: 100%;
    }
}
/* Styles spécifiques pour les vidéos */
.videos video {
    width: 100%;
    max-height: 300px;
    border: 2px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    position: relative;
}
.videos .gallery-item p {
    color: #004d3f;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
}
.videos video::before {
    content: "Cliquez pour activer le son";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.videos video:hover::before {
    opacity: 1;
}

/* Responsive Design pour mobile */
@media screen and (max-width: 480px) {
    .gallery-grid.videos {
        grid-template-columns: 1fr; /* Une seule colonne sur mobile */
        gap: 1rem;
    }

    .videos video {
        max-width: 100%; /* Ajuste la largeur sans changer la taille */
        max-height: 250px; /* Réduit la hauteur pour les écrans plus petits */
    }

    .gallery-item p {
        font-size: 0.8rem; /* Texte plus petit pour mobile */
        color: #333;
    }
}

/* Section Backgallery (image de fond) */
.backgallery {
    width: 100%;
    height: 400px;
    background-image: url('images/52.jpg');
    background-size: cover;
    background-position: center;
    padding: 50px;
    color: white;
    text-align: center;
    box-sizing: border-box;
}
.backgallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Couche sombre */
    z-index: -1;
    filter: blur(8px); /* Effet flou */
}
.backgallery h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.backgallery p {
    font-size: 1.5rem;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .backgallery h1 {
        font-size: 3rem;
    }

    .backgallery p {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 480px) {
    .backgallery h1 {
        font-size: 3rem;
    }

    .backgallery p {
        font-size: 1.2rem;
    }
}
/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    max-width: 600px;
    background: #fff;
    padding: 1rem;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.modal-content img {
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.modal-content p {
    font-size: 1.2rem;
    color: #333;
}

.modal .close {
    position: absolute;
    top: 10px;
    right: 30px;
    font-size: 2.5rem;
    font-weight: bold;
    color: #ff3b3b;
    border-radius: 50%;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal .close:hover {
    color: #ff3b3b;
}


                        /* PAGE CONTACT */
/* Styles généraux pour la section de contact */
.contact-info {
    margin-bottom: 40px;
    font-family: 'Roboto', sans-serif;
}

/* Styles pour les items de contact */
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease-in-out;
}

.contact-item:hover {
    transform: translateX(5px); /* Effet léger au survol */
}

.contact-item i {
    font-size: 25px;
    margin-right: 15px;
    color: #16a085; /* Couleur dynamique des icônes */
    transition: color 0.3s ease;
}

.contact-item p {
    font-size: 17px;
    margin: 0;
    color: #555;
    font-weight: 400;
}

/* Styles pour le formulaire de contact */
.contact-form {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    max-width: 650px;
    margin: 0 auto;
    font-family: 'Poppins', sans-serif;
    transition: transform 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-5px); /* Légère remontée au survol du formulaire */
}

.contact-form h2 {
    font-size: 28px;
    font-weight: 600;
    color: #16a085;
    text-align: center;
    margin-bottom: 30px;
}

/* Styles pour les champs de texte */
.contact-form input,
.contact-form textarea {
    width: 95%;
    padding: 14px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
    background-color: #f7f7f7;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #16a085; /* Bordure verte lors du focus */
    outline: none;
}

.contact-form textarea {
    resize: vertical; /* Permet de redimensionner la hauteur */
    min-height: 150px;
}

/* Style du bouton */
.contact-form button {
    background-color: #16a085; /* Couleur du bouton */
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 17px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 100%;
}

.contact-form button:hover {
    background-color: #00796b; /* Couleur du bouton au survol */
    transform: translateY(-3px); /* Légère remontée lors du survol */
}

/* Ajout d'un effet de focus au bouton */
.contact-form button:focus {
    outline: none;
}

/* Labels */
.contact-form label {
    font-size: 17px;
    color: #333;
    margin-bottom: 10px;
    display: block;
}

/* Espacement entre les champs */
.contact-form input,
.contact-form textarea {
    margin-bottom: 20px;
}

/* Animation pour les champs de saisie */
@keyframes input-focus {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}

/* Animation pour le formulaire */
.contact-form {
    animation: input-focus 0.5s ease-in-out;
}


                    /* Style général de la section principale */
main.section.privacy {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #ffffff;
    color: #333;
    font-family: 'Roboto', sans-serif;
    line-height: 1.7;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    text-align: justify;
}
main.section.privacy h2 {
    text-align: center;
}
/* Titre principal */
.privacy-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #0b0c0c;
    text-align: center;
    border-bottom: 2px solid #007b5e;
    padding-bottom: 10px;
}

/* Titres des sections */
.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: #007b5e;
    margin-top: 2rem;
    border-bottom: 3px solid #007b5e;
    padding-bottom: 5px;
}

/* Texte des sections */
.section-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-top: 1rem;
    color: #555;
    text-align: justify;
}

/* Listes à puces */
.info-list, .rights-list {
    list-style: inside;
    margin-top: 1rem;
    margin-left: 2rem;
}

.info-list li, .rights-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    list-style: none;
}

.info-list li strong, .rights-list li strong {
    font-weight: bold;
    color: #007b5e;
}

/* Section des cookies */
.cookies-section {
    background-color: #f1f8f7;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.cookies-section p {
    font-size: 1.1rem;
    color: #555;
}

/* Section des informations du développeur et Contact */
.developer-info, .contact-section {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.developer-info h3, .contact-section h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #007b5e;
}

/* Section pour le contact de l'équipe */
.contact-email, .developer-link {
    font-weight: bold;
    color: #007b5e;
}

/* Espacement entre sections */
.intro-section,
.info-collection,
.use-of-info,
.sharing-info,
.cookies-section,
.security-info,
.your-rights,
.privacy-policy-update,
.developer-info,
.contact-section {
    margin-bottom: 2.5rem;
}

/* Espacement entre paragraphes dans les sections */
main.section.privacy p {
    margin-bottom: 1.5rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .privacy-title {
        font-size: 2rem;
        text-align: left;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-text {
        font-size: 1rem;
    }

    .info-list li, .rights-list li {
        font-size: 1rem;
    }

    .developer-info,
    .contact-section {
        padding: 1.5rem;
    }

    .cookies-section {
        padding: 1.5rem;
    }
}

/* Ajout de petites animations pour les éléments */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Animation de l'introduction des sections */
.intro-section,
.info-collection,
.use-of-info,
.sharing-info,
.cookies-section,
.security-info,
.your-rights,
.privacy-policy-update,
.developer-info,
.contact-section {
    animation: fadeIn 1s ease-out;
}

/* Effet de survol pour les liens */
a {
    color: #007b5e;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #004d3f;
}

/* Effet sur les titres de sections */
.section-title:hover {
    color: #004d3f;
    cursor: pointer;
}


                    /*STYLE POUR LE BANDEAU DE COKIES*/
/* Style pour le bandeau de cookies */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 16px;
    z-index: 1000;
}

.cookie-banner a {
    color: #ffb84d;
    text-decoration: none;
}

.cookie-banner button {
    background-color: #ffb84d;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

.cookie-banner button:hover {
    background-color: #f89c42;
}

                /*STYLE POUR LE BOUTON SE SCROLL VERS LE HAUT*/
/* Scroll to Top Button */
#scrollToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color:#007b5e; /* Vert élégant */
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

#scrollToTop:hover {
    background-color:#005f47; /* Vert plus foncé pour le hover */
    transform: scale(1.1); /* Effet de zoom */
}

#scrollToTop i {
    font-size: 18px;
}

#scrollToTop.show {
    opacity: 1;
    visibility: visible;
}


