/* ============================================
   BlogRehberi - Ana Stil Dosyası
   Modern, Mobil Uyumlu, Türk Tasarım Estetiği
   ============================================ */

/* === CSS Değişkenleri === */
:root {
    --color-primary: #1a1a2e;
    --color-secondary: #16213e;
    --color-accent: #e94560;
    --color-accent-hover: #c73851;
    --color-accent-light: #fce4ec;
    --color-bg: #fafafa;
    --color-bg-alt: #ffffff;
    --color-bg-dark: #f0f0f5;
    --color-text: #2d2d3a;
    --color-text-light: #6b6b80;
    --color-text-muted: #9e9eb3;
    --color-border: #e8e8ef;
    --color-border-light: #f0f0f5;
    --color-success: #27ae60;
    --color-warning: #f39c12;
    --color-error: #e74c3c;
    --color-info: #3498db;

    --font-display: 'Inter', 'Segoe UI', system-ui, sans-serif;
    --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
    --content-width: 780px;
}

/* === Reset & Temeller === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-accent-hover); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-primary);
}

/* === Düzen === */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.main-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    margin-top: 30px;
    margin-bottom: 60px;
}

.main-content { min-width: 0; }

/* === Üst Bilgi (Header) === */
.site-header {
    background: var(--color-primary);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    max-width: var(--max-width);
    margin: 0 auto;
    height: 70px;
}

.site-logo a {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-logo .logo-accent { color: var(--color-accent); }

/* Ana Menü */
.main-nav { display: flex; align-items: center; gap: 5px; }
.main-nav a {
    color: rgba(255,255,255,0.85);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: var(--transition);
}
.main-nav a:hover, .main-nav a.active {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

/* Arama Formu (Header) */
.header-search {
    position: relative;
    display: flex;
    align-items: center;
}

.header-search input {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    padding: 8px 36px 8px 14px;
    border-radius: var(--radius-xl);
    font-size: 0.88rem;
    width: 220px;
    transition: var(--transition);
    font-family: var(--font-body);
}
.header-search input::placeholder { color: rgba(255,255,255,0.5); }
.header-search input:focus {
    outline: none;
    width: 280px;
    background: rgba(255,255,255,0.15);
    border-color: var(--color-accent);
}

.header-search button {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    font-size: 1rem;
}

/* Hamburger Menü */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

/* === Hero Bölümü === */
.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 50%, #0f3460 100%);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(233,69,96,0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(52,152,219,0.08) 0%, transparent 50%);
    animation: heroFloat 20s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-20px, 10px) rotate(2deg); }
}

.hero-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.hero h1 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin-bottom: 30px;
}

.hero-search {
    display: flex;
    max-width: 520px;
    margin: 0 auto;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255,255,255,0.2);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.hero-search input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 1rem;
    font-family: var(--font-body);
}
.hero-search input::placeholder { color: rgba(255,255,255,0.5); }
.hero-search input:focus { outline: none; }

.hero-search button {
    padding: 16px 28px;
    background: var(--color-accent);
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--transition);
    font-family: var(--font-body);
}
.hero-search button:hover { background: var(--color-accent-hover); }

/* === Yazı Kartları === */
.post-card {
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--color-border);
    margin-bottom: 28px;
}

.post-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.post-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-card-image img {
    transform: scale(1.05);
}

.post-card-image .category-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--color-accent);
    color: #fff;
    padding: 4px 14px;
    border-radius: var(--radius-xl);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.post-card-body {
    padding: 24px;
}

.post-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

.post-card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-card h2 {
    font-size: 1.35rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.post-card h2 a {
    color: var(--color-primary);
    transition: var(--transition);
}
.post-card h2 a:hover { color: var(--color-accent); }

.post-card .excerpt {
    color: var(--color-text-light);
    font-size: 0.94rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}
.read-more:hover { gap: 10px; }
.read-more::after { content: '→'; transition: var(--transition); }

/* Öne Çıkan Yazı */
.post-card.featured {
    position: relative;
    border: 2px solid var(--color-accent);
}

.post-card.featured::before {
    content: '★ Öne Çıkan';
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--color-accent);
    color: #fff;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
    letter-spacing: 0.05em;
}

/* === Tekil Yazı Sayfası === */
.single-post {
    max-width: var(--content-width);
}

.single-post .post-header {
    margin-bottom: 32px;
}

