/* ========================================
   BLOG SAYFASI ÖZEL STİLLERİ
   Tüm sınıflar "blog-" öneki ile başlar
   ======================================== */

/* Blog Breadcrumb */
.blog-breadcrumb {
    background-color: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.blog-breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.blog-breadcrumb-list a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-breadcrumb-list a:hover {
    color: #dc3545;
}

.blog-breadcrumb-list span {
    color: #6c757d;
}

.blog-breadcrumb-list .active {
    color: #333;
    font-weight: 500;
}

/* Blog Hero Section */
.blog-hero {
    background: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.blog-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.blog-hero p {
    font-size: 20px;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Ana İçerik */
.blog-main-content {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.blog-content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

/* Blog Sol Kolon */
.blog-posts-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Öne Çıkan Yazı */
.blog-featured-post {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.blog-featured-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

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

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

.blog-featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #ffc107;
    color: #333;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
}

.blog-featured-content {
    padding: 35px;
}

.blog-featured-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #6c757d;
}

.blog-featured-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-featured-meta i {
    color: #dc3545;
}

.blog-featured-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-featured-excerpt {
    font-size: 16px;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 20px;
}

.blog-btn-read-more {
    background: linear-gradient(135deg, #dc3545, #ff6b6b);
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.blog-btn-read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
    color: white;
}

/* Blog Grid */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.blog-post-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    cursor: pointer;
}

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

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

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

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

.blog-post-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.blog-post-content {
    padding: 25px;
}

.blog-post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #6c757d;
}

.blog-post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-post-title {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-post-excerpt {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 15px;
}

.blog-post-author {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid #e8ecef;
}

.blog-author-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
}

.blog-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-author-info {
    flex: 1;
}

.blog-author-name {
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
}

.blog-post-date {
    font-size: 12px;
    color: #6c757d;
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 90px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Blog Widget Genel */
.blog-widget {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.blog-widget-title {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.blog-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #dc3545, #ff6b6b);
    border-radius: 2px;
}

/* Arama Widget */
.blog-search-form {
    display: flex;
    gap: 10px;
}

.blog-search-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e8ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
}

.blog-search-input:focus {
    outline: none;
    border-color: #dc3545;
}

.blog-search-button {
    background: #dc3545;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.blog-search-button:hover {
    background: #c82333;
}

/* Kategoriler Widget */
.blog-category-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: #4a5568;
}

.blog-category-item:hover {
    background: #e8f4fd;
    transform: translateX(5px);
    color: #0056b3;
}

.blog-category-name {
    font-size: 14px;
    font-weight: 500;
}

.blog-category-count {
    background: #dc3545;
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

/* Popüler Yazılar Widget */
.blog-popular-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.blog-popular-post {
    display: flex;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

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

.blog-popular-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.blog-popular-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-popular-content {
    flex: 1;
}

.blog-popular-title {
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 5px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-popular-date {
    font-size: 12px;
    color: #6c757d;
}

/* Etiket Bulutu Widget */
.blog-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-tag-item {
    background: #e8f4fd;
    color: #0056b3;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s;
}

.blog-tag-item:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-2px);
}

/* Newsletter Widget */
.blog-newsletter-widget {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    text-align: center;
}

.blog-newsletter-widget h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: white;
}

.blog-newsletter-widget p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.blog-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.blog-newsletter-input {
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
}

.blog-newsletter-button {
    background: #dc3545;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.blog-newsletter-button:hover {
    background: #c82333;
}

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

.blog-page-link,
.blog-page-active {
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.blog-page-link {
    background: white;
    color: #6c757d;
    border: 2px solid #e8ecef;
}

.blog-page-link:hover {
    border-color: #dc3545;
    color: #dc3545;
}

.blog-page-active {
    background: #dc3545;
    color: white;
    border: 2px solid #dc3545;
}

/* Responsive Tasarım */
@media (max-width: 1024px) {
    .blog-content-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar {
        position: static;
        margin-top: 40px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .blog-newsletter-widget {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 32px;
    }
    
    .blog-hero p {
        font-size: 16px;
    }
    
    .blog-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar {
        grid-template-columns: 1fr;
    }
    
    .blog-featured-image {
        height: 250px;
    }
    
    .blog-featured-title {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .blog-hero h1 {
        font-size: 26px;
    }
    
    .blog-featured-content {
        padding: 25px;
    }
    
    .blog-post-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .blog-search-form {
        flex-direction: column;
    }
    
    .blog-popular-post {
        flex-direction: column;
        text-align: center;
    }
    
    .blog-popular-image {
        width: 100%;
        height: 150px;
    }
    
    .blog-featured-meta {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .blog-pagination {
        flex-wrap: wrap;
    }
}