/* ================================================================
   landing-lago.css — Estancia Lago Verde Landing Page
   ================================================================ */

/* --- VARIABLES --- */
.lago-landing {
    --lv-primary: #1A3C2A;
    --lv-secondary: #4A7C9B;
    --lv-accent: #C5A065;
    --lv-bg: #F9F9F7;
    --lv-text: #333333;
    --lv-text-light: #666666;
    --lv-font-heading: 'Cormorant Garamond', serif;
    --lv-font-body: 'Montserrat', sans-serif;
}

    .lago-landing * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

.lago-landing {
    font-family: var(--lv-font-body);
    background-color: var(--lv-bg);
    color: var(--lv-text);
    line-height: 1.7;
    /* Use clip instead of hidden: prevents horizontal overflow
       without breaking vertical touch scroll on mobile */
    overflow-x: clip;
}

    .lago-landing .lv-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .lago-landing .text-center {
        text-align: center;
    }

    /* --- NAVBAR --- */
    .lago-landing nav.lv-navbar {
        position: fixed;
        top: 0;
        width: 100%;
        padding: 20px 50px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 1000;
        transition: all 0.4s ease;
        background: transparent;
    }

        .lago-landing nav.lv-navbar.scrolled {
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(12px);
            box-shadow: 0 4px 30px rgba(0,0,0,0.08);
            padding: 15px 50px;
        }

    .lago-landing .lv-logo {
        font-family: var(--lv-font-heading);
        font-size: 1.8rem;
        font-weight: 700;
        color: white;
        text-decoration: none;
        letter-spacing: 1px;
        transition: color 0.3s;
        z-index: 1001;
    }

    .lago-landing nav.scrolled .lv-logo {
        color: var(--lv-primary);
    }

    .lago-landing .lv-nav-links {
        display: flex;
        align-items: center;
        gap: 10px;
        list-style: none;
    }

        .lago-landing .lv-nav-links li {
            position: relative;
        }

        .lago-landing .lv-nav-links a {
            color: white;
            text-decoration: none;
            padding: 8px 15px;
            font-size: 0.85rem;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: color 0.3s;
            position: relative;
            display: block;
        }

    .lago-landing nav.scrolled .lv-nav-links a {
        color: var(--lv-text);
    }

    .lago-landing .lv-nav-links a:not(.lv-btn-nav):not(.lv-btn-login)::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 5px;
        left: 50%;
        transform: translateX(-50%);
        background-color: var(--lv-accent);
        transition: width 0.3s ease;
    }

    .lago-landing .lv-nav-links a:not(.lv-btn-nav):not(.lv-btn-login):hover::after {
        width: 60%;
    }

    .lago-landing .lv-nav-links a:not(.lv-btn-nav):not(.lv-btn-login):hover {
        color: var(--lv-accent);
    }

    .lago-landing .lv-btn-nav {
        background-color: transparent;
        border: 1px solid rgba(255,255,255,0.6);
        border-radius: 50px;
        color: white !important;
        transition: all 0.3s ease !important;
    }

    .lago-landing nav.scrolled .lv-btn-nav {
        border-color: var(--lv-primary);
        color: var(--lv-primary) !important;
    }

    .lago-landing .lv-btn-nav:hover {
        background-color: var(--lv-accent) !important;
        border-color: var(--lv-accent) !important;
        color: white !important;
    }

    .lago-landing .lv-btn-login {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background-color: transparent;
        border: 1px solid rgba(255,255,255,0.6);
        border-radius: 50px;
        color: white !important;
        transition: all 0.3s ease !important;
        padding: 8px 18px !important;
    }

    .lago-landing nav.scrolled .lv-btn-login {
        border-color: var(--lv-accent);
        color: var(--lv-accent) !important;
    }

    .lago-landing .lv-btn-login:hover {
        background-color: var(--lv-accent) !important;
        border-color: var(--lv-accent) !important;
        color: white !important;
    }

    .lago-landing .lv-btn-login i {
        font-size: 0.8rem;
    }

    .lago-landing .lv-menu-toggle {
        display: none;
        flex-direction: column;
        cursor: pointer;
        z-index: 1001;
        background: none;
        border: none;
    }

        .lago-landing .lv-menu-toggle .bar {
            width: 25px;
            height: 2px;
            background-color: white;
            margin: 4px 0;
            transition: all 0.3s ease;
        }

    .lago-landing nav.scrolled .lv-menu-toggle .bar {
        background-color: var(--lv-primary);
    }

    .lago-landing .lv-menu-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .lago-landing .lv-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .lago-landing .lv-menu-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* --- HERO --- */
    .lago-landing .lv-hero {
        height: 100vh;
        background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.4)), url('https://scontent-eze1-2.xx.fbcdn.net/v/t39.30808-6/474229174_655544950262008_8591057661454291469_n.jpg?_nc_cat=100&ccb=1-7&_nc_sid=13d280&_nc_ohc=iQ6jsaTp_cEQ7kNvwHT2IMV&_nc_oc=Adop_cB_1xYKasivyCftNpQ8Ftgnv8xgjhx4YUbT0IJhNQbuuE6VhYSAFEMcWhou7F8&_nc_zt=23&_nc_ht=scontent-eze1-2.xx&_nc_gid=HbIKMDDfHgmUoxq1mGYw6g&_nc_ss=7a389&oh=00_Af0f893EXwtr04elaDng9BOFQ266PldaGUY-uiVbPNSRBg&oe=69D39B64') center/cover no-repeat;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        position: relative;
    }

    .lago-landing .lv-hero-content {
        z-index: 10;
        padding: 20px;
    }

        .lago-landing .lv-hero-content h1 {
            font-family: var(--lv-font-heading);
            font-size: 5.5rem;
            color: white;
            font-weight: 400;
            margin-bottom: 20px;
            line-height: 1;
            text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
        }

        .lago-landing .lv-hero-content .lv-separator {
            width: 80px;
            height: 2px;
            background-color: var(--lv-accent);
            margin: 20px auto;
        }

        .lago-landing .lv-hero-content p {
            font-size: 1.2rem;
            color: white;
            letter-spacing: 4px;
            text-transform: uppercase;
            margin-bottom: 40px;
        }

    .lago-landing .lv-btn-hero {
        display: inline-block;
        padding: 15px 45px;
        background-color: transparent;
        border: 1px solid white;
        color: white;
        text-decoration: none;
        font-weight: 600;
        letter-spacing: 2px;
        text-transform: uppercase;
        transition: all 0.4s ease;
    }

        .lago-landing .lv-btn-hero:hover {
            background-color: white;
            color: var(--lv-primary);
        }

    /* --- SECTIONS --- */
    .lago-landing .lv-section-padding {
        padding: 100px 0;
    }

    .lago-landing .lv-grid-2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: center;
    }

    .lago-landing .lv-section-title {
        font-family: var(--lv-font-heading);
        font-size: 3rem;
        color: var(--lv-primary);
        margin-bottom: 20px;
        font-weight: 500;
    }

    .lago-landing .lv-text-block p {
        margin-bottom: 20px;
        color: var(--lv-text-light);
        font-size: 1.05rem;
    }

    .lago-landing .lv-image-block img {
        width: 100%;
        height: auto;
        box-shadow: 0 15px 40px rgba(0,0,0,0.1);
        transition: transform 0.5s;
    }

        .lago-landing .lv-image-block img:hover {
            transform: scale(1.02);
        }

    /* --- NATURALEZA --- */
    .lago-landing #lv-naturaleza {
        background-color: #fff;
    }

    .lago-landing .lv-feature-card {
        text-align: center;
        padding: 30px 20px;
        margin-top: 50px;
    }

        .lago-landing .lv-feature-card i {
            font-size: 2.5rem;
            color: var(--lv-secondary);
            margin-bottom: 20px;
        }

        .lago-landing .lv-feature-card h3 {
            font-family: var(--lv-font-heading);
            font-size: 1.8rem;
            margin-bottom: 15px;
            color: var(--lv-primary);
        }

    /* --- GALLERY --- */
    .lago-landing #lv-galeria {
        background-color: var(--lv-bg);
    }

    .lago-landing .lv-gallery-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 220px;
        gap: 12px;
        margin-top: 40px;
    }

    .lago-landing .lv-gallery-item {
        overflow: hidden;
        position: relative;
        cursor: pointer;
    }

        .lago-landing .lv-gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .lago-landing .lv-gallery-item:hover img {
            transform: scale(1.1);
        }

        .lago-landing .lv-gallery-item::after {
            content: '\f00e';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0);
            color: white;
            font-size: 2rem;
            background: rgba(26, 60, 42, 0.6);
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            line-height: 60px;
            transition: transform 0.3s ease, opacity 0.3s ease;
            opacity: 0;
            pointer-events: none;
            z-index: 2;
        }

        .lago-landing .lv-gallery-item:hover::after {
            transform: translate(-50%, -50%) scale(1);
            opacity: 1;
        }

        .lago-landing .lv-gallery-item:nth-child(1) {
            grid-column: span 2;
            grid-row: span 2;
        }

        .lago-landing .lv-gallery-item:nth-child(6) {
            grid-column: span 2;
        }

    /* --- LIGHTBOX --- */
    .lago-landing .lv-lightbox {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.92);
        backdrop-filter: blur(8px);
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
    }

        .lago-landing .lv-lightbox.active {
            opacity: 1;
            visibility: visible;
        }

    .lago-landing .lv-lightbox-img-container {
        position: relative;
        max-width: 90vw;
        max-height: 85vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .lago-landing .lv-lightbox-img-container img {
            max-width: 100%;
            max-height: 85vh;
            object-fit: contain;
            border-radius: 4px;
            box-shadow: 0 20px 80px rgba(0,0,0,0.5);
            transform: scale(0.85);
            transition: transform 0.4s ease, opacity 0.3s ease;
        }

    .lago-landing .lv-lightbox.active .lv-lightbox-img-container img {
        transform: scale(1);
    }

    .lago-landing .lv-lightbox-close {
        position: absolute;
        top: -50px;
        right: -10px;
        width: 44px;
        height: 44px;
        background: rgba(255,255,255,0.1);
        border: 1px solid rgba(255,255,255,0.2);
        border-radius: 50%;
        color: white;
        font-size: 1.2rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.3s, transform 0.3s;
    }

        .lago-landing .lv-lightbox-close:hover {
            background: var(--lv-accent);
            transform: rotate(90deg);
        }

    .lago-landing .lv-lightbox-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 52px;
        height: 52px;
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255,255,255,0.15);
        border-radius: 50%;
        color: white;
        font-size: 1.1rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.3s, transform 0.3s;
        z-index: 10000;
    }

        .lago-landing .lv-lightbox-arrow:hover {
            background: var(--lv-accent);
            transform: translateY(-50%) scale(1.1);
        }

        .lago-landing .lv-lightbox-arrow.prev {
            left: -80px;
        }

        .lago-landing .lv-lightbox-arrow.next {
            right: -80px;
        }

    .lago-landing .lv-lightbox-counter {
        position: absolute;
        bottom: -45px;
        left: 50%;
        transform: translateX(-50%);
        color: rgba(255,255,255,0.6);
        font-size: 0.85rem;
        letter-spacing: 2px;
    }

    /* --- UBICACION --- */
    .lago-landing #lv-ubicacion {
        padding-bottom: 0;
    }

    .lago-landing .lv-info-box {
        background: white;
        padding: 40px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        margin-bottom: -50px;
        position: relative;
        z-index: 10;
    }

    .lago-landing .lv-transport-cards {
        display: flex;
        justify-content: space-between;
        gap: 20px;
        margin-top: 30px;
        flex-wrap: wrap;
    }

    .lago-landing .lv-transport-card {
        flex: 1;
        min-width: 200px;
        background: #f8f9fa;
        padding: 20px;
        border-left: 3px solid var(--lv-primary);
    }

        .lago-landing .lv-transport-card h4 {
            color: var(--lv-primary);
            margin-bottom: 10px;
            font-weight: 600;
        }

    .lago-landing .lv-map-iframe-container {
        width: 100%;
        height: 500px;
        margin-top: 0;
        position: relative;
    }

    /* --- ESTILO DE VIDA --- */
    .lago-landing .lv-estilo-vida {
        background: linear-gradient(rgba(26, 60, 42, 0.85), rgba(26, 60, 42, 0.9)), url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?ixlib=rb-4.0.3&auto=format&fit=crop&w=2053&q=80') fixed center/cover;
        color: white;
    }

        .lago-landing .lv-estilo-vida .lv-section-title {
            color: white;
        }

    .lago-landing .lv-lifestyle-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        margin-top: 50px;
    }

    .lago-landing .lv-lifestyle-item {
        border: 1px solid rgba(255,255,255,0.2);
        padding: 30px;
        text-align: center;
        transition: background 0.3s;
    }

        .lago-landing .lv-lifestyle-item:hover {
            background: rgba(255,255,255,0.1);
        }

    /* --- CONTACTO --- */
    .lago-landing #lv-contacto {
        background-color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 40vh;
    }

    .lago-landing .lv-contact-wa-center {
        text-align: center;
    }

        .lago-landing .lv-contact-wa-center .lv-section-title {
            margin-bottom: 15px;
        }

        .lago-landing .lv-contact-wa-center > p {
            color: var(--lv-text-light);
            margin-bottom: 40px;
            font-size: 1.1rem;
        }

    .lago-landing .lv-whatsapp-btn {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        background-color: #25D366;
        color: white;
        padding: 18px 45px;
        text-decoration: none;
        font-weight: 600;
        font-size: 1.1rem;
        border-radius: 50px;
        transition: all 0.3s;
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
    }

        .lago-landing .lv-whatsapp-btn:hover {
            background-color: #1fb855;
            transform: translateY(-3px);
            box-shadow: 0 12px 35px rgba(37, 211, 102, 0.45);
        }

        .lago-landing .lv-whatsapp-btn i {
            font-size: 1.5rem;
        }

    /* --- FOOTER --- */
    .lago-landing .lv-footer {
        background-color: var(--lv-primary);
        color: rgba(255,255,255,0.6);
        padding: 40px 0;
        text-align: center;
        font-size: 0.9rem;
    }

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .lago-landing .lv-grid-2 {
        grid-template-columns: 1fr;
    }

    .lago-landing .lv-lifestyle-grid {
        grid-template-columns: 1fr;
    }

    .lago-landing .lv-gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 200px;
    }

    .lago-landing .lv-gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 2;
    }

    .lago-landing .lv-gallery-item:nth-child(6) {
        grid-column: span 2;
    }

    .lago-landing .lv-lightbox-arrow.prev {
        left: 10px;
    }

    .lago-landing .lv-lightbox-arrow.next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .lago-landing .lv-nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        height: 100dvh; /* Use dynamic viewport height for mobile address bar */
        background-color: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s ease;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        overflow-y: auto; /* Allow scroll inside mobile menu if too many items */
        -webkit-overflow-scrolling: touch;
    }

        .lago-landing .lv-nav-links.active {
            right: 0;
        }

        .lago-landing .lv-nav-links li {
            margin: 20px 0;
            opacity: 0;
            transform: translateX(50px);
            animation: lvSlideIn 0.4s forwards;
            animation-delay: calc(0.1s * var(--i));
        }

        .lago-landing .lv-nav-links a {
            color: var(--lv-primary) !important;
            font-size: 1.2rem;
        }

            .lago-landing .lv-nav-links a::after {
                background-color: var(--lv-primary);
                bottom: 0;
            }

    .lago-landing .lv-btn-nav {
        border: 2px solid var(--lv-primary) !important;
        color: var(--lv-primary) !important;
        padding: 10px 30px;
    }

    .lago-landing .lv-btn-login {
        border: 2px solid var(--lv-accent) !important;
        color: var(--lv-accent) !important;
        padding: 10px 25px !important;
    }

    .lago-landing .lv-menu-toggle {
        display: flex;
    }

    .lago-landing .lv-hero-content h1 {
        font-size: 3rem;
    }

    .lago-landing .lv-section-title {
        font-size: 2.2rem;
    }

    .lago-landing .lv-gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .lago-landing .lv-gallery-item:nth-child(1) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .lago-landing .lv-gallery-item:nth-child(6) {
        grid-column: span 1;
    }

    .lago-landing .lv-transport-cards {
        flex-direction: column;
    }

    .lago-landing nav.lv-navbar {
        padding: 15px 20px;
    }

    .lago-landing .lv-lightbox-arrow {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

        .lago-landing .lv-lightbox-arrow.prev {
            left: 5px;
        }

        .lago-landing .lv-lightbox-arrow.next {
            right: 5px;
        }

    .lago-landing .lv-lightbox-close {
        top: -45px;
        right: 0;
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .lago-landing .lv-lightbox-counter {
        bottom: -35px;
        font-size: 0.75rem;
    }

    .lago-landing #lv-contacto {
        min-height: 30vh;
    }
}

@keyframes lvSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
