/* ============================================
   MenuKR - Main Stylesheet (Rebranded)
   ============================================ */

/* Tailwind Configuration */
/* Note: Tailwind is loaded via CDN in HTML */

/* ============================================
   Base Styles
   ============================================ */

body {
    font-family: 'Manrope', sans-serif;
    background-color: #ffffff;
    color: #000000;
    overflow-x: hidden;
}

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

/* ============================================
   Glassmorphism Utilities
   ============================================ */

.glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.glass-card {
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

/* ============================================
   Custom Scrollbar
   ============================================ */

::-webkit-scrollbar {
    width: 8px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: #ffbc0d;
    /* Primary Yellow */
}

/* ============================================
   Text Gradients
   ============================================ */

.text-gradient {
    background: linear-gradient(to right, #000000, #4b5563);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-primary {
    background: linear-gradient(to right, #ffbc0d, #F59E0B);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ============================================
   Animations
   ============================================ */

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

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

/* ============================================
   Footer Glow Effect
   ============================================ */

.footer-glow {
    position: absolute;
    top: -75px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 150px;
    background: radial-gradient(ellipse 400px 150px at 50% 50%, rgba(255, 214, 0, 0.15), rgba(255, 234, 0, 0.05) 40%, transparent 70%);
    filter: blur(40px);
    opacity: 0.8;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.footer-glow.active {
    opacity: 1;
}

/* ============================================
   Infinite Scroll Animations (Bento Grid)
   ============================================ */

/* Smooth scroll left to right */
@keyframes scroll-left-to-right {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Smooth scroll right to left */
@keyframes scroll-right-to-left {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Animation classes */
.animate-scroll-ltr {
    animation: scroll-left-to-right 60s linear infinite;
}

.animate-scroll-rtl {
    animation: scroll-right-to-left 60s linear infinite;
}

/* Infinite scroll container */
.infinite-scroll-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

/* Inner wrapper for duplicated cards */
.infinite-scroll-track {
    display: flex;
    gap: 24px;
    width: fit-content;
}

/* Pause animation on hover for better readability */
.infinite-scroll-track:hover {
    animation-play-state: paused;
}

/* Problem Section Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

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

.animate-fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

.animate-delay-100 {
    animation-delay: 0.2s;
    opacity: 0;
}

.animate-delay-200 {
    animation-delay: 0.4s;
    opacity: 0;
}

.animate-delay-300 {
    animation-delay: 0.6s;
    opacity: 0;
}