/* Blog Sayfası - Tailwind CSS ile Uyumlu Custom Stiller */

/* CSS Değişkenleri - Tailwind ile uyumlu */
:root {
    --primary-color: #e91e63;
    --primary-dark: #c2185b;
}

/* Banner arkaplan resmi */
.page-banner {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), 
                      url('https://images.unsplash.com/photo-1556906781-9a412961c28c?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Blog grid - Tailwind grid sınıflarını desteklemek için */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

/* Blog kartları için hover efektleri */
.blog-card {
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Blog resim hover efekti */
.blog-image {
    overflow: hidden;
}

.blog-image img {
    transition: transform 0.6s ease;
}

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

/* Kategori etiketi için gradient */
.blog-image .category {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    backdrop-filter: blur(10px);
}

/* Read more link hover efekti */
.read-more {
    transition: all 0.3s ease;
}

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

.read-more:hover i {
    transform: translateX(4px);
}

.read-more i {
    transition: transform 0.3s ease;
}

/* Pagination stilleri artık Tailwind CSS ile hallediliyor */

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    .page-banner {
        background-attachment: scroll;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .blog-grid {
        gap: 1rem;
    }
}
