/* Custom styles for Rubber City Sports Pub */

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf8f2;
}
::-webkit-scrollbar-thumb {
    background: #c6dfc6;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9dc49d;
}

/* Selection color */
::selection {
    background: #9dc49d;
    color: #1f351f;
}

/* Navbar scroll state */
nav.scrolled {
    background: rgba(253, 252, 248, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(198, 223, 198, 0.4);
    box-shadow: 0 1px 20px rgba(31, 53, 31, 0.06);
}

/* Button focus outlines */
a:focus-visible, button:focus-visible {
    outline: 3px solid #9dc49d;
    outline-offset: 2px;
    border-radius: 0.5rem;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #e3efe3 0%, #f2f7f2 100%);
}

/* Subtle card hover lift */
.rounded-3xl:hover {
    transform: translateY(-2px);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Mobile menu transitions */
#mobileMenu {
    animation: slideDown 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Active nav link */
a[href="#hero"]:not(.bg-forest-700):hover,
a[href="#about"]:hover,
a[href="#highlights"]:hover,
a[href="#menu"]:hover,
a[href="#events"]:hover,
a[href="#visit"]:hover {
    color: #2f542f;
}
