* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;

}
html {
    scroll-behavior: smooth;
  }
header {
    position: relative;
    height: auto;
    overflow: hidden;
}

.header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: auto;
    z-index: -1;
    filter: brightness(65%);
}

nav {
    padding: 30px;
    width: 100vw;
    font-size: 30px;
   
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav a {
    color: #fff;
    text-decoration: none;

}

.info {
    margin: 240px 30px 10px;
}

.info h1 {
    font-size: 90px;
    color: #fff;
    font-family: "Qwitcher Grypen", cursive;
}

.info p {
    color: #fff;
    width: 400px;
    font-size: 30px;
    font-weight: 100;
}

.contact {
    padding: 15px 30px;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.56);
    
}

.contact ul {
    color: #fff;
    font-size: 22px;
    display: flex;
    justify-content: space-between;
    list-style: none;
    align-items: center;
    text-align: center;
}

/* Menu burger */
.burger-menu {
    display: none;
    cursor: pointer;
    position: absolute;
    top: 20px;
    left: 30px;
    width: 30px;
    height: 30px;
    justify-content: space-between;
    flex-direction: column;
    z-index: 2000;
}

.burger-menu .bar {
    width: 30px;
    height: 3px;
    background-color: #fff;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.burger-menu.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(15px, 5px);
}

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

.burger-menu.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(13px, -5px);
}

#nav-menu {
    display: flex;
    justify-content: space-between;
}

main {
    position: relative;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(255, 255, 255, 0));
    padding: 10px 20px;
    overflow: hidden;
}

/* Container desktop */
.container-desktop {
    display: flex;
    justify-content: space-between;
    text-align: center;
    flex-wrap: wrap;
    margin: 20px 30px;
}

.card {
    position: relative;
    width: 420px;
    margin: 10px 0;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    height: 645px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card h3,
.card p {
    margin: 10px;
    padding: 10px;
    text-align: center;
    color: #fff;
}
.card h3{
    font-size: 60px;
    font-family: "Qwitcher Grypen", cursive;
}
.card p{
    font-size: 40px;
}
.card:hover {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    padding: 20px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.922);
    border-radius: 15px;
    color: #fff;
    display: flex;
    flex-direction: column;
    text-align: left;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow: scroll;
}
.detail ul{
    
    text-align: left;
}
.overlay ul{
    list-style: none;
}
.overlay h3{
    font-size: 45px;
}
.card:hover .overlay {
    opacity: 1;
}
 .tarif{
    display: flex;
   width: 100vw;
    justify-content: space-between;
 }

.avis{
    display: flex;
    width: 100vw;
    margin-top: 90px;
    justify-content: space-between;
}
.card-avis{
    border-radius: 20px;
    padding: 10px;
    border: 2px solid rgba(0, 0, 0, 0.377);
    width: 20rem;
    height: 15rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    background-color: rgb(255, 255, 255);
}
.circle {
    width: 60px;
    height: 60px;
    margin-bottom: 30px;
    background-color: #cf198c;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle h3 {
    color: white;
    font-size: 30px;
    text-align: center;
    margin: 0;
}
/* Mobile */
.container-mobile {
    display: none;
}
.gallery {
    margin-top: 30px;
	padding: 1rem;
	display: grid;
	grid-template-columns: repeat(10, 80vw);
	grid-template-rows: 1fr;
	grid-column-gap: 1rem;
	grid-row-gap: 1rem;
	overflow: scroll;
	height: 50vh;
	scroll-snap-type: both mandatory;
	scroll-padding: 1rem;
}

.active {
	scroll-snap-type: unset;
}

.cardtarifsmobile {

    position: relative;
    scroll-snap-align: center;
    display: inline-block;
    border-radius: 15px;
    font-size: 0; /* Garde cette règle, mais... */
    overflow: hidden; /* Nécessaire pour masquer tout dépassement de l'overlay */
  
}

.tarif-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Fond semi-transparent couvrant tout l'élément */
    color: #fff;
    opacity: 0; /* Initialement caché */
    transition: opacity 0.3s ease; /* Transition douce pour l'affichage */
    border-radius: 15px; /* Même bordure arrondie que l'élément li */
    font-weight: 400;
    font-size: 16px; /* Ajoutez cette ligne pour définir une taille de police dans l'overlay */
    padding: 20px 10px; /* Ajout de padding pour que le contenu soit espacé des bords */
    overflow-y: auto; /* Permet de faire défiler si le contenu dépasse la hauteur de l'overlay */
}

.tarif-overlay ul {
    text-align: left;
   list-style: none;
    padding-left: 20px; /* Ajout d'un retrait pour que les puces ne collent pas au bord */
    margin: 0;
}

.tarif-overlay li {
    margin-bottom: 10px; /* Espace entre chaque élément de la liste */
}
.tarif-overlay h3{
    font-size: 30px;
    text-align: center;
    margin-bottom: 15px;
}
.gallery li:hover .tarif-overlay {
    opacity: 1; /* Affichage de l'overlay lors du survol */
}

