/* ========================================================================== */
/* BİLEŞENLERİN TEMEL STİLLERİ VE CSS DEĞİŞKENLERİ                             */
/* ========================================================================== */

:root {
    /* Renk Paleti */
    --ana-renk: #223153; /* Koyu Mavi - Metin ve İkonlar için */
    --vurgu-renk: #1e3a8a; /* Koyu Mavi - Ana vurgu rengi */
    --ikinci-vurgu: #c026d3; /* Mor - İkincil vurgu rengi */
    --acik-renk: #f8f9fc; /* Çok Açık Gri - Kart arka planları için */
    --metin-acik: #6c7a91; /* Açık Gri - Paragraf metinleri için */
    --golge-hafif: rgba(0, 0, 0, 0.08);
    --golge-orta: rgba(0, 0, 0, 0.15);

    /* Gradyanlar */
    --arka-plan-gradyan: linear-gradient(135deg, #f7f6e4 0%, #f8f8ec 50%, #ffffff 100%);;
    --baslik-gradyan: linear-gradient(90deg, var(--vurgu-renk), var(--ikinci-vurgu));
    
    /* Fontlar */
    --font-buyuk: 5rem;
    --font-orta: 2.8rem;
    --font-kucuk: 1.5rem;
    --font-metin: 1.15rem;
    --font-mini: 0.95rem;

    /* Boşluklar */
    --bosluk-genis: 10rem;
    --bosluk-normal: 7rem;
    --bosluk-kucuk: 3rem;
}

/* Sayfa Genişliği Kontrolü */
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================================================== */
/* BLOG HERO BÖLÜMÜ                                                            */
/* ========================================================================== */
.blog-hero {
    padding: var(--bosluk-genis) 0 var(--bosluk-normal);
    background: var(--arka-plan-gradyan);
    position: relative;
    overflow: hidden;
    color: var(--ana-renk);
    text-align: center;
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
}

.blog-hero::before,
.blog-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.6;
    z-index: 0;
}

.blog-hero::before {
    top: -70px;
    left: -70px;
    width: 350px;
    height: 350px;
    background: rgba(0, 200, 255, 0.15);
}

.blog-hero::after {
    bottom: -70px;
    right: -70px;
    width: 450px;
    height: 450px;
    background: rgba(255, 180, 70, 0.15);
}

.blog-hero-icerik {
    position: relative;
    z-index: 1;
}

.hero-etiket {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 60px;
    padding: 12px 24px;
    font-weight: 600;
    margin-bottom: 2.5rem;
    color: var(--ana-renk);
    transition: all 0.3s ease;
}

.hero-etiket:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.hero-etiket svg {
    width: 22px;
    height: 22px;
}

.blog-hero-baslik {
    font-size: var(--font-buyuk);
    font-weight: 800;
    margin-bottom: 2.5rem;
    line-height: 1.05;
}

.vurgulu-metin {
    background: var(--baslik-gradyan);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-hero-aciklama {
    font-size: var(--font-kucuk);
    color: rgba(34, 49, 83, 0.85);
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.9;
}

/* ========================================================================== */
/* ANA İÇERİK BÖLÜMÜ                                                            */
/* ========================================================================== */
.blog-icerik {
    padding: var(--bosluk-normal) 0;
}

.bos-durum {
    text-align: center;
    padding: 9rem 0;
    color: var(--metin-acik);
}

.bos-durum-ikon svg {
    width: 72px;
    height: 72px;
    stroke-width: 1.8;
    margin-bottom: 1.2rem;
}

.bos-durum h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.bos-durum p {
    font-size: var(--font-metin);
    color: var(--metin-acik);
}

/* Öne Çıkan Blog Yazısı */
.one-cikan-blog {
    margin-bottom: 5rem;
}

.one-cikan-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--bosluk-kucuk);
    align-items: center;
    background-color: var(--acik-renk);
    border-radius: 25px;
    box-shadow: 0 12px 45px var(--golge-hafif);
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.one-cikan-grid:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 70px var(--golge-orta);
}

.one-cikan-resim img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.one-cikan-resim:hover img {
    transform: scale(1.08);
}

.one-cikan-icerik {
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.one-cikan-baslik {
    font-size: var(--font-orta);
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.15;
    color: var(--ana-renk);
}

.one-cikan-ozet {
    font-size: var(--font-metin);
    color: var(--metin-acik);
    margin-bottom: 2.2rem;
    line-height: 1.7;
}

.one-cikan-alt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.yazar-bilgi {
    display: flex;
    align-items: center;
    gap: 15px;
}

.yazar-bilgi img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--vurgu-renk);
}

.yazar-isim {
    font-weight: 600;
    color: var(--ana-renk);
}

.yazar-unvan {
    color: var(--metin-acik);
    font-size: 0.9rem;
}

