/* Custom styles for Lamke Tree Farm */

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

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

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Fade in animation for scroll reveals */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children animations */
.stagger-children .fade-in-up:nth-child(1) { transition-delay: 0.1s; }
.stagger-children .fade-in-up:nth-child(2) { transition-delay: 0.2s; }
.stagger-children .fade-in-up:nth-child(3) { transition-delay: 0.3s; }
.stagger-children .fade-in-up:nth-child(4) { transition-delay: 0.4s; }
.stagger-children .fade-in-up:nth-child(5) { transition-delay: 0.5s; }
.stagger-children .fade-in-up:nth-child(6) { transition-delay: 0.6s; }

/* Navbar scroll effect */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

/* Button hover glow effect */
button:hover, a:hover {
    filter: brightness(1.05);
}

/* Image loading placeholder */
img {
    background-color: #f1f5f9;
}
