/* Custom styles for Spahn Tax & Accounting Services */

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

/* Scroll indicator animation */
.scroll-indicator {
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 0.7; transform: scaleY(1.2); }
}

/* Reveal animations - progressive enhancement */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Navbar transition */
.nav-scrolled {
    background: rgba(253, 252, 248, 0.97) !important;
    box-shadow: 0 1px 8px rgba(26, 46, 26, 0.08);
    backdrop-filter: blur(8px);
}

/* Mobile menu link hover */
.mobile-link {
    display: block;
    padding: 8px 0;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #96c496;
}

/* Selection color */
::selection {
    background: #c5dfc5;
    color: #1a2e1a;
}
