/* --- GENEL BÖLÜM AYARLARI --- */
.icerik2-section {
    padding: 80px 0;
    /* Görseldeki gibi çok hafif bir gri/beyaz geçişi */
    background: linear-gradient(to bottom, #fdfdfd, #e9ecef);
    font-family: 'Roboto', sans-serif;
}

/* --- BAŞLIK ALANI --- */
.icerik2-baslik-alani {
    text-align: center;
    margin-bottom: 50px;
}

.icerik2-baslik-alani h2 {
    font-size: clamp(28px, 4vw, 40px);
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 10px;
}

.icerik2-baslik-alani p {
    font-size: 16px;
    color: #555;
    font-weight: 300;
}

/* --- KART IZGARASI (GRID) --- */
.icerik2-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Yan yana 3 eşit kart */
    gap: 30px; /* Kartlar arası boşluk */
}

/* --- TEKİL KART TASARIMI --- */
.kabiliyet-karti {
    background-color: #121d2f; /* Görseldeki koyu lacivert renk */
    border-radius: 12px; /* Köşeleri yuvarlattık */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Kartın üzerine gelince hafif havaya kalkma efekti */
.kabiliyet-karti:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Kart Resmi */
.kart-resim {
    width: 100%;
    aspect-ratio: 4 / 3; /* Resimlerin hepsini aynı boyutta tutar */
    overflow: hidden;
}

.kart-resim img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.kabiliyet-karti:hover .kart-resim img {
    transform: scale(1.08); /* Resim hafif yakınlaşır */
}

/* Kart Metinleri ve Buton */
.kart-icerik {
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1; /* Butonların her kartta aynı hizada kalmasını sağlar */
    justify-content: space-between;
}

.kart-icerik h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 25px;
    line-height: 1.4;
}

/* Oval Çizgili Buton */
.kart-btn {
    display: inline-block;
    padding: 10px 25px;
    color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 30px; /* Hap şeklinde buton */
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
}

.kart-btn:hover {
    background-color: #ffffff;
    color: #121d2f; /* Üzerine gelince içi beyaz, yazısı lacivert olur */
}

/* --- MOBİL UYUMLULUK --- */
@media (max-width: 991px) {
    .icerik2-grid {
        grid-template-columns: repeat(2, 1fr); /* Tablette yan yana 2 kart */
    }
}

@media (max-width: 768px) {
    .icerik2-grid {
        grid-template-columns: 1fr; /* Mobilde tek sütun alt alta */
    }
}