
.section-first {
    position: relative;
    width: 100%;
    height: 30vw !important;
    /* background: url('https://source.unsplash.com/1600x900/?ocean,waves') center/cover no-repeat; */
    background: url('../images/banner.jpeg?ocean,waves') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.section-first.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00000052;
}

.section-first.banner h1 {
    font-size: 3em;
    font-weight: bold;
    z-index: 2;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

/* Forme vague en SVG */
.section-first.banner::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 14vw;
    /* background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="white" d="M0,288L48,272C96,256,192,224,288,213.3C384,203,480,213,576,197.3C672,181,768,139,864,117.3C960,96,1056,96,1152,106.7C1248,117,1344,139,1392,149.3L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"/></svg>') no-repeat bottom; */
    background: url('../images/ocean.svg') no-repeat bottom;
    background-size: contain;
}

/* ========= SECTION LIST ROOMS ========= */

.section-rooms {
    background: white;
    padding: 4vw 5.1562vw;
    gap: 2vw;
}
.section-rooms .section-filter .field input {
    width: 50vw;
    border: none;
    color: black;
    background: rgb(241, 241, 241);
    border-bottom: 1px solid var(--color-secundary);
}
.section-rooms .section-filter .field .icon {
    background: var(--color-secundary);
    cursor: pointer;
    color: white;
    border: 0px solid var(--color-secundary);
    transition: all .5s ease-in-out;
}
.section-rooms .section-filter .field .icon:hover {
    border: 1px solid var(--color-secundary);
    background: white;
    color: var(--color-secundary);
    transition: all .5s ease-in-out;
}

.section-rooms .content-list {
    display: flex;
    gap: 3vw 2vw;
    flex-wrap: wrap;
}
.section-rooms .content-list .card {
    position: relative;
    transition: all .5s ease-in-out;
    overflow: hidden;
    cursor: pointer;
    width: 20vw;
    height: 30vw;
}
.section-rooms .content-list .card figure {
    width: 20vw;
    height: 30vw;
    transition: all .5s ease-in-out;
}
.section-rooms .content-list .card figure::before {
    content: "";
    position: absolute;
    display: flex;
    width: 100%;
    height: 100%;
    background: rgba(61,31,18,0.45);
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
}
.section-rooms .content-list .card figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: all .5s ease-in-out;
}
.section-rooms .content-list .card:hover figure img {
    transition: all .5s ease-in-out;
    transform: scale(1.1);
}
.section-rooms .content-list .card .category {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--color-secundary);
    padding: 1vw 2vw;
    color: white;
    text-transform: uppercase;
    border-radius: 0;
    z-index: 3;
}
.section-rooms .content-list .card .details {
    position: absolute;
    bottom: 0;
    padding: 2vw;
    color: white;
    gap: 1vw;
    z-index: 3;
}

/* SPECIALEMENT  */

.section-room-details {
    background: white;
    padding: 4vw 5.1562vw;
    gap: 2vw;
}
.section-room-details .details-left {
    width: 70%;
}
.section-room-details .details-right {
    width: 30%;
}

.section-room-details .list-images {
    align-items: stretch;
    width: 100%;
    position: relative;
}
.section-room-details .list-images span {
    width: 19vw;
    height: auto;
    position: relative;
    display: block;
}
.section-room-details .list-images span.one {
    flex: 1;
    position: relative;
    overflow: hidden;
}
.section-room-details .list-images span img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: opacity 1s ease-in-out;

}
.section-room-details .list-images span.one img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
    transition: opacity 1s ease-in-out;
}
.section-room-details .list-images span.one img.hiden {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/*  */
.section-room-details .btn-direction {
    position: absolute;
    margin: 0 auto;
    bottom: 0;
    left: 30%;
    width: 70%;
}

.section-room-details .btn-direction .nav-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 0.5vw;
    cursor: pointer;
    border-radius: 50%;
    z-index: 4;
    
    width: 3vw;
    height: 3vw;
}

/*  */

.section-room-details .details-right .list-services {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1vw;
    margin-top: 2vw;
}
.section-room-details .details-right .list-services .one {
    width: fit-content;
    text-align: center;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1vw;
    padding: .1vw 1vw;
    background: #fff;
    border-radius: 5px;
    border: 1px solid var(--color-secundary);
    transition: all .5s ease-in-out;
}
.section-room-details .details-right .list-services .one .icon {
    color: var(--color-primary);
    width: 2vw;
    height: 3vw;
}
.section-room-details .details-right .list-services .one:hover {
    color: var(--color-primary);
    background: var(--color-tert);
    transition: all .5s ease-in-out;
}

.section-room-details .details-left .btn-action {
    background: var(--color-primary);
    color: #ffffff;
    width: fit-content;
    height: fit-content;
    transition: all .5s ease-in-out;
}
.section-room-details .details-left .btn-action:hover {
    background: var(--color-secundary);
    transition: all .5s ease-in-out;
}

@media (max-width:768px) {

    .section-first.banner {
        height: 100%;
        min-height: 98.80vw !important;
    }
    
    .section-rooms .section-filter .field input {
        width: 100%;
    }

    .section-rooms .section-filter .field .icon {
        width: 18vw;
        height: auto;
    }
    
    .section-rooms .content-list .card {
        width: 100%;
        height: auto;
    }

    .section-rooms .content-list .card figure {
        width: 100%;
        height: 41vw;
    }

    .section-room-details .details-left {
        width: 100%;
    }
    
    .section-room-details .list-images span {
        width: 100%;
        height: auto;
    } 
    .section-room-details .list-images span.one {
        flex: none;
        height: 62vw;
    } 

    .section-room-details .btn-direction .nav-icon {
        top: 50%;
        transform: translateY(-50%);
        padding: 0.5vw;
        border-radius: 50%;
        width: 10vw;
        height: 10vw;
    }
    .section-room-details .btn-direction {
        left: 35%;
        width: 100%;
    }
    .section-room-details .details-right {
        width: 100%;
    }
    .section-room-details .details-right .list-services {
        flex-wrap: wrap;
        gap: 3vw;
    }
    .section-room-details .details-right .list-services .one {
        gap: 8vw;
        padding: 1.1vw 4vw;
    }
    .section-room-details .details-right .list-services .one .icon {
        width: 3vw;
        height: auto;
    }
   

}