/**
 * TUGAYLAR YAPI - Mikro Blog & Rehber CSS
 * 2026 Mobile-First, CLS Korumalı, Fluid Typography ve Kurumsal Standart Sürüm
 */
:root {
    --bg-color: #f2efe9;        
    --text-dark: #1b1f22;       
    --border-color: rgba(27, 31, 34, 0.2); 
    --text-muted: #5a5c5e; 
    --accent: #b2945e; 
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    width: 100%;
    overflow-x: clip;
    -webkit-text-size-adjust: 100%;
}

body { 
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif; 
    background-color: var(--bg-color); 
    color: var(--text-dark); 
    font-size: clamp(1rem, 1vw + 0.8rem, 1.0625rem);
    line-height: 1.75; 
    -webkit-font-smoothing: antialiased; 
    text-rendering: optimizeLegibility; 
}

/* ================= HEADER & LOGO (Franke / Redecor Standardı) ================= */
.site-header { 
    background-color: transparent; /* Antrasit zemin kaldırıldı */
    padding: 45px 20px 0 20px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    width: 100%;
}
.header-logo { 
    display: block; 
    text-decoration: none; 
    max-width: 280px; 
    width: 100%; 
    text-align: center; 
    margin: 0 auto; 
}
.header-logo img { 
    width: 100%; 
    height: auto; 
    object-fit: contain; 
    aspect-ratio: 815 / 443; 
    display: block; 
    margin: 0 auto; 
}

/* ================= HERO ALANI (H1 Başlık Alanı) ================= */
.article-hero { 
    background-color: transparent; /* Antrasit zemin kaldırıldı */
    padding: clamp(30px, 4vw, 50px) 18px 10px 18px; 
    text-align: center; 
    width: 100%; 
}
.hero-container { 
    max-width: 800px; 
    margin: 0 auto; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}
.breadcrumb { 
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap; 
    gap: 8px; font-size: 0.95rem; color: var(--text-muted); margin-bottom: 25px; font-weight: 500; 
}
.breadcrumb a { color: var(--text-dark); text-decoration: none; font-weight: 700; transition: color 0.3s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb svg { width: 12px; height: 12px; fill: var(--text-muted); flex-shrink: 0; }

.article-hero h1 { 
    font-size: clamp(1.8rem, 4vw, 2.6rem); 
    font-weight: 700; 
    color: var(--text-dark); 
    margin-bottom: clamp(15px, 3vw, 25px); 
    line-height: 1.25; 
    max-width: 700px;
    text-transform: uppercase; 
    letter-spacing: -0.5px;
}

.article-meta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px; font-size: 1.05rem; color: var(--text-muted); font-weight: 500; }
.meta-item { display: flex; align-items: center; gap: 8px; }
.meta-item svg { width: 20px; height: 20px; fill: var(--accent); flex-shrink: 0; }

/* ================= FOOTER STİLLERİ ================= */
.site-footer {
    background-color: transparent; 
    border-top: 1px solid var(--border-color); 
    padding: 30px 20px;
    margin-top: 60px;
    text-align: center;
}

.footer-container p {
    font-size: 0.75rem;
    color: var(--text-muted); 
    margin: 0;
    font-weight: 500;
    letter-spacing: 1px;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 0.7;
    text-decoration: none; 
}

/* ================= ANA İÇERİK KUTUSU ================= */
.main-container { 
    width: 100%; 
    max-width: 800px; 
    margin: 0 auto; 
    padding: clamp(20px, 5vw, 50px) 18px; 
    padding-bottom: calc(clamp(30px, 5vw, 50px) + env(safe-area-inset-bottom, 0));
}

.article-content { 
    width: 100%; 
    min-width: 0; 
    overflow-wrap: break-word; 
}

.article-content p { margin-bottom: 22px; color: var(--text-muted); font-weight: 500; }

