/* Base styles */
body {
    font-family: 'Poppins', sans-serif;
}

/* Mobile menu styles */
#menuOverlay {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#menuOverlay.active {
    opacity: 1;
}

#slideOutMenu {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    @apply flex items-center space-x-3 py-2 px-4 rounded-lg text-white hover:bg-slate-800 transition-colors;
    display: flex;
    align-items: center;
    color: rgb(203, 213, 225);
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
    background: linear-gradient(to right, transparent 50%, rgba(59, 130, 246, 0.1) 50%);
    background-size: 200% 100%;
}

.nav-link:hover {
    color: white;
    background-position: -100% 0;
    transform: translateX(8px);
}

.nav-link i {
    color: rgb(96, 165, 250);
    margin-right: 1rem;
    transition: all 0.3s ease;
    width: 24px;
    text-align: center;
}

.nav-link:hover i {
    color: rgb(147, 197, 253);
    transform: scale(1.1);
}

/* Animation classes */
.menu-item-enter {
    opacity: 0;
    transform: translateX(20px);
}

.menu-item-enter-active {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.3s ease;
}

.nav-accordion-content {
    @apply space-y-1 py-2;
}

/* Animation for accordion icon */
.fa-chevron-down {
    @apply transition-transform duration-300;
}

.rotate-180 {
    @apply transform rotate-180;
}

/* Add smooth transition for backdrop blur */
@supports (backdrop-filter: blur(8px)) {
    #menuOverlay {
        transition: opacity 0.3s ease, backdrop-filter 0.3s ease;
    }
}
