/* ==========================================================================
   1. DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    --accent-glow: rgba(234, 88, 12, 0.2);
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Temel Sıfırlamalar */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

/* Gelecek Nesil Arka Plan (Ambient Glow) */
body::before {
    content: '';
    position: fixed;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at 50% 30%, rgba(234, 88, 12, 0.03), transparent 60%),
                radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.03), transparent 50%);
    z-index: -1;
    pointer-events: none;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Erişilebilirlik (a11y) - İçeriğe Atla */
.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    background: var(--accent-color);
    color: #fff !important;
    padding: 12px 24px;
    font-weight: 700;
    z-index: 10000;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    transition: top 0.3s ease;
}
.skip-link:focus {
    top: 0;
}

/* Erişilebilirlik (a11y) - Ekran Okuyucular İçin Gizli Öğeler */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ==========================================================================
   2. TYPOGRAPHY (clamp kullanımı)
   ========================================================================== */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

p, span, a {
    font-weight: 400;
}

.site-title {
    font-size: 1.5rem;
    letter-spacing: -0.05em;
    color: var(--text-primary);
}

.site-title span {
    color: var(--accent-color);
}

.site-title img {
    max-height: 32px;
    width: auto;
}

/* ==========================================================================
   3. LAYOUT & GRID
   ========================================================================== */
.main-container {
    max-width: 1200px;
    margin: 32px auto 100px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* ==========================================================================
   4. COMPONENTS
   ========================================================================== */

/* --- Standard Header --- */
.site-header {
    background: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 20px;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* --- Header Navigation --- */
.header-nav {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.header-nav::-webkit-scrollbar {
    display: none;
}
.header-nav a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}
.header-nav a:hover, .header-nav a.active {
    color: var(--text-primary);
    border-bottom-color: var(--accent-color);
}

/* --- Hamburger Menu & Overlay --- */
.menu-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.menu-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001; /* Menünün üstünde durması için */
    width: 28px;
    height: 20px;
    position: relative;
    padding: 0;
}

.hamburger-menu span {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
    left: 0;
}

.hamburger-menu span:nth-child(1) { top: 0; }
.hamburger-menu span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger-menu span:nth-child(3) { bottom: 0; }

.hamburger-menu.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}
.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}
.hamburger-menu.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* --- Search Module --- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    transition: var(--transition);
}

.search-toggle:hover {
    color: var(--accent-color);
}

.search-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(248, 250, 252, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.search-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.search-modal-content {
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-modal.is-open .search-modal-content {
    transform: translateY(0);
}

.search-input {
    width: 100%;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-primary);
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--border-color);
    padding: 20px 0;
    outline: none;
    font-family: inherit;
}

.search-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.4;
}

.search-input:focus {
    border-bottom-color: var(--accent-color);
}

.search-close {
    position: absolute;
    top: -60px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.search-close:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

/* --- Hero Intro Box --- */
.hero-intro {
    display: flex;
    align-items: center;
    gap: 40px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 16px;
}

.hero-text p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.hero-image {
    flex: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* --- Breadcrumb Component --- */
.breadcrumb {
    display: inline-flex;
    background: rgba(15, 23, 42, 0.04);
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
}
.breadcrumb ol {
    list-style: none; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0;
}
.breadcrumb li {
    display: flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; color: var(--text-secondary);
}
.breadcrumb li a {
    color: var(--text-secondary); text-decoration: none; transition: var(--transition); display: flex; align-items: center; gap: 4px;
}
.breadcrumb li a:hover {
    color: var(--accent-color);
}
.breadcrumb li[aria-current="page"] span {
    color: var(--text-primary);
}
.breadcrumb-separator {
    opacity: 0.5; font-size: 0.85rem;
}

/* --- Category Section (1+4 Layout) --- */
.category-section {
    margin-bottom: 80px;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 16px;
    margin-bottom: 32px;
}

.category-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.view-all-btn {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.view-all-btn:hover {
    color: var(--accent-color);
}

.category-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.featured-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 24px;
    gap: 24px;
    position: relative;
}

.featured-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.featured-image {
    flex-shrink: 0;
    width: 300px;
    height: 180px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 100%;
    background: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-glow);
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.featured-card:hover::before {
    opacity: 1;
}

.featured-card:hover .featured-image img {
    transform: scale(1.05);
}

.featured-body {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.featured-title {
    font-size: 1.25rem;
    color: var(--text-primary);
}

.featured-summary {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* News Meta Grouping */
.news-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.news-category-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--accent-color);
    padding: 6px 12px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.04);
}

.publish-time {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    background: var(--surface-hover);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.02em;
    align-self: flex-start;
}

/* --- Compact News List (The 4 Items) --- */
.compact-news-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.compact-news-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.compact-news-title {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-primary);
    transition: var(--transition);
    margin: 0;
}

