/* ═══════════════════════════════════════════════
   Logo Carousel – Infinite Scroll Animation
   ═══════════════════════════════════════════════ */

.lc-wrapper {
    position: relative;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    display: block;
    contain: paint; /* Agresif boyama sınırlaması */
    min-width: 0 !important; /* Flexbox genişleme koruması */
    flex: 1 1 0 !important; /* Flexbox daralma zorlaması */
}

/* ── Başlık ── */
.lc-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    text-align: left !important;
    padding: 0;
    margin-bottom: 24px;
    color: #888;
}

/* ── Viewport ── */
.lc-viewport {
    overflow: hidden !important;
    width: 100%;
    max-width: 100%;
}

/* ── Track (kaydırma bandı) ── */
.lc-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 24px;
    animation: lc-scroll-left 30s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
}

/* ── Yön animasyonları ── */
@keyframes lc-scroll-left {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes lc-scroll-right {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* Sağa kaydırma yönü */
.lc-track[data-dir="right"] {
    animation-name: lc-scroll-right;
}

/* ── Hover duraklatma (opsiyonel – Elementor'dan açılabilir) ── */
.lc-wrapper[data-pause="true"]:hover .lc-track {
    animation-play-state: paused;
}

/* ── Logo Kartları ── */
.lc-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 70px;
    padding: 12px 24px;
    background: #ffffff;
    border-radius: 8px;
    box-sizing: border-box;
    flex-shrink: 0;
    text-decoration: none !important;
    cursor: default;
}

a.lc-logo-card {
    cursor: pointer;
}

/* ── Logo Görseli ── */
.lc-logo-card img {
    max-height: 40px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* ── Metin Fallback ── */
.lc-brand-text {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    user-select: none;
}

/* ═══════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════ */

@media (max-width: 768px) {
    .lc-title {
        font-size: 11px;
        letter-spacing: 2px;
        padding: 0 20px;
        margin-bottom: 16px;
    }

    .lc-logo-card {
        min-width: 110px;
        height: 55px;
        padding: 8px 16px;
    }

    .lc-logo-card img {
        max-height: 28px;
    }

    .lc-brand-text {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .lc-logo-card {
        min-width: 90px;
        height: 48px;
        padding: 6px 12px;
    }

    .lc-logo-card img {
        max-height: 22px;
    }

    .lc-brand-text {
        font-size: 12px;
    }
}
