/* Custom styles for Big Johnson's Doghouse Saloon */

/* Base overrides */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
    background: #C8956C;
    color: #1A1410;
}

/* Focus styles */
:focus-visible {
    outline: 2px solid #C8956C;
    outline-offset: 2px;
}

/* Navbar scroll state */
nav.scrolled {
    background: rgba(26, 20, 16, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(200, 149, 108, 0.1);
}

nav.scrolled .nav-link {
    color: #E8D5C0;
}

/* Mobile menu button animation */
.menu-line {
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}

#menu-btn.active .menu-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

#menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#menu-btn.active .menu-line:nth-child(3) {
    width: 24px;
    margin-left: 0;
    transform: translateY(-6px) rotate(-45deg);
}

/* Image lazy load fallback */
img {
    loading: lazy;
}

/* Print styles */
@media print {
    nav, #mobile-menu, .reveal { display: none; }
    body { background: white; color: black; }
    section { padding: 20px 0; }
}

/* Reduced motion */
@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; }
    .reveal { opacity: 1; transform: none; }
    .gold-shimmer { animation: none; background: #C9A84C; -webkit-text-fill-color: #C9A84C; }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .card-hover { border: 1px solid #C8956C; }
    .reveal { opacity: 1; transform: none; }
}

/* Tall mobile phones */
@media (min-height: 800px) {
    #hero { min-height: 100svh; }
}
