/* ===========================================
   1. ESTILOS GENERALES Y PC
   =========================================== */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
} 

body { 
    font-family: 'Montserrat', sans-serif; 
    background-color: #fdfbf7; 
    color: #333; 
    line-height: 1.6; 
    transition: background-color 0.3s ease, color 0.3s ease; 
} 

header { 
    background-color: #1a3a34; 
    color: white; 
    padding: 50px 20px; 
    text-align: center; 
} 

nav { 
    background-color: #0077b6; 
    padding: 15px; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 20px; 
} 

.logo-nav { 
    height: 50px; 
    width: auto; 
    border-radius: 50%; 
    border: 2px solid #ff8c00; 
} 

nav a { 
    color: white !important; 
    text-decoration: none !important; 
    font-weight: 600; 
    padding: 8px 12px; 
} 

.hero { 
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../img/cataratasarcoiris.png') center/cover; 
    height: 400px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    color: white; 
    text-align: center; 
} 

.frase-aventura { 
    color: #ff8c00; 
    font-size: 3rem; 
} 

section { padding: 60px 20px; } 

.titulo-seccion { text-align: center; margin-bottom: 30px; } 

.contenedor-cards { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 20px; 
    max-width: 1100px; 
    margin: 0 auto; 
} 

.card { 
    background: white; 
    border-radius: 12px; 
    padding: 20px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
    text-align: center; 
} 

.card img { 
    width: 100%; 
    height: 200px; 
    object-fit: cover; 
    border-radius: 8px; 
    margin-bottom: 15px; 
} 

.galeria { 
    display: flex; 
    overflow-x: auto; 
    gap: 10px; 
    scroll-snap-type: x mandatory; 
    align-items: center; 
    min-height: 260px; 
} 

.galeria img { 
    flex: 0 0 100%; 
    scroll-snap-align: center; 
} 

.img-oso, .img-guacamayo { 
    object-fit: contain !important; 
    height: 260px !important; 
    background-color: #ffffff !important; 
    padding: 5px !important; 
} 

#conservacion { 
    background: linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)), url('../img/flores.jpg') center/cover no-repeat fixed; 
    min-height: 450px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    padding: 40px 20px; 
} 

.sangria-pareja { 
    max-width: 850px; 
    background: rgba(255, 255, 255, 0.9); 
    padding: 45px; 
    border-radius: 25px; 
    text-align: center; 
} 

footer { 
    background: #1a3a34; 
    color: white; 
    text-align: center; 
    padding: 30px; 
} 

.whatsapp-flotante { 
    position: fixed; 
    width: 60px; 
    height: 60px; 
    bottom: 25px; 
    right: 25px; 
    background-color: #25d366; 
    color: #FFF; 
    border-radius: 50px; 
    text-align: center; 
    font-size: 30px; 
    z-index: 10000; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
} 

.whatsapp-flotante img { width: 35px; height: 35px; } 

/* ===========================================
   2. AJUSTES PARA CELULAR (2 COLUMNAS)
   =========================================== */
@media screen and (max-width: 768px) {
    nav {
        display: block !important;
        padding: 10px !important;
    }

    .logo-link, .logo-nav {
        display: none !important;
    }

    .enlaces {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important; 
        gap: 8px !important;
        width: 100% !important;
        padding: 5px !important;
    }

    .enlaces a {
        display: block !important;
        padding: 12px 5px !important;
        font-size: 13px !important;
        text-align: center !important;
        background-color: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid white !important;
        border-radius: 5px !important;
    }

    .enlaces a:last-child {
        grid-column: span 2 !important;
    }
}

/* ===========================================
   3. MODO OSCURO AUTOMÁTICO
   =========================================== */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #121212 !important; 
        color: #e0e0e0 !important; 
    }

    .card, .sangria-pareja {
        background-color: #1e1e1e !important; 
        color: #ffffff !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.5) !important;
    }

    header {
        background-color: #0d1f1b !important; 
    }

    .titulo-seccion {
        color: #ff8c00 !important; 
    }
}