
.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 ATTRACTIONS ========= */

.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;
}

/* LISTE DES ATTRACTIONS */
.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: auto;
}
.section-rooms .content-list .card figure {
    width: 20vw;
    height: 30vw;
    position: relative;
    overflow: hidden;
    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);
}

@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;
    }
    
}