/* Custom styles for Register & Son Cabinets */

/* Scroll reveal base states — content is 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.is-hidden {
        opacity: 0;
        transform: translateY(24px);
    }
    .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .scroll-reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f2fdf9;
}
::-webkit-scrollbar-thumb {
    background: #a8bdda;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #7c9bc0;
}

/* Selection color */
::selection {
    background: #a1eacd;
    color: #0c1c2f;
}

/* Navbar active state */
nav a.active {
    color: #2d9e84;
}

/* Subtle pattern for hero background */
.hero-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(30, 58, 95, 0.04) 1px, transparent 0);
    background-size: 24px 24px;
}
