/* Custom styles for Wong's Porch of Pleasure */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Hero animations - only below the fold content gets scroll reveal */
.hero-anim {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-anim:nth-child(1) { transition-delay: 0.1s; }
.hero-anim:nth-child(2) { transition-delay: 0.3s; }
.hero-anim:nth-child(3) { transition-delay: 0.5s; }
.hero-anim:nth-child(4) { transition-delay: 0.7s; }

/* Scroll reveal for below-fold content */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Navigation link colors based on background */
.nav-link {
    /* Colors handled by Tailwind utility classes */
}

.mobile-link {
    /* Colors handled by Tailwind utility classes */
}

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

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #f9a8d4;
    outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #2d0a0a;
}

::-webkit-scrollbar-thumb {
    background: #7c1c1c;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #932222;
}