.single-post .post-header .category-link {
    display: inline-block;
    background: var(--color-accent-light);
    color: var(--color-accent);
    padding: 4px 14px;
    border-radius: var(--radius-xl);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.single-post .post-title {
    font-size: 2.4rem;
    line-height: 1.25;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.post-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    font-size: 0.88rem;
    color: var(--color-text-light);
}

.post-meta-bar .author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--color-primary);
}

.single-post .featured-image {
    width: 100%;
    border-radius: var(--radius-lg);
    margin: 28px 0;
    box-shadow: var(--shadow-md);
}

/* İçerik Stilleri */
.post-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--color-text);
}

.post-content h2 {
    font-size: 1.6rem;
    margin: 40px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-accent-light);
}

.post-content h3 {
    font-size: 1.3rem;
    margin: 32px 0 12px;
}

.post-content p { margin-bottom: 18px; }

.post-content a {
    color: var(--color-accent);
    font-weight: 500;
    border-bottom: 1px solid rgba(233,69,96,0.3);
}
.post-content a:hover {
    border-bottom-color: var(--color-accent);
}

.post-content blockquote {
    border-left: 4px solid var(--color-accent);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--color-bg-dark);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--color-text-light);
}

.post-content ul, .post-content ol {
    padding-left: 24px;
    margin-bottom: 18px;
}

.post-content li { margin-bottom: 6px; }

.post-content pre {
    background: var(--color-primary);
    color: #e0e0e0;
    padding: 20px;
    border-radius: var(--radius-md);
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 0.88rem;
    margin: 24px 0;
}

.post-content code {
    background: var(--color-bg-dark);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.9em;
}

.post-content pre code {
    background: transparent;
    padding: 0;
}

.post-content img {
    border-radius: var(--radius-md);
    margin: 20px 0;
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.92rem;
}

.post-content table th,
.post-content table td {
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    text-align: left;
}
.post-content table th {
    background: var(--color-bg-dark);
    font-weight: 600;
}

/* Etiketler */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 32px 0;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.post-tags a {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
    padding: 6px 16px;
    border-radius: var(--radius-xl);
    font-size: 0.82rem;
    font-weight: 500;
    transition: var(--transition);
}
.post-tags a:hover {
    background: var(--color-accent);
    color: #fff;
}

/* İlgili Yazılar */
.related-posts {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid var(--color-border);
}

.related-posts h3 {
    font-size: 1.4rem;
    margin-bottom: 24px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.related-grid .post-card { margin-bottom: 0; }
.related-grid .post-card h2 { font-size: 1.05rem; }

/* === Sidebar === */
.sidebar { position: sticky; top: 90px; align-self: start; }

.sidebar-widget {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar-widget h3 {
    font-size: 1.05rem;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-accent);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Kategori Widget */
.category-list { list-style: none; }
.category-list li {
    border-bottom: 1px solid var(--color-border-light);
}
.category-list li:last-child { border-bottom: none; }
.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    color: var(--color-text);
    font-size: 0.92rem;
    transition: var(--transition);
}
.category-list a:hover { color: var(--color-accent); padding-left: 8px; }
.category-list .count {
    background: var(--color-bg-dark);
    color: var(--color-text-muted);
    padding: 2px 10px;
    border-radius: var(--radius-xl);
    font-size: 0.78rem;
    font-weight: 600;
}

/* Popüler Yazılar Widget */
.popular-item {
    display: flex;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border-light);
}
.popular-item:last-child { border-bottom: none; }
.popular-item .thumb {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}
.popular-item h4 {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 4px;
}
.popular-item h4 a { color: var(--color-primary); }
.popular-item h4 a:hover { color: var(--color-accent); }
.popular-item .date {
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

/* Etiket Bulutu */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tag-cloud a {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
    padding: 5px 14px;
    border-radius: var(--radius-xl);
    font-size: 0.82rem;
    transition: var(--transition);
}
.tag-cloud a:hover {
    background: var(--color-accent);
    color: #fff;
    transform: translateY(-1px);
}

/* === Sayfalama === */
.pagination { margin: 40px 0; text-align: center; }
.pagination ul {
    display: inline-flex;
    gap: 6px;
    list-style: none;
}
.pagination a, .pagination .current {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}
.pagination a {
    background: var(--color-bg-alt);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}
.pagination a:hover {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}
.pagination .current {
    background: var(--color-accent);
    color: #fff;
}
.pagination .dots { color: var(--color-text-muted); padding: 0 5px; }

/* === Yorumlar === */
.comments-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid var(--color-border);
}

