/* ==================================================================
   YENİ BLOG TASARIMI: MİNİMAL, SOFT VE DİNAMİK
   ================================================================== */

/* Hero Alanı */
.blog-hero-section {
    background-color: var(--bg-dark);
    text-align: center;
    padding: 4rem 1rem;
    border-bottom: 1px solid var(--border-color);
}
.blog-hero-section h1 {
    font-family: 'Russo One', sans-serif;
    color: var(--text-light);
}
.blog-hero-section p {
    color: var(--text-dark);
    max-width: 600px;
    margin: 1rem auto 0 auto;
}

/* Filtreleme ve Arama Alanı */
#blog-filters {
    background-color: var(--bg-light); /* YENİ: Arka plan rengi eklendi */
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 1rem;
    position: sticky; /* YENİ: Yapışkan özellik */
    top: 1.5rem;      /* YENİ: Üstten boşluk */
    z-index: 10;      /* YENİ: Diğer elementlerin üstünde kalması için */
    backdrop-filter: blur(8px); /* YENİ: Hafif bulanık arka plan efekti */
    background-color: rgba(var(--bg-light-rgb), 0.8); /* YENİ: Hafif transparan arka plan */
}

#category-filter-buttons .btn { /* YENİ: Butonlara geçiş efekti */
    transition: all 0.3s ease;
}

#category-filter-buttons .btn.active {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.3);
}

/* Blog Kartı - Minimalist Tasarım */
.blog-card {
    background-color: var(--bg-light);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.5s ease-out forwards;
}

/* GÜNCELLENDİ: Daha belirgin hover efekti */
.blog-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.2);
}

.blog-card__image-wrapper {
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    position: relative;
    overflow: hidden;
}

.blog-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card__content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card__category {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.blog-card__title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    line-height: 1.3;
    margin-bottom: auto; 
    padding-bottom: 1rem;
}

.blog-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-dark);
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}
.blog-card__meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* YENİ: Skeleton (İskelet) Yükleyici Stilleri */
.skeleton-card {
    background-color: var(--bg-light);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    padding: 1.5rem;
}
.skeleton-image {
    background-color: var(--bg-dark);
    height: 150px;
    border-radius: 0.5rem;
    animation: pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.skeleton-line {
    background-color: var(--bg-dark);
    height: 1rem;
    margin-top: 1rem;
    border-radius: 0.25rem;
    animation: pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.skeleton-line.short {
    width: 60%;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: .5;
  }
}

/* Animasyon */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}