/* Custom styles for Red Ram Motel */

/* Scroll reveal base — content is visible by default, JS adds animated state */
.scroll-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* When JS adds this class, elements animate in */
.scroll-reveal.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion — skip animations entirely */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

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

/* Selection color */
::selection {
    background-color: rgba(212, 105, 90, 0.3);
    color: #f7d8d2;
}

/* Subtle scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1a1a1f;
}
::-webkit-scrollbar-thumb {
    background: #3a3a45;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #4a4a55;
}

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#mobile-menu.open {
    max-height: 400px;
}

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