/* --- ESTILOS HERO SECTION --- */
.hero-section {
    width: 100%;
    height: 190px; /* Ajustable según necesidad */
    position: relative;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    background-color: #ffffff;
    padding: 20px 60px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-top: 100px;
}

.hero-content h1 {
    margin: 0;
    font-family: 'Playfair Display', serif; /* Tipografía elegante para el título */
    font-size: 48px;
    color: #1a2b3c;
    font-weight: 400;
    
}

/* --- RESPONSIVIDAD --- */
@media (max-width: 992px) {
    .nav-list {
        justify-content: flex-start; /* Alinea al inicio para scroll lateral */
        padding-left: 10px;
    }
    
    .hero-content {
        padding: 15px 40px;
        margin-top: 140px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 200px;
        
    }
    
    .hero-content {
        width: 80%;
        text-align: center;
        padding: 10px 20px;
        margin-top: 160px;
    }
}

/* ESTILOS GENERALES */


.hotel-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

h2 {
    font-weight: 300;
    font-size: 2.5rem;
    margin-top: 40px;
    margin-bottom: 30px;
    letter-spacing: 2px;
    font-family: 'Playfair Display' sans-serif;
}

/* CONTENEDOR DE IMAGEN Y EFECTO ZOOM */
.img-container {
    overflow: hidden; /* Importante para que el zoom no se salga */
    position: relative;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Efecto Zoom al pasar cursor */
.img-container:hover img {
    transform: scale(1.1);
}

/* GRID PRINCIPAL (PC) */
.main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 12px;
}

.img-top-wide { grid-column: 1 / span 3; height: 380px; }
.img-left-tall { grid-column: 1 / 2; grid-row: 2 / span 2; height: 452px; width: 360px; }
.img-small { height: 220px; width: 360px;}

/* GALERÍA EXTRA (PC) */
.extra-grid {
    display: none; /* Se activa con JS */
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.img-more { height: 220px; width: 360px; }



.btn-toggle {
    
    color: #000000;
    border: none;
    text-decoration: underline;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color:#ffffff;
}



/* Efecto Zoom (que ya tenías) */
.img-container {
    overflow: hidden;
    
}

.img-container img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.img-container:hover img {
    transform: scale(1.1);
}

/* Ocultar botones en móvil */
@media (max-width: 600px) {
    .btn-toggle {
        display: none !important;
    }
}



/* --- RESPONSIVIDAD (MÓVIL) --- */
@media (max-width: 768px) {
    /* Ocultar botón en móvil */
    .btn-toggle { display: none; }

    /* Convertir TODO en un slider horizontal */
    .gallery-wrapper {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding: 20px 0;
        -webkit-overflow-scrolling: touch;
    }

    /* Ocultar scrollbar visualmente */
    .gallery-wrapper::-webkit-scrollbar { display: none; }

    .main-grid, .extra-grid {
        display: flex !important; /* Forzamos flex para el slider */
        gap: 15px;
    }

    .img-container {
        flex: 0 0 85vw; /* Cada imagen ocupa el 85% del ancho */
        height: 350px !important;
        scroll-snap-align: center;
    }

    /* Reset de anchos/posiciones de PC */
    .img-top-wide, .img-left-tall, .img-small, .img-more {
        grid-column: auto !important;
        grid-row: auto !important;
        width: 85vw !important;
    }
}