/* =======================================================================
   blog.css
   Sancaktepe Çilingir - Blog Sayfaları Ortak Stil Dosyası
   ======================================================================= */

/* Ana Taşıyıcılar - Mobil ekranda kenarları sıkıştırmaz, PC'de yayvanlaşmaz */
.responsive-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

/* Hero (Üst Başlık) Alanı Düzenlemesi */
.blog-hero { 
    padding: 3rem 1rem; 
}
.hero-category { 
    color: var(--color-amber); 
    font-weight: bold; 
    margin-bottom: 0.5rem; 
    text-transform: uppercase; 
    font-size: 0.95rem; 
    letter-spacing: 1px; 
}
.hero-title-light { 
    color: #ffffff; 
}

/* Arka Plan ve Kart Yapısı */
.article-bg { 
    padding: 2rem 1rem; 
    background-color: var(--color-bg); 
}
.article-card { 
    background-color: var(--color-white); 
    border-radius: 12px; 
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); 
    border: 1px solid #e2e8f0; 
    padding: 1.5rem; 
}

/* Görsel ve Metin İyileştirmeleri */
.article-featured-image { 
    width: 100%; 
    height: auto; 
    border-radius: 8px; 
    margin-bottom: 2rem; 
    object-fit: cover; 
}
.article-content { 
    color: var(--color-text); 
    line-height: 1.8; 
    font-size: 1.05rem; 
}
.article-content p { 
    margin-bottom: 1.5rem; 
}
.article-content strong { 
    color: var(--color-navy); 
}

/* Başlık Hiyerarşisi Stilleri */
.article-h2 { 
    color: var(--color-navy); 
    margin-bottom: 1.5rem; 
    font-size: 1.6rem; 
    border-bottom: 2px solid var(--color-blue); 
    padding-bottom: 0.5rem; 
    display: inline-block; 
}
.article-h3 { 
    color: #334155; 
    margin-top: 2rem; 
    margin-bottom: 1rem; 
    font-size: 1.3rem; 
    display: flex; 
    align-items: center; 
}
.icon-span { 
    font-size: 1.6rem; 
    margin-right: 10px; 
}
.article-divider { 
    border: 0; 
    height: 1px; 
    background: #e2e8f0; 
    margin: 2.5rem 0; 
}

/* Listeler */
.styled-list { 
    padding-left: 1.5rem; 
    margin-bottom: 2rem; 
}
.styled-list li { 
    margin-bottom: 0.8rem; 
}

/* =======================================================================
   SIKÇA SORULAN SORULAR (FAQ) AKORDEON CSS
   ======================================================================= */
.faq-accordion-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}
.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #f8fafc;
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-question-btn {
    width: 100%;
    text-align: left;
    padding: 1.2rem 1.5rem;
    background: transparent;
    color: var(--color-navy);
    font-weight: bold;
    font-size: 1.15rem;
    font-family: inherit;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.faq-question-btn:hover {
    background-color: #f1f5f9;
    color: var(--color-blue);
}
.faq-icon {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--color-blue);
}

/* Cevap Alanı Başlangıçta Gizli */
.faq-answer-panel {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
    background-color: #ffffff;
    border-top: 1px solid transparent;
}
.faq-answer-panel p {
    margin: 0;
    color: #475569;
    font-size: 1.05rem;
}

/* Tıklanıldığında 'active' class'ı ile çalışan animasyon */
.faq-item.active .faq-answer-panel {
    max-height: 500px;
    opacity: 1;
    padding: 1.2rem 1.5rem;
    border-top-color: #e2e8f0;
}
.faq-item.active .faq-question-btn {
    background-color: #ffffff;
    color: var(--color-blue);
}
.faq-item.active .faq-icon {
    transform: rotate(45deg); /* Artıyı Çarpı Yapar */
}

/* =======================================================================
   GÜÇLÜ CTA (CALL TO ACTION) CSS
   ======================================================================= */
.strong-cta { 
    margin-top: 4rem; 
    background: linear-gradient(135deg, var(--color-navy) 0%, #1e3a8a 100%); 
    padding: 2.5rem 1.5rem; 
    border-radius: 12px; 
    text-align: center; 
    color: white; 
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2); 
}
.cta-title { 
    margin-bottom: 1rem; 
    font-size: 1.5rem; 
    font-weight: 700; 
    color: #ffffff; 
}
.cta-desc { 
    margin-bottom: 2rem; 
    font-size: 1.05rem; 
    opacity: 0.95; 
    max-width: 700px; 
    margin-left: auto; 
    margin-right: auto; 
    line-height: 1.6; 
}
.cta-buttons { 
    display: flex; 
    gap: 1rem; 
    justify-content: center; 
    flex-direction: column; 
}
.cta-btn { 
    padding: 1rem 1.5rem; 
    font-size: 1.05rem; 
    justify-content: center; 
}
.cta-icon { 
    margin-right: 8px; 
    font-size: 1.3rem; 
}
.whatsapp-override { 
    background-color: #25D366; 
    color: white; 
    border-radius: 6px; 
    text-decoration: none; 
    font-weight: bold; 
    display: inline-flex; 
    align-items: center; 
    transition: transform 0.2s ease, background-color 0.2s ease; 
}
.whatsapp-override:hover { 
    background-color: #128C7E; 
    transform: translateY(-2px); 
}

/* =======================================================================
   MASAÜSTÜ (TABLET & PC) MEDYA SORGULARI
   ======================================================================= */
@media (min-width: 768px) {
    .blog-hero { padding: 4rem 2rem; }
    .article-bg { padding: 4rem 2rem; }
    .article-card { padding: 3rem 4rem; }
    .article-content { font-size: 1.1rem; }
    .article-h2 { font-size: 1.8rem; }
    .article-h3 { font-size: 1.4rem; }
    .faq-container { padding: 2.5rem; }
    .strong-cta { padding: 3.5rem 3rem; }
    .cta-title { font-size: 1.8rem; }
    .cta-desc { font-size: 1.15rem; }
    .cta-buttons { flex-direction: row; }
}