/* ==========================================================================
   VARIABLES GLOBALES & CONFIGURACIÓN
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Orbitron:wght@400;700;900&display=swap');
:root {
    --bg-main: #0b0f19;         /* Fondo de la app (azul oscuro profundo nocturno) */
    --bg-card: #131a26;         /* Fondo de los contenedores */
    --text-main: #f8fafc;       /* Texto principal claro */
    --text-muted: #94a3b8;      /* Texto secundario */
    --accent: #38bdf8;          /* Azul celeste tecnológico */
    
    /* Paleta de estados de stands con colores vibrantes tipo neón */
    --color-libre: #10b981;
    --color-ocupado: #f43f5e;
    --color-reservado: #f59e0b;
    --color-sala: #3b82f6;
    --color-auditorio: #6366f1;
    --font-title: 'Orbitron', sans-serif;

}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    
    background-color: var(--bg-main);
    color: var(--text-main);
    min-height: 100vh;
}



h1, h2, h3, h4, h5, h6 , header{
    font-family: var(--font-title);
    
    
}

/* Contenedor Principal */
.app-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* ==========================================================================
   ENCABEZADO / HEADER
   ========================================================================== */
.map-header {
    text-align: center;
    margin-bottom: 40px;
}

.map-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.map-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}
/* ==========================================================================
   CONTENEDOR DEL MAPA (TABLERO DIGITAL)
   ========================================================================== */
#map-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    box-sizing: border-box;
    /* CORRECCIÓN 1: Se remueve overflow hidden y se habilita el scroll/arrastre de forma absoluta */
    overflow: auto !important; 
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    
    /* Funciones para el Arrastre */
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

/* Cuando el usuario está manteniendo el click y arrastrando el plano */
#map-wrapper.map-grabbing {
    cursor: grabbing; /* Muestra el puño cerrado */
}

#map-wrapper svg {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* CORRECCIÓN 2: El origen del zoom debe ser la esquina superior izquierda (top left).
       De esta manera, al expandirse, el desborde ocurre hacia abajo y a la derecha, 
       permitiendo que el scroll del navegador y tu script de arrastre funcionen al 100% */
    transform-origin: top left; 
}

/* ==========================================================================
   INTERACTIVIDAD DE LOS STANDS
   ========================================================================== */

/* Estados */
.stand-libre     { fill: var(--color-libre) !important; fill-opacity: 0.4; }
.stand-ocupado   { fill: var(--color-ocupado) !important; fill-opacity: 0.4; }
.stand-reservado { fill: var(--color-reservado) !important; fill-opacity: 0.4; }
.stand-sala      { fill: var(--color-sala) !important; fill-opacity: 0.4; }
.stand-auditorio { fill: var(--color-auditorio) !important; fill-opacity: 0.4; }

/* Efecto hover: El stand se enciende intensamente */
.interactive-stand {
    cursor: pointer;
    transform-origin: center;
    transform-box: fill-box; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive-stand:hover {
    fill-opacity: 0.95;
    filter: drop-shadow(0px 0px 12px currentColor);
    transform: scale(1.05); 
}

/* ==========================================================================
   EL MODAL FLOTANTE (ESTILO GLASSMORPHISM PREMIUM)
   ========================================================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 7, 18, 0.75);
    backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal.hidden {
    display: none;
    opacity: 0;
}

.modal-content {
    background: rgba(19, 26, 38, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    width: 90%;
    max-width: 90%;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    padding: 35px;
    box-sizing: border-box;
    animation: modalScaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 90%;
    min-height: 60%;
    overflow:hidden;
}
modal-body {
    
    
    height: 100%;
    overflow-y: auto;
}
.modal-body{
    height: 100%;
}
@keyframes modalScaleUp {
    from { transform: scale(0.9) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

#modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    font-size: 20px;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

#modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: var(--color-ocupado);
}

.modal-header-info {
    text-align: left;
    margin-bottom: 25px;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(56, 189, 248, 0.15);
    color: var(--accent);
    border-radius: 100px;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

#modal-empresa {
    margin: 10px 0 0 0;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
}

.modal-grid {
    width: 100%;
    min-height: 80%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

@media (max-width: 680px) {
    .modal-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .modal-content {
        padding: 24px;
        overflow-y: auto;
        max-height: 90vh;
    }
}

.modal-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #090d16;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

#div-img-modal {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-video, .modal-foto{
    width: 100%;
    height: 100%;
}

.modal-video source {
    width: 100%;
    height: 100%;

}


#modal-foto, #modal-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(19, 26, 38, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: bold;
    z-index: 10;
    transition: all 0.2s;
}

.gallery-nav-btn:hover {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.5);
}

#gallery-prev { left: 10px; }
#gallery-next { right: 10px; }

.modal-desc {
    display: flex;
    flex-direction: column;
    
    height: 100%;
    max-height: 100%;
    text-align: left;

}

.modal-desc h3 {
    margin-top: 0;
    font-size: 1.1rem;
    color: var(--accent);
}

#modal-descripcion {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.modal-meta {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.modal-meta p {
    margin: 6px 0;
}

.modal-meta span {
    color: var(--text-main);
    font-weight: 600;
    text-transform: capitalize;
}

/* ==========================================================================
   CAPAS Y CONTROLES DEL MAPA
   ========================================================================== */
.map-container-relative {
    position: relative;
    width: 100%;
}

.map-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 50;
    display: flex;
    gap: 8px;
}

