/* Custom styles — progressive enhancement only, content is always visible */

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(32px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

/* Mobile menu transitions */
#mobileMenu {
    transition: opacity 0.3s ease;
}

#mobileMenu.active {
    display: flex;
    opacity: 1;
}

#mobileMenu.hidden {
    display: none;
    opacity: 0;
}

/* Navbar scroll state */
#nav.scrolled {
    background: rgba(4, 11, 22, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Smooth focus rings */
input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: 2px solid rgba(42, 179, 140, 0.5);
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: rgba(42, 179, 140, 0.3);
    color: #fff;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #040B16;
}

::-webkit-scrollbar-thumb {
    background: #1A3A6E;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2AB38C;
}
