/* references.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.references {
    background-color: #dce6f5;
    padding: 50px 20px;
    text-align: center;
}

.references-container {
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.intro-text {
    font-size: 18px;
    margin-bottom: 30px;
    color: #555;
}

.reference-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 -10px; /* Kartlar arasındaki boşluğu kontrol eder */
}

.reference-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 30%;
    flex-basis: 30%;
    flex-grow: 1;
    flex-shrink: 1;
    margin: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease;
    z-index: 0;
    display: flex;
    flex-direction: column;
}

.reference-card:hover {
    transform: translateY(-10px);
    z-index: 1;
}

.reference-image-container {
    width: 100%;
    height: 180px; /* Sabit yükseklik */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: white;
    overflow: hidden; /* Taşma olursa kes */
}

.reference-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    margin: auto;
    height: auto; /* Yüksekliği otomatik ayarla */
    width: auto; /* Genişliği otomatik ayarla */
}


.reference-content {
    padding: 20px;
    flex-grow: 1; /* İçerik kısmının kartın geri kalanını doldurmasını sağlar */
}

.reference-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.reference-content p {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
}

.reference-content a {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
}

.reference-content a:hover {
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
    .reference-card {
        width: 45%; /* 2 kart yan yana */
    }
}

@media (max-width: 480px) {
    .reference-card {
        width: 100%; /* Tek kart tek satırda */
    }
}