/* 
   Mingle.nu - Mobil Navigation & Layout 
   (Kun aktiv på skærme under 992px)
*/

@media screen and (max-width: 991px) {
    /* Skjul desktop elementer */
    .desktop-nav, .desktop-only, header nav {
        display: none !important;
    }
    
    .mobile-nav-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(255,255,255,0.1) !important;
        border: 1px solid rgba(255,255,255,0.2) !important;
        border-radius: 12px !important;
        width: 45px !important;
        height: 45px !important;
        color: white !important;
        font-size: 1.4rem !important;
        cursor: pointer !important;
        position: relative !important;
        z-index: 10001 !important;
    }

    .notification-dot-mobile {
        position: absolute;
        top: -2px;
        right: -2px;
        width: 12px;
        height: 12px;
        background: var(--primary);
        border-radius: 50%;
        border: 2px solid #0d0a23;
    }
    
    header {
        padding: 1rem 5% !important;
    }

    .header-actions {
        display: flex !important;
        align-items: center !important;
        gap: 0.8rem !important;
        position: relative;
        z-index: 20000;
    }

    /* Sidebar specifik til mobil */
    .sidebar {
        position: fixed !important;
        top: 0 !important;
        right: -320px !important;
        width: 300px !important;
        height: 100vh !important;
        background: rgba(13, 10, 35, 0.98) !important;
        backdrop-filter: blur(25px) !important;
        z-index: 50000 !important;
        transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
        box-shadow: -15px 0 40px rgba(0,0,0,0.5) !important;
        border-left: 1px solid rgba(255,255,255,0.1) !important;
        padding: 1.5rem !important;
        border-radius: 0 !important;
        display: block !important;
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto !important;
    }

    .sidebar.show {
        right: 0 !important;
    }

    #sidebar-overlay {
        z-index: 25000 !important;
    }

    /* Layout tilpasninger */
    .hero {
        height: auto !important;
        min-height: 500px !important;
        padding: 4rem 1rem !important;
        background-position: top center !important;
    }

    .hero-content {
        padding: 2rem 1.5rem !important;
    }

    .hero h1 {
        font-size: 2.5rem !important;
    }
}
