:root {
    --primary: #e65100;
    --primary-dark: #bf4300;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
}

body { 
    /* Hız için sistem fontunu kullan */
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; 
    background-color: var(--bg-light); 
    margin: 0; 
    padding: 0; 
}

/* --- GENEL SAYFA DÜZENİ (DÜZELTME BURADA) --- */
/* Bu kod içeriklerin kenara yapışmasını engeller ve ortalar */
.container, .main-content, .blog-container {
    max-width: 1150px;  /* İçerik genişliği (Header'dan bir tık dar) */
    margin: 40px auto;  /* Üstten/Alttan boşluk bırak ve ORTALA */
    padding: 0 40px;    /* Sağdan ve Soldan boşluk bırak */
    width: 100%;
    box-sizing: border-box;
}

/* --- GRID SİSTEMİ --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* --- KART TASARIMI --- */
.blog-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(230, 81, 0, 0.15);
    border-color: var(--primary);
}

.card-image { position: relative; height: 220px; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .card-image img { transform: scale(1.1); }

.category-badge {
    position: absolute; top: 20px; left: 20px;
    background: linear-gradient(135deg, #e65100 0%, #ff9800 100%);
    color: white; padding: 6px 15px; border-radius: 50px;
    font-size: 11px; font-weight: 800; text-transform: uppercase;
    z-index: 2;
}

.card-body { padding: 30px; display: flex; flex-direction: column; flex-grow: 1; }
.card-meta { display: flex; align-items: center; gap: 8px; color: var(--text-gray); font-size: 13px; font-weight: 600; margin-bottom: 15px; }
.card-meta span { font-size: 16px; }

.card-title { font-size: 20px; color: var(--text-dark); font-weight: 800; margin: 0 0 15px 0; line-height: 1.4; }
.card-text { color: var(--text-gray); font-size: 14px; line-height: 1.6; margin-bottom: 25px; flex-grow: 1; }

.btn-read-more {
    text-decoration: none; color: var(--primary); font-weight: 800; font-size: 14px;
    display: flex; align-items: center; gap: 5px; transition: gap 0.3s;
    margin-top: auto;
}

.btn-read-more:hover { gap: 10px; color: var(--primary-dark); }


/* --- SIKÇA SORULAN SORULAR (FAQ) --- */
.faq-section { margin-top: 40px; padding: 30px; background: white; border-radius: 16px; border: 1px solid #e2e8f0; }
.faq-item { margin-bottom: 10px; border-bottom: 1px solid #f1f5f9; }
.faq-question { width: 100%; text-align: left; padding: 15px 0; background: transparent; border: none; outline: none; cursor: pointer; font-weight: 700; color: var(--primary); display: flex; justify-content: space-between; align-items: center; font-family: inherit; font-size: 14px; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; color: var(--text-gray); font-size: 13px; line-height: 1.6; }
.faq-question.active .material-symbols-outlined { transform: rotate(180deg); }

/* --- SEO METİN ALANLARI --- */
.seo-intro { padding: 15px; margin-bottom: 20px; }
.seo-intro h2 { font-size: 1.5rem; line-height: 1.4; color: var(--primary); margin-bottom: 10px; font-weight: 800; }
.seo-intro p { font-size: 0.95rem; line-height: 1.6; color: var(--text-gray); }
.seo-footer-content { padding: 30px; margin-top: 40px; background: #f8fafc; border-top: 1px solid #e2e8f0; }
.seo-block h3 { font-size: 1.2rem; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.seo-block p { font-size: 0.9rem; color: var(--text-gray); line-height: 1.5; }

/* --- YORUM SİSTEMİ STİLLERİ --- */
.comments-section { max-width: 800px; margin: 60px auto 20px; font-family: inherit; }
.comments-title { border-bottom: 2px solid #f1f5f9; padding-bottom: 15px; margin-bottom: 30px; color: #1e293b; font-size: 1.5rem; }

.alert-error { background: #fee2e2; color: #b91c1c; padding: 15px; border-radius: 10px; margin-bottom: 20px; font-weight: 600; }
.alert-success { background: #dcfce7; color: #15803d; padding: 15px; border-radius: 10px; margin-bottom: 20px; font-weight: 600; }

.comment-form-box { background: #f8fafc; padding: 30px; border-radius: 16px; border: 1px solid #e2e8f0; margin-bottom: 40px; }
.comment-form-box h4 { margin-top: 0; color: #334155; margin-bottom: 20px; }

.comment-input { width: 100%; padding: 12px 15px; border: 1px solid #cbd5e1; border-radius: 10px; font-family: inherit; font-size: 14px; transition: 0.3s; }
.comment-input:focus { outline: none; border-color: #e65100; box-shadow: 0 0 0 3px rgba(230, 81, 0, 0.1); background: white; }
.form-group { margin-bottom: 15px; }

.comment-btn { background: #1e293b; color: white; border: none; padding: 12px 30px; border-radius: 10px; font-weight: 700; cursor: pointer; transition: 0.3s; }
.comment-btn:hover { background: #e65100; transform: translateY(-2px); }

.comment-item { display: flex; gap: 15px; margin-bottom: 25px; padding-bottom: 25px; border-bottom: 1px solid #f1f5f9; }
.comment-avatar { width: 50px; height: 50px; background: #e0f2fe; color: #0369a1; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; flex-shrink: 0; }
.comment-content { flex: 1; }
.comment-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.comment-header strong { color: #1e293b; font-size: 16px; }
.comment-header span { color: #94a3b8; font-size: 12px; }
.no-comment { color: #94a3b8; font-style: italic; text-align: center; margin-top: 30px; }

/* --- MOBİL UYUM (RESPONSIVE) --- */
@media (max-width: 768px) {
    /* Mobilde kapsayıcıyı daralt */
    .container, .main-content, .blog-container {
        padding: 0 20px !important;
        margin: 20px auto !important;
    }

    .blog-grid {
        grid-template-columns: 1fr; /* Kartlar alt alta gelsin */
        gap: 20px;
    }
    
    .post-title { font-size: 28px; }
    
    .seo-intro { padding: 15px !important; }
    .seo-intro h2 { font-size: 1.2rem !important; }
    .seo-footer-content > div { grid-template-columns: 1fr !important; gap: 20px !important; }
    .seo-block h3 { font-size: 1.1rem !important; }
}

@media (max-width: 480px) {
    .page-title { font-size: 1.5rem !important; }
    .seo-intro h2 { font-size: 1.1rem !important; }
}
/* --- SAYFALAMA (PAGINATION) TASARIMI --- */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    gap: 8px;
}

.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%; /* Yuvarlak butonlar */
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.pagination-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 81, 0, 0.15);
}

.pagination-link.active {
    background: var(--primary); /* Aktif sayfa turuncu olsun */
    color: #ffffff;
    border-color: var(--primary);
    pointer-events: none; /* Tıklanmasın */
}