/* =============================== */
/* RESET GENERAL */
/* =============================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}


/* =============================== */
/* BACKGROUND */
/* =============================== */

.background {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background-image: url("../img/fondo.jpg");

    background-size: cover;
    background-position: center;

    filter: brightness(0.45);

    z-index: -1;

}


/* =============================== */
/* CONTENEDOR PRINCIPAL */
/* =============================== */

.contenedor {

    min-height: 100vh;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 20px;

}


/* =============================== */
/* LOGO */
/* =============================== */

.logo-box {

    text-align: center;

    margin-bottom: 20px;

}

.logo {

    width: 350px;
    filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.5));
    transition: transform 0.3s ease-in-out;

}

.logo:hover {
    transition: transform 0.3s ease-in-out;
    transform: scale(1.2);
}
/* =============================== */
/* FORMULARIO */
/* =============================== */

.form-box {

    width: 100%;

    max-width: 500px;

    background: rgba(255,255,255,0.97);

    padding: 25px;

    border-radius: 10px;

    box-shadow: 0 6px 18px rgba(0,0,0,0.25);

}


/* TITULO */

.form-box h2 {

    text-align: center;

    margin-bottom: 20px;

    color: #1b6640;

}


/* =============================== */
/* GRUPOS */
/* =============================== */

.grupo {

    margin-bottom: 16px;

}

.grupo label {

    display: block;

    font-weight: bold;

    margin-bottom: 6px;

}


/* =============================== */
/* INPUTS */
/* =============================== */

input,
select {

    width: 100%;

    padding: 10px;

    border-radius: 6px;

    border: 1px solid #ccc;

    font-size: 15px;

}

input:focus,
select:focus {

    outline: none;

    border-color: #1b6640;

}


/* =============================== */
/* CHECKS */
/* =============================== */

.checks {

    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;

}

.checks label {

    display: flex;
    align-items: center;
    gap: 10px;

    cursor: pointer;

}

/* CHECKBOX */

.checks input[type="checkbox"] {

    width: 18px;

    height: 18px;

    cursor: pointer;

}


/* =============================== */
/* BOTON */
/* =============================== */

.btn-principal {
    margin-top: 20px;

    width: 100%;

    padding: 12px;

    background: #1b6640;

    color: white;

    border: none;

    border-radius: 6px;

    font-size: 16px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.2s;

}

.btn-principal:hover {

    background: #228051;

}


/* =============================== */
/* SECCIONES OCULTAS */
/* =============================== */

.hidden {

    display: none !important;

}


/* =============================== */
/* COMIDAS */
/* =============================== */

#grupoComidas label{

    font-weight: bold;

}

/* HOSPEDAJE */

#grupoHospedaje .checks {

    margin-top: 6px;

}

/* =============================== */
/* MENSAJES (para futuro uso) */
/* =============================== */

.mensaje {

    margin-top: 10px;

    font-weight: bold;

}

.mensaje.error {

    color: red;

}

.mensaje.ok {

    color: green;

}


/* =============================== */
/* RESPONSIVE */
/* =============================== */

@media (max-width: 600px) {

    .form-box {

        padding: 18px;

    }

    .logo {

        width: 280px;

    }

}
