.references-filter {
    margin-bottom: 30px;
    text-align: center;
}

.references-filter button {
    margin: 0 5px;
    padding: 10px 20px;
    border: 2px solid #ddd;
    background-color: white;
    cursor: pointer;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.references-filter button:hover {
    background-color: #f5f5f5;
}

.references-filter button.active {
    background-color: #0056b3;
    color: white;
    border-color: #0056b3;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Tam olarak 3 sütun */
    gap: 30px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.reference-item {
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.reference-item:hover {
    transform: translateY(-5px);
}

.reference-item img {
    width: 100%;
    height: 200px; /* Sabit yükseklik */
    object-fit: contain; /* Görsel oranını koru */
    margin-bottom: 15px;
}

.reference-item h3 {
    margin: 10px 0;
    font-size: 18px;
    color: #333;
}

/* Mobil responsive ayarları */
@media (max-width: 992px) {
    .references-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .references-grid {
        grid-template-columns: 1fr;
    }
}