/* PAGE */

.global-content{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* SECTION 1 */ 

.section-1{
    text-align: center;
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1100px;
}

/* swiper */

.global-swiper {
    width: 100%;
    max-width: 1100px;
    margin-inline: auto;
    padding-inline: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    margin-top: 50px;
}

.myFourthSwiper{
    width: 100%;
    max-width: 1100px;
    margin-inline: auto;
    padding-top: 30px;
}

.myFourthSwiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    gap: 30px;
    font-size: 18px;
    font-family: "Libre Baskerville", serif;
    color: var(--title);
}

.myFourthSwiper .swiper-slide button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 250px;
    height: 200px;
    border-radius: 40px;
    border: none;
    cursor: pointer;
}

.swiper-slide button img {
    width: 250px;
    height: 200px;
    border-radius: 40px;
    object-fit: cover;
    opacity: 0.5;
    transition: .3s;
    will-change: opacity;
}

.swiper-slide button:hover img{
    opacity: 0.9;
}

.swiper-slide-active button img{
    opacity: 1;
    height: 230px;
}

.swiper-slide-active button:hover img{
    opacity: 1;
}


.global-swiper .global-btn {
    display: flex;
    gap: 10px;
}

.global-swiper .global-btn button {
    background: var(--primary);
    width: 40px;
    height: 40px;
    font-size: 15px;
    border: none;
    border-radius: 50%;
    color: var(--background);
    cursor: pointer;
    transition: .3s;
}

.global-swiper .global-btn button:hover{
    background: var(--secondary);
}

/* global-price */

.global-price{
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 900px;
    margin-inline: auto;
    padding-inline: 75px;
    margin-top: 20px;
}

.global-price .tarif {
    display: none;
}

.global-price .tarif h5{
    font-style: italic;
    font-weight: normal;
    font-family: "Jost", sans-serif;
    color: var(--text);
}

.global-price .active{
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--surface);
    padding: 50px;
    border-radius: 30px;
    gap: 20px;
}

/* global-form */

.global-form{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    max-width: 800px;
    margin-inline: auto;
    padding-inline: 75px;
    gap: 50px;
}

.global-form .subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 10px;
}

#contact-form{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 30px;
    width: 100%;
}

#contact-form .form-section{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 100%;
}

#contact-form .place{
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
}

.place textarea,
.place input{
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #9e8474;
    background: #f4ece4;
    box-sizing: border-box;
}

.place textarea:focus,
.place input:focus{
    border: 1px solid #9e8474;
}

.place textarea{
    height: 100px;
    resize: none;
    font-family: "Jost", sans-serif;
    color: var(--text);
}

#contact-form button{
    border: none;
    background: var(--primary);
    color: var(--background);
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: .3s;
}

#contact-form button:hover{
    background: var(--secondary);
}

/* CABINET */

.global-cabinet{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    max-width: 1100px;
    margin-inline: auto;
    padding-inline: 75px;
}

.global-cabinet .place{
    display: flex;
    gap: 50px;
}

.global-cabinet .place .text{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.adresse{
    margin-bottom: 10px;
}

.global-cabinet .place .text h1{
    margin-bottom: 40px;
}

.global-cabinet .place .social {
    margin-top: 10px;
}

.global-cabinet .place .social a{
    text-decoration: none;
    font-size: 25px;
    color: var(--text);
    cursor: pointer;
    transition: .3s;
    width: fit-content;
}

.global-cabinet .place .social a:hover{
    color: var(--title);
}

.map{
    border: 5px solid var(--secondary);
    border-radius: 20px;
}

.map iframe{
    width: 100%;
    height: 250px;
    border-radius: 20px;
}

.cabinet-images {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 100px;
}

.cabinet-images p{
    font-family: "Libre Baskerville", serif;
}

.cabinet-images .images {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-top: 100px;
    gap: 50px;
}

.cabinet-images .images .image{
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 20px;
}

.cabinet-images .images .image button{
    background: none;
    border: none;
    cursor: pointer;
    transition: .3s;
    border: 5px solid var(--secondary);
    border-radius: 50%;
    width: 200px;
    height: 200px;
}

.cabinet-images .images .image button img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    opacity: 1;
    will-change: opacity;
    transition: .3s;
}

.cabinet-images .images .image button:hover img{
    opacity: 0.7;
}

/* Image */

.global-image{
    display: none;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
}

.global-image.active{
    display: block;
}

.global-image .all-image{
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 700px;
    z-index: 9999;
    border: 1px solid var(--background);
    border-radius: 50px;
    object-fit: cover;
   }

.global-image .back-btn{
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    margin: 20px;
    z-index: 99999;
    padding: 10px;
    font-size: 30px;
    background: none;
    border: none;
    color: var(--background);
    cursor: pointer;
    transition: .3s;
}

.global-image .back-btn:hover{
    color: var(--primary);
}

.global-image .active{
    display: block;
}

@media (max-width : 780px) {
    .section-1{
        margin-top: 50px;
    }
    
    .global-swiper {
        padding-inline: 20px;
        gap: 20px;
        margin-top: 50px;
    }

    .myFourthSwiper .swiper-slide {
        padding: 20px;
        gap: 20px;
        font-size: 12px;
        width: 250px;
        height: 250px;
    }

    .myFourthSwiper .swiper-slide button {
        border-radius: 20px;
        width: 250px;
        height: 200px;
    }

    .swiper-slide button img {
        border-radius: 20px;
        width: 250px;
        height: 200px;
    }

    .global-swiper .global-btn button {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .global-price{
        padding-inline: 20px;
        margin-top: 50px;
    }

    .global-price .active{
        background: var(--surface);
        padding: 40px;
    }

    .global-form{
        padding-inline: 20px;
        gap: 50px;
    }

    .global-cabinet{
        padding-inline: 20px;
    }

    .global-cabinet .place{
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .global-cabinet .place .text{
        gap: 0px;
    }

    .global-cabinet .place .text h1{
        margin-bottom: 20px;
    }

    .map{
        border: 3px solid var(--secondary);
        border-radius: 20px;
    }

    .cabinet-images {
        margin-top: 80px;
    }

    .cabinet-images .images {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 50px;
        gap: 20px;
    }

    .cabinet-images .images .image{
        gap: 10px;
    }

    .cabinet-images .images .image button{
        border: 3px solid var(--secondary);
        width: 105px;
        height: 105px;
    }

    .global-image .all-image{
        width: 90%;
        height: 350px;
        z-index: 9999;
    }
}