/* ============================================================
   1. VARIABLES GLOBALES
   ============================================================ */
:root {
    --verde-profundo: #05120b;
    --verde-medio: #0b2414;
    --dorado: #c5a059;
    --blanco-hueso: #f5f5f5;
    --verde-brillante: #2ecc71;
    --transicion: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--verde-profundo);
    font-family: 'Poppins', sans-serif;
    color: var(--blanco-hueso);
}

/* ============================================================
   HEADER Y NAVBAR
   ============================================================ */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 8%; 
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    background: transparent;
}

.navbar.scrolled {
    padding: 8px 8%; 
    background: rgba(5, 18, 11, 0.98);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.logo-img {
    height: 60px;
    width: auto;
    transition: 0.4s ease;
}

.navbar.scrolled .logo-img {
    height: 45px;
}

/* MENÚ PC */
.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-item {
    margin-left: 35px;
}

.nav-item a {
    text-decoration: none;
    color: white;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    transition: 0.3s ease;
    position: relative;
}

/* Efecto de línea sutil en lugar de imagen */
.nav-item a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--dorado);
    transition: 0.3s ease;
}

.nav-item:hover a::after {
    width: 100%;
}

.nav-item:hover a {
    color: var(--dorado);
}

/* BOTÓN RESERVA */
.btn-reserva a {
    background-color: var(--dorado);
    color: var(--verde-profundo) !important;
    padding: 8px 18px;
    border-radius: 4px;
    font-weight: 700;
}

.btn-reserva a::after { display: none; } /* Quitar línea al botón */

/* ============================================================
   FOOTER ORGÁNICO
   ============================================================ */
.footer-organic {
    background: var(--verde-medio);
    position: relative;
    padding-top: 80px;
}

.footer-shape {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 55px;
    background: var(--verde-medio);
    clip-path: polygon(0% 100%, 15% 40%, 30% 70%, 50% 10%, 70% 60%, 85% 30%, 100% 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    padding: 20px 8% 50px;
    gap: 40px;
}

.footer-box h3 {
    color: var(--dorado);
    margin-bottom: 20px;
    font-size: 1rem;
    text-transform: uppercase;
}

.footer-copy {
    text-align: center;
    padding: 15px;
    background: #030a06;
    font-size: 0.75rem;
    color: #666;
}
/* ============================================================
   3. FOOTER (INGENIOSO Y ORGÁNICO)
   ============================================================ */

.footer-organic {
    background: var(--verde-medio);
    position: relative;
    padding-top: 80px;
    margin-top: 100px; /* Espacio para que luzca la silueta */
}

.footer-shape {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 55px;
    background: var(--verde-medio);
    /* Silueta Bella Durmiente */
    clip-path: polygon(0% 100%, 15% 40%, 30% 70%, 50% 10%, 70% 60%, 85% 30%, 100% 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    padding: 20px 8% 50px;
    gap: 40px;
}

.footer-box h3 {
    color: var(--dorado);
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 1rem;
}

.footer-box p, .services-grid span {
    font-size: 0.85rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.footer-box i { color: var(--dorado); margin-right: 8px; }

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.social-links a {
    font-size: 1.5rem;
    color: white;
    margin-right: 15px;
    transition: 0.3s;
}

.social-links a:hover { color: var(--verde-brillante); transform: scale(1.1); }

.footer-copy {
    text-align: center;
    padding: 15px;
    background: #030a06;
    font-size: 0.75rem;
    color: #666;
    border-top: 1px solid rgba(197,160,89,0.1);
}

/* ============================================================
   4. RESPONSIVO Y MENÚ MÓVIL
   ============================================================ */

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dorado);
}

@media screen and (max-width: 768px) {
    .menu-toggle { display: block; }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 70%;
        background-color: var(--verde-medio);
        flex-direction: column;
        justify-content: center;
        gap: 35px;
        transition: 0.5s ease-in-out;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    .nav-links.active { right: 0; }
    
    .nav-item { margin-left: 0; }
    .hover-preview { display: none; } /* Desactivado en móvil */

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .services-grid { justify-items: center; }
}

/* Estilo para el botón del menú */
#mobile-menu {
    z-index: 1100; /* Asegura que esté por encima del fondo verde del menú */
    cursor: pointer;
    transition: all 0.3s ease;
}

#mobile-menu i {
    font-size: 1.8rem;
    color: var(--dorado);
    transition: transform 0.3s ease;
}

/* Animación opcional cuando es una X */
#mobile-menu i.fa-times {
    transform: rotate(90deg);
    color: white; /* Cambia a blanco para que resalte sobre el verde oscuro */
}