/* Modern Mobile Menu Styles */
.mobile-header {
    display: none;
    padding: 15px;
    background: #fff;
    position: relative;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
}

.mobile-logo {
    height: 40px;
}

.mobile-logo-img {
    height: 100%;
    width: auto;
}

/* Hamburger Menu Icon */
.menu-icon {
    width: 25px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background: #333;
    transition: all 0.3s ease;
}

.navbar-toggler[aria-expanded="true"] .menu-icon span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .menu-icon span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .menu-icon span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu Styles */
@media (max-width: 991px) {
    .mobile-header {
        display: flex;
    }

    #navbarNav {
        position: fixed;
        top: 71px;
        left: -100%;
        width: 280px;
        height: calc(100vh - 71px);
        background: #fff;
        transition: all 0.3s ease;
        overflow-y: auto;
        z-index: 1000;
        padding: 0;
    }

    #navbarNav.show {
        left: 0;
    }

    .nav-inner {
        padding: 0;
    }

    .main-menu {
        padding: 0;
        margin: 0;
    }

    .main-menu li {
        border-bottom: 1px solid #eee;
    }

    .main-menu li:last-child {
        border-bottom: none;
    }

    .main-menu li a {
        padding: 12px 20px;
        display: flex;
        align-items: center;
        color: #333;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .main-menu li a i {
        margin-right: 10px;
        font-size: 16px;
        width: 20px;
        text-align: center;
    }

    .main-menu li.active a {
        color: #F57C00;
        background: #fff5e6;
    }

    .main-menu li a:hover {
        color: #F57C00;
        background: #f8f9fa;
        padding-left: 25px;
    }

    /* User Profile Section */
    .user-profile-section {
        padding: 20px;
        background: #f8f9fa;
        margin-bottom: 15px;
    }

    .user-info {
        display: flex;
        align-items: center;
    }

    .user-avatar {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        overflow: hidden;
        margin-right: 15px;
        background: #e9ecef;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .user-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .user-avatar i {
        font-size: 24px;
        color: #adb5bd;
    }

    .user-details h5 {
        margin: 0;
        font-size: 16px;
        color: #333;
    }

    .user-details p {
        margin: 5px 0 0;
        font-size: 13px;
        color: #6c757d;
    }

    /* Navigation Divider */
    .nav-divider {
        height: 8px;
        background: #f8f9fa;
        margin: 0;
    }

    /* Mobile Contact Info */
    .mobile-contact-info {
        padding: 20px;
        background: #f8f9fa;
        margin-top: 15px;
    }

    .contact-item {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
    }

    .contact-item:last-child {
        margin-bottom: 0;
    }

    .contact-item i {
        width: 20px;
        margin-right: 10px;
        color: #F57C00;
    }

    .contact-item a {
        color: #333;
        font-size: 14px;
        text-decoration: none;
    }

    /* Category Submenu */
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        width: 100%;
        border: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
        background: #f8f9fa;
    }

    .dropdown-menu li a {
        padding-left: 50px !important;
    }

    .dropdown-menu li a:hover {
        background: #f1f3f5;
    }
}

/* Desktop Menu Enhancements */
@media (min-width: 992px) {
    .navbar {
        padding: 0;
    }

    .main-menu {
        display: flex;
        align-items: center;
    }

    .main-menu li a {
        padding: 25px 15px;
        color: #333;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .main-menu li a:hover {
        color: #F57C00;
    }

    .main-menu li.active a {
        color: #F57C00;
    }

    .dropdown-menu {
        box-shadow: 0 2px 15px rgba(0,0,0,0.1);
        border: none;
        border-radius: 8px;
        margin-top: 0;
    }

    .dropdown-menu li a {
        padding: 10px 20px;
    }
}
