/* ===  Client Carousel – 2026 Design  === */

/* Wrapper – the visible viewport */
.recc-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

/* Track – holds all items in a row */
.recc-carousel-track {
    display: flex;
    gap: var(--recc-gap, 20px);
    width: max-content;
    will-change: transform;
}

/* ── Navigation Arrows ── */
.recc-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.3s;
    opacity: 1;
}

.recc-nav-arrow:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-50%) scale(1.1);
}

.recc-prev {
    left: 12px;
}

.recc-next {
    right: 12px;
}

.recc-nav-arrow i {
    font-size: 18px;
    line-height: 1;
}

/* ── Item Card ── */
.recc-carousel-item {
    position: relative;
    width: var(--recc-item-size, 300px);
    height: var(--recc-item-size, 300px);
    flex-shrink: 0;
    overflow: hidden;
    display: block;
    text-decoration: none;
    background-color: #1a1a1a;
    transition: transform 0.4s cubic-bezier(.25, .8, .25, 1), box-shadow 0.4s ease;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.recc-carousel-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
    z-index: 2;
}

/* Background image */
.recc-item-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.recc-item-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.recc-carousel-item:hover .recc-item-bg img {
    transform: scale(1.1);
}

/* Glassmorphism Overlay */
.recc-carousel-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.recc-carousel-item:hover .recc-carousel-overlay {
    opacity: 1;
}

/* Content */
.recc-item-content {
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(.25, .8, .25, 1);
}

.recc-carousel-item:hover .recc-item-content {
    transform: translateY(0);
}

.recc-item-subtitle {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
    opacity: 0.8;
}

.recc-item-title {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.recc-item-button {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid currentColor;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Mobile */
@media (max-width: 767px) {
    .recc-carousel-wrapper {
        --recc-item-size: 250px;
    }
}