/* Custom styles for Butts and Betty's Tavern */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #6fa078;
}

/* Animation for mobile menu */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(16, 27, 19, 0.98) !important;
    backdrop-filter: blur(10px);
}

/* Geometric shapes */
.geometric-shape {
    position: absolute;
    z-index: 0;
}

/* Form focus styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.3);
}

/* Button hover effects */
button,
a {
    transition: all 0.3s ease;
}

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

/* Text selection color */
::selection {
    background: #FF6B35;
    color: #1f3325;
}

/* 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;
    }
}

/* Mobile menu active state */
.mobile-menu-open #mobile-menu {
    display: block;
}