.article-content h2 { 
    font-size: clamp(1.4rem, 3.5vw, 1.6rem); 
    margin-top: clamp(35px, 5vw, 45px); 
    margin-bottom: 15px; font-weight: 700; line-height: 1.3; color: var(--text-dark); 
}
.article-content h3 { 
    font-size: clamp(1.15rem, 2.5vw, 1.25rem); 
    margin-top: clamp(25px, 4vw, 30px); 
    margin-bottom: 12px; font-weight: 700; color: var(--text-dark); 
}

.article-content ul, .article-content ol { 
    margin-bottom: 25px; 
    margin-left: clamp(10px, 2vw, 25px); 
    padding-left: 15px; color: var(--text-muted); font-weight: 500; list-style-position: outside; 
}
.article-content li { margin-bottom: 12px; padding-left: 8px; }
.article-content strong { color: var(--text-dark); font-weight: 700; }
.article-content a { color: var(--text-dark); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--border-color); transition: 0.3s; overflow-wrap: break-word; }
.article-content a:hover { border-color: var(--accent); color: var(--accent); }

.article-content img { 
    max-width: 100%; 
    height: auto; 
    object-fit: cover; 
    border-radius: 4px; 
    margin: 25px 0; 
    display: block; 
}

/* ================= MODÜLLER ================= */
.ai-summary-box {
        background-color: rgba(178, 148, 94, 0.15);
        border-left: 4px solid var(--text-dark);
        padding: clamp(25px, 3vw, 40px);
        margin: 35px 0; 
        border-radius: 0 4px 4px 0;
    }

    .ai-summary-box ul {
        margin: 0 !important; /* Tarayıcının otomatik verdiği üst/alt boşluğu ezer */
        padding-left: 18px; /* Sadece noktalar (bullet) için soldan hizalama bırakır */
    }

    .ai-summary-box li {
        font-weight: 600;
        color: var(--text-dark);
        font-size: clamp(1rem, 1.5vw, 1.1rem);
        line-height: 1.6;
        margin-bottom: 15px; /* İki madde arasında nefes aldırır */
    }

    .ai-summary-box li:last-child {
        margin-bottom: 0 !important; /* En alttaki maddenin alt boşluğunu siler, kutuyu simetrik yapar */
    }
    
.ai-summary-box h2 { margin-top: 0; font-size: 1.2rem; color: var(--text-dark); margin-bottom: 10px; }
.ai-summary-box p { margin: 0; font-weight: 600; color: var(--text-dark); font-size: clamp(1rem, 1.5vw, 1.1rem); line-height: 1.6; }

.highlight-box { background-color: rgba(27, 31, 34, 0.04); border-left: 4px solid var(--text-dark); padding: clamp(15px, 3vw, 25px); margin: 30px 0; border-radius: 0 4px 4px 0; font-size: 1.05rem; font-weight: 500; }