.titretarif{
   margin-top: 50%;
   text-align: center;
   font-size: 40px;
   font-family: "Qwitcher Grypen", cursive;
      color: #fff;
}
.cardtarifsmobile p{
    font-size: 30px;
    text-align: center;
    font-size: 40px;
    font-family: "Qwitcher Grypen", cursive;  
      color: #fff;
    
}



/* avis */
.galleryavis {
    margin-top: 80px;
	padding: 1rem;
	display: grid;
	grid-template-columns: repeat(10, 80vw);
	grid-template-rows: 1fr;
	grid-column-gap: 1rem;
	grid-row-gap: 1rem;
	overflow: scroll;
	height: 35vh;
	scroll-snap-type: both mandatory;
	scroll-padding: 1rem;
}

.active {
	scroll-snap-type: unset;
}

.galleryavis li {
    border-radius: 20px;
    padding: 10px;
    border: 2px solid rgba(0, 0, 0, 0.377);
    width: 20rem;
    height: 15rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    background-color: rgb(255, 255, 255);
	overflow: hidden; /* Nécessaire pour masquer tout dépassement de l'overlay */
}


.main-container {
    margin-top: 80px;
    height: 300px;
    width: 100vw; /* Définit la largeur à 100% de la fenêtre */
    max-width: 100%; /* Empêche le dépassement */
    border-radius: 1em;
    overflow: hidden;
    font-family: sans-serif;
}

.color-palette {
    display: flex;
    height: 86%;
    width: 100%; /* Prend toute la largeur du conteneur */
}

.color-block {
    height: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    letter-spacing: 1px;
    transition: flex 0.1s linear;
}

.color-block span {
    opacity: 0;
    transition: opacity 0.1s linear;
}

.color-block:nth-child(1) {
    background-image: url("ressources/photo1.jpeg");
    background-size: cover;
    filter: brightness(65%);
}

.color-block:nth-child(2) {
    background-image: url("ressources/photo2.jpeg");
    background-size: cover;
    filter: brightness(65%);
}

.color-block:nth-child(3) {
    background-image: url("ressources/photo3.jpeg");
    background-size: cover;
    filter: brightness(65%);
}

.color-block:nth-child(4) {
    background-image: url("ressources/photo4.jpeg");
    background-size: cover;
    filter: brightness(65%);
}




/* Media queries */
@media (max-width: 768px) {
    .contact ul{
        flex-direction: column;
        gap: 10px;
    }

    .burger-menu {
       display: none;
    }

    #nav-menu {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100vw;
        height: 50vh;
        background-color: rgba(0, 0, 0, 0.8);
        flex-direction: column;
        align-items: center;
        padding-top: 100px;
        transition: top 0.3s ease-in-out;
        z-index: 1500;
    }

    #nav-menu.open {
        top: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .info {
        margin-left: 30px;
        margin-top: 0;
        padding: 30px;
    }

    .info h1 {
        font-size: 35px;
        margin-left: 30px;
        margin-bottom: 40px;
    }

    .info p {
        font-size: 15px;
    }

    .container-desktop {
        display: none;
    }

    .container-mobile {
        display: block;
    }



}




.photo{
    
    width: 100vw;
    margin-top: 90px;
    justify-content: center;
    text-align: center;
}


.container {
    height: 500px;
    width: 92vw;
    border-radius: 1em;
    overflow: hidden;

    font-family: sans-serif;
  }
  
  .palette {
    display: flex;
    height: 86%;
    width: 100%;
  }
  
  .color {
    height: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    letter-spacing: 1px;
    transition: flex 0.1s linear;
  }
  
  .color span {
    opacity: 0;
    transition: opacity 0.1s linear;
  }
  
  .color:nth-child(1) {
    background-image: url("ressources/photo1.jpeg")  ;
    background-size: cover;
    filter: brightness(65%);
  }
  
  .color:nth-child(2) {
    background-image: url("ressources/photo2.jpeg")  ;
    background-size: cover;
    filter: brightness(65%);
  }
  
  .color:nth-child(3) {
    background-image: url("ressources/photo3.jpeg")  ;
    background-size: cover;
    filter: brightness(65%);
  }
  
  .color:nth-child(4) {
    background-image: url("ressources/photo4.jpeg")  ;
    background-size: cover;
    filter: brightness(65%);
  }
  
  
  
  .color:hover {
    flex: 2;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  }
  
  .color:hover span {
    opacity: 1;
  }
  
 .card1{
    background-image: url("ressources/photowomen.jpeg");
    filter:  brightness(80%);
 }
 .card2{
    background-image: url("ressources/photomen.jpeg");
    filter: brightness(80%);
 }
 .card3{
    background-image: url("ressources/photochild.jpg");
    filter: brightness(80%);
 }




footer{
    background-color: black;
    width: 100vw;
    height: auto;
    padding: 10px 20px;
    justify-content: center;
    text-align: center;
}
footer p{
    margin-top: 20px;
    color: #fff;
}

.reseaux{
    display: flex;
    justify-content: center;
    text-align: center;
    gap: 25px;

}









@import url('https://fonts.googleapis.com/css2?family=Qwitcher+Grypen:wght@400;700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');