/* Blog Styles */
:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #0f1424;
    --bg-card: #151a2d;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent: #6366f1;
    --accent-hover: #818cf8;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --radius-lg: 12px;
    --radius-xl: 16px;
}

/* Base Styles - Blog Page Only */
.blog-page {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.8;
    min-height: 100vh;
}

.blog-page *,
.blog-page *::before,
.blog-page *::after {
    box-sizing: border-box;
}

/* Blog content links - header'ı etkilemez */
.blog-hero a,
.blog-grid a,
.blog-detail a,
.blog-card a,
.blog-cta a,
.blog-footer a,
.container a {
    color: var(--accent);
    text-decoration: none;
}

.blog-hero a:hover,
.blog-grid a:hover,
.blog-detail a:hover,
.blog-card a:hover,
.container a:hover {
    color: var(--accent-hover);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Blog List */
.blog-hero {
    text-align: center;
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.blog-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.blog-hero p {
    color: var(--text-secondary);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.3s;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--bg-secondary);
}

.blog-card-image.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 3rem;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.blog-card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card h2 a {
    color: var(--text-primary);
}

.blog-card h2 a:hover {
    color: var(--accent);
}

.blog-card-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-card-link {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Blog Detail */
.blog-detail {
    max-width: 800px;
    margin: 0 auto;
    padding: 6rem 2rem 3rem;
}

.blog-detail-header {
    margin-bottom: 2rem;
}

.blog-detail-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.blog-detail h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.blog-detail-cover {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    margin-bottom: 2rem;
}

.blog-detail-content {
    font-size: 1.1rem;
    line-height: 1.9;
}

.blog-detail-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    color: var(--text-primary);
}

.blog-detail-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--text-primary);
}

.blog-detail-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.blog-detail-content ul,
.blog-detail-content ol {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.blog-detail-content li {
    margin-bottom: 0.5rem;
}

.blog-detail-content blockquote {
    border-left: 4px solid var(--accent);
    padding-left: 1.5rem;
    margin: 2rem 0;
    color: var(--text-secondary);
    font-style: italic;
}

.blog-detail-content code {
    background: var(--bg-secondary);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9em;
}

.blog-detail-content pre {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.blog-detail-content pre code {
    background: none;
    padding: 0;
}

.blog-detail-content img {
    max-width: 100%;
    border-radius: var(--radius-lg);
    margin: 1.5rem 0;
}

.blog-detail-content a {
    color: var(--accent);
    text-decoration: underline;
}

/* Author Box */
.author-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    margin-top: 3rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Related Posts */
.related-posts {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-subtle);
}

.related-posts h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* CTA Section */
.blog-cta {
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
    margin-top: 4rem;
}

.blog-cta h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.blog-cta p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.blog-cta .btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: white;
    color: var(--accent) !important;
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.blog-cta .btn:hover {
    background: var(--text-primary);
}

/* Footer */
.blog-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.blog-footer a {
    color: var(--text-secondary);
    margin: 0 0.5rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.empty-state p {
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-detail h1 {
        font-size: 1.75rem;
    }
}