.compact-news-title:hover {
    color: var(--accent-color);
}

.compact-news-item:hover {
    box-shadow: var(--shadow-sm);
    border-color: rgba(234, 88, 12, 0.4);
    transform: translateX(4px);
}

/* --- SEO & FAQ Section --- */
.seo-faq-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
    align-items: stretch;
}

.seo-block, .faq-block {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--accent-color);
    box-shadow: 0 4px 20px rgba(234, 88, 12, 0.04);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.section-heading {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
    padding-bottom: 16px;
}

.seo-scroll-wrapper {
    flex: 1;
    position: relative;
    min-height: 280px;
}

.seo-scroll-area {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow-y: auto;
    padding-right: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.seo-scroll-area p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.seo-scroll-area::-webkit-scrollbar { width: 6px; }
.seo-scroll-area::-webkit-scrollbar-track { background: rgba(15, 23, 42, 0.05); border-radius: 8px; }
.seo-scroll-area::-webkit-scrollbar-thumb { background: rgba(15, 23, 42, 0.15); border-radius: 8px; }
.seo-scroll-area::-webkit-scrollbar-thumb:hover { background: var(--text-secondary); }

.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item summary {
    padding: 16px 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.2rem; color: var(--text-secondary); transition: var(--transition); }
.faq-item[open] summary::after { content: '−'; color: var(--accent-color); }
.faq-item[open] summary { color: var(--accent-color); }

.faq-item p {
    padding: 0 0 16px 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    animation: fadeIn 0.3s ease-in-out;
}

/* --- Footer --- */
.site-footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 20px;
    margin-top: 40px;
    background: var(--surface-color);
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

.footer-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 8px;
}

.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; }
.footer-links a { font-size: 0.9rem; color: var(--text-secondary); font-weight: 600; }
.footer-links a:hover { color: var(--text-primary); }
.footer-copy { 
    font-size: 0.8rem; 
    color: var(--text-secondary); 
    margin-top: 16px; 
    border-top: 1px solid var(--border-color); 
    padding-top: 24px; 
    width: 100%; 
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-rss-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--text-secondary); transition: var(--transition); }
.footer-rss-link:hover { color: var(--accent-color); }

/* ==========================================================================
   7. CATEGORY PAGE (KATEGORI.HTML)
   ========================================================================== */

/* Subcategory Navigation */
.subcategory-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    padding-bottom: 0;
    margin-bottom: 32px;
    overflow-x: visible;
}
.subcategory-item {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
    white-space: normal;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
    transition: var(--transition);
}
.subcategory-item:hover, .subcategory-item.active {
    color: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-sm);
}

/* Article List & Pagination */
.category-articles-list { display: flex; flex-direction: column; gap: 24px; margin-bottom: 48px; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-bottom: 80px; }
.page-link {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: var(--radius-md);
    background: var(--surface-color); border: 1px solid var(--border-color);
    font-weight: 600; color: var(--text-secondary); transition: var(--transition);
}
.page-link:hover, .page-link.active {
    background: var(--text-primary);
    color: #fff;
    border-color: var(--text-primary);
}
.page-dots { font-weight: 600; color: var(--text-secondary); padding: 0 4px; }

