/*/////////////////////////////////////////// HEADER */
header{
    background-color: var(--main-color);
}

.header_menu li a{
    color: #fff;
}

.header_menu li a:hover{
    color: #ccc;
}

/*/////////////////////////////////////////// GENERAL*/

.hospedaje{
    width: 100%;
    padding: 120px 100px 50px 100px;
}

.categoria_titulo{
    font-weight: 300;
    font-size: 20px;
    letter-spacing: 0.5px;
    color: #333333;
    margin-bottom: 5px;
}

.linea_categoria_titulo{
    width: 60px;
    border: 1px solid #ccc;
    margin-bottom: 20px;
}

.nombre_hospedaje{
    display: block;
    font-weight: 500;
    font-size: 40px;
    text-transform: uppercase;
    color: #222222;
    margin-bottom: 20px;
}

.precio_hospedaje{
    display: block;
    font-weight: 600;
    font-size: 35px;
    color: #222222;
    margin-top: 20px;
}

.hospedaje_section_titulo{
    display: block;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}


.divisor_seccion_hospedaje{
    width: 100px;
    border: 2px solid #111;
    margin: 25px 0;
}

/*/////////////////////////////////////// IMÁGENES //////////////////////////////*/

.contenedor_imagenes{
    width: 80%;
    display: grid;
    gap: 10px;
    height: 500px;
}

.imagen_item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 5px;
}

.imagen_item{
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.imagen_item.overlay .more {
    position: absolute;
    inset: 0; /* top, bottom, left, right = 0*/
    font-family: "montserrat";
    font-weight: 600;
    background: rgba(0, 0, 0, 0.55);
    color: white;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
}

/*///////////// GRILLA 7 o más //////////////////////*/

.contenedor_imagenes.grilla_cant7{
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 0.7fr;
}   

.contenedor_imagenes.grilla_cant7 .imagen_item0{
    grid-column: 1 / 4;
    grid-row: 1 / 3;
}

/*///////////// GRILLA 6 //////////////////////*/

.contenedor_imagenes.grilla_cant6{
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
}   

.contenedor_imagenes.grilla_cant6 .imagen_item0{
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

/*///////////// GRILLA 5 //////////////////////*/

.contenedor_imagenes.grilla_cant5{
    grid-template-columns: 1fr 0.5fr;
    grid-template-rows: 1fr 1fr 1fr;
}   

.contenedor_imagenes.grilla_cant5 .imagen_item0{
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

/*///////////// GRILLA 4 //////////////////////*/

.contenedor_imagenes.grilla_cant4{
    grid-template-columns: 1fr 0.7fr;
    grid-template-rows: 1fr 1fr 1fr;
}   

.contenedor_imagenes.grilla_cant4 .imagen_item0{
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.contenedor_imagenes.grilla_cant4 .imagen_item3{
    grid-row: 2 / span 3;
}

/*///////////// GRILLA 3 //////////////////////*/

.contenedor_imagenes.grilla_cant3{
    grid-template-columns: 1fr 0.5fr;
    grid-template-rows: 2fr 1fr;
}   

.contenedor_imagenes.grilla_cant3 .imagen_item2{
    grid-column: 1 / span 2;
}

/*///////////// GRILLA 2 //////////////////////*/

.contenedor_imagenes.grilla_cant2{
    grid-template-columns: 1fr 0.7fr;
    grid-template-rows: 2fr;
}   


/*/////////////////////////////////////// SERVICIOS //////////////////////////////*/

.contenedor_servicios{
    width: 75%;
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
    column-gap: 30px;
}

.servicio_item{
    width: 31%;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 10px;
    border: 1px solid #ccc;
    box-shadow: 3px 4px 5px rgba(0, 0, 0, 0.10);
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.servicio_item:hover{
    box-shadow: 5px 6px 10px rgba(0, 0, 0, 0.10);
    transform: scale(1.02);
}

.servicio_item img{
    width: 25px;
    margin-right: 20px;
}

.servicio_item span{
    font-size: 12px;
    font-weight: 300;
    color: #333;
    
}


/*///////////////////////////////////// FORMULARIO RESERVA //////////////////////////////*/

#form_reserva{
    width: 100%;
    display: flex;
}

.contenedor_calendario{
    width: 30%;
    margin-right: 5%;
}

 .contenedor_inputs{
    width: 35%;
}


.titulo_form_reservar{
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #707070;
    margin-bottom: 50px;
}

#fecha_rango, .tipo_hospedaje{
    display: none;
}

#form_reserva label{
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #333333;
    margin-bottom: 10px;
}

#form_reserva input{
    width: 100%;
    border: none;
    outline: none;
    margin-bottom: 28px;
    border-bottom: 1px solid #ccc;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 400;
    transition: all 0.3s ease;
}

#form_reserva input:focus{
    border-bottom: 1px solid var(--main-color);
}

