/* Infinite Logo Carousel - Sonsuzluktan Sonsuzluğa */
.logo-carousel-section {
    background: #ffffff;
    padding: 30px 0;
    overflow: hidden;
    position: relative;
}

.logo-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Fade efektleri - başlangıç ve bitiş için beyaz */
.logo-carousel-wrapper::before,
.logo-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logo-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.logo-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.logo-carousel-track {
    display: flex;
    width: fit-content;
    animation: scroll-infinite 30s linear infinite;
}

.logo-carousel-track:hover {
    animation-play-state: paused;
}

.logo-item {
    flex-shrink: 0;
    width: 200px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 40px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.logo-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes scroll-infinite {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .logo-carousel-section {
        padding: 40px 0;
    }

    .logo-item {
        width: 150px;
        height: 80px;
        margin: 0 30px;
    }

    .logo-carousel-wrapper::before,
    .logo-carousel-wrapper::after {
        width: 80px;
    }
}

@media (max-width: 480px) {
    .logo-item {
        width: 120px;
        height: 60px;
        margin: 0 20px;
    }

    .logo-carousel-wrapper::before,
    .logo-carousel-wrapper::after {
        width: 50px;
    }
}