@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

*, *::after, *::before {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", serif;
     -webkit-tap-highlight-color: transparent;
  -webkit-tap-highlight-color: rgba(0,0,0,0); 
}
*::selection {
  background: transparent;
  color: inherit;
}
*::-moz-selection {
  background: transparent;
  color: inherit;
}

:root {
    --black: #324855;
    --gray:#3e4f58;
    --white: white;
    --gradient: linear-gradient(270deg, #8743FF 0%, #4136F1 100%);
    --bg-color: #F1F3F5;
;    
}

html {
    font-size: 62.5%;
}
section{
    margin: auto;
    width: 75%;
}
header{
    padding-top: 1rem;
    width: 100%;
    height: 9rem;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: start;
    background-color: white;
    color: #324855;
}

.navbar{
    position: fixed;
    width: 75%;
    height: 7rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
}
.navbar_mobile{
    display: none;
}

.logo_section{
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: 3rem;
    font-size: 3rem;
    font-weight: 900;
}
.logo_section img{
    width: 10%;
}

.nav-btn {
    height: fit-content;
    font-size: 1.6rem;
    color: var(--bg-color);
    font-weight: 900;
    border: none;
    cursor: pointer;
    padding-block: 1.2rem;
    padding-inline: 2.6rem;
    border-radius: 2.4rem;
    background-color: #3A94A0;
    transition: filter .3s ease;
    &:hover {
        background-color: #3aa0ad;
    }
}
.navigation{
    width: 70%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8rem;
    list-style: none;
    font-size: 2rem;
}
.navigation>li a{
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}
.navigation>li a:hover{
    cursor: pointer;
    background-color: #F89479;
}

a{
    text-decoration: none;
    padding: 0;
    margin: 0;
    color: #324855;
}

.hero-container {
    height: calc(100vh - 10rem);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding-top: 1rem;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    h1 {
        font-size: 6.4rem;
        color: var(--black);
        font-weight: 400;
        line-height: 120%;
    }
    p{
        font-size: 1.6rem;
        color: var(--gray);
        margin-top: 3rem;
        margin-bottom: 4rem;
    }
    .btn {
        width: fit-content;
        font-size: 1.6rem;
        color: white;
        background-color: #F8805F;
        border: none;
        padding-block: 1.2rem;
        padding-inline: 2.4rem;
        cursor: pointer;
        &:hover {
            background-color: #f89479;
        }   
       
    }
}
.btn {
        width: fit-content;
        font-size: 1.6rem;
        color: white;
        background-color: #F8805F;
        border: none;
        padding-block: 1.2rem;
        padding-inline: 2.4rem;
        cursor: pointer;
        &:hover {
            background-color: #f89479;
        }   
       
    }
.hero-img {
    width: 70%;
    margin-block: auto;
    margin-left: auto;
}


.main_title{
    display: flex;
    justify-content: center;
    align-items: center;
}
.main_title h1,
.main_title h2{
    font-size: 6.4rem;
    color: var(--black);
    font-weight: 400;
    line-height: 120%;
    text-align: center;
    font-weight: 700;
}
.layout_appart{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: auto;
    max-width: 80%;
    color: var(--black); 
    background-color: #FFE07B;
    border-radius: 25px; 
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.apart_image_container_dispo{
     background: linear-gradient(90deg, #FFE07B 0%, #FFE07B 65%, #3A94A0 100%);
}
.apart_image_container_indispo{
    background: linear-gradient(90deg, #FFE07B 0%, #FFE07B 65%, #ff0000 100%);
}
.apart_image_container_dispo img,
.apart_image_container_indispo img{
    max-width: 400px;
    border-radius: 50%;
    width: 50%;
    height: auto; 
    object-fit: cover;
    aspect-ratio: 1;
    object-position: center;
    padding: 2rem;
}
.layout_flex_column{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    margin: 2rem;
}
.layout_flex_column h2{
    font-size:4.4rem;
}
.layout_flex_column p{
    font-size:1.6rem;
}
.presentation_appart{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5rem;
}
.disponible{
    text-align: center;
    background-color: #3A94A0;
    padding: 1rem;
    color: white;
}
.indisponible{
    text-align: center;
    background-color: red;
    padding: 1rem;
    color: white;
}
.flex_row_center{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

.modals{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #3a94a0e3;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}
.modals span{
    position: fixed;
    top: 5%;
    right: 5%;
    font-size: 5rem;
    color: #324855;
    font-weight: bold;
}
.modals img{
    border-radius: 0;
    max-width: 1000px;
    width: 100%;
    height: auto; 
    object-fit: cover;
    aspect-ratio: 1;
    object-position: center;
    padding: 1rem;
}
.swiper-slide img{
    width: 100%;
}
.secondary_swiper img{
    width: 70%;
}
.swiper {
    width: 45%;
    height: auto;
  }
  .swiper-slide{
    display: flex !important;
    flex-direction: column !important;
    justify-content: center;
    align-items: center;
  }
  .swiper-button-next,
  .swiper-button-prev{
    color: black !important;
  }
  .img_show{
    width: 50%;
    margin: auto;
    display: flex;
    align-items: start;
    justify-content: start;
    flex-wrap: wrap;
    gap: 1em;
  }
    .img_show img{
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: auto;
  }
form{
    color: #324855;
    font-size: 2rem;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3rem;
}
form p{
    max-width: 70%;
}

.form_grid{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.under_p_layout{
    margin: auto;
    width: 50%;
}
.under_p_layout img{
    width: 70%;
    margin: auto;
    border-radius: 25px;
}
.header_height{
    min-height: 100px;
}


  @media (max-width: 991px) {
    html {
        font-size: 60%;
    }
    .header_height{
        min-height: 226px;
    }
    .navbar{
        display: none;
    }
    .navbar_mobile{
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: auto;
        width: 100%;
        background-color: white;
    }
    .navbar_mobile>:first-child{
        display: flex;
        flex-direction: column;
        margin: auto;        
        padding-block: 2rem;
        width: 100%;
        font-size: 2.5rem;
    }
    .navbar_mobile>:first-child img{
        width: 20%;
        height: auto;
        max-width: 125px;
    }
    .nav-toggle img{
        position: absolute;
        top: 5%;
        right: 10%;
        width: 20%;
        max-width: 85px ;
    }
    .navigation_mobile{
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 10rem;
        height: 50vh;
        color: #324855;
        font-size: 2rem;
        font-weight: 900;
        text-align: center;
        list-style: none;
    }
    .hidden{
        display: none;
    }

    .hero-container {
        grid-template-columns: repeat(1, 1fr);
        height: fit-content;
        padding-bottom: 2rem;
        row-gap: 4rem;
        p {
            margin-right: 40%;
        }
    }
    .hero_btn{
        margin: auto;
    }
    .hero-img {
        margin: auto;
        padding-inline: 10%;
    }
    .main_title h1{
        font-size: 2.5rem;
    }
    form label{
        text-align: center;
    }
    form p{
        max-width: 95%;
    }
    form input{
       width: 100%;
    }
    .checkbox{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .checkbox input{
        width: 20%;
    }
    .checkbox label{
        width: 80%;
        font-size: 1rem;
    }

    .presentation_appart{
        width: 95%;
    }

    .layout_appart{
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 100%;
    }
    .layout_flex_column{
        width: 95%;
        align-items: center;
    }
    .apart_image_container_dispo{
        background: linear-gradient(180deg, #FFE07B 0%, #FFE07B 65%, #3A94A0 100%);
   }
   .apart_image_container_indispo{
       background: linear-gradient(180deg, #FFE07B 0%, #FFE07B 65%, #ff0000 100%);
   }

   .layout_flex_column h2{
    font-size:3.4rem;
    text-align: center;
    }
    .layout_flex_column p{
        font-size:1.6rem;
    }
    .apart_image_container_dispo img,
.apart_image_container_indispo img{
    max-width: 400px;
    border-radius: 0%;
    width: 100%;
    height: auto; 
    object-fit: cover;
    aspect-ratio: 1;
}
.main_title h2{
    font-size: 3.5rem;
}
.flex_row_center{
    flex-wrap: wrap;
}
.flex_row_center img{
    width: 20%;
    height: auto;
}
.under_p_layout{
    width: 95%;
}
.under_p_layout img{
    width: 100%;
}

iframe{
    max-width: 90%;
}
.swiper-slide img{
    width: 100%;
}
.swiper {
    width: 95%;
    height: auto;
  }

}

@media (max-width: 768px) {
    br {
        display: none;
    }
      .hero-text h1 br {
        display: none;
    }

    .hero-img {
        padding-inline: 10%;
    }

    .hero-text p {
        margin-right: 25%;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 55%;
    }

     .hero-text {
        h1 {
            font-size: 4.5rem;
            line-height: 7.5rem;
        }
        p {
            margin-right: 0;
        }
    }

    .hero-img {
        padding-inline: 0;
    }
}