/* ==========================================================================
   EĞİTİM VE YAŞAM ALANLARIMIZ SAYFASI - GENEL BİLEŞEN VE GRID STİLLERİ
   ========================================================================== */

.yasam-alanlari-page-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: #fcfdfd;
    padding-bottom: 120px;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ==========================================================================
   📍 BANNER SECTION (Kurumsal Sayfası Birebir Yapısı ve Tasarımı)
   ========================================================================== */

.inner-page-banner {
    position: relative;
    width: 100%;
    min-height: 360px;
    padding: 140px 24px 70px 24px;
    
    /* İstenen dizindeki arka plan görseli */
    background-image: url('../uploads/egitimveyasamalanlarimiz/arkaplan.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-container {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
}

/* Navigasyon / Breadcrumb */
.breadcrumb-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 6px 22px;
    border-radius: 50px;
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.breadcrumb-badge a {
    color: #a3e635;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.breadcrumb-badge a:hover {
    opacity: 0.85;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-current {
    color: #ffffff;
}

/* Başlık & Alt Başlık */
.banner-title {
    font-size: 44px;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin: 0 0 12px 0;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.banner-subtitle {
    font-size: 18px;
    color: #f0fdf4;
    font-weight: 600;
    margin: 0;
    line-height: 1.5;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   🌿 İÇERİK KAPSAYICISI VE BAŞLIK
   ========================================================================== */

.yasam-alanlari-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 20px 24px 0 24px;
}

.intro-heading-box {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 55px auto;
}

.life-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #2e5927;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.tag-line {
    width: 24px;
    height: 2px;
    background-color: #7ba668;
    border-radius: 2px;
}

.main-heading {
    font-size: 36px;
    font-weight: 900;
    color: #1b3e1a;
    margin: 0 0 14px 0;
    line-height: 1.2;
}

.main-heading .highlight-green {
    color: #488b33;
}

.section-desc {
    font-size: 15.5px;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   🏢 12 ALAN GRID VE YAPRAK FORMUNDA GÖRSEL KARTLARI
   ========================================================================== */

.yasam-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.yasam-card {
    scroll-margin-top: 120px;
}

.yasam-card-inner {
    background-color: #ffffff;
    border-radius: 28px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(27, 62, 26, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.yasam-card:hover .yasam-card-inner {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(27, 62, 26, 0.12);
    border-color: #a3e635;
}

/* 🍃 YAPRAK FORMUNDA GÖRSEL KUTUSU */
.yasam-image-box {
    position: relative;
    width: 100%;
    height: 230px;
    overflow: hidden;
    border-radius: 65px 8px 65px 8px;
    background-color: #e2e8f0;
    transition: border-radius 0.5s ease;
}

.yasam-card:hover .yasam-image-box {
    border-radius: 8px 65px 8px 65px;
}

.yasam-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.yasam-card:hover .yasam-image-box img {
    transform: scale(1.08);
}

/* İkon Rozeti */
.card-icon-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, #1d4320 0%, #29572b 100%);
    color: #a3e635;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.25);
    transition: transform 0.3s ease, background 0.3s ease;
}

.yasam-card:hover .card-icon-badge {
    transform: scale(1.1) rotate(-5deg);
    background: linear-gradient(135deg, #2e5927 0%, #488b33 100%);
}

.card-icon-badge svg {
    width: 22px;
    height: 22px;
}

/* Metin Kutusu */
.yasam-content-box {
    padding: 20px 10px 10px 10px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 20px;
    font-weight: 800;
    color: #1b3e1a;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.card-text {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

/* ==========================================================================
   📱 MOBİL VE TABLET UYUMLULUK (KURUMSAL SAYFASI İLE BİREBİR BREAKPOINTLER)
   ========================================================================== */

@media (max-width: 1024px) {
    .yasam-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .inner-page-banner {
        min-height: 300px;
        padding: 110px 20px 50px 20px;
        background-size: cover;
    }

    .banner-title {
        font-size: 32px;
    }

    .banner-subtitle {
        font-size: 15px;
    }

    .yasam-alanlari-container {
        padding-top: 20px;
    }

    .main-heading {
        font-size: 26px;
    }

    .yasam-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .yasam-image-box {
        height: 210px;
        border-radius: 50px 8px 50px 8px;
    }

    .yasam-content-box {
        padding: 16px 6px 6px 6px;
    }

    .card-title {
        font-size: 18px;
    }
}