/* Custom styles for Navy Inn */

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #fdf8f0; }
::-webkit-scrollbar-thumb { background: #e07a5f; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #c45a3c; }

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(254, 253, 251, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(22, 31, 61, 0.08);
}

.nav-scrolled .nav-link { color: #21315f !important; }
.nav-scrolled .nav-text { color: #161f3d !important; }
.nav-scrolled .menu-line { background: #161f3d !important; }

/* Mobile menu animation */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

.menu-btn-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}
.menu-btn-open .menu-line:nth-child(2) {
    opacity: 0;
}
.menu-btn-open .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(4px, -4px);
}

/* Scroll animation helper */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Infinite scroll for gallery */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-scroll {
    animation: scroll 30s linear infinite;
}

.animate-scroll:hover {
    animation-play-state: paused;
}

/* Smooth focus for inputs */
input:focus, textarea:focus {
    outline: none;
}

/* Selection color */
::selection {
    background: #f5d0c0;
    color: #5d2315;
}
