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

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

a{
    color: inherit;
}

a:link {
    text-decoration: none;
}

/* Tous ce qui se trouve au dessus de ce commentaire est une remise à 0 du site */

body{
    font-family: Lato, helvetica, sans-serif;
    --main-hue: 27;
    --second-hue: 218;
    --main-color: hsl(var(--main-hue), 28%, 54%);
    --second-color: hsl(var(--second-hue), 18%, 30%);
    --main-color-hover: hsl(var(--main-hue), 37%, 68%);
    --light-main-color: hsl(var(--main-hue), 28%, 55%);
    --lighter-main-color: #d0BCAC;
    --text-color: #000;
    --nav-color: hsl(var(--main-hue), 100%, 79%);
    --bg-color: #fff;
    --light-text-color: #9ca7b6;
    --input-bg: hsla(var(--main-hue), 50%, 50%, 25%);
    --input-bg-hover: hsla(var(--main-hue), 50%, 50%, 36%);
    --input-text: #8c9aaf;
    --positive-color: #4CAF50;
    --negative-color: #ff4d4d;
    --neutral-color: #FFA500;
    --ll-color: hsl(120, 60%, 50%); /* Vert */
    --lcd-color: hsl(0, 60%, 50%); /* Rouge */
} 

/* Header */

nav{
    position: fixed;
    z-index: 9999;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background: transparent;
    transition: background-color 0.3s ease; /* Smooth transition */
}

.nav-logo{
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-left: 30px;
    padding-left: 30px;
}

.nav-logo span{
    font-size: 25px;
    margin-left: 10px;
    font-weight: 400;
    color: #333;
}

.nav-logo img{
    width: 100px;
}

.hamburger{
    opacity: 0;
}

.main-navlinks{
    display: flex;
    align-items: center;
}

.navlinks-container{
    display: flex;
    align-items: center;
}

.navlinks-container a{
    margin: 0 51px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    color: #404958;
    display: inline-block;
    position: relative;
}

.navlinks-container a::after{
    content: "";
    display: block;
    position: absolute;
    bottom: -3px;
    width: 100%;
    height: 1px;
    transform: scaleX(0);
    transform-origin: left;
    background: #333;
    transition: transform 0.3s ease-out;
}

.navlinks-container a:hover::after{
    transform: scaleX(1);
}

.nav-authentification{
    visibility: hidden;
}

.sign-btns button{
    font-size: 16px;
    min-width: 90px;
    padding: 10px 5px;
    margin: 0 5px;
    border-radius: 5px;
    cursor: pointer;
    border: none;
}

.sign-btns button:nth-child(2){
    border: none;
    background: #92c3eeb7;
}

.sign-user{
    display: none;
}

@media (max-width: 1024px) {
    nav{
        padding: 15px 20px;
        position: fixed;
        box-shadow: inset 0px -1px 0px #c5c5c6;
        background-color: #fff;
    }

    .nav-logo{
        order: 2;
        margin: 0 auto;
        padding-left: 0;
    }

    .nav-logo span{
        font-size: 22px;
    }

    .main-navlinks{
        order: 1;
    }

    .hamburger{
        width: 20px;
        height: 20px;
        cursor: pointer;
        border: none;
        display: flex;
        background: #fafafa;
        align-items: center;
        position: relative;
        background-color: transparent;
        opacity: 1;
    }
    
    .hamburger span{
        display: block;
        width: 100%;
        height: 2px;
        background: #333;
        position: absolute;
        pointer-events: none;
        transition: opacity 0.3s 0.15s ease-out;
    }
    
    .hamburger span:nth-child(1),
    .hamburger span:nth-child(3){
        transition: transform 0.3s ease-out;
    }
    
    .hamburger span:nth-child(1){
        transform: translateY(7px);
    }
    
    .hamburger span:nth-child(3){
        transform: translateY(-7px);
    }
    
    .hamburger.open span:nth-child(1){
        transform: translate(0) rotate(135deg);
    }
    
    .hamburger.open span:nth-child(2){
        opacity: 0;
        transition: opacity 0s ease-out;
    }
    
    .hamburger.open span:nth-child(3){
        transform: translate(0) rotate(-135deg);
    }

    .navlinks-container{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        background: #fafafa;
        top: 100%;
        left: 0;
        height: 100vh;
        padding: 15px 50px 15px 20px;
        border-right: 1px solid #c5c5c6;
        transform: translate(-100%);
    }

    .open{
        transform: translate(0%);
    }

    .navlinks-container a{
        font-size: 18px;
        margin: 10px 0;
    }

    .nav-authentification{
        order: 3;
        margin-left: 0;
    }

    .sign-btns{
        display: none;
    }

    .sign-user{
        display: block;
        cursor: pointer;
        border: none;
    }

    .sign-user img{
        width: 20px;
    }
    
}

@media (max-width:500px) {
    .nav-logo img{
        width: 70px;
    }
    .nav-logo span{
        font-size: 20px;
    }
}
/* Fin de la partie Header*/

/* Main */
/*bannière*/



/* Footer */

.whatsapp-button{
    position: fixed;
    bottom: 50px;
    right: 30px;
    z-index: 999;
}