/* DEVAM BUTONU */
.devam-buton {
    padding: 14px 28px;
    border-radius: 60px;
    border: 2px solid var(--ikinci-vurgu);
    color: var(--ikinci-vurgu);
    font-weight: 600;
    transition: all 0.35s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.devam-buton:hover {
    background-color: var(--ikinci-vurgu);
    color: #fff;
    transform: translateX(6px);
}

/* Blog Kartları */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--bosluk-kucuk);
}

.blog-karti {
    background-color: var(--acik-renk);
    border-radius: 25px;
    box-shadow: 0 12px 45px var(--golge-hafif);
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    display: flex;
    flex-direction: column;
}

.blog-karti:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 70px var(--golge-orta);
}

.blog-resim {
    position: relative;
    overflow: hidden;
}

.blog-resim img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.blog-karti:hover .blog-resim img {
    transform: scale(1.07);
}

.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(34, 49, 83, 0.7) 0%, transparent 100%);
    z-index: 1;
}

.blog-numara {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(34, 49, 83, 0.8);
    color: #fff;
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 600;
    font-size: var(--font-mini);
    z-index: 2;
}

.blog-karti-icerik {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--metin-acik);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.blog-karti-baslik {
    font-size: var(--font-kucuk);
    font-weight: 700;
    color: var(--ana-renk);
    margin-bottom: 0.8rem;
    line-height: 1.35;
}

.blog-karti-ozet {
    font-size: 1rem;
    color: var(--metin-acik);
    line-height: 1.6;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-karti-alt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.yazar-mini {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ana-renk);
    font-weight: 600;
    font-size: var(--font-mini);
}

/* OKU BUTONU */
.oku-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--vurgu-renk);
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.oku-link:hover {
    transform: translateX(4px);
    color: var(--ikinci-vurgu);
}

.oku-link svg {
    width: 20px;
    height: 20px;
}

/* ========================================================================== */
/* NEWSLETTER BÖLÜMÜ                                                            */
/* ========================================================================== */
.newsletter-bolumu {
    background: var(--arka-plan-gradyan);
    color: var(--ana-renk);
    text-align: center;
    padding: 6rem 2rem;
    border-radius: 25px;
    max-width: 85%;
    margin: 5rem auto;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}

.newsletter-bolumu h2 {
    font-size: var(--font-orta);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: var(--baslik-gradyan);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.newsletter-bolumu p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: rgba(34, 49, 83, 0.8);
}

.newsletter-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-input {
    flex-grow: 1;
    padding: 16px 22px;
    border-radius: 60px;
    border: 2px solid rgba(0, 0, 0, 0.15);
    background-color: rgba(255, 255, 255, 0.4);
    color: var(--ana-renk);
    font-size: 1.1rem;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: rgba(34, 49, 83, 0.6);
}

.newsletter-input:focus {
    border-color: var(--metin-acik);
    background-color: rgba(255, 255, 255, 0.7);
}

.newsletter-buton {
    padding: 16px 30px;
    border-radius: 60px;
    border: none;
    background-color: var(--vurgu-renk);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.35s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.newsletter-buton:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.newsletter-buton svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.newsletter-buton:hover svg {
    transform: translateX(4px);
}

.newsletter-not {
    font-size: var(--font-mini);
    color: rgba(34, 49, 83, 0.7);
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.newsletter-not svg {
    color: var(--vurgu-renk);
}
a {
    text-decoration: none;
    color: inherit;
}

/* ========================================================================== */
/* RESPONSIVE TASARIM                                                            */
/* ========================================================================== */
@media (max-width: 1024px) {
    .blog-hero {
        padding: 7rem 0;
    }
    .blog-hero-baslik {
        font-size: 4rem;
    }
    .one-cikan-grid {
        grid-template-columns: 1fr;
    }
    .one-cikan-resim img {
        height: 350px;
    }
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .newsletter-bolumu {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .blog-hero-baslik {
        font-size: 3rem;
    }
    .blog-hero-aciklama {
        font-size: 1.2rem;
    }
    .one-cikan-icerik {
        padding: 2.5rem;
    }
    .one-cikan-baslik {
        font-size: 2rem;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .blog-karti-icerik {
        padding: 1.8rem;
    }
    .newsletter-bolumu h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .blog-hero-baslik {
        font-size: 2.2rem;
    }
    .blog-hero-aciklama {
        font-size: 1rem;
    }
    .one-cikan-icerik {
        padding: 2rem;
    }
    .one-cikan-baslik {
        font-size: 1.5rem;
    }
    .newsletter-form {
        flex-direction: column;
    }
    .newsletter-input, .newsletter-buton {
        width: 100%;
    }
    .newsletter-bolumu {
        padding: 4rem 1.2rem;
    }
}