/* Custom Styles for Back Porch Bar & Grill */

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

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

::-webkit-scrollbar-track {
    background: #0a0f08;
}

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

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

/* Selection color */
::selection {
    background: rgba(212, 168, 75, 0.3);
    color: #f2f7f0;
}

/* Navbar glass effect */
.navbar-scrolled {
    background: rgba(10, 15, 8, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 168, 75, 0.1);
}

/* Hero parallax subtle effect */
#hero {
    background-attachment: fixed;
}

/* Gold shimmer animation */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Pulse animation for scroll indicator */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Mobile menu transitions */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Card hover effects */
.menu-item:hover h4 {
    text-shadow: 0 0 30px rgba(212, 168, 75, 0.3);
}

/* Image hover container */
.overflow-hidden {
    position: relative;
}

.overflow-hidden::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 15, 8, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.overflow-hidden:hover::after {
    opacity: 1;
}

/* Button focus states */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #d4a84b;
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .hover\\:scale-105:hover {
        transform: none;
    }
    
    .transition-all,
    .transition-colors,
    .transition-transform {
        transition: none;
    }
}

/* Tablet and up adjustments */
@media (min-width: 768px) {
    #hero {
        min-height: 100vh;
    }
}

/* Print styles */
@media print {
    .fixed,
    header,
    footer {
        position: relative !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
