/* =========================================================
   SMY Logo Carousel — Frontend Styles
   Brand palette: Deep navy #0B1B3A, Teal #00B4D8, White
   ========================================================= */

/* ---------- Section Shell ---------- */
.smy-lc-section {
    width: 100%;
    padding: 30px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

/* ---------- Header (Removed) ---------- */

/* ---------- Track Wrapper ---------- */
.smy-lc-track-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Left fade */
.smy-lc-fade-left,
.smy-lc-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.smy-lc-fade-left {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, transparent 100%);
}

.smy-lc-fade-right {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, transparent 100%);
}

/* ---------- Scrolling Track ---------- */
.smy-lc-track {
    display: flex;
    align-items: center;
    gap: 0;
    width: max-content;
    animation: smy-lc-scroll var(--smy-duration, 40s) linear infinite;
    will-change: transform;
}

/* Pause on hover */
.smy-lc-track-wrap:hover .smy-lc-track {
    animation-play-state: paused;
}

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

/* ---------- Individual Logo Item ---------- */
.smy-lc-item {
    flex: 0 0 auto;
    width: 160px;
    height: 90px;
    margin: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: transform 0.35s ease;
    position: relative;
}

.smy-lc-item:hover {
    transform: translateY(-4px);
}

/* ---------- Logo Image ---------- */
.smy-lc-item img {
    max-width: 100%;
    max-height: 56px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: filter 0.35s ease, transform 0.35s ease;
    position: relative;
    z-index: 1;
}

.smy-lc-item:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* ---------- Link reset ---------- */
.smy-lc-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .smy-lc-section {
        padding: 20px 0;
    }

    .smy-lc-item {
        width: 130px;
        height: 76px;
        margin: 0 14px;
    }

    .smy-lc-fade-left,
    .smy-lc-fade-right {
        width: 60px;
    }
}

@media (max-width: 480px) {
    .smy-lc-item {
        width: 110px;
        height: 68px;
        margin: 0 10px;
    }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .smy-lc-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        padding: 0 20px;
        gap: 16px;
    }
}
