/* Custom styles beyond Tailwind */

/* Smooth reveal animations for scroll-triggered elements */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal[data-reveal-delay="1"] { transition-delay: 0.1s; }
.reveal[data-reveal-delay="2"] { transition-delay: 0.2s; }
.reveal[data-reveal-delay="3"] { transition-delay: 0.3s; }
.reveal[data-reveal-delay="4"] { transition-delay: 0.4s; }
.reveal[data-reveal-delay="5"] { transition-delay: 0.5s; }
.reveal[data-reveal-delay="6"] { transition-delay: 0.6s; }

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html { scroll-behavior: auto; }
    .group:hover img { transform: none; }
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f0faf4; }
::-webkit-scrollbar-thumb { background: #0f2b4e; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #27ae60; }

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid #2ecc71;
    outline-offset: 2px;
}

/* Hero image parallax-like effect handled via fixed attachment */
#hero {
    scroll-behavior: smooth;
}

/* Mobile menu transition */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
#mobile-menu.open {
    max-height: 400px;
}

/* Button press effect */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Selection color */
::selection {
    background: #2ecc71;
    color: #091a30;
}
