/* ===============================================
   ALOPAK – pokretna traka sa izdvojenim proizvodima
   =============================================== */

.showcase-section {
    flex-direction: column;
    gap: 30px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
    overflow: hidden;
}

/* Isti uvodni tekst kao na sekciji partnera */
.showcase-section .section-content>p {
    max-width: none;
    font-size: clamp(15px, 1.05vw, 18px);
}

/* MARQUEE */

.showcase-marquee {
    width: 100%;
    overflow: hidden;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.showcase-marquee:active {
    cursor: grabbing;
}

.showcase-track {
    display: flex;
    gap: 20px;
    width: max-content;
    padding: 14px 0 24px;
    will-change: transform;
}

/* KARTICA */

.showcase-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 250px;
    flex-shrink: 0;
    padding: 16px 18px 18px;
    text-align: left;
    text-decoration: none;

    background: #ffffff;
    border: 1px solid rgba(0, 52, 98, 0.14);
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(0, 52, 98, 0.08);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.showcase-card:hover,
.showcase-card:focus-visible {
    transform: translateY(-5px);
    border-color: rgba(14, 84, 143, 0.4);
    box-shadow: 0 20px 40px rgba(0, 52, 98, 0.16);
    outline: none;
}

.showcase-card__media {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 10px;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
}

.showcase-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.showcase-card:hover .showcase-card__media img {
    transform: scale(1.06);
}

.showcase-card__cat {
    color: #0e548f;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.showcase-card strong {
    color: #12344d;
    font-size: 16px;
    line-height: 1.3;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .showcase-section {
        gap: 16px;
    }

    .showcase-card {
        width: 210px;
    }
}
