/* Mobile Menu Styles */

@media (max-width: 767.98px) {
    /* Side menu positioning when active */
    .webdesh-sidemenu-area {
        position: fixed;
        left: -280px;
        top: 0;
        width: 280px;
        height: 100%;
        z-index: 1000;
        transition: all 0.3s ease-in-out;
    }

    .webdesh-sidemenu-area.active {
        left: 0;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    }

    /* Overlay for when menu is open */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .menu-overlay.active {
        display: block;
    }

    /* Mobile top navigation styling */
    .classy-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        z-index: 1000;
    }

    .classy-menu.menu-on {
        max-height: 300px;
    }

    /* Mobile menu toggle icon */
    .mobile-menu-icon {
        display: block;
        cursor: pointer;
        padding: 8px;
    }

    /* Close icon styling */
    .classycloseIcon {
        position: absolute;
        top: 10px;
        right: 10px;
        cursor: pointer;
        padding: 5px;
    }

    /* Make the navigation full width on mobile */
    .webdesh-page-content {
        width: 100% !important;
        margin-left: 0 !important;
    }
}
