/* ========================================================= */
/* === RESET Y ESTILOS BASE (Incluye fuente moderna) === */
/* ========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* 🎯 MEJORA DE DISEÑO: Fuente moderna */
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #f5f5f5;
    /* ✅ CORRECCIÓN TEXTO: Color de texto base a negro */
    color: #333; 
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ========================================================= */
/* === VIDEO DE FONDO Y CONTRASTE (CLAVE) === */
/* ========================================================= */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2; 
    overflow: hidden;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* 🎯 NUEVA CAPA DE SUPERPOSICIÓN (OVERLAY) PARA CONTRASTE */
.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Opacidad alta (85%) */
    background-color: rgba(0, 0, 0, 0.85); 
    z-index: -1; 
}

/* Tamaño del video (sin cambios) */
@media (min-aspect-ratio: 16/9) {
    .video-background video {
        height: 100%;
        width: auto;
    }
}

@media (max-aspect-ratio: 16/9) {
    .video-background video {
        width: 100%;
        height: auto;
    }
}

/* Contenido principal */
main {
    position: relative;
    z-index: 1;
    /* 🎯 CORRECCIÓN 1: Devolvemos el fondo semi-opaco a MAIN para legibilidad */
    background-color: rgba(255, 255, 255, 0.95); 
    /* 🎯 CORRECCIÓN 2: Ajuste de margen superior para bajar el contenido */
    margin: 120px auto 0; 
    max-width: 1200px;
    border-radius: 8px; 
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    padding-top: 1px; /* Pequeño truco para asegurar que el margen superior funcione */
}

/* Ajustes para las secciones */
section {
    padding: 3rem 0;
    background-color: transparent; 
}