.control-btn {
    background: rgba(19, 26, 38, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.control-btn:hover {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

/* Estilos para los textos dinámicos dentro del SVG */
.stand-label {
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 700;
    fill: #ffffff;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 1), 0px 0px 3px rgba(0, 0, 0, 0.8);
    pointer-events: none; 
    opacity: 0;
    transition: opacity 0.3s ease;
}

.show-labels .stand-label {
    opacity: 1;
}

/* ----------------
 */

 /* ==========================================================================
   PERSONALIZACIÓN DE SCROLLBAR ELEGANTE (DARK)
   ========================================================================== */

/* Tamaño de la barra de scroll */
#map-wrapper::-webkit-scrollbar {
    width: 8px;   /* Barra vertical */
    height: 8px;  /* Barra horizontal */
}

/* Fondo de la barra de scroll (Riel) */
#map-wrapper::-webkit-scrollbar-track {
    background: rgba(11, 15, 25, 0.5); /* Fondo ultra oscuro translúcido */
    border-radius: 100px;
}

/* El control deslizante (Mano / Thumb) */
#map-wrapper::-webkit-scrollbar-thumb {
    background: rgba(56, 189, 248, 0.2); /* Color accent con opacidad baja */
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: 100px;
    transition: background 0.2s ease;
}

/* Al pasar el mouse sobre el scroll, se ilumina elegantemente */
#map-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
}


/* ------------
 */


 .banner-container{
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
 }
.banner-container img{
    max-width: 100%;
    height: auto;
    
}

 li,a {
    text-decoration:none; 
    list-style:none;


 }


 /* ==========================================================================
   ESTILOS ADICIONALES PARA NUEVAS SECCIONES E ICONOS MULTIMEDIA
   ========================================================================== */

