/* Custom Styles for General Nonsense */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0; /* Start hidden */
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Scroll Reveal Utilities */
.reveal-left, .reveal-right, .reveal-up {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-up {
    transform: translateY(30px);
}

/* Active states for JS observer */
.reveal-left.active, .reveal-right.active, .reveal-up.active {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

/* Navbar Transition */
.nav-scrolled {
    background-color: rgba(9, 53, 64, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Button Focus Outlines */
button:focus, a:focus {
    outline: 2px solid #C5A059;
    outline-offset: 2px;
}
