/* css/blog-post-styles.css */

/* Genel Blog Yazısı Konteyneri */
.blog-post-container {
    max-width: 800px; /* Yazı içeriği için ideal genişlik */
    margin: 40px auto 60px auto; /* Üstte daha az, altta daha fazla boşluk */
    padding: 40px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    font-family: 'Poppins', sans-serif; /* Ana fontu kullan */
}

/* Yazı İçeriği Alanı */
.blog-post-content {
    line-height: 1.8; /* Daha iyi okunabilirlik için satır yüksekliği */
    color: #444; /* Paragraf metni için biraz daha koyu */
    font-size: 16px; /* Temel paragraf font boyutu */
}

/* Ana Başlık (h1) */
.blog-post-content h1 {
    font-size: 34px;
    font-weight: 700;
    color: #2c3e50; /* Ana başlık rengi */
    margin-bottom: 15px;
    line-height: 1.3;
}

/* Alt Başlıklar (h2, h3) */
.blog-post-content h2 {
    font-size: 26px;
    font-weight: 600;
    color: #34495e;
    margin-top: 40px; /* Başlıklar arası boşluk */
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid #3776DD; /* Vurgu çizgisi */
    display: inline-block; /* Çizgiyi metne sığdır */
}

.blog-post-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #34495e;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Paragraflar */
.blog-post-content p {
    margin-bottom: 20px;
}

/* Listeler */
.blog-post-content ul,
.blog-post-content ol {
    margin-bottom: 20px;
    padding-left: 30px; /* Liste içeriğini biraz içeri al */
}

.blog-post-content li {
    margin-bottom: 10px; /* Liste elemanları arası boşluk */
}

.blog-post-content ul li::marker {
     color: #3776DD; /* Madde işareti rengi */
     font-size: 1.1em;
}

/* Görseller ve Başlıkları */
.blog-post-content figure {
    margin: 30px 0;
    text-align: center;
}

.blog-post-content .featured-image img,
.blog-post-content .inline-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px; /* Görsellere hafif yuvarlaklık */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Hafif gölge */
    margin-bottom: 10px;
}

.blog-post-content figcaption {
    font-size: 14px;
    color: #7f8c8d; /* Resim altı yazı rengi */
    font-style: italic;
}

/* Öne Çıkan Görsel */
.blog-post-content .featured-image {
    margin-top: 25px;
    margin-bottom: 40px;
}


/* Meta Bilgisi (Kategori, Tarih vb.) */
.post-meta {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.post-meta .category,
.post-meta .date {
    margin-right: 15px;
}

/* Alıntılar (Opsiyonel) */
.blog-post-content blockquote {
    margin: 30px 0;
    padding: 20px;
    padding-left: 30px;
    border-left: 4px solid #3776DD;
    background-color: #f9f9f9;
    font-style: italic;
    color: #555;
}

/* Kod Blokları (Opsiyonel) */
.blog-post-content pre {
    background-color: #f4f4f4;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto; /* Yatay kaydırma */
    font-family: monospace;
    font-size: 14px;
    margin: 20px 0;
}

.blog-post-content code {
    font-family: monospace;
    background-color: #eee;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 0.9em;
}

/* Linkler */
.blog-post-content a {
    color: #3776DD;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-post-content a:hover {
    color: #2a66bf;
    text-decoration: underline;
}

/* CTA (Call to Action) Bölümü */
.cta-section {
    margin-top: 50px;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #eee;
}

.cta-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 22px;
    color: #34495e;
}

.cta-section p {
    margin-bottom: 25px;
    color: #555;
}

/* Belirli hale getirilmiş CTA buton stilleri */
.cta-section .cta-button { /* index-styles.css'ten farklı olabilir, bloga özel */
    display: inline-block;
    padding: 12px 25px;
    background-color: #3776DD;
    color: white; /* Metin rengi burada da belirtildi */
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin: 5px;
}
.cta-section .cta-button.secondary {
     background-color: #7f8c8d;
     color: white; /* İkincil buton metin rengini beyaz yap */
}

.cta-section .cta-button:hover {
    background-color: #2a66bf;
    transform: translateY(-2px);
}
.cta-section .cta-button.secondary:hover {
    background-color: #6c7a7b;
}

/* Responsive Ayarlamalar */
@media (max-width: 900px) {
    .blog-post-container {
        margin-left: 20px;
        margin-right: 20px;
        padding: 30px;
    }
}

@media (max-width: 600px) {
    .blog-post-container {
        padding: 20px;
        margin-top: 20px;
        margin-bottom: 40px;
    }
    .blog-post-content h1 {
        font-size: 28px;
    }
    .blog-post-content h2 {
        font-size: 22px;
    }
    .blog-post-content h3 {
        font-size: 18px;
    }
    .blog-post-content {
        font-size: 15px;
        line-height: 1.7;
    }
    .cta-section {
        padding: 20px;
    }
    /* Mobil görünüm için de belirli hale getirildi */
    .cta-section .cta-button {
        padding: 10px 20px;
        font-size: 15px;
    }
}

/* SSS sayfası için ek stiller */
.faq-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.faq-question {
    font-weight: 600;
    color: #34495e;
    margin-bottom: 10px;
    cursor: pointer; /* Açılır kapanır yapmak isterseniz */
}
.faq-answer {
    color: #555;
    line-height: 1.7;
    padding-left: 15px; /* Cevapları biraz içeriden başlat */
    /* display: none; */ /* Açılır kapanır yapmak için başlangıçta gizle */
}
.faq-answer ul {
    margin-top: 10px;
} 