/* Custom styles for MOMO Tea */

/* Smooth focus outlines for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #d99a0a;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background-color: #d99a0a;
    color: #0d1f3f;
}

/* Subtle scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fafaf5;
}
::-webkit-scrollbar-thumb {
    background: #152d57;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2d5191;
}

/* Scroll-reveal base state (visible by default, enhanced by JS) */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.visible {
        opacity: 1;
        transform: none;
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
}

/* Mobile menu transitions */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}
#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

/* Nav scroll state */
nav.scrolled {
    box-shadow: 0 1px 0 rgba(21, 45, 87, 0.08);
}
