/* Styles de base */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600&display=swap');
html {
    scroll-behavior: smooth;
    font-family: 'Nunito', sans-serif;
  }

body {
    margin: 0;
    font-family: 'Nunito', sans-serif;
    background-color: #ffffff;
    padding-top: 80px; /* Ajoute un espace sous le header */
   
}

/* Importation de la police */



/* Styles du header */
header {
    font-family: 'Nunito', sans-serif;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    position: relative;
}

/* Icône du menu burger */
.burger {
    display: block;
    width: 30px;
    height: 25px;
    cursor: pointer;
    position: absolute;
    top: 1px;
    left: 15px;
    z-index: 30;
}

.burger div {
    width: 100%;
    height: 4px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 250px;
    height: 100%; /* Met à 100% de la hauteur de la fenêtre */
    background: rgba(255, 247, 239, 0.95);
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
    transition: left 0.3s ease-in-out;
    padding-top: 60px;
    z-index: 10;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

nav ul li {
    width: 100%;
    text-align: center;
}

nav ul li a {
    font-size: 1.2rem;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 10px 15px;
    transition: all 0.3s;
    position: relative;
    display: block;
}

/* Effet au survol */
nav ul li a:hover {
    color: #ff425b;
}

nav ul li a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #ff425b;
    transition: width 0.3s;
    position: absolute;
    left: 50%;
    bottom: -3px;
    transform: translateX(-50%);
}

nav ul li a:hover::after {
    width: 100%;
}

/* Affichage du menu ouvert */
nav.open {
    left: 0;
    z-index: 30;
}

/* Animation du burger quand ouvert */
.burger.open div:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger.open div:nth-child(2) {
    opacity: 0;
}

.burger.open div:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.grid-container{
    margin-top: 80px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.grid-item{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.grid-item img{
    border-radius: 10px;
    width: 80%;
}

.gallery{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
.gallery img{
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}


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

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-top: 20px; /* Ajuste la valeur selon l'espace souhaité */
    margin: auto;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10; /* Assure que le carrousel est au-dessus des autres éléments */
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 300%; /* 100% * nombre d'images */
    }

.slide {
    min-width: 100%; /* Chaque image prend toute la largeur */
    position: relative;
    }

.carousel-btn {
    position: absolute;
    bottom: 10%; /* Ajuste la position verticale */
    left: 50%; /* Centre horizontalement */
    transform: translateX(-50%); /* Centre parfaitement */
    background-color: rgba(255, 66, 91, 0.8); /* Ajoute un fond semi-transparent */
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    }

.carousel-btn:hover {
    background-color: rgba(255, 66, 91, 1);
    }
    

.carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajuste l'image sans déformation */
}

button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 156, 156, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 10px;
    transition: background 0.3s;
    z-index: 20; /* Assure-toi que les boutons de navigation sont au-dessus des autres éléments */
}


button:hover {
    background: rgba(0, 0, 0, 0.7);
}

.prev { left: 10px; }
.next { right: 10px; }


/* Zones de texte avec photo à gauche */
.text-section {
    display: flex;
    justify-content: center; /* Centre le contenu */
    align-items: center;
    background-color: #fff;
    padding: 40px 20px;
    margin-top: 30px; /* Espace entre le carrousel et la section texte */
}

.text-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center; /* Centre le contenu verticalement */
}



.text-content, 
.new-text-section .text-content {
    flex-direction: column; /* Empile l'image et le texte */
    text-align: center; /* Centre le texte */
}

.image img {
    max-width: 100%; /* Laisse l'image prendre toute la largeur disponible */
    margin-bottom: 15px; /* Ajoute un peu d'espace entre l'image et le texte */
}


.text-content {
    display: flex;
    align-items: center;
    gap: 30px; /* Espace entre le texte et l'image */
    width: 100%;
}

.text {
    flex: 1; /* Le texte occupe tout l'espace restant */
    text-align: left;
}

.text-section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.text-section p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
}

.image img {
    width: 100%;
    max-width: 400px; /* Ajuste la taille de l'image */
    height: auto;
    border-radius: 10px; /* Coins arrondis de l'image */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ombre autour de l'image */
}


/* Zones de texte avec photo à droite pour la nouvelle section */
.new-text-section {
    display: flex;
    justify-content: center; /* Centre le contenu */
    align-items: center;
    background-color: #fff;
    padding: 40px 20px;
    margin-top: 30px; /* Espace entre la première section et la nouvelle */
}

.new-text-section .text-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center; /* Centre le contenu verticalement */
}

.new-text-section .text-content {
    display: flex;
    align-items: center;
    gap: 30px; /* Espace entre l'image et le texte */
    width: 100%;
}

.new-text-section .text {
    flex: 1; /* Le texte occupe tout l'espace restant */
    text-align: left;
}

.new-text-section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.new-text-section p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
}

.new-text-section .image img {
    width: 100%;
    max-width: 400px; /* Ajuste la taille de l'image */
    height: auto;
    border-radius: 10px; /* Coins arrondis de l'image */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ombre autour de l'image */
}

.text-section, .new-text-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.text-section.visible, .new-text-section.visible {
    opacity: 1;
    transform: translateY(0);
}





footer {
    background-color: #fff7ef;
    color: #333;
    text-align: center;
    padding: 20px 10px;
    margin-top: 40px;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

.footer-container {
    max-width: 100%;
    margin: 0 auto;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links li {
    display: block;
}

.footer-links a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff425b;
}
.rose{
    background-color: #ff788a !important;
    border-color:#ff788a !important; ;
}
.moyen{
    width: 70%;
    margin: 0 auto;
}
/* Version bureau (576px et +) */
@media (min-width: 576px) {
    body{
        padding-top: 0px; /* Ajoute un espace sous le header */
        font-family: 'Nunito', sans-serif;

    }
    
    
    header{
        padding: 19px 0;
    }
    .burger {
        display: none; /* Cache le burger sur PC */
    }
    .grid-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        width: 60%;
        margin: 0 auto;
    }
    .grid-item {
        text-align: center;
    }
    .grid-item img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 10px;
    }
    .grid-item p {
        margin: 10px 0 0 0;
        font-size: 16px;
        font-weight: bold;
    }
    
    nav {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        box-shadow: none;
        padding: 0;
    }

    nav ul {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }
    table {
        width: 60%;
        margin: 0 auto;
        border-collapse: collapse;
    }
    td {
        width: 50%;
        height: auto;
        text-align: center;
        vertical-align: middle;
        background-color: transparent;
        border: none;
    }
    img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    p {
        margin: 10px 0 0 0;
        font-size: 16px;
        font-weight: bold;
    }

    .carousel-container {
        width: 96%;
        border-radius: 25px;
        margin-top: 30px; /* Ajuste la valeur selon l'espace souhaité */
    }
    button {
        padding: 8px;
        font-size: 14px;
    }



    
    .text-container {
        flex-direction: row; /* Alignement en ligne */
    }

    .text-content {
        flex-direction: row; /* Image et texte côte à côte */
        text-align: left;
    }

    .text-content .image {
        order: 2; /* Image à droite */
    }

    .new-text-section .text-content .image {
        order: 1; /* Image à gauche pour la deuxième section */
    }
}

.new-text-section .image img {
    width: 100%;
    max-width: 400px; /* Ajuste la taille de l'image */
    height: auto;
    border-radius: 10px; /* Coins arrondis de l'image */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ombre autour de l'image */
}

.text-section, .new-text-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.text-section.visible, .new-text-section.visible {
    opacity: 1;
    transform: translateY(0);
}