.section-title {
    text-align: center;
    color: #2a5c99;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.section-description {
    text-align: center;
    color: #555;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
/* ========================================================= */
/* === BARRA DE NAVEGACIÓN (BLANCA) === */
/* ========================================================= */

.navbar {
    /* 🎯 CAMBIO CLAVE 1: Fondo azul oscuro sólido */
    background-color: hsl(226, 80%, 53%); /* ¡Este es el color! */
    /* Se elimina el 'backdrop-filter: blur(5px);' ya que el fondo es sólido */
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    /* Mantenemos la sombra, pero se verá menos por el color */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding: 10px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: 100%;
    font-size: 1rem;
}

.nav-link {
    /* 🎯 CAMBIO CLAVE 2: Texto de la navegación a color oscuro (azul oscuro) */
    color: #dce3ec; 
    text-decoration: none;
    font-weight: 600;
    padding: 0 1rem;
    position: relative;
    transition: color 0.3s;
    display: flex; 
    align-items: center;
    height: 100%;
    line-height: 1.5;
}

.nav-link:hover {
    /* Texto al pasar el ratón */
    color: #1e4a7e; 
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    /* Línea de enfoque de la navegación a azul oscuro */
    background-color: #2a5c99; 
    transition: width 0.3s;
}

.nav-link.active::after {
    /* Línea del enlace activo a azul oscuro */
    background-color: #2a5c99;
}

/* --- ÍCONOS Y BOTONES DE AUTENTICACIÓN --- */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

.auth-buttons a {
    display: block;
    border-radius: 50%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-buttons img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.auth-buttons a:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* ✅ CORRECCIÓN TEXTO: El número de teléfono se cambia a azul oscuro */
.auth-buttons span {
    color: #2a5c99; 
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    background-color: transparent; 
    padding: 5px 8px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.auth-buttons span:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.btn {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
}

/* ✅ CORRECCIÓN COLOR: Botón de Login para contraste en fondo blanco */
.btn-login {
    color: #2a5c99;
    border: 1px solid #2a5c99;
    background: transparent;
}

.btn-login:hover {
    background-color: rgba(42, 92, 153, 0.1);
}

/* ✅ CORRECCIÓN COLOR: Botón de Register para contraste en fondo blanco */
.btn-register {
    color: white;
    background: #2a5c99;
    border: 1px solid #2a5c99;
}

.btn-register:hover {
    background-color: #1e4a7e;
}

/* Estilo para el enlace de teléfono (se usa .auth-buttons span ahora) */
.auth-buttons .phone-link {
    /* Estilo original, pero ahora usamos .auth-buttons span */
    color: #2a5c99; 
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    background-color: transparent; 
    padding: 5px 8px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.auth-buttons .phone-link:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* ========================================================= */
/* === SECCIONES DE INTRODUCCIÓN (Contraste mejorado) === */
/* ========================================================= */
.ministerio-intro,
.quienes-intro,
.distrito-intro {
    /* 🎯 CORRECCIÓN 3: Fondo oscuro semi-opaco para asegurar la lectura del texto blanco */
    background-color: rgba(0, 0, 0, 0.85); 
    color: #FFFFFF;
    padding: 40px 20px;
    text-align: center;
    margin: 20px auto;
    max-width: 900px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    border: none; 
}

/* El texto dentro de estas secciones ya está en blanco (#FFFFFF), lo cual está bien. */
.ministerio-intro h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #f7b20f;
}

.ministerio-intro p,
.quienes-intro p,
.distrito-intro p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 15px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.ministerio-intro .btn-primary {
    display: inline-block;
    background-color: #f7b20f;
    color: #333;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.ministerio-intro .btn-primary:hover {
    background-color: #e0a00e;
}

.quienes-intro h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #76028e;
}

.quienes-intro .btn-primary {
    display: inline-block;
    background-color: #76028e;
    color: #333;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.quienes-intro .btn-primary:hover {
    background-color: #76028e;
}

.distrito-intro h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #caca13;
}

.distrito-intro .btn-primary {
    display: inline-block;
    background-color: #caca13;
    color: #333;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.distrito-intro .btn-primary:hover {
    background-color: #caca13;
}

/* ========================================================= */
/* === CARRUSEL DE EVENTOS Y MINIATURAS (Para el MAIN) === */
/* ========================================================= */
.featured-events {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 2rem;
    overflow: hidden;
}

.event-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.event-slide {
    min-width: 100%;
    display: none;
    gap: 2rem;
    padding: 2rem;
    /* 🎯 Fondo sólido blanco para la legibilidad del banner */
    background: white; 
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Se mantiene display: flex para el diseño de 2 columnas en el carrusel principal */
}

.event-slide.active {
    display: flex;
}

.event-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.event-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.icon {
    font-size: 1.2rem;
}

.btn-register-event {
    /* 🎯 CAMBIO CLAVE 5: Botón del carrusel a color de acento */
    background-color: #2a5c99; 
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1rem;
    width: 100%;
    transition: background-color 0.3s;
}

.btn-register-event:hover {
    background-color: #1e4a7e;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(42, 92, 153, 0.7);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 1rem;
    z-index: 10;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.carousel-arrow:hover {
    background-color: rgba(42, 92, 153, 0.9);
}

.prev {
    left: 1rem;
}

.next {
    right: 1rem;
}

.slide-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.slide-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slide-dots .dot.active {
    background: #2a5c99;
}

/* Miniaturas (sin cambios) */
.events-carousel {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.carousel-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0;
}

.event-thumbnail {
    width: 120px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    filter: blur(1.5px);
    opacity: 0.7;
    border: 2px solid transparent;
}

.event-thumbnail.active {
    filter: blur(0);
    opacity: 1;
    border-color: #2a5c99;
    transform: scale(1.05);
}

.event-thumbnail:hover {
    transform: scale(1.05);
}

.event-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Mapa (sin cambios) */
.map-section {
    background-color: #f8f9fa;
    padding: 3rem 0;
}

.map-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
    width: 100%;
    height: 500px;
    border: 0;
}
/* ========================================================= */
/* === MODAL DE EVENTOS CORREGIDO (CLAVE PARA NO DESCUADRAR) === */
/* ========================================================= */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    /* ✅ CORRECCIÓN CLAVE 1: Usamos display: block para que el contenido fluya y no aplique 'flex' al modal */
    display: block; 
    height: 90%;
    max-width: 90%;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    padding: 20px;
    overflow-y: auto; /* Permitir scroll si el contenido es muy alto */
}

