/* Custom styles for New Day Smoothie Cafe' */

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

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(13, 27, 42, 0.08);
}

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

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

.navbar-transparent .nav-text {
    color: #0D1B2A !important;
}

.navbar-transparent .nav-link {
    color: #1A3A52 !important;
}

/* Mobile menu transitions */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Menu tabs */
.menu-tab {
    transition: all 0.2s ease;
}

.menu-tab.active {
    background: #0D1B2A !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(13, 27, 42, 0.3);
}

/* Menu card animations */
.menu-card {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 1;
}

.menu-card.hidden-card {
    display: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Float animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Scroll reveal animations (below fold only) */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .animate-float,
    .animate-bounce {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .menu-card {
        animation: none;
    }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #3DB8AF;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 3px solid #4ECDC4;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: #4ECDC4;
    color: #0D1B2A;
}
