﻿/* References Page */
.refs-page {
    padding: 34px 20px 60px;
}

.refs-page__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Grid */
.refs-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
    align-items: center;
}

/* Logo card */
.refs-item {
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 14px;
    padding: 14px;
    height: 86px;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 26px rgba(0,0,0,.06);
    transition: transform .18s ease, box-shadow .18s ease;
    background: linear-gradient(180deg, #f3f3f3 0%, #e9e9e9 100%);
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 10px 26px rgba(0,0,0,.08);
    background: #808080;
    border: 1px solid rgba(255,255,255,.12);
}

    .refs-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 34px rgba(0,0,0,.10);
    }

    .refs-item img {
        max-height: 52px; /* yükseklik sınırı */
        max-width: 88%; /* genişlik sınırı: yatay devleri küçültür */
        object-fit: contain;
        display: block;
        filter: none; /* gerekirse bazılarına invert uygulanabilir ama tavsiye etmem */
    }

.refs-logo {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}

    .refs-logo img {
        max-height: 54px;
        max-width: 86%;
        object-fit: contain;
        display: block;
    }

html, body {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

.mini-footer {
    margin-top: auto;
}

/* Responsive */
@media (max-width: 1100px) {
    .refs-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .refs-page {
        padding: 22px 12px 44px;
    }

    .refs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .refs-item {
        height: 76px;
        padding: 12px;
    }
}


