/* La portada de la web: formulario de reserva, cabecera con su foto y versión móvil. */

/* 1. TEXTO REAL MANUAL (Gris grafito elegante y grosor medio) */
#miFormularioReserva input.form-control, 
#miFormularioReserva select.form-select, 
#miFormularioReserva textarea.form-control {
    color: #333333 !important; /* Gris muy oscuro, más suave que el negro */
    font-weight: 500 !important; /* Grosor medio, claro pero no tosco */
    -webkit-text-fill-color: #333333 !important;
}

/* 2. TEXTO DE EJEMPLO (Gris humo y cursiva) */
#miFormularioReserva input.form-control::placeholder, 
#miFormularioReserva textarea.form-control::placeholder {
    color: #999999 !important; 
    font-weight: 400 !important; 
    font-style: italic !important; 
    -webkit-text-fill-color: #999999 !important;
    opacity: 1 !important;
}

/* 3. LIMPIEZA DE FOCO (Borde gris acero suave al pinchar) */
#miFormularioReserva input.form-control:focus, 
#miFormularioReserva select.form-select:focus, 
#miFormularioReserva textarea.form-control:focus {
    border-color: #adb5bd !important; 
    box-shadow: none !important; 
    background-color: #ffffff !important;
    outline: none !important;
}

/* 4. AUTOCOMPLETADO (Mantenemos la coherencia de color) */
#miFormularioReserva input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
    -webkit-text-fill-color: #333333 !important;
    font-weight: 500 !important;
}

/* 5. HERO — escritorio: oscurecimiento uniforme suave */
.hero-section {
    min-height: 85vh;
    background-color: #000;
    background-image: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)),
                      url("../img/header-bg.055e690a1c29.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    position: relative;
    overflow: hidden;
}

/* Nube de sombra suave detrás del bloque de texto — solo escritorio.
   Usamos un gradiente radial muy difuminado, no un rectángulo. */
@media (min-width: 768px) {
    .hero-text-block {
        position: relative;
    }
    .hero-text-block::before {
        content: '';
        position: absolute;
        inset: -40px -60px -40px -60px;
        background: radial-gradient(ellipse at 40% 50%, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.25) 50%, transparent 75%);
        z-index: -1;
    }
}

/* Sombra de texto: halo difuso amplio, no borde duro */
.hero-section h1 {
    text-shadow:
        0 0 30px rgba(0,0,0,0.8),
        0 0 60px rgba(0,0,0,0.5),
        0 2px 4px rgba(0,0,0,0.9) !important;
}
/* Resoluciones medias (portátiles 1280-1440px): reducimos el h1 para que no parta en dos líneas */
@media (min-width: 992px) and (max-width: 1400px) {
    .hero-section h1.display-3 {
        font-size: 2.8rem !important;
    }
}
.hero-subtitle {
    text-shadow:
        0 0 20px rgba(0,0,0,0.8),
        0 0 40px rgba(0,0,0,0.5),
        0 1px 3px rgba(0,0,0,0.9) !important;
}

/* Móvil vertical: imagen fija detrás de todo el contenido */
@media (max-width: 767px) and (orientation: portrait) {
    .hero-section {
        background: transparent none;
        background-color: transparent !important;
    }
    #hero-bg-movil {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background-image: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.1) 60%),
                          url("../img/header-movil.c8b0b373d5e9.jpg");
        background-size: cover;
        background-position: center top;
        background-repeat: no-repeat;
        z-index: -1;
    }
}
@media (min-width: 768px), (orientation: landscape) {
    #hero-bg-movil { display: none; }
}
