/* ==========================================
   MOBILE MENU - ŚWIEŻY START
   ========================================== */

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: #2c5f2d;
    margin: 5px auto;
    transition: 0.3s;
    border-radius: 3px;
}

/* Active State - X */
.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    z-index: 1000;
    transition: left 0.3s;
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

/* Mobile Menu Header */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: linear-gradient(135deg, #2c5f2d 0%, #4a90a4 100%);
    color: #fff;
    font-weight: 600;
}

.mobile-menu-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu Navigation */
.mobile-menu-nav {
    padding: 0;
    margin: 0;
}

.mobile-menu-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-nav > ul > li {
    border-bottom: 1px solid #e5e7eb;
    margin: 0;
}

.mobile-menu-nav li {
    list-style: none;
    margin: 0;
}

.mobile-menu-nav a {
    display: block;
    padding: 1rem 1.5rem;
    color: #1f2937;
    text-decoration: none;
    transition: background 0.2s;
    font-size: 1rem;
}

.mobile-menu-nav a:hover {
    background: #f9fafb;
    color: #2c5f2d;
}

/* Mobile Dropdown */
.mobile-dropdown-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    color: #1f2937;
    font-size: 1rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
}

.mobile-dropdown-btn:hover {
    background: #f9fafb;
    color: #2c5f2d;
}

.mobile-dropdown-btn i {
    transition: transform 0.3s;
    font-size: 0.8rem;
}

.mobile-dropdown-btn.active i {
    transform: rotate(180deg);
}

.mobile-submenu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f9fafb;
}

.mobile-submenu.active {
    display: block;
}

.mobile-submenu li {
    list-style: none;
    margin: 0;
}

.mobile-submenu a {
    padding: 0.75rem 1.5rem 0.75rem 2.5rem;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.mobile-submenu li:last-child a {
    border-bottom: none;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .desktop-nav {
        display: none;
    }
}

@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none !important;
    }
    
    .desktop-nav {
        display: block;
    }
}

/* ==========================================
   FIX WIDOCZNOŚCI - NA KOŃCU
   ========================================== */
.mobile-menu-nav,
.mobile-menu-nav ul,
.mobile-menu-nav li {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.mobile-menu-nav > ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.mobile-menu-nav > ul > li {
    display: block !important;
    border-bottom: 1px solid #e5e7eb;
}

.mobile-menu-nav a,
.mobile-dropdown-btn {
    display: block !important;
    color: #1f2937 !important;
}