/* Custom Styles for Boba Heaven */

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

/* Custom Animations */
@keyframes scroll {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.animate-scroll {
    animation: scroll 1.5s ease-in-out infinite;
}

/* Hero Animations */
.hero-subtitle {
    animation: slideUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-title {
    animation: slideUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-desc {
    animation: slideUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Menu Card Hover Effect */
.menu-card {
    transition: transform 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-8px);
}

/* Navigation Active State */
.nav-link.active {
    color: #E09F3E;
}

/* Mobile Menu Transitions */
#mobile-menu-btn.active #bar1 {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobile-menu-btn.active #bar2 {
    opacity: 0;
}

#mobile-menu-btn.active #bar3 {
    transform: rotate(-45deg) translate(5px, -5px);
}

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

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

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

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

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

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

/* 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;
    }
}

/* Focus Styles for Accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #F5B041;
    outline-offset: 2px;
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}
