/* Custom Mobile Menu Styles */
.mobile-menu-overlay {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.mobile-menu-overlay.active {
    opacity: 1;
}

#mobile-menu {
    transition: transform 0.4s ease-out;
}

/* Active state for navigation links */
.nav-link.active {
    color: #c084fc; /* purple-400 */
    font-weight: 600;
}

/* Mobile Menu Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#mobile-menu ul li a {
    position: relative;
    display: inline-block;
}

#mobile-menu ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(to right, #a855f7, #4338ca); /* purple-500 to indigo-700 */
    transition: width 0.3s ease;
}

#mobile-menu ul li a:hover::after {
    width: 100%;
}

/* Prevent scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}
