/* ============================================
   INFINITE SCROLLING MARQUEE BAR
   Inspired by: https://www.vrthemepark.com.au/
   ============================================ */

/* Marquee Container - Fixed at top of header */
.marquee-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 40px; /* Standard marquee height */
    background: linear-gradient(90deg, #16a34a 0%, #22c55e 50%, #16a34a 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    z-index: 100; /* Above navbar */
    border-bottom: 2px solid rgba(255, 255, 255, 0.3); /* Visual separator */
}

/* Marquee Wrapper - Holds the scrolling content */
.marquee-wrapper {
    display: flex;
    animation: scroll-left 30s linear infinite;
    white-space: nowrap;
}

/* Pause on hover for better UX */
.marquee-container:hover .marquee-wrapper {
    animation-play-state: paused;
}

/* Individual Marquee Items */
.marquee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 30px;
    color: white;
    font-size: 14px;
    font-weight: 500;
}

/* Separator between items */
.marquee-separator {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 8px;
}

/* Animation - Scroll from right to left */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Move half (duplicated content) */
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .marquee-item {
        font-size: 12px;
        padding: 0 20px;
    }
    
    .marquee-container {
        height: 35px;
    }
}

/* Dark mode support */
.dark .marquee-container {
    background: linear-gradient(90deg, #15803d 0%, #16a34a 50%, #15803d 100%);
}
