/* Custom Styles for Lassi Bar */

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

body {
    /* Ensure text is readable against the cream background */
    color: #2A2210; /* cream-900 */
}

/* Typography adjustments */
h1, h2, h3 {
    letter-spacing: -0.02em;
}

/* Marquee Animation */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    animation: marquee 20s linear infinite;
}

/* Blob Animations */
@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* Background Blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: -1;
}

.blob-1 {
    top: 10%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: #bbf7d0; /* emerald-200 */
    animation: blob 10s infinite;
}

.blob-2 {
    top: 40%;
    right: 5%;
    width: 200px;
    height: 200px;
    background: #fde047; /* yellow-300 */
    animation: blob 12s infinite reverse;
}

.blob-3 {
    bottom: 10%;
    left: 30%;
    width: 250px;
    height: 250px;
    background: #86efac; /* emerald-300 */
    animation: blob 15s infinite;
}

/* Mobile Menu Transitions */
#bar1.open {
    transform: rotate(45deg) translate(5px, 5px);
}

#bar2.open {
    opacity: 0;
}

#bar3.open {
    transform: rotate(-45deg) translate(5px, -5px);
}

#mobile-menu.open {
    transform: translateX(0);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .animate-marquee,
    .animate-blob,
    .blob {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

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

::-webkit-scrollbar-track {
    background: #FFFBEA; /* cream-50 */
}

::-webkit-scrollbar-thumb {
    background: #166534; /* emerald-800 */
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #15803d; /* emerald-700 */
}
