/* blog-style.css - KESİNLEŞTİRİLMİŞ SON KOD */

/* ===================================================
   1. GENEL SIFIRLAMALAR VE FONT
   =================================================== */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
    margin: 0;
    padding: 0;
}

/* Kapsayıcı (Container) - ORTALAMA VE GENİŞLİK AYARI BURADA YAPILDI */
.container {
    max-width: 800px; /* Maksimum genişlik 900px'ten 800px'e düşürüldü */
    width: 90%; /* Ekran genişliğinin %90'ını kaplamasını garanti eder */
    margin: 40px auto; /* İÇERİĞİ EKRANIN ORTASINA HİZALAR */
    padding: 30px; 
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    box-sizing: border-box; /* Padding ve border'ın genişliğe dahil olmasını sağlar */
}

/* ===================================================
   2. HEADER VE LOGO DÜZENLEMESİ (Logo ve Breadcrumb Ayrımı)
   =================================================== */
.blog-header {
    padding: 0 0 20px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
    
    /* İki öğeyi (Logo ve Breadcrumb) hizalamak için Flexbox */
    display: flex; 
    justify-content: space-between; /* İki öğeyi iki yana yasla */
    align-items: center; /* Dikeyde ortala */
    min-height: 40px; 
}

/* Logo Link Alanı */
.brand-link {
    display: block; 
    height: 40px; 
}

.brand-link .header-logo {
    /* HTML'deki inline stil (style="height: 40px;") boyutu kontrol edecektir. */
    width: auto;
    max-width: 100%; 
    height: 100%; 
    display: block;
}

/* Breadcrumb Alanı */
.breadcrumb {
    font-size: 0.9em;
    text-align: right; 
    line-height: 1.4;
    padding-left: 20px; 
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    display: block; 
}

.breadcrumb span {
    color: #666;
    display: block; 
    font-weight: 400; 
}

/* ===================================================
   3. İÇERİK STİLLERİ
   =================================================== */

/* İçerik Başlığı (H1) */
.content-title {
    font-size: 2.5em;
    font-weight: 700;
    color: #004d99; 
    margin-bottom: 15px;
    border-left: 5px solid #ff9900; 
    padding-left: 15px;
}

/* Yazar/Tarih Bilgisi */
.meta-info {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 30px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 15px;
}
.meta-info i {
    color: #ff9900;
    margin-right: 5px;
}

/* Genel İçerik Stili */
.blog-content p, .blog-content ul, .blog-content ol {
    margin-bottom: 20px;
}

.blog-content h3 {
    color: #004d99;
    font-size: 1.6em;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 5px;
}

.blog-content ul, .blog-content ol {
    padding-left: 25px;
}

.blog-content li {
    margin-bottom: 8px;
}

/* Kontrol Listesi Özel Stili */
.checklist {
    list-style: none;
    padding: 0;
}

.checklist li {
    background: #e6f0ff; 
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.checklist li i {
    color: #00b33c; 
    font-size: 1.2em;
    margin-right: 15px;
    flex-shrink: 0; /* İçerik daraldığında ikonun küçülmesini engeller */
}

/* Önemli Bilgi Kutusu */
.info-box {
    background-color: #fffbe6;
    border-left: 5px solid #ffcc00;
    padding: 20px;
    margin: 30px 0;
    border-radius: 4px;
}
.info-box strong {
    color: #cc9900;
}

/* Ana Sayfaya Dön Butonu */
.back-to-home {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s;
    margin-bottom: 20px; 
}
.back-to-home:hover {
    background-color: #0056b3;
}

/* ===================================================
   4. RESPONSIVE İYİLEŞTİRMELER
   =================================================== */

@media (max-width: 768px) {
    .container {
        margin: 20px auto;
        padding: 20px;
        width: 95%; /* Küçük ekranda daha fazla alan kullansın */
    }
    .content-title {
        font-size: 1.8em;
    }
    /* Küçük ekranda header elemanlarını alt alta dizelim */
    .blog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px; 
    }
    /* Breadcrumb'ı sola hizalayalım */
    .breadcrumb {
        margin-left: 0; 
        text-align: left;
        padding-left: 0;
    }
    /* Pusula ve Kategori Adı yan yana gelsin */
    .breadcrumb a, .breadcrumb span {
        display: inline;
    }
}

@media (max-width: 480px) {
    .content-title {
        font-size: 1.5em;
        padding-left: 10px;
    }
}