/* Custom styles for Southern Posh Couture Formal */

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

/* Navbar transition states */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(253, 252, 250, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(38, 74, 38, 0.08);
}

#navbar.scrolled .nav-logo {
    color: #1d381d;
}

#navbar.scrolled a:not(.bg-forest-700) {
    color: #264a26;
}

#navbar.scrolled a:not(.bg-forest-700):hover {
    color: #3d7a3d;
}

/* Smooth focus outlines */
*:focus-visible {
    outline: 2px solid #3d7a3d;
    outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdfcfa;
}
::-webkit-scrollbar-thumb {
    background: #adcfad;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #7fb87f;
}

/* Selection color */
::selection {
    background: #d5e2d5;
    color: #142714;
}
