/* ------------------------------------- */
/* --------- SECTION WELCOME ----------- */
/* ------------------------------------- */

/* Ordonner la section (flex, ...) */
.section-welcome{
    height: 800px;
    padding: 70px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

/* Partie Basse de la section */
.section-welcome .down {
    width: 70%;
    height: 50%;

    display: flex;
    align-items: center;
}

.section-welcome .down p {
    width: 80%;
    padding: 20px;
}

/* Définir la couleur et l'alignement des titres */
h1, .section-welcome h2 {
    color: #5B5535;
    text-align: center;
}

/* Styliser les boutons */
.section-welcome button {
    height: 77px;
    width: 289px;

    margin: 20px;

    background: linear-gradient(#A2A183, #A2A183) padding-box,
                linear-gradient(130deg, #A2A183, #6D6B48) border-box;
    border-radius: 131px;
    border: 2px solid transparent;

    color: white;

    transition: all 0.2s ease;
    transform: scale(1);
}

.section-welcome button:hover {
    border: 3px solid #6D6B48;
    transform: scale(1.1);
}

/* -------------------------------------- */
/* ------- SECTION MAIN UNIVERS --------- */
/* -------------------------------------- */


main{
    background-color: #242424;
    /* background-color: blue; */

    padding: 100px 100px 0 100px;
    height: 850px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

main h2{
    text-align: center;
}

main .univers-container{
    display: flex;
    justify-content: center;
    height: 600px;
}

main .univers-container > div{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: fit-content;

    margin: 0 20px 0 20px;
}

main h3{
    color: white;
    font-size: 30px;
    text-align: center;
    margin: 15px 0 15px 0;
}

main .univers-card{
    overflow: hidden;

    width: 400px;
    height: 500px;

    border-radius: 131px 131px 0px 0px;

    transition: all 0.5s ease-in-out;
}

main img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}

main .univers-card .hidden{
    /* display: none; */
    opacity: 0;

    transition: all 0.5s ease-in-out;

    position: relative;
    bottom: 75%;
    
    display: flex;
    flex-direction: column;
    align-items: center;
}

main .univers-card .hidden p, main .univers-card .hidden a{
    padding: 15px;
    margin: 10px;

    color: white;

    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}


/* -------------------------------------- */
/* ---------- SECTION OFFRES ------------ */
/* -------------------------------------- */

.section-offer{
    height: 900px;
    padding: 150px 50px 150px 50px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.section-offer h2{
    text-align: center;
    color: #A9722A;
}

.section-offer ion-icon{
    height: 140px;
    width: 88px;
    color: #DFAE6E;
}

.section-offer ion-icon:hover{
    filter: brightness(70%);
}

.carrousel{
    height: 300px;
    width: 80%;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.slide{
    width: 900px;
    height: 100%;
    background-color: #DFAE6E;
    border-radius: 250px;
    padding: 20px;

    user-select: none;
    transition: all 0.5s ease;
    opacity: 1;

    margin: 0 30px 0 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.slide:not(:nth-child(2)){
    /* transition: all 0.5s ease-in-out; */

    opacity: 0;
    display: none;
}

/* .slide:nth-child(2){
    background-color: blue;
} */

.slide img{
    height: 250px;
    width: 250px;

    border-radius: 250px;
    object-fit: cover;
}

.slide .informations-container{
    height: 100%;
    width: 60%;
    margin: 0 40px 0 10px;

    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.slide .btn{
    padding: 10px 40px 10px 40px;
    width: fit-content;

    border-radius: 20px;
    border: 2px solid #5e3b0e;
    background: none;

    color: #5e3b0e;

    /* transform: scale(1); */
    transition: all 0.2s ease-in-out;
}

.slide .btn:hover{
    border: 2px solid white;
    background: white;

    color: #5e3b0e;

    /* transform: scale(1.1); */
}

.slide p, .slide h4{
    color: #4a2e09;
    text-align: center;
}

.slide p {
    max-height: 150px;
    overflow: hidden;
}






/* ----------------------------------------------- */
/* RESPONSIVE */
/* ----------------------------------------------- */

@media screen and (max-width: 1000px) {
    /* SECTION WELCOME */
    .section-welcome h2{
        font-size: 70px;
    }
    .section-welcome{
        padding: 20px;
        height: 100vh;
        justify-content: flex-start;
    }
    .section-welcome .down{
        flex-direction: column;
        align-items: center;
        width: 80%;
    }
    .section-welcome .down p{
        width: 100%;
    }
    .section-welcome .down div:last-child{
        display: flex;
        flex-direction: column;
    }
    .section-welcome button{
        width: 600px;
        height: 150px;
        margin: 40px;
    }
    .section-welcome > div, .down div:first-child{
        margin-bottom: 150px;
    }



    /* SECTION UNIVERS */
    main{
        height: fit-content;
        padding: 0;
        justify-content: flex-start;
    }
    main h2{
        margin: 100px 0 0 0;
    }
    main h3{
        font-size: 70px;
        margin: 30px 0 30px 0;
    }
    main .univers-container{
        flex-direction: column;
        height: fit-content;
    }
    main .univers-container > div{
        margin: 150px 0 0 0;
        width: 100%;
        max-width: 100%;
        height: 70vh;
    }
    main .univers-card{
        border-radius: 0;
        width: 100%;
        height: 100%;
    }
    .univers-container>div img{
        width: 100%;
        height: 100%;
    }

    main .univers-card .hidden p{
        width: 80%;
        margin-bottom: 50px;
        padding: 30px;
    }

    main .univers-card .hidden a{
        padding: 40px;
    }

    /* SECTION OFFER */
    .section-offer{
        height: 80vh;
    }
    .section-offer > h2{
        margin: 100px 0 100px 0;
    }
    .slide h4{
        width: 60%;
        align-self: end;
    }
    .section-offer > div{
        width: 100%;
        height: 700px;
    }
    .slide{
        align-items: start;
        justify-content: center;
        position: relative;
        border-radius: 150px;
    }
    .slide p{
        max-height: 190px;
    }
    .slide img{
        position: absolute;
        top: 20px;
        left: 20px;
    }
    .slide .informations-container{
        width: 90%;
    }
    .slide .btn{
        border: 4px solid #5e3b0e;
    }
}