/* Blog Sayfası Özel Stiller */

/* Blog Hero */
.blog-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 4rem 0 3rem;
    border-bottom: 1px solid #e5e7eb;
}

.blog-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.blog-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.blog-hero p {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.7;
}

/* Blog Grid */
.blog-section {
    padding: 5rem 0;
    background: #ffffff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Blog Card */
.blog-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: #2563eb;
}

.blog-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.blog-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.blog-card-placeholder i {
    font-size: 3rem;
    color: #94a3b8;
}

.blog-card-content {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.8125rem;
    color: #64748b;
}

.blog-card-meta i {
    font-size: 1rem;
}

.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.blog-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card h3 a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-card h3 a:hover {
    color: #2563eb;
}

.blog-card-excerpt {
    color: #64748b;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2563eb;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: gap 0.2s;
}

.blog-read-more:hover {
    gap: 0.75rem;
}

.blog-views {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: #94a3b8;
    font-size: 0.875rem;
}

/* Sayfalama */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination-btn {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #64748b;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    padding: 0 1rem;
}

.pagination-btn:hover {
    background: #f8fafc;
    border-color: #2563eb;
    color: #2563eb;
}

.pagination-btn.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Tekil Makale Sayfası */
.article-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 3rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.article-header {
    max-width: 900px;
    margin: 0 auto;
}

.article-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: #64748b;
}

.article-breadcrumb a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.article-breadcrumb a:hover {
    color: #2563eb;
}

.article-breadcrumb i {
    font-size: 0.75rem;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    color: #64748b;
    font-size: 0.9375rem;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-meta-item i {
    font-size: 1.125rem;
}

.article-content-section {
    padding: 4rem 0;
    background: #ffffff;
}

.article-container {
    max-width: 900px;
    margin: 0 auto;
}

.article-featured-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 3rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.article-content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #1e293b;
}

.article-content h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #0f172a;
    margin: 2.5rem 0 1.25rem;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 2rem 0 1rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.75rem;
}

.article-content a {
    color: #2563eb;
    text-decoration: underline;
}

.article-content a:hover {
    color: #1d4ed8;
}

.article-content blockquote {
    border-left: 4px solid #2563eb;
    background: #f8fafc;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

.article-content code {
    background: #f1f5f9;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.article-content pre {
    background: #1e293b;
    color: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
}

.article-content pre code {
    background: none;
    padding: 0;
    color: #ffffff;
}

/* İlgili Makaleler */
.related-posts {
    padding: 4rem 0;
    background: #f8fafc;
}

.related-posts-header {
    text-align: center;
    margin-bottom: 3rem;
}

.related-posts-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.related-posts-header p {
    color: #64748b;
    font-size: 1.0625rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Mobil Responsive */
@media (max-width: 1024px) {
    .blog-grid,
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2rem;
    }

    .blog-grid,
    .related-posts-grid {
        grid-template-columns: 1fr;
    }

    .article-title {
        font-size: 1.875rem;
    }

    .article-meta {
        gap: 1rem;
    }

    .article-content {
        font-size: 1rem;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }

    .article-content h3 {
        font-size: 1.25rem;
    }
}

/* Yükleniyor Animasyonu */
.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f1f5f9;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Boş Durum */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state i {
    font-size: 4rem;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 0.75rem;
}

.empty-state p {
    color: #94a3b8;
    font-size: 1rem;
}