/* ==========================================================================
   8. ARTICLE DETAIL PAGE (DETAY.HTML)
   ========================================================================== */

/* Reading Progress Bar */
.progress-container {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 4px;
    background: transparent;
    z-index: 10000;
}

.progress-bar {
    height: 100%;
    background: var(--accent-color);
    width: 0%;
    transition: width 0.1s ease;
}

/* Article Layout Constraints */
.article-layout {
    padding: 64px 20px 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.article-header, .article-content, .article-faq, .article-footer {
    width: 100%;
    max-width: 720px; /* Okuma için en ideal dar sütun (Medium.com style) */
}

/* Article Header Elements */
.article-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.article-badges .badge {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    box-shadow: var(--shadow-sm);
}
.article-badges .badge:first-child { color: var(--accent-color); font-weight: 700; }

button.badge {
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}
button.badge:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.article-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: #0F172A; /* Çok hafif daha sert bir siyah */
}

.article-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 48px;
}

/* Featured Image (Genişletilmiş Alan) */
.article-featured-image {
    width: 100%;
    max-width: 1000px; /* Metin alanından (720px) daha geniş, taşıyor hissi yaratır */
    margin: 0 auto 48px auto;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

/* Article Body Typography */
.article-content p {
    font-size: 1.15rem; /* Büyük, okunaklı blog fontu */
    line-height: 1.8;
    color: #334155;
    margin-bottom: 32px;
}

/* Drop Cap (Baş Harf Vurgusu) */
.article-content > p:first-of-type::first-letter {
    font-size: 3.5rem;
    float: left;
    margin-right: 12px;
    margin-top: 8px;
    line-height: 0.8;
    font-weight: 800;
    color: var(--text-primary);
}

.article-content h2 { font-size: 2rem; margin: 48px 0 24px 0; }
.article-content h3 { font-size: 1.5rem; margin: 32px 0 16px 0; }

.article-content blockquote {
    border-left: 4px solid var(--accent-color);
    padding-left: 24px;
    margin: 40px 0;
    font-style: italic;
    font-size: 1.35rem;
    color: var(--text-primary);
    line-height: 1.6;
}

/* Responsive iFrames & Embeds (CLS Koruması) */
.article-content iframe,
.article-content embed,
.article-content object,
.article-content video {
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

/* Read Also Box */
.read-also-box {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-color);
    padding: 20px 24px;
    margin: 40px 0;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.read-also-box:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.read-also-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.read-also-link {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.5;
}
.read-also-link:hover {
    color: var(--accent-color);
}

/* Article FAQ */
.article-faq {
    margin-bottom: 48px;
}
.article-faq .section-heading {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

/* Post Navigation (Prev - Breadcrumb - Next) */
.post-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 48px;
    padding: 24px 32px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--accent-color);
    box-shadow: 0 4px 20px rgba(234, 88, 12, 0.04);
    border-radius: var(--radius-lg);
    gap: 16px;
}
.nav-separator {
    width: 1px;
    height: 24px;
    background: var(--border-color);
}
.nav-prev, .nav-next {
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
    flex-shrink: 0;
}
.nav-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    font-weight: 700;
    transition: var(--transition);
}
.nav-prev:hover .nav-label, .nav-next:hover .nav-label { color: var(--accent-color); }
.nav-breadcrumb { font-size: 0.9rem; color: var(--text-secondary); font-weight: 600; flex: 1; text-align: center; line-height: 1.5; }
.nav-breadcrumb a { color: var(--text-secondary); transition: var(--transition); }
.nav-breadcrumb a:hover { color: var(--accent-color); }

/* Author Box Background */
.author-box {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 4px 20px rgba(234, 88, 12, 0.04);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.author-box-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-box-info h4 { font-size: 1.1rem; margin-bottom: 8px; }
.author-box-info p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }

/* Related Articles (Alt Alan) */
.related-articles-section { background: var(--surface-hover); padding: 80px 20px; margin-top: 80px; border-top: 1px solid var(--border-color); }
.related-inner { max-width: 1000px; margin: 0 auto; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.related-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.related-image { width: 100%; height: 180px; overflow: hidden; }
.related-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.related-card:hover .related-image img { transform: scale(1.05); }
.related-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}
.related-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-primary);
    transition: var(--transition);
    margin: 0;
}
.related-card:hover .related-title { color: var(--accent-color); }

/* --- Table of Contents (TOC) Panel --- */
.toc-panel {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 320px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--accent-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(234, 88, 12, 0.12);
    z-index: 9999;
    transform: translateY(120%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    max-height: 400px;
}
.toc-panel.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}
.toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--surface-hover);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.toc-header h3 { margin: 0; font-size: 1.05rem; }
.toc-close {
    background: none; border: none; font-size: 1.5rem;
    cursor: pointer; color: var(--text-secondary); line-height: 1;
    transition: var(--transition);
}
.toc-close:hover { color: var(--accent-color); }
.toc-list {
    list-style: none; overflow-y: auto;
    padding: 16px 20px; display: flex; flex-direction: column; gap: 12px;
    overscroll-behavior: contain;
}
.toc-list::-webkit-scrollbar { width: 4px; }
.toc-list::-webkit-scrollbar-track { background: transparent; }
.toc-list::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; }
.toc-list li a { color: var(--text-secondary); font-size: 0.95rem; text-decoration: none; transition: var(--transition); display: block; line-height: 1.4; }
.toc-list li a:hover { color: var(--accent-color); }
.toc-list li.toc-h3 { padding-left: 16px; font-size: 0.85rem; position: relative; }
.toc-list li.toc-h3::before {
    content: ''; position: absolute; left: 0; top: 8px;
    width: 6px; height: 1px; background: var(--border-color);
}
.toc-list li.toc-h4 { padding-left: 28px; font-size: 0.8rem; position: relative; }
.toc-list li.toc-h4::before {
    content: ''; position: absolute; left: 14px; top: 8px;
    width: 4px; height: 1px; background: var(--border-color);
}

/* ==========================================================================
   5. ANIMATIONS & INTERACTIONS
   ========================================================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(8px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   6. RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {}

@media (max-width: 768px) {
    .main-container {
        margin-top: 24px;
    }
    .hamburger-menu {
        display: block;
    }
    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--surface-color);
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 32px 32px 32px;
        gap: 20px;
        z-index: 1000;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .header-nav.is-open {
        right: 0;
        box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    }
    .header-nav a {
        font-size: 1.25rem;
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid var(--border-color);
    }
    .header-nav a:hover, .header-nav a.active {
        border-bottom-color: var(--accent-color);
        padding-left: 8px; /* Mobilde estetik hover efekti */
    }
    .hero-intro {
        flex-direction: column;
        padding: 24px;
    }
    .featured-card {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 16px;
    }
    .featured-image {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
    .compact-news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .subcategory-nav {
        grid-template-columns: repeat(2, 1fr);
    }
    .subcategory-item:last-child {
        grid-column: span 2;
    }
    .footer-links {
        gap: 12px 24px;
    }
    .seo-faq-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .seo-block, .faq-block {
        padding: 24px;
    }
    .article-meta { padding: 16px 0; }
    .author-box { flex-direction: column; align-items: center; text-align: center; }
    .related-grid { grid-template-columns: 1fr; }
    .article-featured-image { max-width: 100%; margin-left: 0; width: 100%; margin-bottom: 32px; }
    .article-featured-image img { border-radius: var(--radius-md); aspect-ratio: 16 / 9; object-fit: cover; }
    
    .post-navigation { flex-direction: column; text-align: center; gap: 16px; }
    .nav-separator { display: none; }
    .nav-breadcrumb { order: -1; margin-bottom: 0; }
    
    .toc-panel {
        bottom: 0; right: 0; width: 100%;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        max-height: 55vh;
        border-bottom: none;
    }
    .toc-list {
        -webkit-overflow-scrolling: touch;
    }
    .toc-header { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
}