.comments-section h3 { font-size: 1.3rem; margin-bottom: 28px; }

.comment {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border-light);
}

.comment .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--color-accent);
    flex-shrink: 0;
    font-size: 1.1rem;
}

.comment-body { flex: 1; min-width: 0; }
.comment-author { font-weight: 600; color: var(--color-primary); }
.comment-date { font-size: 0.8rem; color: var(--color-text-muted); margin-left: 12px; }
.comment-text { margin-top: 8px; font-size: 0.94rem; line-height: 1.7; color: var(--color-text-light); }

.comment-reply { margin-left: 56px; }

.comment-reply-btn {
    margin-top: 8px;
    background: none;
    border: none;
    color: var(--color-accent);
    font-size: 0.82rem;
    cursor: pointer;
    font-weight: 600;
}

/* Yorum Formu */
.comment-form {
    background: var(--color-bg-dark);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-top: 28px;
}

.comment-form h4 { margin-bottom: 20px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }

.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 6px;
    color: var(--color-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 0.94rem;
    font-family: var(--font-body);
    transition: var(--transition);
    background: var(--color-bg-alt);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(233,69,96,0.1);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.94rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-body);
    transition: var(--transition);
}

.btn-primary {
    background: var(--color-accent);
    color: #fff;
}
.btn-primary:hover { background: var(--color-accent-hover); transform: translateY(-1px); }

.btn-secondary {
    background: var(--color-bg-dark);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}
.btn-secondary:hover { background: var(--color-border); }

.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* === Alt Bilgi (Footer) === */
.site-footer {
    background: var(--color-primary);
    color: rgba(255,255,255,0.75);
    padding: 60px 0 0;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-about h3,
.footer-col h4 {
    color: #fff;
    margin-bottom: 16px;
    font-family: var(--font-display);
}

.footer-about p {
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-col a:hover { color: #fff; padding-left: 5px; }

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* === Breadcrumb === */
.breadcrumb {
    padding: 16px 0;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.breadcrumb a { color: var(--color-text-light); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb span { margin: 0 8px; color: var(--color-border); }

/* === Bildirim Mesajları === */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-warning { background: #fff3cd; color: #856404; border: 1px solid #ffeeba; }
.alert-info { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

/* === 404 Sayfası === */
.error-page {
    text-align: center;
    padding: 80px 20px;
}
.error-page h1 {
    font-size: 6rem;
    color: var(--color-accent);
    margin-bottom: 16px;
}
.error-page h2 { margin-bottom: 16px; }
.error-page p { color: var(--color-text-light); margin-bottom: 30px; }

/* === Arama Sonuçları === */
.search-header {
    padding: 40px 0 20px;
}
.search-header h1 { font-size: 1.8rem; margin-bottom: 8px; }
.search-header p { color: var(--color-text-light); }

/* === Responsive === */
@media (max-width: 1024px) {
    .main-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .sidebar { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    html { font-size: 15px; }

    .mobile-toggle { display: block; }
    .main-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--color-primary);
        flex-direction: column;
        padding: 16px;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    .main-nav.active { display: flex; }
    .main-nav a { padding: 12px 16px; width: 100%; }

    .header-search { display: none; }
    
    .hero { padding: 50px 20px; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .hero-search { flex-direction: column; }
    .hero-search input, .hero-search button { width: 100%; }

    .single-post .post-title { font-size: 1.8rem; }
    .post-meta-bar { gap: 12px; font-size: 0.82rem; }

    .form-row { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: 30px; }

    .container { padding: 0 16px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.6rem; }
    .post-card-body { padding: 18px; }
    .post-card h2 { font-size: 1.15rem; }
    .sidebar-widget { padding: 18px; }
}

/* === Animasyonlar === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.post-card { animation: fadeInUp 0.5s ease forwards; }
.post-card:nth-child(2) { animation-delay: 0.1s; }
.post-card:nth-child(3) { animation-delay: 0.2s; }
.post-card:nth-child(4) { animation-delay: 0.3s; }

/* Placeholder image */
.placeholder-img {
    background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-border) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 2rem;
    aspect-ratio: 16/9;
}

/* Scroll to top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 999;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--color-accent-hover); transform: translateY(-3px); }