/* Custom styles for Bubble Tea website */

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

/* Navbar scroll effect */
#navbar {
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
    background-color: rgba(253, 252, 250, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

/* Menu card stagger animation */
.menu-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.menu-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero image float animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

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

/* Custom selection color */
::selection {
    background-color: #f9ddd3;
    color: #8a3f26;
}

/* Subtle parallax on hero blobs */
@media (prefers-reduced-motion: no-preference) {
    .menu-card {
        transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
    }
}

/* Focus visible styles */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid #C0603A;
    outline-offset: 2px;
    border-radius: 8px;
}

/* Remove default button styles for mobile menu button */
#mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}
