@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600;700&display=swap');

:root {
    --orange: rgb(232, 67, 35);
    --blue: rgb(16, 80, 158);
    --white: #fff;
    --bluelight: rgb(20, 89, 135);
    --black: #000;
    --gray: #e6e2e2;
}

* {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    transition: all .2s linear;
}

*::selection {
    background: var(--orange);
    color: var(--white);
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 6rem;
    scroll-behavior: smooth;
}

section {
    padding: 2rem 9%;
}

.heading {
    text-align: center;
    padding: 2.5rem 0;
}

.heading span {
    font-size: 3.5rem;
    background: var(--blue);
    color: var(--white);
    border-radius: .5rem;
    padding: .2rem 1rem;
}

.heading span.space {
    background: none;
}

.btn {
    display: inline-block;
    margin-top: 1rem;
    background: var(--orange);
    color: var(--white);
    padding: .8rem 3rem;
    border: .2rem solid var(--orange);
    cursor: pointer;
    font-size: 2.5rem;
    font-weight: bolder;
}

.btn:hover {
    background: var(--white);
    color: var(--orange);
}

header {
    position: fixed;
    width: 100%;
    background: var(--blue);
    z-index: 1000;
    display: flex;
    align-items: center;
    height: 80px;
}

header .logo .images {
    width: 1%;
    padding: .1rem 1%;
}

header .logo_texto {
    font-size: 3rem;
    font-weight: bolder;
    color: var(--white);
    text-transform: uppercase;
    padding: 0 12%;
}

header .info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

header .info a {
    color: var(--white);
    font-size: 2rem;
    padding: 0 10px;
}

.logo img {
    padding: 10px;
    width: 80px;
    height: 80px;
}

header .logo_texto span {
    color: var(--orange);
}

header .navbar {
    padding: 0 2%;
}

header .navbar a {
    color: var(--white);
    font-size: 2rem;
    margin: 0 .8rem;
}

header .navbar a:hover {
    color: var(--orange);
}

header .navbar .icono_grande {
    font-size: 2.8rem;
}

.client-container #slider-clientes {
    position: absolute;
    top: 2rem;
    right: 3rem;
    font-size: 5rem;
    color: var(--white);
    cursor: pointer;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--blue);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: var(--black);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.name_container {
    display: flex;
    gap: 1em;
    width: 100%;
}

.name_container .box_input {
    width: 100%;
}

.button_container {
    display: flex;
    gap: 1em;
    width: 100%;
}

#menu-bar {
    color: var(--white);
    border: .1rem solid var(--white);
    border-radius: .5rem;
    font-size: 3rem;
    padding: .5rem 1.2rem;
    cursor: pointer;
    display: none;
}

.home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    position: relative;
}

.home .content {
    position: relative; /* Cambiado a relative */
    bottom: -60px; /* Ajusta este valor para mover el contenido hacia abajo */
    text-align: center;
}

.home .content h3 {
    font-size: 4.5rem;
    color: var(--white);
    text-transform: uppercase;
    text-shadow: 0 .3rem .5rem rgba(0, 0, 0, .1);
}

.footer {
    background: var(--blue);
    position: relative; /* Cambiado a relative */
    width: 100%;
    margin: 0;
}

.footer .box-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer .box-container .box {
    padding: 1rem 0;
    flex: 1 1 25rem;
}

.footer .box-container .box h3 {
    font-size: 2.8rem;
    padding: .7rem 0;
    color: var(--white);
}

.footer .box-container .box p {
    font-size: 1.7rem;
    padding: .7rem 0;
    color: var(--white);
}

.footer .box-container .box a {
    display: block;
    font-size: 1.7rem;
    padding: .7rem 0;
    color: var(--white);
    text-decoration: none;
}

.footer .box-container .box .redes a {
    font-size: 26px;
}

.footer .box-container .box a:hover {
    color: var(--orange);
    text-decoration: none;
}

