/* Custom styles for Barnyard Tap */

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

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

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

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

/* Selection color */
::selection {
    background: #FF6B4A;
    color: #1a1a1a;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .hover\\:scale-110:hover {
        transform: none;
    }
}

/* Fade-in animation for scroll reveals */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Stagger delay for children */
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* Mobile menu transitions */
#mobile-menu {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#mobile-menu.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#mobile-menu.closed {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
}

/* Navbar background transition */
#navbar.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Image hover zoom container */
img {
    transition: transform 0.7s ease;
}

/* Form styling (if needed) */
input, textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    width: 100%;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #FF6B4A;
}

input::placeholder, textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}
