/* ========================================================= */
/* --- ERKAP KAPI - NEDEN ERKAP KAPI (PREMIUM 3D LIGHT) --- */
/* ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --gold-primary: #c59d5f;
    --gold-light: #e8cb93;
    --gold-dark: #9b7438;
    --gold-gradient: linear-gradient(135deg, #c59d5f 0%, #e8cb93 50%, #a27a3d 100%);
    --text-dark: #1e242b;
    --text-body: #5a6472;
    --border-subtle: #eae4d9;
}

.neden-erkap-section {
    position: relative;
    width: 100%;
    padding: 90px 0;
    background: linear-gradient(rgba(253, 252, 251, 0.85), rgba(246, 243, 237, 0.85)), url('../uploads/anasayfa/nedenerkap/arkaplan.png') center/cover no-repeat;
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow: hidden;
    direction: ltr !important; /* Arapçada grid yönünün yer değiştirmesini engeller */
}

.neden-erkap-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 25px;
    position: relative;
    z-index: 2;
}

/* ========================================================= */
/* --- BAŞLIK ALANI --- */
/* ========================================================= */

.neden-erkap-header {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.neden-erkap-subtitle {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold-dark);
    text-transform: uppercase;
    margin-bottom: 8px;
    text-align: center;
}

.neden-erkap-title {
    font-family: 'Cinzel', serif;
    font-size: 34px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 16px 0;
    letter-spacing: 0.5px;
    text-align: center;
}

.neden-erkap-gold-line {
    width: 50px;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 3px;
}

/* ========================================================= */
/* --- 3D KART GRID YAPISI --- */
/* ========================================================= */

.neden-erkap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    direction: ltr !important; /* Kart sırasını (1-2-3-4) 3 dilde de sabit tutar */
}

.neden-card {
    perspective: 1000px;
}

.neden-card-inner {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 28px 35px 28px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

/* Kartın Altındaki Altın Glow Çizgisi */
.neden-card-inner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 0 0 16px 16px;
    transition: width 0.4s ease;
}

/* ========================================================= */
/* --- 3D İKON ALANI --- */
/* ========================================================= */

.neden-icon-wrapper {
    position: relative;
    margin-bottom: 28px;
}

.neden-icon-box {
    width: 76px;
    height: 76px;
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff, #f0ebe1);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--gold-dark);
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 20px rgba(197, 157, 95, 0.12);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.icon-3d-shadow {
    position: absolute;
    bottom: -8px;
    left: 10%;
    width: 80%;
    height: 12px;
    background: rgba(197, 157, 95, 0.25);
    filter: blur(8px);
    border-radius: 50%;
    transition: all 0.4s ease;
    z-index: 1;
}

/* ========================================================= */
/* --- METİN BİLGİLERİ --- */
/* ========================================================= */

.neden-card-title {
    font-family: 'Cinzel', serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 14px 0;
    transition: color 0.3s ease;
    text-align: center;
}

.neden-card-desc {
    font-size: 13.5px;
    color: var(--text-body);
    line-height: 1.7;
    margin: 0;
    text-align: center;
}

/* ========================================================= */
/* --- HOVER (ÜZERİNE GELİNCE) 3D EFEKTLERİ --- */
/* ========================================================= */

.neden-card:hover .neden-card-inner {
    transform: translateY(-10px) rotateX(2deg);
    border-color: rgba(197, 157, 95, 0.4);
    box-shadow: 0 20px 40px rgba(197, 157, 95, 0.15), 0 5px 15px rgba(0, 0, 0, 0.03);
}

.neden-card:hover .neden-card-inner::after {
    width: 100%;
}

.neden-card:hover .neden-icon-box {
    background: var(--gold-gradient);
    color: #ffffff;
    border-color: transparent;
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 25px rgba(197, 157, 95, 0.4);
}

.neden-card:hover .icon-3d-shadow {
    transform: scale(1.2);
    opacity: 0.6;
    background: rgba(197, 157, 95, 0.4);
}

.neden-card:hover .neden-card-title {
    color: var(--gold-dark);
}

/* ========================================================= */
/* --- RESPONSIVE UYUMLULUK --- */
/* ========================================================= */

@media screen and (max-width: 1200px) {
    .neden-erkap-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media screen and (max-width: 640px) {
    .neden-erkap-section {
        padding: 50px 0;
    }

    .neden-erkap-container {
        padding: 0 15px;
    }

    .neden-erkap-header {
        margin-bottom: 35px;
    }

    .neden-erkap-title {
        font-size: 24px;
    }

    /* Mobilde 2'li yan yana grid */
    .neden-erkap-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* Mobil için kart boyutlandırma optimizasyonu */
    .neden-card-inner {
        padding: 22px 12px 20px 12px;
        border-radius: 12px;
    }

    .neden-icon-wrapper {
        margin-bottom: 16px;
    }

    .neden-icon-box {
        width: 54px;
        height: 54px;
        font-size: 22px;
        border-radius: 14px;
    }

    .neden-card-title {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .neden-card-desc {
        font-size: 11.5px;
        line-height: 1.5;
    }
}