/* Custom styles for Owl Valley Farm */

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

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

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

::-webkit-scrollbar-thumb {
    background: #37a8a1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #248a83;
}

/* Selection color */
::selection {
    background: #def7f1;
    color: #102a43;
}

/* Animation keyframes */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Floating animation for stat cards */
@keyframes float-slow {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Apply float animations */
.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-float-slow {
    animation: float-slow 4s ease-in-out infinite;
}

/* Scroll reveal styles (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    
    .reveal-hidden {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* For browsers that don't support prefers-reduced-motion, show content by default */
.reveal-hidden {
    opacity: 1;
    transform: translateY(0);
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #37a8a1;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #f2fcf9 0%, #d9e2ec 100%);
}

/* Subtle pattern overlay for hero */
.hero-pattern {
    background-image: radial-gradient(circle at 2px 2px, rgba(55, 168, 161, 0.1) 1px, transparent 0);
    background-size: 24px 24px;
}