#form_reserva input[type = "submit"]{
    border: 2px solid transparent;
    background-color: var(--main-color);
    color: #fff;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 20px;
    box-shadow: 4px 5px 8px rgba(0, 0, 0, 0.10);
    cursor: pointer;
    transition: all 0.5s ease;
}

#form_reserva input[type = "submit"]:hover{
    background-color: #fff;
    border: 2px solid var(--main-color);
    color: var(--main-color);
}

.mensaje_error{
    display: block;
    margin: 0 auto;
    font-size: 14px;
    color: var(--main-color);
    padding: 15px 0;
}


/*////////////////////////// MÁS INFORMACIÓN ///////////////////*/

.mas_informacion{
    width: 25%;
    padding: 40px 30px;
    border: 1px solid #666666;
    border-radius: 3px;
}

.mas_informacion span{
    display: block;
    text-align: center;
    font-size: 20px;
    font-weight: 300;
    color: #111;
}

.mas_informacion a{
    display: block;
    cursor: pointer;
    width: 50%;
    margin:  20px auto;
    background-color: var(--main-color);
    color: #fff;
    padding: 10px 0;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 300;
    text-align: center;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.mas_informacion a:hover{
    background-color: #fff;
    border: 1px solid var(--main-color);
    color: var(--main-color);
}

.mas_informacion p{
    text-align: center;
    font-size: 12px;
    font-weight: 300;
    color: #666666;
}

/*////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////// RESPONSIVE /////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////*/

@media (max-width: 700px) {

    /*/////////////////////////////////////////// HEADER */
    .header_menu li a{
        color: var(--main-color);
    }

    .header_menu li a:hover{
        color: #666;
    }

    /*/////////////////////////////////////////// GENERAL*/

    .hospedaje{
        padding: 30px 25px 60px 25px;
    }

    .categoria_titulo{
        font-size: 17px;
        letter-spacing: 0.9px;
    }

    .linea_categoria_titulo{
        width: 50px;
    }

    .nombre_hospedaje{
        font-size: 28px;
        margin-bottom: 15px;
    }

    .precio_hospedaje{
        font-size: 25px;
        margin-top: 20px;
    }

    .hospedaje_section_titulo{
        font-size: 15px;
    }


    .divisor_seccion_hospedaje{
        width: 80px;
        border: 1px solid #111;
        margin: 20px 0;
    }

    /*/////////////////////////////////////// IMÁGENES //////////////////////////////*/

    .contenedor_imagenes{
        width: 100%;
        gap: 10px;
        height: 300px;
    }

    .imagen_item.overlay .more {
        font-size: 12px;
    }

    /*/////////////////////////////////////// SERVICIOS //////////////////////////////*/

    .contenedor_servicios{
        width: 100%;
        justify-content: center;
    }

    .servicio_item{
        width: 90%;
        padding: 8px 12px;
        margin-bottom: 15px;
    }

    .servicio_item img{
        width: 21px;
        margin-right: 15px;
    }

    .servicio_item span{
        font-size: 10px;       
    }


    /*///////////////////////////////////// FORMULARIO RESERVA //////////////////////////////*/

    #form_reserva{
        flex-wrap: wrap;
    }

    .contenedor_calendario{
        width: 90%;
        margin-right: 0;
    }

    .contenedor_inputs{
        width: 90%;
    }

    .titulo_form_reservar{
        font-size: 14px;
        margin-bottom: 40px;
    }

    #form_reserva label{
        font-size: 13px;
    }

    #form_reserva input{
        margin-bottom: 22px;
        padding: 6px 10px;
        font-size: 12px;
    }


    #form_reserva input[type = "submit"]{
        font-size: 13px;
        margin-top: 15px;
    }

    .mensaje_error{
        font-size: 13px;
        padding: 12px 0;
    }

    /*////////////////////////// MÁS INFORMACIÓN ///////////////////*/

    .mas_informacion{
        width: 70%;
        padding: 30px 20px;
    }

    .mas_informacion span{
        font-size: 17px;
    }

    .mas_informacion a{
        width: 70%;
        margin:  15px auto;
        font-size: 12px;
    }

    .mas_informacion p{
        font-size: 11px;
    }



}