/* 
 * Referanslar Bölümü Stilleri
 */

.references-section {
    padding: 70px 0;
    transition: all 0.3s ease;
}

.references-section.bg-light {
    background-color: #f8f9fa;
}

.references-section.bg-dark {
    background-color: #343a40;
}

.references-section .section-title {
    font-weight: 700;
    margin-bottom: 15px;
}

.bg-light .section-title {
    color: #333;
}

.bg-dark .section-title {
    color: #fff;
}

.references-section .section-description {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.bg-light .section-description {
    color: #6c757d;
}

.bg-dark .section-description {
    color: rgba(255, 255, 255, 0.8);
}

.reference-item {
    padding: 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.bg-light .reference-item {
    background-color: transparent;
}

.bg-dark .reference-item {
    background-color: rgba(255, 255, 255, 0.05);
}

.reference-item:hover {
    transform: translateY(-5px);
}

.bg-light .reference-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    background-color: rgba(255, 255, 255, 0.9);
}

.bg-dark .reference-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
}

.reference-logo {
    max-width: 100%;
    max-height: 80px;
    transition: all 0.3s ease;
    filter: grayscale(100%);
    opacity: 0.7;
}

.reference-item:hover .reference-logo {
    filter: grayscale(0);
    opacity: 1;
}

.reference-link {
    display: block;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 5 Sütunlu grid için özel class */
.col-lg-15 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 992px) {
    .col-lg-15 {
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/* Responsive Ayarlamalar */
@media (max-width: 991.98px) {
    .references-section {
        padding: 50px 0;
    }
    
    .reference-logo {
        max-height: 70px;
    }
}

@media (max-width: 767.98px) {
    .references-section .section-title {
        font-size: 1.8rem;
    }
    
    .references-section .section-description {
        font-size: 1rem;
    }
    
    .reference-logo {
        max-height: 60px;
    }
}

@media (max-width: 575.98px) {
    .references-section {
        padding: 40px 0;
    }
    
    .reference-item {
        padding: 15px;
    }
    
    .reference-logo {
        max-height: 50px;
    }
}