.footer .credit {
    text-align: center;
    padding: 2rem 1rem;
    margin: 0 auto;
    margin-top: 1rem;
    font-size: 2rem;
    font-weight: normal;
    color: var(--white);
    border-top: .1rem solid rgba(255, 255, 255, .2);
}

.footer .credit span {
    color: var(--orange);
}

body {
    min-height: 100vh; /* Cambiado a min-height */
}

/* Formulario Reserva */
.contenedor-formulario {
    margin-top: 80px; /* Espacio antes del formulario */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.formReserva {
    width: 100%;
    max-width: 600px; /* Limita el ancho del formulario */
    background-color: var(--white); /* Color de fondo ligero */
    border-radius: 10px; /* Bordes redondeados */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra suave */
    padding: 20px; /* Espacio interno */
}

.reserva h1 {
    margin-top: -30px;
    font-size: 3rem;
    color: var(--blue);
}

.reserva .formReserva h3 {
    font-size: 2rem;
    font-weight: bold;
    padding: 10px 0; /* Ajuste del padding */
}

.reserva .formReserva .inputBox input {
    width: 100%; /* Ajuste para un mejor uso del espacio */
    border: 0.75rem solid var(--bluelight);
    font-size: 1.7rem;
    color: #333;
    text-transform: none;
    padding: 1rem;
}

.reserva .selector {
    width: 100%; /* Ajuste para un mejor uso del espacio */
    padding: 1rem;
    border: 0.75rem solid var(--bluelight);
    font-size: 1.7rem;
    color: #333;
    background-color: var(--white);
    text-transform: none;
}

.reserva .formReserva .btn {
    display: block;
    margin: 20px auto; /* Centra el botón horizontalmente */
    margin-top: 1rem;
    background: var(--orange);
    color: var(--white);
    padding: .8rem 3rem;
    border: .2rem solid var(--orange);
    cursor: pointer;
    font-size: 2.5rem;
    font-weight: bolder;
}

.reserva .formReserva .btn:hover {
    background: var(--white);
    color: var(--orange);
}

.field-label {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5em;
    display: block;
}

.field-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.field-label {
    flex: 1;
    margin-right: 10px;
}

.field-input {
    width: 100%;
}

input[type="text"],
input[type="number"] {
    width: 100%;
}

/* Validar Reserva */
.inputBox p {
    font-size: 16px;
    color: #fe5f55;
    font-weight: bold;
}

.inputBox.fallaReserva input {
    border: 0.75rem solid #fe5f55 !important;
}

.inputBox.okReserva input {
    border: 0.75rem solid #0b686b !important;
}

.inputBox.fallaReserva select {
    border: 0.75rem solid #fe5f55 !important;
}

.inputBox.okReserva select {
    border: 0.75rem solid #0b686b !important;
}

.inputBox.fallaReserva textarea {
    border: 0.75rem solid #fe5f55 !important;
}

.inputBox.okReserva textarea {
    border: 0.75rem solid #0b686b !important;
}

.mensajeCorrecto,
.mensajeIncorrecto {
    font-size: 16px;
    font-weight: bold;
    display: none;
}

.mensajeCorrecto {
    color: #0b686b;
}

.mensajeIncorrecto {
    color: #fe5f55;
}

.inputs-container {
    margin-bottom: 1rem;
}

.adult-inputs,
.child-inputs {
    margin-bottom: 0.5rem;
}

@media (max-width: 1200px) {
    html {
        font-size: 55%;
    }
}

@media (max-width: 991px) {
    header {
        padding: 2rem;
    }

    section {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    #menu-bar {
        display: initial;
    }

    header .navbar {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: #333;
        border-top: .1rem solid rgba(255, 255, 255, .2);
        padding: 1rem 2rem;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }

    header .navbar.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    header .navbar a {
        display: block;
        border-radius: .5rem;
        padding: 1.5rem;
        margin: 1.5rem 0;
        background: #222;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 50%;
    }

    .heading span {
        font-size: 2.5rem;
    }

    .contact .row form .inputBox input {
        width: 100%;
    }
}