/* Custom styles for Ash - Professional Services */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Subtle hover lift on cards */
.group:hover {
    transform: translateY(-2px);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F5F0E8;
}
::-webkit-scrollbar-thumb {
    background: #D4C4AE;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #B8945E;
}

/* Selection color */
::selection {
    background: #D97347;
    color: white;
}

/* Nav shadow on scroll */
.nav-scrolled {
    box-shadow: 0 1px 20px rgba(15, 26, 46, 0.08);
}

/* Fade-in animation for scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