/* ✅ CORRECCIÓN CLAVE 2: Sobreescribir .event-slide SOLO dentro de .modal */
/* Forzamos a que el slide del modal no sea 'flex' y tome el ancho completo */
.modal .event-slide {
    display: none; /* Dejado a cargo del JavaScript para el cambio de slide */
    /* Aseguramos que no se apliquen los estilos de flexbox de la versión del carrusel principal */
    min-width: 100%;
    padding: 0; 
    height: auto; 
    /* Forzamos la sobreescritura del display: flex */
    display: block !important; 
    transition: opacity 0.5s ease;
}

/* Asegura que el slide activo dentro del modal se vea como bloque (no flex) */
.modal .event-slide.active {
    display: block !important;
}

/* Ajusta la imagen DENTRO del slide del modal para que se vea completa */
.modal .event-slide img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain; 
}


.close {
    /* 🎯 CORRECCIÓN 3: Posición y color para asegurar que se vea */
    position: absolute;
    top: 10px; 
    right: 15px; 
    font-size: 40px;
    font-weight: bold;
    /* ✅ CORRECCIÓN COLOR: Se mantiene color azul para que resalte en el modal blanco */
    color: #2a5c99; 
    cursor: pointer;
    z-index: 10001;
    background-color: transparent; 
    line-height: 1;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    color: white;
    font-size: 40px;
    padding: 10px;
    margin-top: -22px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    user-select: none;
}

.prev:hover,
.next:hover {
    background: rgba(0, 0, 0, 0.6);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* Botón para abrir modal (Flotante) */
#showEventsBtn {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 30px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 10px;
    /* 🎯 CAMBIO CLAVE 4: Botón flotante a color de acento (ej. Negro) */
    background-color: #333;
    color: rgb(26, 15, 124);
    border: none;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: background-color 0.3s;
}
#showEventsBtn:hover {
    background-color: #555;
}

/* Asegura que los enlaces estén alineados centrados verticalmente */
.nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
    line-height: 1.5;
}

/* --- ESTILOS PARA LOS ICONOS EN LA PARTE MEDIA (button-container) --- */

/* Contenedor principal para centrar y ordenar los botones */
.button-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 30px 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 30px auto;
    max-width: 800px;
}

/* Estilo base de cada enlace (lo convertimos en una tarjeta/botón) */
.button-container a {
    display: flex;
    align-items: center;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-width: 250px;
}

/* Efecto al pasar el ratón: levantamiento y sombra más fuerte */
.button-container a:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Estilo para las imágenes/logos dentro del botón */
.button-container img {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    border-radius: 4px;
    object-fit: cover;
}

/* Estilo para el texto (nombre de la red/sitio) */
.button-container span {
    font-size: 1.1em;
    font-weight: 700;
    color: #2a5c99;
}

/* Estilo específico para el logo idda.org */
.button-container a.logo {
    min-width: unset;
    background-color: transparent;
    box-shadow: none;
    padding: 0;
}

.button-container a.logo img {
    width: 100px;
    height: auto;
    margin: 0;
    border-radius: 0;
}

.button-container a.logo:hover {
    transform: none;
    box-shadow: none;
}

/* Colores de marca para los botones del contenido central */
.button-container a[href*="facebook"] {
    background-color: #0866ff;
    color: white;
}

.button-container a[href*="facebook"] span {
    color: white;
}

/* ========================================================= */
/* === MODAL DE PROMOCIÓN (VIDEO) CORREGIDO === */
/* ========================================================= */

.promo-modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9998;
    justify-content: center;
    /* 🎯 AJUSTE: Centrado Vertical */
    align-items: center;
    overflow: auto;
}

