/* Custom styles for The Ranch Bar */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf9f3;
}
::-webkit-scrollbar-thumb {
    background: #a1302f;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #832928;
}

/* Selection */
::selection {
    background: #a1302f;
    color: #fefdfb;
}

/* Mobile menu animation */
#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

#mobileMenu.closed {
    opacity: 0;
    pointer-events: none;
}

/* Hamburger animation */
#menuBtn.active #bar1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}
#menuBtn.active #bar2 {
    opacity: 0;
}
#menuBtn.active #bar3 {
    width: 24px;
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Image lazy fade */
img[loading="lazy"] {
    transition: opacity 0.3s ease;
}

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

/* Print styles */
@media print {
    header, #mobileMenu, iframe { display: none; }
    body { color: #1a1a1a; background: #fff; }
    section { page-break-inside: avoid; }
}
