/* Mobile Navigation Enhancement */

/* Hide mobile navigation by default on desktop */
.mobile-nav-container {
    display: none;
}

/* Mobile Navigation Styles */
@media (max-width: 992px) {
    /* Hide sidebar on mobile */
    .sidebar {
        display: none;
    }
    
    /* Show mobile navigation */
    .mobile-nav-container {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 -5px 15px rgba(255, 105, 180, 0.15);
        z-index: 1000;
        border-top: 2px solid rgba(255, 105, 180, 0.2);
    }
    
    .mobile-nav {
        display: flex;
        justify-content: space-around;
        padding: 0.5rem 0;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }
    
    .mobile-nav::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Edge */
    }
    
    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0.5rem;
        color: #555;
        text-decoration: none;
        font-size: 0.8rem;
        font-weight: 500;
        transition: all 0.3s ease;
        min-width: 60px;
        position: relative;
    }
    
    .mobile-nav-item i {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
        color: #777;
        transition: all 0.3s ease;
    }
    
    .mobile-nav-item.active {
        color: #ff69b4;
    }
    
    .mobile-nav-item.active i {
        color: #ff69b4;
    }
    
    .mobile-nav-item::after {
        content: '';
        position: absolute;
        bottom: -0.5rem;
        left: 50%;
        transform: translateX(-50%) scaleX(0);
        width: 20px;
        height: 3px;
        background: #ff69b4;
        transition: transform 0.3s ease;
        border-radius: 3px;
    }
    
    .mobile-nav-item.active::after {
        transform: translateX(-50%) scaleX(1);
    }
    
    /* Add padding to main content to prevent overlap with fixed navigation */
    .main-content {
        padding-bottom: 70px;
    }
    
    /* Mobile menu button for expanding full menu */
    .mobile-menu-toggle {
        position: fixed;
        bottom: 80px;
        right: 20px;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: #ff69b4;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 15px rgba(255, 105, 180, 0.3);
        z-index: 1001;
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-toggle:hover {
        transform: scale(1.05);
        background: #db7093;
    }
    
    .mobile-menu-toggle i {
        font-size: 1.5rem;
    }
    
    /* Full screen menu */
    .full-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.95);
        z-index: 2000;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateY(100%);
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        padding: 2rem;
        overflow-y: auto;
    }
    
    .full-menu.active {
        transform: translateY(0);
    }
    
    .full-menu-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 1.8rem;
        color: #ff69b4;
        cursor: pointer;
    }
    
    .full-menu-title {
        color: #ff69b4;
        margin-bottom: 2rem;
        font-size: 1.5rem;
        font-weight: 600;
    }
    
    .full-menu-links {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
        width: 100%;
        max-width: 600px;
    }
    
    .full-menu-link {
        display: flex;
        align-items: center;
        padding: 1rem;
        background: white;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(255, 105, 180, 0.1);
        color: #555;
        text-decoration: none;
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 105, 180, 0.1);
    }
    
    .full-menu-link i {
        margin-right: 0.8rem;
        color: #ff69b4;
        font-size: 1.2rem;
    }
    
    .full-menu-link:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(255, 105, 180, 0.15);
        background: rgba(255, 105, 180, 0.05);
    }
    
    .full-menu-link.active {
        background: rgba(255, 105, 180, 0.1);
        border-color: rgba(255, 105, 180, 0.2);
        color: #ff69b4;
    }
}

/* Adjustments for smaller screens */
@media (max-width: 576px) {
    .mobile-nav-item {
        font-size: 0.7rem;
        min-width: 50px;
    }
    
    .mobile-nav-item i {
        font-size: 1.1rem;
    }
    
    .full-menu-links {
        grid-template-columns: 1fr;
    }
}
