/* Referanslar Grid Yapısı */
.referanslar-grid {
    padding: 80px 0;
}

.referans-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.referans-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05) 0%, rgba(0, 198, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.referans-item:hover::before {
    opacity: 1;
}

.referans-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.2);
}

.referans-logo {
    max-width: 180px;
    max-height: 100px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.referans-item:hover .referans-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 991px) {
    .referanslar-grid {
        padding: 60px 0;
    }
    
    .referans-item {
        padding: 30px 15px;
    }
    
    .referans-logo {
        max-width: 150px;
        max-height: 80px;
    }
}

@media (max-width: 767px) {
    .referanslar-grid {
        padding: 40px 0;
    }
    
    .referans-item {
        padding: 25px 10px;
        margin-bottom: 20px;
    }
    
    .referans-logo {
        max-width: 130px;
        max-height: 70px;
    }
}
