/* Custom styles for Sonny Side Café */

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #F9F5FC;
}
::-webkit-scrollbar-thumb {
    background: #D4B3E0;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #BA85C8;
}

/* Navbar transition states */
.nav-scrolled {
    background: rgba(249, 245, 252, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 1px 0 rgba(91, 44, 111, 0.08);
}

.nav-scrolled .nav-logo-text {
    color: #5B2C6F !important;
}

.nav-scrolled .nav-link {
    color: #5B2C6F !important;
}

.nav-scrolled .nav-link:hover {
    color: #9B59B6 !important;
}

.nav-scrolled .menu-bar {
    background: #5B2C6F !important;
}

.nav-scrolled .nav-logo-bg {
    fill: #5B2C6F !important;
}

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

.menu-bar-open-1 {
    transform: translateY(6px) rotate(45deg);
}

.menu-bar-open-2 {
    opacity: 0;
}

.menu-bar-open-3 {
    transform: translateY(-6px) rotate(-45deg);
}

/* Subtle hover lift for cards */
.stat-card:hover {
    transform: translateY(-4px);
    transition: transform 0.3s ease;
}

/* Image lazy loading fade */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

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