/* Blog Genel Stilleri */
.blog-main {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Blog Header */
.blog-header {
    text-align: center;
    padding: 80px 0 60px;
    background: white;
    margin-bottom: 40px;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.blog-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-header p {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Layout */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    margin-bottom: 60px;
}

/* Öne Çıkan Yazılar */
.featured-section {
    margin-bottom: 60px;
}

.featured-section h2 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.featured-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.featured-post {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
}

.featured-post:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.featured-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 1;
}

/* Yazı Kartları */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.post-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.post-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.08);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255,107,53,0.3);
}

.post-content {
    padding: 25px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.category-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.category-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.post-date, .post-views {
    font-size: 13px;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-date::before {
    content: '📅';
    font-size: 12px;
}

.post-views::before {
    content: '👁';
    font-size: 12px;
}

.post-content h3 {
    margin: 0 0 15px 0;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4;
}

.post-content h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-content h3 a:hover {
    color: #667eea;
}

.post-content p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
    font-size: 15px;
}

/* Tekil Yazı Sayfası */
.blog-post-single {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin-bottom: 60px;
}

.post-header {
    text-align: center;
    padding: 80px 40px 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
}

.post-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: white;
    border-radius: 30px 30px 0 0;
}

.post-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 20px 0;
    line-height: 1.3;
}

.post-excerpt {
    font-size: 1.3rem;
    margin: 20px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.post-featured-image {
    margin: 40px 0 0 0;
    border-radius: 15px;
    overflow: hidden;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.single-post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2c3e50;
}

.single-post-content h2, 
.single-post-content h3, 
.single-post-content h4 {
    margin: 40px 0 20px 0;
    color: #2c3e50;
    font-weight: 600;
}

.single-post-content h2 {
    font-size: 2rem;
    border-left: 4px solid #667eea;
    padding-left: 20px;
}

.single-post-content h3 {
    font-size: 1.6rem;
}

.single-post-content h4 {
    font-size: 1.3rem;
}

.single-post-content p {
    margin-bottom: 20px;
}

.single-post-content blockquote {
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 10px 10px 0;
    font-style: italic;
}

.single-post-content code {
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #e83e8c;
}

.single-post-content pre {
    background: #2d3748;
    color: #e2e8f0;
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 20px 0;
}

.post-footer {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    border-top: 2px solid #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.post-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #495057;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.tag:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

.post-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.post-share span {
    font-weight: 600;
    color: #495057;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.share-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.share-btn.twitter { 
    background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%); 
}

.share-btn.facebook { 
    background: linear-gradient(135deg, #4267b2 0%, #365899 100%); 
}

.share-btn.linkedin { 
    background: linear-gradient(135deg, #0077b5 0%, #005885 100%); 
}

/* İlgili Yazılar */
.related-posts {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    margin-top: 60px;
}

.related-posts h3 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 50px;
    position: relative;
}

.related-posts h3::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.2);
}

.sidebar-widget h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #667eea;
    position: relative;
}

.sidebar-widget h4::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 30px;
    height: 3px;
    background: #764ba2;
    border-radius: 2px;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 10px;
}

.category-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 10px;
    text-decoration: none;
    color: #495057;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.category-link:hover, .category-link.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(102,126,234,0.3);
}

.category-color {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recent-post {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.recent-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-post:hover {
    transform: translateX(5px);
}

.recent-image {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

.recent-post:hover .recent-image img {
    transform: scale(1.1);
}

.recent-content h5 {
    margin: 0 0 8px 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.recent-content h5 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-content h5 a:hover {
    color: #667eea;
}

.recent-date {
    font-size: 12px;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 5px;
}

.recent-date::before {
    content: '📅';
    font-size: 10px;
}

/* Sayfalama */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 60px;
}

.pagination a, .pagination .current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pagination a {
    background: white;
    color: #495057;
    border-color: #dee2e6;
}

.pagination a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102,126,234,0.3);
}

.pagination .current {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(102,126,234,0.3);
}

/* Boş Durum */
.empty-state {
    text-align: center;
    padding: 100px 20px;
    color: #6c757d;
    border-radius: 15px;
}

.empty-state h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #495057;
}

/* Responsive Tasarım */
@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .blog-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .blog-header {
        padding: 60px 20px 40px;
    }
    
    .blog-header h1 {
        font-size: 2.2rem;
    }
    
    .posts-grid, .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .post-title {
        font-size: 2.2rem;
    }
    
    .post-header {
        padding: 60px 20px 40px;
    }
    
    .single-post-content {
        padding: 40px 20px;
    }
    
    .post-footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 20px;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .pagination a, .pagination .current {
        min-width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .sidebar-widget {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .blog-header h1 {
        font-size: 1.8rem;
    }
    
    .post-title {
        font-size: 1.8rem;
    }
    
    .post-content {
        padding: 20px;
    }
    
    .single-post-content {
        padding: 30px 15px;
        font-size: 1rem;
    }
    
    .featured-section h2, .related-posts h3 {
        font-size: 1.8rem;
    }
}