/* ====================================================================
   HEADER NAVIGATION CSS
   Estilos para el header principal y navegación móvil
   ==================================================================== */

/* === MENÚ MÓVIL === */
.mobile-menu-toggle {
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    padding: 5px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    z-index: 1001;
    transition: all 0.2s ease;
}
.mobile-menu-toggle:hover {
    opacity: 0.7;
}
.hamburger-line {
    width: 20px;
    height: 2px;
    background-color: #333;
    transition: all 0.3s ease;
    transform-origin: center;
}
.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1000;
    pointer-events: auto;
}
.mobile-menu-content {
    background: white;
    width: 280px;
    height: 100%;
    position: relative;
    margin-left: auto;
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    transform: translateX(280px);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-nav-menu.show .mobile-menu-content {
    transform: translateX(0);
}
.mobile-menu-header {
    padding: 1.5rem;
    background: #f8f9fa;
    color: #333;
    border-bottom: 1px solid #e9ecef;
    position: relative;
}
.mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #e9ecef;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6c757d;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}
.mobile-menu-close:hover {
    background: #dee2e6;
    color: #333;
}
.snaicc-parent-mobile {
    text-align: center;
}
.mobile-menu-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
}
.mobile-menu-subtitle {
    font-size: 0.8rem;
    color: #6c757d;
    line-height: 1.3;
}
.mobile-menu-links {
    padding: 0;
}
.mobile-nav-link {
    display: block;
    padding: 1rem 1.5rem;
    color: #333;
    text-decoration: none;
    transition: all 0.15s ease;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}
.mobile-nav-link:hover {
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
}
.mobile-nav-link .base {
    font-weight: 500;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
[wire\:loading] {
    opacity: 0.6;
    pointer-events: none;
}

/* === RESPONSIVE BREAKPOINTS === */
@media (max-width: 991.98px) {
    .menu {
        display: none !important;
    }
    .desktop-right {
        display: none !important;
    }
}
@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none !important;
    }
    .mobile-nav-menu {
        display: none !important;
    }
}

/* === LAYOUT GLOBAL === */
/* Scrollbar consistente para evitar shifts de layout */
html {
    overflow-y: scroll;
}

/* Footer sticky */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main {
    flex-grow: 1;
}