/* Mobile Menu Styling with Orange Theme */

/* Mobile Side Menu - Only visible on screens < 992px */
.mobile-side-menu {
    position: fixed;
    top: 0;
    left: -80%; /* Start off-screen */
    width: 80%;
    height: 100vh;
    background: linear-gradient(to bottom, #ffffff, #fff9f5);
    z-index: 9999;
    transition: left 0.3s ease-in-out;
    box-shadow: 0 5px 25px rgba(255, 87, 34, 0.15);
    overflow-y: auto;
    display: none; /* Hidden by default */
    border-right: 1px solid rgba(255, 87, 34, 0.1);
}

.mobile-side-menu.active {
    left: 0; /* Slide in */
}

.mobile-menu-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 87, 34, 0.1);
    background: linear-gradient(to right, #ff5722, #ff9800);
}

.mobile-menu-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.mobile-menu-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    font-size: 24px;
    color: #ffffff;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.mobile-menu-content {
    padding: 20px;
}

.mobile-menu-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-nav li {
    margin-bottom: 15px;
}

.mobile-menu-nav a {
    display: block;
    padding: 12px 15px;
    color: #333;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.7);
}

.mobile-menu-nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #ff5722, #ff9800);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.mobile-menu-nav a:hover {
    background: linear-gradient(to right, rgba(255, 87, 34, 0.1), rgba(255, 152, 0, 0.05));
    padding-left: 20px;
    color: #ff5722;
}

.mobile-menu-nav a:hover::before {
    transform: scaleY(1);
}

.mobile-menu-nav a.active {
    background: linear-gradient(to right, rgba(255, 87, 34, 0.15), rgba(255, 152, 0, 0.1));
    color: #ff5722;
    font-weight: 700;
}

.mobile-menu-nav a.active::before {
    transform: scaleY(1);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(3px);
    display: none; /* Hidden by default */
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Media Queries */
@media screen and (max-width: 991px) {
    .mobile-side-menu,
    .mobile-menu-overlay {
        display: block;
    }
    
    /* Hide original menu toggle on mobile */
    .menu-toggle {
        display: flex;
    }
}

/* Hide mobile menu on screens >= 992px */
@media screen and (min-width: 992px) {
    .mobile-side-menu,
    .mobile-menu-overlay {
        display: none !important;
    }
} 