/* Modern Blog Styles */
.blog-posts {
    margin: 2rem 0;
}

.blog-post {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 2.5rem;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-post:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

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

.post-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 160px;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.2) 100%);
    pointer-events: none;
}

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

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

.post-content {
    padding: 2rem;
}

.post-title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1.25rem;
}

.post-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
    background: linear-gradient(to right, #3498db, #3498db);
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: left bottom;
    padding-bottom: 2px;
}

.post-title a:hover {
    color: #3498db;
    background-size: 100% 2px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    color: #666;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-meta i {
    color: #3498db;
    font-size: 1.1rem;
}

.post-meta a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-meta a:hover {
    color: #3498db;
}

.post-excerpt {
    color: #555;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.post-footer {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.post-footer .btn {
    padding: 0.75rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.post-footer .btn-primary {
    background: #3498db;
    border: none;
}

.post-footer .btn-primary:hover {
    background: #2980b9;
    transform: translateX(8px);
}

/* Blog Detail Page */
.blog-post-detail {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 2rem;
}

.blog-post-detail .post-content {
    padding: 2rem;
}

.blog-post-detail .post-image {
    max-height: 500px;
}

/* Sidebar Styles */
.blog-sidebar {
    background: linear-gradient(to bottom right, #ffffff, #f8f9fa);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 2rem;
    margin-bottom: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-sidebar:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.sidebar-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.75rem;
    color: #2c3e50;
    position: relative;
    padding-bottom: 0.75rem;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #3498db, #2980b9);
    border-radius: 3px;
}

.categories-list {
    list-style: none;
    padding: 0;
}

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

.categories-list a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.categories-list a:hover {
    color: #2980b9;
}

.popular-posts .post-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.popular-posts .post-item:hover {
    transform: translateX(8px);
}

.popular-posts .post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.popular-posts .post-image {
    flex: 0 0 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.popular-posts .post-item:hover .post-image {
    transform: scale(1.05);
}

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

.popular-posts .post-info {
    flex: 1;
    padding-top: 0.25rem;
}

.popular-posts .post-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.popular-posts .post-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-posts .post-title a:hover {
    color: #3498db;
}

.popular-posts .post-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.75rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-posts .post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: #888;
}

.popular-posts .post-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.popular-posts .post-meta i {
    color: #3498db;
    font-size: 0.95rem;
}

/* Tag Cloud */
.post-tags {
    margin-top: 30px;
}

.post-tags h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: #333;
}

.tag-link {
    display: inline-block;
    padding: 5px 12px;
    background: #f8f9fa;
    color: #666;
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s;
}

.tag-link:hover {
    background: #e67e22;
    color: #fff;
}

.tag-count {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Pagination */
.blog-pagination {
    margin-top: 2rem;
}

.pagination {
    gap: 0.5rem;
}

.pagination .page-item .page-link {
    border-radius: 8px;
    color: #666;
    transition: all 0.3s ease;
}

.pagination .page-item.active .page-link {
    background: #3498db;
    border-color: #3498db;
}

.pagination .page-item .page-link:hover {
    background: #3498db;
    color: #fff;
    border-color: #3498db;
}

/* Comments Section */
.comments-section {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-top: 3rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comment {
    display: flex;
    gap: 1.25rem;
    padding: 1rem;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    transition: background 0.3s;
}

.comment:hover {
    background: #f9f9f9;
}

.comment-avatar {
    flex-shrink: 0;
}

.avatar-circle {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.comment-author {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.comment-date {
    font-size: 0.9rem;
    color: #95a5a6;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comment-date i {
    font-size: 0.9rem;
}

.comment-body {
    color: #34495e;
    line-height: 1.6;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .post-content {
        padding: 1.5rem;
    }
    
    .post-title {
        font-size: 1.5rem;
    }
    
    .post-meta {
        font-size: 0.9rem;
        gap: 1rem;
    }
    
    .post-excerpt {
        font-size: 1rem;
    }
    
    .blog-sidebar {
        padding: 1.5rem;
    }

    .popular-posts .post-item {
        gap: 1rem;
    }

    .popular-posts .post-image {
        flex: 0 0 100px;
        height: 100px;
    }

    .popular-posts .post-title {
        font-size: 1rem;
    }

    .popular-posts .post-description {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 576px) {
    .comments-section {
        padding: 1.5rem;
    }

    .comment {
        flex-direction: column;
        gap: 1rem;
    }

    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Kategori Başlık Stili */
.category-header {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(to right, #f8f9fa, #ffffff, #f8f9fa);
    border-radius: 15px;
    margin-bottom: 3rem;
}

.category-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.category-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #3498db, #2980b9);
    border-radius: 3px;
}

.category-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 1.5rem auto 0;
    line-height: 1.8;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .category-header {
        padding: 2rem 1rem;
    }

    .category-title {
        font-size: 2rem;
    }

    .category-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 576px) {
    .category-title {
        font-size: 1.75rem;
    }
}

/* Etiket Başlık Stili */
.tag-header {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(to right, #f8f9fa, #ffffff, #f8f9fa);
    border-radius: 15px;
    margin-bottom: 3rem;
}

.tag-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.tag-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #3498db, #2980b9);
    border-radius: 3px;
}

.tag-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 1.5rem auto 0;
    line-height: 1.8;
}

/* Blog Post Kartları */
.blog-post {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 2.5rem;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-post:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .tag-header {
        padding: 2rem 1rem;
    }

    .tag-title {
        font-size: 2rem;
    }

    .tag-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 576px) {
    .tag-title {
        font-size: 1.75rem;
    }
}

/* Arama Başlık Stili */
.search-header {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(to right, #f8f9fa, #ffffff, #f8f9fa);
    border-radius: 15px;
    margin-bottom: 3rem;
}

.search-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.search-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #3498db, #2980b9);
    border-radius: 3px;
}

.search-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 1.5rem auto 0;
    line-height: 1.8;
}

/* Blog Post Kartları */
.blog-post {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 2.5rem;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-post:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .search-header {
        padding: 2rem 1rem;
    }

    .search-title {
        font-size: 2rem;
    }

    .search-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 576px) {
    .search-title {
        font-size: 1.75rem;
    }
}

/* Arama Formu Stili */
.search-widget {
    margin-bottom: 2rem;
}

.search-widget .input-group {
    display: flex;
}

.search-widget .form-control {
    border-radius: 25px 0 0 25px;
    border: 1px solid #ccc;
}

.search-widget .btn {
    border-radius: 0 25px 25px 0;
    background: #3498db;
    border: none;
    transition: background 0.3s;
}

.search-widget .btn:hover {
    background: #2980b9;
}
