/* Custom Styles for Umphalambe Projects */

:root {
    --neon-lime: #32ff7e;
    --noir-black: #0a0a0a;
    --noir-grey: #171717;
}

body {
    background-color: var(--noir-black);
    color: #9ca3af;
    overflow-x: hidden;
}

/* Glassmorphism */
.glass {
    background: rgba(23, 23, 23, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--noir-black);
}
::-webkit-scrollbar-thumb {
    background: #262626;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--neon-lime);
}

/* Animations */
@keyframes glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.animate-glow {
    animation: glow 3s infinite ease-in-out;
}

/* Bento Grid Transitions */
.bento-item {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.3s ease;
}
.bento-item:hover {
    transform: translateY(-5px);
    border-color: rgba(50, 255, 126, 0.3);
}

/* Portfolio Filters */
.filter-btn.active {
    background-color: var(--neon-lime);
    color: var(--noir-black);
    border-color: var(--neon-lime);
}

/* Agentic Node Canvas */
#hero-canvas {
    opacity: 0.4;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu */
#mobile-menu {
    clip-path: circle(0% at top right);
    transition: clip-path 0.5s ease-in-out;
}

#mobile-menu.active {
    clip-path: circle(150% at top right);
}

.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease-out;
}

#mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 0.1s; }
#mobile-menu.active .mobile-link:nth-child(3) { transition-delay: 0.2s; }
#mobile-menu.active .mobile-link:nth-child(4) { transition-delay: 0.3s; }
#mobile-menu.active .mobile-link:nth-child(5) { transition-delay: 0.4s; }
