/* ====================================
   RESPONSIVE MARQUEE COMPONENT - CSS
   For yhtdinner.com
   ==================================== */

/* Marquee Container Styles */
.marquee-container {
    width: 100%;
    overflow: hidden;
    /*background: linear-gradient(90deg, #1a5490 0%, #2c6cb5 100%);*/
    background: linear-gradient(90deg, #d4af37 0%, #f4d03f 100%);
    padding: 3px 0;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
    margin-bottom: -8px;
}

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

/* Individual Marquee Items */
.marquee-item {
    padding: 0 50px;
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

    .marquee-item .separator {
        margin: 0 14px;
        color: #8b4513;
        font-size: 14px;
    }

/* Scrolling Animation - Right to Left */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

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

/* Optional: Add icons or emoji support */
.marquee-icon {
    margin-right: 8px;
    font-size: 1.2em;
}

/* ====================================
   RESPONSIVE BREAKPOINTS
   ==================================== */

/* Tablets and smaller desktops */
@media (max-width: 992px) {
    .marquee-item {
        font-size: 17px;
        padding: 0 40px;
    }
}

/* Tablets (portrait) */
@media (max-width: 768px) {
    .marquee-item {
        font-size: 16px;
        padding: 0 30px;
    }
    
    .marquee-container {
        padding: 10px 0;
    }
    
    .marquee-content {
        animation-duration: 20s;
    }
}

/* Mobile devices */
@media (max-width: 576px) {
    .marquee-item {
        font-size: 14px;
        padding: 0 20px;
    }
    
    .marquee-container {
        padding: 8px 0;
    }
    
    .marquee-item .separator {
        margin: 0 15px;
        font-size: 16px;
    }
    
    .marquee-content {
        animation-duration: 18s;
    }
}

/* Small mobile devices */
@media (max-width: 400px) {
    .marquee-item {
        font-size: 13px;
        padding: 0 15px;
    }
    
    .marquee-container {
        padding: 6px 0;
    }
    
    .marquee-item .separator {
        margin: 0 10px;
        font-size: 14px;
    }
}

/* ====================================
   OPTIONAL COLOR VARIATIONS
   ==================================== */

/* Alternative color scheme - Uncomment to use */
/*
.marquee-container.marquee-gold {
    background: linear-gradient(90deg, #d4af37 0%, #f4d03f 100%);
}

.marquee-container.marquee-gold .marquee-item {
    color: #1a1a1a;
}

.marquee-container.marquee-dark {
    background: linear-gradient(90deg, #1a1a1a 0%, #2d2d2d 100%);
}

.marquee-container.marquee-light {
    background: linear-gradient(90deg, #f8f9fa 0%, #e9ecef 100%);
    color: #212529;
}

.marquee-container.marquee-light .marquee-item {
    color: #212529;
}
*/

/* ====================================
   ACCESSIBILITY FEATURES
   ==================================== */

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    .marquee-content {
        animation: none;
        justify-content: center;
    }
    
    .marquee-item:not(:first-child) {
        display: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .marquee-container {
        border-top: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
    }
}
