/* ==========================================================================
   BLOG SAYFASI ÖZEL STİLLERİ (blog.css)
   ========================================================================== */

/* 1. Header Alanı - Anasayfa ile uyumlu Gradyan */
.blog-header {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #101827 0%, #006687 50%, #2DB84D 100%);
    overflow: hidden;
    color: #ffffff;
    text-align: center;
}

.blog-header-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.blog-header-text {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 850px;
    margin: 0 auto;
    opacity: 0.85;
}

/* 2. Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 32px;
    padding: 60px 0;
}

@media (min-width: 768px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

/* 3. Blog Kartı */
.blog-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Görsel Alanı */
.blog-card-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.08);
}

.blog-card-date {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #0f172a;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Kart İçeriği */
.blog-card-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
    line-height: 1.4;
    transition: color 0.3s ease;
    /* Başlık 2 satırla sınırlı */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.5rem;
}

.blog-card:hover .blog-card-title {
    color: #007AFF;
}

.blog-card-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #007AFF;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.blog-card-link:hover {
    gap: 12px;
}
