/* ==========================================================================
   LAYOUT PRINCIPAL - SISTEMA DE COLUMNAS (ESCRITORIO & MÓVIL)
   ========================================================================== */

/* 1. VISTA ESCRITORIO (3 COLUMNAS: 16vw / 29vw / 55vw) */
@media (min-width: 1025px) {
    .web-container {
        display: grid;
        grid-template-columns: 16vw 29vw 55vw;
        height: 100vh;
        width: 100vw;
        overflow: hidden;
        background-color: #031c26;
    }

    .sidebar-column {
        border-right: 1px solid #1b2027;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100vh;
        box-sizing: border-box;
        overflow-y: auto;
    }

    .content-column {
        overflow-y: auto;
        padding: 40px;
        background-image: url(../img/logos/texture.jpg);
        background-size: 12%;
        background-repeat: repeat;
        height: 100vh;
        box-sizing: border-box;
    }

    .gallery-column {
        position: relative;
        overflow: hidden;
        background-color: #272d35;
        display: flex;
        flex-direction: column;
        height: 100vh;
        box-sizing: border-box;
    }

    .mobile-top-bar,
    .mobile-nav-backdrop,
    .mobile-bottom-bar,
    .drawer-close-btn {
        display: none !important;
    }
}

/* 2. VISTA TABLET & LAPTOPS COMPACTAS (769px a 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .web-container {
        display: flex;
        flex-direction: column;
        width: 100%;
        min-height: 100vh;
        height: auto;
        overflow-x: hidden;
        background-color: #031c26;
    }

    .content-column {
        width: 100%;
        padding: 35px 30px 80px 30px;
        background-image: url(../img/logos/texture.jpg);
        background-size: 16%;
        background-repeat: repeat;
        box-sizing: border-box;
        min-height: auto;
    }

    .gallery-column {
        width: 100%;
        height: 480px;
        min-height: 480px;
        position: relative;
        overflow: hidden;
        background-color: #272d35;
    }
}

/* 3. VISTA CELULARES / SMARTPHONES (<= 768px) */
@media (max-width: 768px) {
    .web-container {
        display: flex;
        flex-direction: column;
        width: 100%;
        min-height: 100vh;
        height: auto;
        overflow-x: hidden;
        background-color: #031c26;
    }

    .content-column {
        width: 100%;
        padding: 22px 18px 95px 18px; /* Espacio de seguridad para barra inferior */
        background-image: url(../img/logos/texture.jpg);
        background-size: 28%;
        background-repeat: repeat;
        box-sizing: border-box;
        min-height: auto;
    }

    .gallery-column {
        width: 100%;
        height: 380px;
        min-height: 380px;
        position: relative;
        overflow: hidden;
        background-color: #272d35;
    }
}