/* Base & Utilities */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scroll Reveal - Progressive Enhancement */
.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.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(253, 253, 249, 0.92) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(27, 94, 32, 0.08);
}

/* Mobile menu */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

.menu-line-open-1 {
    transform: rotate(45deg) translate(3px, 3px);
}

.menu-line-open-2 {
    opacity: 0;
}

.menu-line-open-3 {
    transform: rotate(-45deg) translate(3px, -3px);
    width: 1.25rem;
}

/* Subtle hover effects */
a {
    text-decoration: none;
}

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

::-webkit-scrollbar-track {
    background: #FDFDF9;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #A5D6A7;
}

/* Selection color */
::selection {
    background: #C8E6C9;
    color: #1B5E20;
}
