/* =========================================================
   1. RESET GENERAL Y ESTILOS BASE
   ========================================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html, body {
    width: 100%;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* =========================================================
   2. HEADER (FLOTANTE / FIJO ARRIBA)
   ========================================================= */
header {
    position: fixed; /* Se queda fijo flotando sobre la pantalla */
    top: 0;
    left: 0;
    width: 100%;
    height: 150px; /* Altura controlada para el header */
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.navbar-brand img {
    height: 150px;
    width: auto;
    object-fit: contain;
    display: block;
}

.navbar-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #1f2d3d;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #27ae60;
}

/* =========================================================
   3. HERO BANNER PRINCIPAL (CON MARGIN PARA NO CHOCAR)
   ========================================================= */
.hero-banner {
    position: relative;
    width: 100%;
    height: calc(100vh - 40px);
    margin-top: 110px;
    background-image: url('Howler frente prueba mejor resolucion.png');
    background-size: 100% auto;     /* <--- Esto agranda un poquito la foto para que llene los lados sin perder altura */
    background-position: center 5%; /* <--- Centra la casa justo en la mirada */
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-overlay {
    background: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.hero-overlay h2 {
    font-size: 2.2rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.hero-overlay h3 {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 25px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}

.btn-rooms {
    background-color: #2c3e50;
    color: #ffffff;
    padding: 14px 35px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #ffffff;
    transition: background-color 0.3s ease;
}

.btn-rooms:hover {
    background-color: #1a252f;
}

/* =========================================================
   4. SECCIÓN ABOUT Y CARRUSEL
   ========================================================= */
.about-section {
    padding: 60px 20px;
    background-color: #f4f1ea;
    text-align: center;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
}

.home-gallery-section {
    background-color: #fcfcfc;
    padding: 40px 50px;
}

.gallery-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
}

.gallery-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    width: 100%;
    scrollbar-width: none;
}

.gallery-item {
    flex: 0 0 calc(33.333% - 14px);
    height: 250px;
    border-radius: 6px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =========================================================
   5. BLOQUES DE HABITACIONES (ZIGZAG - FOTOS PROPORCIONADAS)
   ========================================================= */
.main-container {
    max-width: 1100px; /* <--- Ajustado a un punto medio */
    margin: 60px auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.room-block {
    display: flex;
    background: #ffffff;
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.room-block.reverse {
    flex-direction: row-reverse;
}

.room-image-side {
    flex: 1;
    width: 50%;
    min-height: 350px;
    max-height: 400px;
    overflow: hidden;
}

.room-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.room-text-side {
    flex: 1;
    width: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.room-title {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.room-description {
    color: #666;
    margin-bottom: 25px;
    font-size: 1rem;
}

.room-buttons {
    display: flex;
    gap: 15px;
}

.btn-room {
    padding: 10px 25px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #fff;
    background-color: #2c3e50;
}

/* =========================================================
   6. TOURS Y FOOTER
   ========================================================= */
.tours-section {
    padding: 60px 20px;
    background-color: #e9e5dc;
}

.site-footer {
    background-color: #1f2d3d;
    color: #ecf0f1;
    padding: 50px 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col {
    flex: 1;
    min-width: 220px;
    margin: 10px;
}

/* =========================================================
   7. RESPONSIVO
   ========================================================= */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        height: auto;
        padding: 15px;
        gap: 15px;
    }
    .hero-banner {
        margin-top: 130px; /* Ajuste para pantallas pequeñas donde el header se expande */
        height: 70vh;
    }
    .navbar-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .room-block, .room-block.reverse {
        flex-direction: column;
    }
    .room-image-side, .room-text-side {
        width: 100%;
    }
}
/* Estilo para el logo flotante en la esquina inferior izquierda */
.floating-bottom-logo {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999;
}

.floating-bottom-logo img {
    height: 60px; /* Puedes ajustar el tamaño según prefieras */
    width: auto;
    object-fit: contain;
    display: block;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    background-color: #ffffff;
    padding: 5px;
}