/* Contenido del modal (el recuadro que contiene el video) */
.promo-modal-content {
    position: relative;
    background-color: #fefefe;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    width: 90%;
    /* 🎯 AJUSTE: Ancho estándar para video grande */
    max-width: 1000px;
    margin: 0 auto;
    /* 🎯 AJUSTE: Se elimina el desplazamiento (centrado perfecto) */
    transform: translateX(0); 
}

/* Contenedor responsivo 16:9 */
.video-responsive-container {
    position: relative;
    /* 🎯 CORRECCIÓN CLAVE: Proporción 16:9 estándar (Video) */
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
    border-radius: 8px; 
}

/* Etiqueta de Video o Iframe */
.promo-modal-content .promo-video-player { 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; 
    /* 🎯 CORRECCIÓN: Se fija la altura al 100% para llenar el contenedor */
    height: 100%; 
    border: none;
    display: block; 
}

/* Botón de cerrar */
.promo-close-button {
    position: absolute;
    top: -15px; 
    right: -15px;
    color: white; 
    background-color: #2a5c99; 
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    border-radius: 50%;
    padding: 5px 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 10000;
}

.promo-close-button:hover {
    background-color: #1e4a7e;
}


/* ========================================================= */
/* === ESTILOS PARA MENÚS DESPLEGABLES === */
/* ========================================================= */
.nav-dropdown-container {
    position: relative;
    display: inline-block;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    /* 🎯 CAMBIO CLAVE 3: Fondo oscuro para los submenús (Mejor contraste) */
    background-color: rgba(42, 92, 153, 0.95);
    min-width: 230px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border-radius: 0 0 8px 8px;
    padding: 0;
}

.nav-dropdown-container:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    color: white;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    background-color: transparent;
    transition: background-color 0.2s;
}

.nav-dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ===== SUBMENÚ (NIVEL 2) ===== */
.nav-submenu-container {
    position: relative;
}

.nav-submenu-btn {
    color: white;
    padding: 10px 16px;
    text-align: left;
    border: none;
    width: 100%;
    background: transparent;
    cursor: pointer;
    font: inherit;
    display: block;
}

.nav-submenu-btn::after {
    content: "▶";
    float: right;
    font-size: 0.8em;
    margin-left: 5px;
}

.nav-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background-color: rgba(42, 92, 153, 0.95);
    min-width: 220px;
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    border-radius: 6px;
}

.nav-submenu-container:hover .nav-submenu {
    display: block;
}

.nav-submenu a {
    color: white;
    padding: 10px 16px;
    display: block;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    background-color: transparent;
}

.nav-submenu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Estilo para botón de reportes en el nav */
.nav-link[href="reportes.html"] {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 0.5rem 1rem;
    transition: all 0.3s;
}

.nav-link[href="reportes.html"]:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* ========================================================= */
/* === RESPONSIVE MEDIA QUERIES === */
/* ========================================================= */

@media (max-width: 768px) {
    /* Ajustes para navbar en tabletas */
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .featured-events {
        flex-direction: column;
    }

    /* Sobreescribe el flexbox del carrusel para móvil */
    .event-slide {
        flex-direction: column;
    }

    .event-slide.active {
        display: flex; /* Mantiene la columna para el carrusel principal en móvil */
    }

    .event-image {
        margin-bottom: 1rem;
    }

    .navbar .container {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .auth-buttons {
        order: 1;
        margin-left: auto;
    }

    .nav-links {
        order: 2;
        width: 100%;
        justify-content: center;
    }
    
    /* Responsive para menús desplegables */
    .nav-dropdown-menu {
        position: static;
        width: 100%;
    }

    .nav-submenu {
        position: static;
        width: 100%;
        box-shadow: none;
    }

    .nav-submenu-btn::after {
        content: "";
    }
}

@media (max-width: 480px) {
    /* Ajustes para navbar en móviles */
    .navbar .container {
        flex-direction: column;
        align-items: stretch;
    }

    .auth-buttons {
        order: -1;
        margin-left: 0;
        justify-content: flex-end;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .btn {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}