*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    background-color: antiquewhite;
    padding-top:90px;
}

header{
    background-color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    padding: 15px;
    gap: 15px;
    min-height: 90px;

    position:fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index:100;
}

.logo{
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

.logo-text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

.logo img{
    height: 50px;
    margin-right: 5px;

}


.logo .titulo{
    font-size: 1.4rem;
    color: black;
    margin: 0;
}

.subtitulo{
    margin: 0;
    font-size: 0.95rem;
    color: #ddd;
}
.texto-logo{
    display: flex;
    flex-direction: column;
}

.subtitulo{
    font-size: 1.0rem;
    color: black;
}
.banderas{
 height: 27px;
 margin-bottom: 5px;
 margin-left: 5px;
}


nav{
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

nav a{
    text-decoration: none;
    color:black;
}

nav a:hover{
    color: #ffd700;
}

.boton-reserva{
    background-color: #1a73e8;
    border: none;
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.25);
   
}

.boton-reserva:hover{
    background-color: #1558b0;

}

main{
    padding:40px 20px;
}

.reserva-container{
    max-width: 700px;
    margin: 0 auto;
    background-color:white;
    border-radius: 16px;
    padding:40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.reserva-container h2{
    font-size: 1.8rem;
    margin-bottom: 8px;
    text-align: center;
}

.reserva-container > p{
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    text-align: center;
}

fieldset{
    border:1px solid #ddd;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 24px;
}

legend{
font-size: 15px;
font-weight: 700;
color: #1a73e8;
padding: 0 8px;
}

/*cada campo*/
.form-grupo{
    display: flex;
    flex-direction: column;
    gap:6px;
    margin-bottom: 16px;
}

label{
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
}

input,
select,
textarea{
    padding: 10px 14px;
    border:1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #333;
    outline: none;
}

input:focus,
select:focus,
textarea:focus{
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

.radio-grupo{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top:4px;
}

.radio-grupo label{
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight:400;
    cursor: pointer;
}

/*Checkboxes*/

.checkbox-grupo{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top:4px;
}

.checkbox-grupo label{
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight:400;
    cursor: pointer;
}

/*Botones*/
.form-botones{
    display: flex;
    gap: 16px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.form-botones button{
    padding: 12px 30px;
    border: none;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}

/*boton para enviar*/
.btn-enviar{
    background-color: #1a73e8;
    color: white;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

.btn-enviar:hover{
    background-color: #1558b0;
}

.btn-limpiar{
    background-color: #f0f0f0;
    color: #333;
}

.btn-limpiar:hover{
    background-color: #ddd;
}

@media (max-width: 768px) {
    .reserva-container {
        padding: 24px 16px;
    }
}

@media (max-width: 560px) {

    header{
        flex-direction: column;
        align-items: flex-start;
    }
    nav{
        width:100%;
        flex-direction: column;
        gap:10px;
    }

    nav a{
        text-align: center;
        width:100%;
    }

    .boton-reserva{
        width: 100%;
        text-align: center;
    }

    .form-botones{
        flex-direction:column;
    }

    .form-botones button{
        width: 100%;
    }
}

@media (max-width: 300px) {
    .logo img{
        height: 36px;
    }

    .logo .titulo{
        font-size: 1.1rem;
    }

    fieldset{
        padding: 14px;
    }

    .reserva-container {
        padding: 16px 10px;
    }
}

