/* Referanslar Eklentisi - Frontend CSS */

.referanslar-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Kategori Butonları */
.ref-kategoriler {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 15px !important;
    margin-bottom: 50px !important;
}

.ref-kategori-btn {
    padding: 12px 30px !important;
    background: #f5f5f5 !important;
    border: 2px solid #e0e0e0 !important;
    color: #333 !important;
    cursor: pointer !important;
    border-radius: 5px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    font-family: inherit !important;
}

.ref-kategori-btn:hover {
    background: #e74c3c !important;
    color: white !important;
    border-color: #e74c3c !important;
    transform: translateY(-2px) !important;
}

.ref-kategori-btn.active {
    background: #e74c3c !important;
    color: white !important;
    border-color: #e74c3c !important;
}

/* Logo Grid - INLINE STYLE İLE OVERRİDE EDİLİYOR */
.ref-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important; /* Varsayılan */
    gap: 30px !important;
    margin-top: 40px !important;
}

.ref-item {
    background: white !important;
    padding: 20px !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
    min-height: 180px !important;
}

.ref-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15) !important;
}

.ref-item img {
    width: 100% !important;
    height: 100px !important;
    object-fit: contain !important;
    object-position: center !important;
    transition: transform 0.3s ease !important;
}

.ref-item:hover img {
    transform: scale(1.05) !important;
}

/* Gizli öğeler */
.ref-item[style*="display: none"],
.ref-item.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .ref-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .ref-item img {
        height: 80px !important;
    }
}

@media (max-width: 767px) {
    .ref-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .ref-kategori-btn {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
    
    .ref-item {
        padding: 15px !important;
        min-height: 120px !important;
    }
    
    .ref-item img {
        height: 60px !important;
    }
}
