/* Custom Styles for Mongol Bar Oakland */

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Animation Keyframes */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes float-delay {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Animation Classes */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delay {
    animation: float-delay 5s ease-in-out infinite;
    animation-delay: 1s;
}

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

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

/* Mobile Menu Animation */
.menu-line-1 {
    transform-origin: center;
}

.menu-line-2 {
    transform-origin: center;
}

.menu-line-3 {
    transform-origin: center;
}

/* Mobile Menu Open State */
.mobile-menu-open .menu-line-1 {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-open .menu-line-2 {
    opacity: 0;
}

.mobile-menu-open .menu-line-3 {
    transform: translateY(-8px) rotate(-45deg);
}

/* Navbar Scrolled State */
.nav-scrolled {
    background-color: rgba(254, 253, 251, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-scrolled .nav-text {
    color: #0d2a0d !important;
}

.nav-scrolled .nav-link {
    color: #1e5c1e !important;
}

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

::-webkit-scrollbar-track {
    background: #faf8f4;
}

::-webkit-scrollbar-thumb {
    background: #2d7a2d;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1e5c1e;
}

/* Focus Styles for Accessibility */
a:focus-visible,
button:focus-visible {
    outline: 3px solid #f59e0b;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-display {
        font-size: 2.5rem !important;
    }
    
    #hero h1 {
        font-size: 2.5rem !important;
    }
}