.whatsapp-button a{
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.whatsapp-button img{
    width: 60px;
}

footer{
    position: relative;
    width: 100%;
    margin: auto;
    background-color: #404858;
    text-align: center;
    padding: 1% 0;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid var(--main-color);
    border-bottom: 1px solid var(--main-color);
}

.footer-section {
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px;
    color: #fff;
}

.footer-section img{
    width: 120px;
    margin-bottom: 10px;
}

.contact-section, .follow-section {
    flex-basis: calc(50% - 10px);
}

.footer-section h3 {
    text-transform: capitalize;
    margin-bottom: 20px;
    font-size: 1.6rem;
    font-weight: 700;
}

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

.footer-section ul li {
    margin-bottom: 5px;
}

.footer-section ul li a {
    text-decoration: none;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}

.footer-localisation{
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    margin-top: 10px;
}

.footer-localisation i{
    margin-right: 10px;
}

.footeritem {
    font-size: 22px;
}

.footer-icon{
    margin-right: 15px;
}

.follow-section i{
    font-size: 1.7rem;
}

.footer-legal {
    position: absolute;
    right: 65px;
    bottom: 26px;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    color: #fff;
    text-transform: capitalize;
    text-decoration: underline;
}

.footer-legal:hover {
    cursor: pointer;
}

@media only screen and (max-width: 1000px) {
    .footer-container {
        flex-wrap: wrap;
    }
    .logo-section {
        flex-basis: 100%;
        text-align: center;
        order: -1;
    }
    .footer-legal{
        right: 0;
        left: 0;
    }
    footer{
        padding: 8% 0;
    }
    .footer-legal {
        bottom: 40px;
    }
}

@media only screen and (max-width: 550px) {
    .footer-container {
        flex-direction: column;
    }
    .footer-localisation{
        flex-direction: column;
    }
    .footer-localisation i{
        margin-right: 0;
    }
    .contact-section>ul>li{
        display: flex;
        flex-direction: column;
        margin-bottom: 15px;
    }
    .footer-icon{
        margin-right: 0px;
        margin-bottom: 5px;
    }
}

@media (min-width: 768px) {
    .phone-link {
        pointer-events: none;
    }
}

.btn{
    display: inline-block;
    padding: 1.1rem 2rem;
    background-color: var(--main-color);
    color: #fff;
    border-radius: 40px;
    border: none;
    font-family: inherit;
    font-weight: 500;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover{
    background-color: var(--main-color-hover);
}

.bold{
    font-weight: 800;
}

.main-color{
    color: var(--lighter-main-color);
}

.second-color{
    color: var(--second-color);
}

.main-background-color{
    background-color: var(--main-color);
}

.lighter-main-background-color{
    background-color: var(--lighter-main-color);
}

.second-background-color{
    background-color: var(--second-color);
}

.quote-left{
    display: inline-block; 
    transform-origin: center center; 
    margin-top: -20px; 
    font-size: 40px;
    vertical-align: middle; /* Aligner sur la ligne d'écriture */
}

.quote-right {
    transform: rotate(-180deg); 
    display: inline-block; 
    transform-origin: center center; 
    margin-bottom: -10px; 
    font-size: 40px;
    vertical-align: middle; /* Aligner sur la ligne d'écriture */
}

.big{
    font-size: 4rem;
}
@media screen and (max-width:700px) {
    .big{
        font-size: 1.7rem;
    }
}

/*Galerrie pour accueil et qui sommes nous*/

.gallery-container {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 100px 0;
}

.gallery {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

.photo-container {
    position: relative;
    width: 300px;
    height: 70%;
    margin-top: 0;
}

.photo-container:nth-child(1) {
    margin-top: 30px; /* Décalage supplémentaire pour la deuxième image */
}

.photo-container:nth-child(2) {
    margin-top: 90px; /* Décalage supplémentaire pour la deuxième image */
}

.photo-container:nth-child(3) {
    margin-top: 60px; /* Décalage supplémentaire pour la troisième image */
}

.background-beige-photo, .background-brown-photo, .background-light-photo, .background-red-photo  {
    width: 100%;
    height: 90%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50px 0px 50px 0px;
}

.background-brown-photo {
    background-color: #99726c;
    z-index: 0;
    transform: translate(-10px, -10px);
}

.background-light-photo {
    background-color: var(--lighter-main-color);
    z-index: 0;
    transform: translate(-10px, -10px);
}

.background-red-photo {
    background-color: #c6978f;
    z-index: 0;
    transform: translate(-10px, -10px);
}

.background-beige-photo {
    background-color: var(--main-color);
    z-index: 0;
    transform: translate(-10px, -10px);
}

.photo {
    width: 300px;
    height: 300px;
    position: relative;
    z-index: 1;
    border-radius: 50px 0px 50px 0px;
    object-fit: cover;
}

.caption {
    text-align: center;
    margin-top: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--second-color);
}
.shifted {
    margin-top: 50px;
}

.toped{
    margin-bottom: 80px;
}

@media (max-width: 1600px) {
    .gallery {
        gap: 30px;
    }
    .photo-container {
        width: 170px;
    }
    .photo-container:nth-child(1) {
        margin-top: 20px;
    }
    .photo-container:nth-child(2) {
        margin-top: 40px;
    }
    .photo-container:nth-child(3) {
        margin-top: 70px;
    }
    .photo {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 1050px) {
    .gallery {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
    }
    .photo-container:nth-child(1) {
        margin-top: 0px;
    }
    .photo-container:nth-child(2) {
        margin-top: 0px;
    }
    .photo-container:nth-child(3) {
        margin-top: 0px;
    }
    .photo {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 576px) {
    .gallery {
        flex-direction: column;
        align-items: center;
    }
    .photo-container {
        max-width: 90%;
    }
    .photo-container:nth-child(2), .photo-container:nth-child(3), .photo-container:nth-child(4) {
        margin-top: 20px;
    }
}