﻿.refs {
    background: #808080; /* <- burası arka plan */
    border-top: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
    padding: 40px 0;
}

.refs__title {
    text-align: center;
    font-size: 30px;
    font-weight: 900;
    margin: 0 0 22px;
    color: #111;
}

.refs__wrap {
    width: 100%;
    margin: 0;
    padding: 0 64px; /* oklar için kenar boşluk */
    position: relative;
}

.refs__viewport {
    overflow: hidden;
    width: 100%;
}

.refs__track {
    display: flex;
    gap: 44px;
    align-items: center;
    transition: transform .35s ease;
    will-change: transform;
}

.refs__item {
    flex: 0 0 auto;
    width: 160px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .refs__item img {
        max-width: 160px;
        max-height: 80px;
        width: auto;
        height: auto;
        object-fit: contain;
        opacity: .9;
        filter: none;
        transition: opacity .2s ease, transform .2s ease, filter .2s ease;
    }

    .refs__item:hover img {
        opacity: 1;
        filter: grayscale(0);
        transform: translateY(-1px);
    }

/* oklar */
.refs__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid #d9d9d9;
    background: #fff;
    color: #333;
    font-size: 26px;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0,0,0,.08);
    z-index: 3;
}

.refs__nav--prev {
    left: 10px;
}

.refs__nav--next {
    right: 10px;
}

.refs__nav:hover {
    background: #f4f4f4;
}

@media (max-width:720px) {
    .refs__wrap {
        padding: 0 16px;
    }

    .refs__item {
        width: 130px;
        height: 80px;
    }

        .refs__item img {
            max-width: 130px;
            max-height: 70px;
        }

    .refs__nav {
        display: none;
    }
}