.toc-box { background-color: #fff; border: 1px solid var(--border-color); padding: clamp(15px, 3vw, 25px); border-radius: 4px; margin: 35px 0; }
.toc-box h3 { margin-top: 0; font-size: 1.2rem; font-weight: 700; color: var(--text-dark); margin-bottom: 15px; }
.toc-box ul { list-style: disc outside; margin-left: clamp(10px, 2vw, 20px); padding-left: 10px; color: var(--text-dark); }
.toc-box li { margin-bottom: 12px; font-size: 0.95rem; font-weight: 700; }
.toc-box a { border: none; color: var(--text-dark); font-weight: 700; overflow-wrap: break-word; }
.toc-box a:hover { color: var(--accent); }

.table-responsive { 
    width: 100%; 
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch; 
    margin: 35px 0; 
}
table { width: 100%; min-width: 600px; border-collapse: collapse; background-color: #fff; border-radius: 4px; overflow: hidden; border: 1px solid var(--border-color); }
th, td { padding: 16px 20px; text-align: left; font-size: 0.95rem; font-weight: 500; }
th { background-color: var(--text-dark); color: #fff; font-weight: 600; }
td { border-bottom: 1px solid var(--border-color); color: var(--text-muted); }
td:first-child { font-weight: 700; color: var(--text-dark); }

.faq-section { margin-top: clamp(35px, 5vw, 50px); width: 100%; }
details { background: #fff; border: 1px solid var(--border-color); margin-bottom: 15px; border-radius: 4px; }
summary { padding: clamp(15px, 3vw, 20px); font-size: clamp(0.95rem, 1.5vw, 1rem); font-weight: 700; cursor: pointer; color: var(--text-dark); list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.6rem; font-weight: 300; color: var(--accent); transition: transform 0.3s; }
details[open] summary::after { content: '−'; transform: rotate(180deg); }
details p { padding: 0 clamp(15px, 3vw, 20px) clamp(15px, 3vw, 20px); font-size: clamp(0.95rem, 1.5vw, 1.05rem); color: var(--text-muted); margin-top: 0; font-weight: 500; }

/* ================= CTA ALANI (Antrasit Zemin ve Tok Yazılar) ================= */
.premium-cta { 
    margin: 50px 0 20px 0; 
    padding: clamp(30px, 5vw, 45px) 20px; 
    background-color: #2a343c; /* Antrasit Zemin */
    border: none; 
    border-radius: 8px; /* Daha modern bir kavis */
    text-align: center; 
    box-shadow: 0 15px 30px rgba(0,0,0,0.15); /* Zeminle arasına derinlik katıldı */
}

.premium-cta h3 { 
    font-size: clamp(1.35rem, 3.5vw, 1.6rem); /* Başlık hafifçe büyütüldü */
    color: #ffffff; /* Beyaz başlık */
    font-weight: 800; /* Çok daha güçlü durması için Extra Bold yapıldı */
    margin-top: 0; 
    margin-bottom: 15px; 
    border: none; 
    letter-spacing: 0.5px;
}

.premium-cta p { 
    color: #ffffff; /* Krem rengi yerine tam beyaza çekerek kontrastı maksimuma çıkardık */
    margin-bottom: 30px; 
    font-size: 1.1rem; /* Yazıyı bir tık daha büyüterek gövdeyi dolgunlaştırdık */
    font-weight: 500; 
    line-height: 1.6;
    letter-spacing: 0.3px; /* Kalınlaşan harflerin birbirine girmemesi için hafif esneklik kattık */
    max-width: 550px; 
    margin-left: auto; 
    margin-right: auto; 
}

.btn-primary { 
    display: inline-block; 
    background-color: var(--accent); /* Koyu zemin üzerinde patlaması için Bej/Gold marka renginiz eklendi */
    color: #ffffff !important; 
    padding: 16px 35px; /* Tıklama alanı (Touch Target) genişletildi */
    border-radius: 4px; 
    font-weight: 800; /* Buton yazısı toklaştırıldı */
    text-transform: uppercase; 
    letter-spacing: 1px; 
    font-size: 0.95rem; 
    text-decoration: none !important; 
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s; 
    border: none; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.2); /* Butona 3 boyut hissi eklendi */
}

.btn-primary:hover { 
    background-color: #9e814f; /* Hover durumunda bej rengin bir ton koyusu */
    transform: translateY(-2px); /* Tıklanma hissi için yukarı zıplama efekti */
    box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

.about-text-english { 
    max-width: 750px; 
    width: 100%; 
    font-size: 0.9rem; 
    font-weight: 500; 
    font-style: italic; 
    line-height: 1.6; 
    color: var(--text-muted); 
    margin: 20px auto 0 auto; 
    padding: 15px; 
    border-left: 3px solid var(--accent); 
    background: rgba(27, 31, 34, 0.02); 
    text-align: left; 
}

@media (max-width: 768px) {
    .header-logo { max-width: 220px; margin-bottom: 5px; } /* Mobil logo boyutu revizyonu */
    .article-meta { gap: 15px; }
    table { min-width: 500px; }
}