/* .mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .menu-icon {
        display: block;
        width: 25px;
        height: 2px;
        background-color: var(--text-color);
        margin: 5px 0;
        transition: transform 0.3s, opacity 0.3s;
    }

    .mobile-menu-toggle[aria-expanded="true"] .menu-icon:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-toggle[aria-expanded="true"] .menu-icon:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle[aria-expanded="true"] .menu-icon:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .main-nav {
        transition: transform 0.3s ease-in-out;
        transform: translateX(-100%);
    }

    .main-nav.is-open {
        transform: translateX(0);
    }

    .nav-wrapper {
        height: calc(100vh - 60px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-list {
        padding: 1rem;
    }

    .nav-link {
        display: block;
        padding: 0.75rem 1rem;
        border-radius: var(--radius-sm);
    }

    .nav-link:active {
        background-color: var(--bg-secondary);
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: 1px solid var(--border-color);
        margin: 0.5rem 0;
        max-height: none;
    }

    .dropdown-toggle {
        width: 100%;
        text-align: left;
        padding: 0.75rem 1rem;
        border-radius: var(--radius-sm);
    }

    .dropdown-toggle .arrow {
        float: right;
        transition: transform 0.3s;
    }

    .dropdown-toggle[aria-expanded="true"] .arrow {
        transform: rotate(180deg);
    }
}

body.menu-open {
    overflow: hidden;
}

@supports (padding: max(0px)) {
    .main-nav {
        padding-bottom: max(1rem, env(safe-area-inset-bottom));
    }
} */


/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .menu-icon {
        display: block;
        width: 25px;
        height: 2px;
        background-color: var(--text-color);
        margin: 5px 0;
        transition: transform 0.3s, opacity 0.3s;
    }

    .mobile-menu-toggle[aria-expanded="true"] .menu-icon:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-toggle[aria-expanded="true"] .menu-icon:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle[aria-expanded="true"] .menu-icon:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .main-nav {
        transition: transform 0.3s ease-in-out;
        transform: translateX(-100%);
    }

    .main-nav.is-open {
        transform: translateX(0);
    }

    .nav-wrapper {
        height: calc(100vh - 60px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-list {
        padding: 1rem;
    }

    .nav-link {
        display: block;
        padding: 0.75rem 1rem;
        border-radius: var(--radius-sm);
    }

    .nav-link:active {
        background-color: var(--bg-secondary);
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: 1px solid var(--border-color);
        margin: 0.5rem 0;
        max-height: none;
    }

    .dropdown-toggle {
        width: 100%;
        text-align: left;
        padding: 0.75rem 1rem;
        border-radius: var(--radius-sm);
    }

    .dropdown-toggle .arrow {
        float: right;
        transition: transform 0.3s;
    }

    .dropdown-toggle[aria-expanded="true"] .arrow {
        transform: rotate(180deg);
    }
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Safe area spacing for modern mobile devices */
@supports (padding: max(0px)) {
    .main-nav {
        padding-bottom: max(1rem, env(safe-area-inset-bottom));
    }
}
