/* Scroll reveal base — content always visible by default */
.scroll-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .scroll-reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll effect */
#navbar.scrolled {
    background: rgba(253, 252, 248, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

/* Smooth focus styles */
a:focus-visible, button:focus-visible {
    outline: 2px solid #508236;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf6ed;
}
::-webkit-scrollbar-thumb {
    background: #9dbe82;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #508236;
}

/* Selection color */
::selection {
    background: #c6d9b3;
    color: #111c0b;
}
</style>
