/* Custom styles for Free Bird Farm */

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

/* Fixed navigation */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s ease;
}

/* Scroll indicator animation */
.scroll-indicator {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Service card hover effect */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

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

#mobile-menu.active {
    max-height: 400px;
}

/* Mobile link hover */
.mobile-link {
    display: block;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.mobile-link:hover {
    background-color: rgb(253 244 248);
}

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

/* Ensure content is visible without JS */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

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

::-webkit-scrollbar-track {
    background: rgb(253 244 248);
}

::-webkit-scrollbar-thumb {
    background: rgb(157 23 77);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgb(125 23 77);
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid rgb(245 158 11);
    outline-offset: 2px;
}

/* Button hover effects */
a:hover {
    transition: all 0.2s ease;
}

/* Image loading optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Prevent layout shift */
img {
    object-fit: cover;
}
