/* =======================================================================
   1. VARIABLES Y CONFIGURACIÓN GENERAL (MOBILE FIRST)
======================================================================= */
:root {
    --color-primario: #2c5e3b; /* Verde bosque */
    --color-secundario: #cfa85e; /* Dorado/Arena */
    --color-fondo: #f9f9f9;
    --color-texto: #333333;
    --fuente-titulos: 'Playfair Display', serif;
    --fuente-textos: 'Montserrat', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--fuente-textos);
    background-color: var(--color-fondo);
    color: var(--color-texto);
    line-height: 1.6;
    overflow-x: hidden; /* Evita scroll horizontal indeseado */
}

/* =======================================================================
   2. HEADER Y MENÚ HAMBURGUESA
======================================================================= */
header {
    background-color: var(--color-primario);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 100;
}

header h1 {
    font-family: var(--fuente-titulos);
    font-size: 1.5rem;
}

/* Botón Hamburguesa */
.btn-menu {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    display: block; /* Visible en celular */
}

/* Menú oculto por defecto en celular */
nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-primario);
    display: none; /* Se activa con JS */
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

nav.activo {
    display: flex; /* Clase que agrega JS */
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    display: block;
    padding: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* =======================================================================
   3. INICIO: CARRUSEL DE FOTOS (SCROLL SNAP)
======================================================================= */
.carrusel-contenedor {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carrusel-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* Suavidad en iOS */
}

.carrusel-slider::-webkit-scrollbar {
    display: none; /* Oculta la barra de scroll fea */
}

.slide {
    min-width: 100%;
    height: 60vh; /* Ocupa el 60% del alto de la pantalla */
    scroll-snap-align: start;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-texto {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.slide-texto h2 {
    font-family: var(--fuente-titulos);
    margin-bottom: 5px;
}

/* =======================================================================
   4. INICIO: SECCIÓN DE VIDEOS
======================================================================= */
.seccion-videos {
    padding: 3rem 1rem;
    text-align: center;
    background-color: #fff;
}

.seccion-videos h2 {
    font-family: var(--fuente-titulos);
    color: var(--color-primario);
    margin-bottom: 1.5rem;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Proporción 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.video-wrapper iframe, .video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* =======================================================================
   5. COMPONENTES GENERALES (GRILLA DE CABAÑAS, ETC)
======================================================================= */
.contenedor {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* ... Acá iría el CSS de la grilla-cabanas que armamos antes ... */

/* =======================================================================
   6. FOOTER Y FLOTANTES
======================================================================= */
/* ... Acá iría el CSS del footer y el botón de WhatsApp ... */

/* =======================================================================
   7. MEDIA QUERIES (ADAPTACIÓN A TABLET Y PC)
======================================================================= */
@media (min-width: 768px) {
    /* El botón hamburguesa desaparece en PC */
    .btn-menu {
        display: none; 
    }

    /* El menú vuelve a ser horizontal y siempre visible */
    nav {
        position: static;
        display: flex;
        width: auto;
        background: transparent;
        box-shadow: none;
        padding: 0;
    }
    
    nav ul {
        flex-direction: row;
        gap: 20px;
    }
    
    nav ul li a {
        border-bottom: none;
    }
    
    .slide {
        height: 80vh; /* Más alto en PC */
    }
}