/* Navbar / Header de navegación superior */
header {
     border-bottom: 1px solid var(--border-light);
    background: rgba(3, 4, 8, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 10px 0;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

nav ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent);
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

/* Iconos multimedia flotantes en las esquinas de los stands (SVG) */
.stand-media-icon {
    font-size: 10px; /* Muy pequeño y sutil */
    cursor: pointer;
    user-select: none;
    transition: transform 0.2s ease, filter 0.2s ease;
    filter: drop-shadow(0px 1px 2px rgba(0,0,0,0.8));
    z-index: 30;
}

.stand-media-icon:hover {
    transform: scale(1.3);
    filter: drop-shadow(0px 0px 5px var(--accent));
}

.stand-media-icon {
    font-size: 11px;
    cursor: pointer;
    user-select: none;
    pointer-events: auto; /* Permite hacerle click directo */
    transition: transform 0.2s ease;
}

.stand-media-icon:hover {
    transform: scale(1.3); /* Efecto de agrandado sutil al pasar el mouse */
}

/* Asegurar que los iconos de multimedia se vean siempre */
.stand-media-icon {
    opacity: 1 !important;
    font-size: 14px; /* O el tamaño que prefieras para el emoji */
    cursor: pointer;
    pointer-events: auto !important; /* Permite hacer clic en el emoji */
    user-select: none;
}

.stand-label {
    /* ... propiedades de sombra ... */
    pointer-events: none; 
    opacity: 0;
    transition: opacity 0.3s ease;
}

.show-labels .stand-label {
    opacity: 1;
}

/* ==========================================================================
   SECCIÓN DE DESCARGA DEL PLANO ORIGINAL
   ========================================================================== */


.download-text {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
}

/* Botón Elegante de Descarga */
.download-btn {
    background: rgba(56, 189, 248, 0.1); /* Fondo celeste translúcido */
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 0px rgba(56, 189, 248, 0);
    margin-top: 20px;
    position: absolute;
    bottom: 20px;
    right: 60px;
}

/* Efecto Hover (Brillo tecnológico / Neón) */
.download-btn:hover {
    background: var(--accent);
    color: #0b0f19; /* Cambia al color oscuro del fondo de la app */
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

/* Efecto Click Presionado */
.download-btn:active {
    transform: translateY(0);
}

/* Adaptación para pantallas de Celulares */
@media (max-width: 600px) {
    .download-container {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }
    
    .download-btn {
        font-size: 0.7rem;
      
        position: static;
    }
    .map-container-relative{
        margin-bottom: 50px; /* Espacio extra para el botón de descarga */
    }
}
/* ==========================================================================
   SECCIÓN: DESARROLLADO POR (SECCIÓN DE CONTENIDO COMPLETO)
   ========================================================================== */
.dev-section {
    border-left: 4px solid var(--accent); /* Línea de neón celeste en el lateral izquierdo */
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.dev-header h2 {
    font-size: 1.6rem;
    margin: 0 0 8px 0;
    color: var(--text-main);
}

.dev-header h2 span {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dev-badge {
    display: inline-block;
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

/* Distribución en rejilla de 2 columnas para el origen de datos */
.dev-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.dev-col {
    flex: 1;
    min-width: 280px;
}

.dev-col h3 {
    font-size: 1.1rem;
    color: var(--text-main);
    margin: 0 0 12px 0;
    font-weight: 600;
}

.dev-col p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    text-align: justify;
}

/* Bloque destacado sobre la empresa en la parte inferior */
.dev-about {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    margin-top: 10px;
}

.dev-about p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.dev-about strong {
    color: var(--accent);
}

/* Ajustes Responsive */
@media (max-width: 768px) {
    .dev-grid {
        flex-direction: column;
        gap: 20px;
    }
    .dev-section {
        border-left: none;
        border-top: 3px solid var(--accent); /* En móviles queda mejor arriba */
        padding-top: 25px;
    }
}


/* ==========================================================================
   NUEVO FOOTER PROFESIONAL (SITE-FOOTER)
   ========================================================================== */
.site-footer {
    background-color: var(--bg-card); /* Integrado al fondo de tus tarjetas #131a26 */
    border-top: 1px solid rgba(56, 189, 248, 0.15); /* Línea celeste neón muy sutil */
    padding: 60px 40px 30px 40px;
    margin-top: 60px;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-brand {
    flex: 1.4;
    min-width: 300px;
}

.footer-brand h2 {
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-tagline {
    color: var(--accent); /* Color de tu marca */
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-brand p:not(.footer-tagline) {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: justify;
}

.footer-brand strong {
    color: var(--text-main);
}

.footer-contact {
    flex: 1;
    min-width: 280px;
}

.footer-contact h3 {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-contact p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact ul li {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-contact ul li a:hover {
    color: var(--accent);
    transform: translateX(3px);
}

/* Barra inferior de Copyright */
.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    font-size: 0.85rem;
    margin: 0;
}

.footer-bottom p:first-child {
    color: rgba(148, 163, 184, 0.5); /* Texto apagado para el copyright */
}

.footer-bottom p:last-child {
    color: var(--accent);
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* ==========================================================================
   OPTIMIZACIÓN RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
    .site-footer {
        padding: 40px 20px 20px 20px;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}



/* ==========================================================================
   ESTILOS AISLADOS: MENU GENERAL DE HAMBURGUESA E INTEGRACIÓN EN HEADER
   ========================================================================== */

/* Contenedor del header para alinear los elementos en línea */
.site-header {
    width: 100%;
    position: relative;
    z-index: 1000;
    padding: 20px 4%;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Enlaces horizontales del plano (Escritorio) */
.plano-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.plano-nav ul li a {
    color: var(--text-muted, #94a3b8);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.plano-nav ul li a:hover {
    color: var(--accent, #38bdf8);
}

/* BOTÓN HAMBURGUESA (Integrado en el flujo del header) */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 19px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100; /* Asegura estar por encima del panel al abrirse */
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2.5px;
    background-color: var(--text-main, #ffffff);
    border-radius: 4px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

/* Transformación de Hamburguesa a Cruz (X) */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* PANEL LATERAL DE NAVEGACIÓN GENERAL (Por defecto cerrado) */
.floating-nav {
    position: fixed;
    top: 0;
    right: -320px; /* Escondido a la derecha */
    width: 300px;
    height: 100vh;
    background: rgba(3, 4, 8, 0.98);
    backdrop-filter: blur(12px);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 22px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-nav a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.floating-nav a:hover {
    color: var(--accent, #38bdf8);
}

/* Estado abierto inyectado por JavaScript */
.floating-nav.open {
    right: 0 !important;
}

/* ==========================================================================
   MEDIA QUERY: PANTALLAS PEQUEÑAS (MÓVILES / TABLETS)
   ========================================================================== */
@media (max-width: 768px) {
    /* Ocultamos por completo los enlaces horizontales del plano interactivo */
    .plano-nav {
        display: none !important;
    }
    
    /* El botón de hamburguesa se mantiene perfectamente posicionado a la derecha */
    .menu-toggle {
        margin-left: auto;
    }

    /* El menú lateral pasa a ocupar un poco más de porcentaje de pantalla en móviles si querés */
    .floating-nav {
        width: 280px;
        right: -300px;
    }
}


/* ==========================================================================
   CORRECCIÓN GLOBAL ANTIDESBORDE Y SCROLL HORIZONTAL
   ========================================================================== */
html, body {
    max-width: 100vw;
    overflow-x: hidden; /* Corta de raíz cualquier elemento que intente salirse por la derecha */
    position: relative;
}

/* Ajuste preventivo en el contenedor del Header */
.site-header {
    width: 100%;
    max-width: 100%; /* Evita que mida más de la pantalla */
    position: relative;
    z-index: 1000;
    padding: 20px 4%;
    box-sizing: border-box; /* Asegura que el padding no sume ancho extra */
}

.header-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

/* Ajustes críticos en el ASIDE (Menú lateral) */
.floating-nav {
    position: fixed;
    top: 0;
    right: -340px; /* Un poco más hacia afuera para asegurar que la sombra tampoco desborde */
    width: 300px;
    height: 100vh;
    background: rgba(3, 4, 8, 0.98);
    backdrop-filter: blur(12px);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 22px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* MEJORA CLAVE: Cuando esté CERRADO, le quitamos visibilidad al navegador */
    visibility: hidden; 
    pointer-events: none;
}

/* Cuando inyectás la clase .open mediante JS */
.floating-nav.open {
    right: 0 !important;
    visibility: visible !important; /* Vuelve a ser visible al ojo y al render */
    pointer-events: auto !important;
}

/* Evitar que el banner o el plano empujen la web hacia los costados */

.banner-container img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* ===========================
   LOGO HEADER
=========================== */
/* Branding Logo */
.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.header-logo img {
    height: 38px;
    width: auto;
}

.logo-info h1 {
    font-family: var(--font-title) !important;
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--text-main);
    letter-spacing: 0.05em;
    line-height: 1;
}

.logo-info h1 span {
    color: var(--accent);
}







/* POR ESTO (Se remueve .app-container de la restricción drástica del 100%): */
.banner-container, .map-container-relative {
    max-width: 100%;
    box-sizing: border-box;
}

/* Devolvemos al contenedor principal su comportamiento responsivo original */
.app-container {
    width: 100%;
    max-width: 1400px; /* Ancho máximo original de tu app */
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* Forzamos que los bloques respeten su ancho extendido y se centren */
.bloque {
    width: 100%;
    max-width: 1200px !important;
    margin: 40px auto !important;
    box-sizing: border-box;
}
.bloque{
     max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#info-evento h2, #desarrolladoPor h2 {
    color: var(--text-main);
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 20px;
    border-left: 4px solid var(--accent);
    padding-left: 12px;
}

#info-evento p, #desarrolladoPor p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* Ajustes finos para la sección Desarrollado Por */
#desarrolladoPor {
    margin-top: 20px;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #131a26 0%, #0f1520 100%);
    border: 1px solid rgba(56, 189, 248, 0.1); /* Toque sutil de color de tu marca */
}

#desarrolladoPor p strong {
    color: var(--accent);
    font-weight: 600;
}
