/* Kayan Yazı Banner */
.news-ticker-section {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,123,255,0.2);
}

.news-ticker-wrapper {
    max-width: 100%;
    overflow: hidden;
}

.news-ticker {
    position: relative;
    overflow: hidden;
    height: 40px;
    line-height: 40px;
}

.ticker-content {
    display: flex;
    animation: scroll-left 45s linear infinite;
    white-space: nowrap;
}

.ticker-content span {
    color: white;
    font-weight: 500;
    font-size: 16px;
    margin-right: 80px;
    display: inline-block;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Mobil optimizasyon */
@media (max-width: 768px) {
    .ticker-content span {
        font-size: 14px;
        margin-right: 60px;
    }
    
    .news-ticker {
        height: 35px;
        line-height: 35px;
    }
    
    @keyframes scroll-left {
        0% {
            transform: translateX(100%);
        }
        100% {
            transform: translateX(-100%);
        }
    }
}

/* Hover durumunda animasyonu duraklat */
.news-ticker-section:hover .ticker-content {
    animation-play-state: paused;
}

/* Reduced motion desteği */
@media (prefers-reduced-motion: reduce) {
    .ticker-content {
        animation: none;
        justify-content: center;
        text-align: center;
    }
    
    .ticker-content span {
        margin-right: 20px;
    }
}
