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

:root{
    --primary-color: #e82574;
    --white: #fff;
    --max-width: 1200px;
    --primary-color-dark: #bc1c5c;
}

*{
    font-family: 'Poppins', sans-serif;
}

body{
    transition: all 0.1s ease-in-out;
}

body.dark{
    background-color: #181818;
}

body.dark .about p, body.dark .about h2, body.dark .living p, body.dark .living h2,
body.dark .living h3
{
    color: var(--white);
}

h2{
    font-size: 40px;
    line-height: 50px;
    font-weight: 600;
}

header{
    height: 600px;
    background-image: url('../_assets/header.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

header nav{
    max-width:  var(--max-width);
    margin: auto;
    padding: 10px 0;
    color: var(--white);
    font-size: 20px;
}

header nav .nav_link{
    gap: 20px;
}

header .header_title{
    width: 600px;
    height: calc(600px - 79px);
    margin: auto;
    color: var(--white);
}

header .header_title p{
    font-weight: 300;
}

header .header_title h1{
    font-size: 50px;
    line-height: 60px;
}

header .header_title h1 span{
    color: var(--primary-color);
}

header .mode{
    top: 0;
    right: 10px;
}

header #switch{
    color: var(--white);
    font-weight: bold;
}

header .mode .toggle{
    height: 40px;
    width: 80px;
    border-radius: 40px;
    background-color: var(--white);
    cursor: pointer;
}

header .mode .toggle::before{
    content: '\f186';
    font-family: fontAwesome;
    height: 30px;
    width: 30px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    transition: all 0.3s ease-in-out;
}

header .mode .toggle.active::before{
    content: '\f185';
    left: calc(100% - 30px - 5px);
}

.btn{
    padding: 10px 15px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: 0.3s;
    cursor: pointer;
    color: var(--white);
}

.btn_contraste{
    padding: 10px 15px;
    background-color: var(--white);
    border-radius: 3px;
    transition: 0.3s;
    cursor: pointer;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

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

.btn_contraste:hover{
    background-color: var(--primary-color);
    color: var(--white);
}

.booking{
    width: 1200px;
    background-color: var(--white);
    padding: 25px;
    margin: auto;
    box-shadow: 5px 5px 20px rgba(0,0,0,.1);
    border-radius: 5px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.booking i{
    font-size: 25px;
    color: var(--primary-color);
    margin-right: 10px;
}

.booking input{
    outline: 0;
    border: 0;
}

.about{
    max-width: var(--max-width);
    margin: auto;
    padding: 100px 60px;
    gap: 60px;
}

.about img{
    width: 500px;
    height: auto;
}

.about-p::after{
    content: "";
    height: 2px;
    width: 40px;
    background-color: var(--primary-color);
    position: absolute;
    top: 50%;
    transform: translate(10px, -50%);
}

.about .flexCol{
    gap: 20px;
}

.living{
    max-width: var(--max-width);
    margin: auto;
}

.living .card{
    width: calc((100% - 60px) / 3);
    box-shadow: 5px 5px 10px rgba(0,0,0,.1);
    border-radius: 10px;
}

.living .card img{
    width: 100%;
    height: auto;
    border-radius: 10px 10px 0 0;
}

.living .card .pictos{
    bottom: 20px;
    right: 20px;
    gap: 20px;
}

.living .card .pictos .picto{
    width: 30px;
    height: 30px;
    background-color: var(--white);
    border-radius: 100%;
}

.living .card .pictos .picto:first-child{
    color: #f472b6;
}

.living .card .pictos .picto:nth-child(2){
    color: #c084fc;
}

.living .card .pictos .picto:last-child{
    color: #60a5fa;
}

.living .card .card_description{
    padding: 0 10px 20px;
}

.living .card h3, .living .card p{
    margin-bottom: 15px;
}

.services{
    background-image: url('../_assets/service.jpg');
    height: 600px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.services .service{
    max-width: var(--max-width);
    margin: auto;
}

.services .service .service_desc{
    width: 600px;
    height: 600px;
    background-color: var(--white);
    padding: 30px 50px;
}

.services .service .service_desc > div:first-child{
    height: 20%;
}

.services .service .service_desc > div:last-child{
    height: 80%;
}

.services .service .service_desc i{
    padding: 10px 15px;
}

.services .service .service_desc div:has(> i){
    width: 60px;
    height: 60px;
    border-radius: 100%;
    background-color: red;
}

.services i{
    font-size: 30px;
}

.services .service .service_desc div:last-child div div:has(> i){
    margin-right: 20px;
}

.services .service .service_desc div:last-child div:first-child div:has(> i){
    background-color: #dbeafe;
    color: #60a5fa;
}

.services .service .service_desc div:last-child div:nth-child(2) div:has(> i){
    background-color: #fce7f3;
    color: #f472b6;
}

.services .service .service_desc div:last-child div:nth-child(3) div:has(> i){
    background-color: #f3e8ff;
    color: #c084fc;
}

.services .service .service_desc div:last-child div:last-child div:has(> i){
    background-color: #ffe4e6;
    color: #fb7185;
}

.rassurances{
    max-width: var(--max-width);
    margin: auto;
    box-shadow: 5px 5px 20px rgba(0,0,0,.1);
    border-radius: 5px;
}

.rassurances > div{
    width: calc(100% / 3);
    padding: 30px 0;
}

.explore > div:last-child{
    background-image: url('../_assets/explore.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 40px 0;
}

.explore .cards_explore{
    max-width: var(--max-width);
    margin: auto;
}

.explore .cards_explore .card_explore{
    width: calc(100% / 3);
    padding: 40px 60px 40px 40px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 5px 5px 20px rgba(0,0,0,.1);
}

.explore .cards_explore .card_explore p{
    margin-bottom: 15px;
}

.explore .cards_explore .card_explore h3{
    margin-bottom: 25px;
}

footer{
    background-color: #0c0a09;
    padding-top: 60px;
    color: #78716c;
}

footer .columns{
    max-width: var(--max-width);
    margin: auto;
}

footer .columns .column{
    width: calc(100% / 4);
    padding: 0 10px;
}

footer h2{
    margin-bottom: 50px;
    color: var(--white);
    font-size: 24px;
}

footer div:first-child img{
    width: 165px;
    height: auto;
    margin-bottom: 50px;
    padding-top: 5px;
}

footer div:first-child p{
    margin-bottom: 30px;
}

footer .column:nth-child(2) a, footer .column:nth-child(3) a, footer .column:last-child a.capitalize{
    margin-bottom: 20px;
}

footer .column .socials{
    gap: 20px;
}

footer .column .socials img{
    width: 25px;
    height: auto;
}

footer .mentions{
    margin-top: 60px;
    padding-bottom: 15px;
}

