/* Custom Styles for The Hobo Hostel */

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

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

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

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

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

/* Selection color */
::selection {
    background: #D4AF37;
    color: #0B0F14;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Mobile menu active state */
body.menu-open {
    overflow: hidden;
}

/* Image loading placeholder */
img {
    background-color: #111820;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid #D4AF37;
    outline-offset: 2px;
}

/* Navbar scrolled state */
.navbar-scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

/* Button press effect */
button:active,
a:active {
    transform: scale(0.98);
}
