/* --- ELIMINAR EFECTO DE REBOTE EN CELULARES --- */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    /* Esto bloquea el efecto de "estiramiento" al llegar al final del scroll */
    overscroll-behavior: none; 
    /* Esto ayuda a mantener la posición firme */
    -webkit-overflow-scrolling: auto;
}

/* --- BLOQUEO ADICIONAL PARA IOS --- */
body {
    /* Evita que el usuario pueda hacer zoom accidental o arrastrar la página */
    touch-action: manipulation;
}

/* --- CONFIGURACIÓN GENERAL --- */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    color: #fff;
    overflow-x: hidden; /* Evita movimientos horizontales extraños */
    min-height: 100vh;
}

/* --- FONDO FIJO (EL "MURO" ESTATICO) --- */
.fixed-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('imagenesindex/portada.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -9999; /* Siempre al fondo */
    pointer-events: none; /* Ignora el tacto para que no se mueva al tocar */
}

/* --- BARRA BLANCA SUPERIOR --- */
.navbar-aeromar {
    background-color: white;
    width: 100%;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 10px rgba(0,0,0,0.05);
    border-bottom: 1px solid #f1f1f1;
}

.container-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.menu-horizontal-banca {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    align-items: center;
}

.menu-horizontal-banca li {
    margin-left: 30px;
    white-space: nowrap;
}

.menu-horizontal-banca a {
    text-decoration: none;
    color: #6c757d;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    text-transform: capitalize;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.menu-horizontal-banca a:hover {
    color: #007bff;
}

.menu-horizontal-banca::-webkit-scrollbar {
    display: none;
}

/* --- SECCIÓN PRINCIPAL (HERO) --- */
.hero-section {
    min-height: calc(100vh - 75px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.center-logo { text-align: center; }
.center-img { max-width: 400px; width: 90%; height: auto; }

.tagline {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #fff;
    margin-top: -40px;
    font-style: italic;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.reserve-btn {
    background-color: #d4af37;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    margin-top: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reserve-btn:hover {
    background-color: #c79f1f;
    transform: scale(1.05);
}

/* --- SECCIONES DE CONTENIDO (FONDO BLANCO) --- */
.seccion-blanca, .seccion-ubicacion, footer {
    position: relative;
    z-index: 1; /* Esto hace que el contenido flote sobre el fondo fijo */
    background-color: white;
}

.seccion-blanca {
    padding: 60px 0;
}

/* --- ESTILOS DE UBICACIÓN --- */
.seccion-ubicacion {
    padding: 60px 20px;
    color: #333;
    text-align: center;
    border-top: 1px solid #eee;
}

.container-ubicacion {
    max-width: 800px;
    margin: 0 auto;
}

.texto-ubicacion {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.6;
    font-weight: 400;
}

.waze-btn {
    display: inline-block;
    background-color: #33ccff;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s ease;
}

.waze-btn:hover {
    background-color: #2bb8e5;
}

.ubicacion-icon {
    width: 40px;
    height: auto;
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* --- CAMBIO DE COLOR PARA TÍTULOS --- */
.titulo-seccion {
    color: #333; /* Cambia este #333 por el color que tú quieras */
}

/* --- ESTILO PARA EL TEXTO COPYRIGHT --- */
.footer-copy {
    color: #4e4d4d; /* El color que pediste */
    font-weight: 600; /* Un poco más marcado para que resalte */
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

footer {
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #ddd;
}

/* --- RESPONSIVO --- */
@media (max-width: 768px) {
    .container-nav { justify-content: center; padding: 0 10px; }
    .menu-horizontal-banca li { margin: 0 10px; }
    .menu-horizontal-banca a { font-size: 13px; }
    .titulo-seccion { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .menu-horizontal-banca a { font-size: 11px; }
    .center-img { width: 200px; }
    .titulo-seccion { font-size: 1.5rem; }
}