@keyframes coverAnimation {
    0% {
        opacity: 1;
        transform: translateX(-101%);
    }
    50% {
        transform: translateX(0);
    }
    100% {
        opacity: 1;
        transform: translateX(101%);
    }
}

@keyframes opacityAnimation {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


/* BANNER */
.banner {
    position: relative;
    z-index: 1;
    color: #fff;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 7% 2%;
    width: 100%;
}

.superior {
    background-image: url("../img/Adaptaciones/01_inicio/habitaciones_layout_585x490/superior/aptos_las_gaviotas_sup_high_02.jpg");
}

.superior.bottom {
    background-image: url("../img/Adaptaciones/03_habitaciones/book_1905x408/book_01.jpg");
}

.doble {
    background-image: url("../img/Adaptaciones/01_inicio/habitaciones_layout_585x490/doble/aptos_the_las_gaviotas_dob_high_14.jpg");
}

.doble.bottom {
    background-image: url("../img/Adaptaciones/03_habitaciones/book_1905x408/book_02.jpg");
}

.plus {
    background-image: url("../img/Adaptaciones/01_inicio/habitaciones_layout_585x490/std_plus/aptos_las_gaviotas_std_plus_08.jpg");
}

.plus.bottom {
    background-image: url("../img/Adaptaciones/03_habitaciones/book_1905x408/book_03.jpg");
}

.standard {
    background-image: url("../img/Adaptaciones/01_inicio/habitaciones_layout_585x490/standard/aptos_the_las_gaviotas_stad_high_12.jpg");
}

.standard.bottom {
    background-image: url("../img/Adaptaciones/03_habitaciones/book_1905x408/book_03.jpg");
}

.banner:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
    z-index: -1;
    background-color: #1c1c1c;
}

.banner.no-filter:before {
    background-color: #1c1c1c4b;
}

.px-0 {
    padding-left: 0;
    padding-right: 0;
}

.banner .title {
    font-family: 'Almarai', sans-serif;
    font-size: 50px;
    text-align: center;
}

.banner-container {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* TEXTO BANNER */
.banner-text {
    width: 40%;
    padding: 30px;
    letter-spacing: 2px;
}

.banner-text .head {
    position: relative;
    overflow: hidden;
    width: fit-content;

    margin-bottom: 2%;
    padding: 10px;
    font-size: 1.1vw;
    letter-spacing: 4px;
}

.banner-text .head span {
    animation: .75s ease-out 1 opacityAnimation forwards;
    opacity: 0;
}

.banner-text .lead {
    position: relative;
    overflow: hidden;
    width: fit-content;

    margin-bottom: 15%;
    padding: 10px;
    font-size: 3vw;
}

.banner-text .lead span{
    animation: .75s ease-out 1 opacityAnimation forwards;
    opacity: 0;
    font-family: 'Almarai', sans-serif;
}

/* IMAGEN HABITACIÓN BANNER */
.banner-container .image {
    position: relative;
    overflow: hidden;
    width: 50%;
}

.banner-container .image img {
    animation: .75s ease-out 1 opacityAnimation forwards;
    opacity: 0;
    width: 100%;
}

/* ADAPATACION PARA ANIMACION */
.banner-container .head:before,
.banner-container .lead:before,
.banner-container .image:before {
    content: "";
    animation: .75s ease-out 1 coverAnimation forwards;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    opacity: 0;
}


.golden:before {
    background-color: #508bb6;
}

.white:before {
    background-color: #fff;
}

.banner-container .button {
    animation: .75s ease-out 1 opacityAnimation forwards;
}

/* Efecto de comienzo 'asimetrico'*/
.banner-container .head:before,
.banner-text .head span {
    animation-delay: .2s;
}

.banner-container .lead:before,
.banner-text .lead span {
    animation-delay: .1s;
}

.banner-container .image:before,
.banner-container .image img {
    animation-delay: .3s;
}


/* INTRODUCCION */
.introduccion {
    max-width: 1200px;
    padding: 0 15px;
    margin: 120px auto;
}

.introduccion h1 {
    text-align: center;
    color: #508bb6;
    font-size: 40px;
    margin-bottom: 60px;
}

.introduccion p {
    color: #A3A3A3;
    font-size: 14px;
    line-height: 28px;
}

/* SERVICIOS */
.servicios {
    max-width: 1200px;
    margin: 120px auto;
    text-align: center;
}

.servicios h1 {
    font-size: 40px;
    color: #1C1C1C;
}

.service {
    width: 33.3%;
}

.service-group {
    margin-bottom: 40px;
}

.service-group-heading {
    padding-bottom: 0 !important;
}

/* OTRAS HABITACIONES */
.accommodation-part {
    width: 400px;
}

/* MEDIA QUERY */
@media screen and (min-width: 320px) and (max-width: 1250px) {
    .introduccion {
        max-width: 800px;
        margin: 10vw auto;
    }

    .introduccion h1 {
        margin-bottom: 3.5vw;
    }

    .introduccion p {
        text-align: justify;
    }
}


@media screen and (min-width: 320px) and (max-width: 900px) {
    .banner-text {
        width: 95%;
        text-align: center;
        padding: 10px;
    }

    .banner-text .head {
        font-size: 2.5vw;
        margin: 0 auto 2%;
        padding: 5px;
    }
    
    .banner-text .lead {
        font-size: 4.8vw;
        margin: 0 auto 8%;
        padding: 5px;
    }

    .banner-container .image {
        display: none;
    }
    
    .banner-text .button {
        margin: 0;
    }

    .banner-text .button a {
        font-size: 11px;
        padding: 1.7vw 3.4vw;
    }
    
}


@media screen and (min-width: 320px) and (max-width: 600px) {
    .service {
        width: 50%;
    }
}