/* ========================================
   CLEAN MOBILE NAVIGATION
   ======================================== */

/* Desktop - Default styles */
.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
}

.logo {
    flex-shrink: 0;
}

.desktop-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.desktop-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mobile-actions {
    display: none;
}

.mobile-menu {
    display: none;
}

/* Mobile Styles */
@media (max-width: 1024px) {

    /* Hide desktop navigation */
    .desktop-menu,
    .desktop-actions {
        display: none !important;
    }

    /* Show mobile elements */
    .mobile-actions {
        display: flex !important;
        align-items: center;
        gap: 0.75rem;
    }

    /* Nav wrapper - simple horizontal layout */
    .nav-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 0;
    }

    /* Logo */
    .logo img {
        height: 35px !important;
    }

    /* Mobile button */
    .mobile-actions .btn-sm {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        white-space: nowrap;
    }

    /* Hamburger button */
    .mobile-toggle {
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--text-primary);
        cursor: pointer;
        padding: 0.5rem;
        margin-left: 0.5rem;
    }

    /* Mobile Menu Overlay */
    .mobile-menu {
        display: block !important;
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        z-index: 999;
        transition: left 0.3s ease;
        overflow-y: auto;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .mobile-menu.active {
        left: 0 !important;
    }

    .mobile-menu ul {
        list-style: none;
        padding: 2rem;
        margin: 0;
        display: block !important;
    }

    .mobile-menu li {
        margin-bottom: 0;
        border-bottom: 1px solid #f0f0f0;
        display: block !important;
    }

    .mobile-menu a {
        display: block !important;
        padding: 1rem 0;
        color: var(--text-primary);
        text-decoration: none;
        font-size: 1.1rem;
        font-weight: 500;
    }

    .mobile-menu a:hover {
        color: var(--primary-color);
    }

    .mobile-menu .btn-block {
        width: 100%;
        margin-top: 1rem;
        justify-content: center;
        display: flex !important;
    }

    .mobile-menu form {
        padding: 1rem 0;
        display: block !important;
    }
}

@media (max-width: 768px) {
    .logo img {
        height: 30px !important;
    }

    .mobile-actions .btn-sm {
        padding: 0.4rem 0.875rem;
        font-size: 0.8rem;
    }
}