/* =========================================================================
   BLOG ANA SAYFASI (blog.php) STİLLERİ
   ========================================================================= */

body {
    background-color: #f8fafc;
}

.blog-main-container {
    padding-bottom: 80px;
}

.blog-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    padding: 80px 0;
    margin-bottom: 50px;
}

.blog-hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.blog-hero-title .highlight {
    color: var(--primary-color);
}

.blog-hero-subtitle {
    font-size: 20px;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

.category-badge {
    display: inline-block;
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.absolute-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Featured Post Card */
.featured-post-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    margin-bottom: 60px;
    transition: transform 0.3s ease;
    border: 1px solid #f1f5f9;
}

.featured-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}

.featured-post-img-link {
    display: block;
    height: 100%;
    overflow: hidden;
}

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

.featured-post-card:hover .featured-img {
    transform: scale(1.03);
}

.featured-post-content {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}

.post-title-link {
    text-decoration: none;
    color: #0f172a;
}

.post-title-link h2 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 15px;
    transition: color 0.2s;
}

.post-title-link:hover h2 {
    color: var(--primary-color);
}

.post-excerpt {
    font-size: 16px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 30px;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.author-avatar {
    font-size: 40px;
    color: #cbd5e1;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    font-size: 15px;
    color: #1e293b;
}

.author-info span {
    font-size: 13px;
    color: #64748b;
}

/* Standard Posts Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.standard-post-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.04);
    border: 1px solid #f1f5f9;
    transition: transform 0.3s ease;
}

.standard-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.standard-img-link {
    display: block;
    height: 220px;
    position: relative;
    overflow: hidden;
}

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

.standard-post-card:hover .standard-img-link img {
    transform: scale(1.05);
}

.standard-post-body {
    padding: 25px;
}

.standard-post-body h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.post-excerpt-small {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Newsletter Section */
.newsletter-section {
    margin-top: 80px;
}

.newsletter-box {
    background: #e0e7ff;
    border-radius: 24px;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.newsletter-content h2 {
    font-size: 28px;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 10px;
}

.newsletter-content p {
    color: #3730a3;
    font-size: 16px;
    margin: 0;
}

.newsletter-form {
    display: flex;
    width: 100%;
    max-width: 450px;
    gap: 10px;
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border-radius: 12px;
    border: none;
    outline: none;
    font-size: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.newsletter-btn {
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 700;
}

/* =========================================================================
   BLOG DETAY (blog-detay.php) STİLLERİ
   ========================================================================= */

.article-main-container {
    background: #fff;
    padding-bottom: 100px;
}

.article-header {
    padding: 80px 0 50px 0;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
}

.article-title {
    font-size: 46px;
    font-weight: 900;
    line-height: 1.2;
    color: #0f172a;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.article-meta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.article-meta-row .author-avatar {
    font-size: 48px;
    color: var(--primary-color);
}

.meta-info {
    text-align: left;
}

.meta-info strong {
    display: block;
    font-size: 16px;
    color: #1e293b;
    margin-bottom: 3px;
}

.meta-date {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #64748b;
}

.article-img-container {
    max-width: 1000px;
    margin: 0 auto 50px auto;
}

.article-featured-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.article-content {
    font-size: 18px;
    line-height: 1.8;
    color: #334155;
    font-family: 'Georgia', serif;
}

.article-lead {
    font-size: 24px;
    font-weight: 300;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 40px;
    font-family: 'Inter', sans-serif;
}

.article-body h2, .article-body h3 {
    font-family: 'Inter', sans-serif;
    color: #0f172a;
    font-weight: 800;
    margin-top: 40px;
    margin-bottom: 20px;
}

.article-body p {
    margin-bottom: 25px;
}

.article-body blockquote {
    font-size: 24px;
    font-style: italic;
    color: var(--primary-color);
    border-left: 5px solid var(--primary-color);
    padding: 20px 0 20px 30px;
    margin: 40px 0;
    background: #f8fafc;
    border-radius: 0 12px 12px 0;
}

.article-body strong {
    color: #0f172a;
}

/* Article CTA Box */
.article-cta-box {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
}

.article-cta-box h3 {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}

.article-cta-box p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #64748b;
    margin-bottom: 20px;
}

.cta-btn {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
}

/* Share Buttons */
.article-share {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
    font-family: 'Inter', sans-serif;
}

.share-text {
    font-size: 16px;
    font-weight: 700;
    color: #64748b;
    margin-right: 10px;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: transform 0.2s;
    text-decoration: none;
}

.share-btn:hover {
    transform: translateY(-3px);
    color: #fff;
}

.share-btn.facebook { background: #3b5998; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.whatsapp { background: #25d366; }


/* Responsive Design */
@media (max-width: 991px) {
    .featured-post-card {
        grid-template-columns: 1fr;
    }
    .featured-img {
        height: 300px;
    }
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .newsletter-box {
        flex-direction: column;
        text-align: center;
    }
    .article-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .blog-hero-title {
        font-size: 32px;
    }
    .featured-post-content {
        padding: 30px 20px;
    }
    .post-title-link h2 {
        font-size: 24px;
    }
    .article-title {
        font-size: 28px;
    }
    .article-featured-img {
        height: 300px;
        border-radius: 12px;
    }
    .article-lead {
        font-size: 18px;
    }
    .article-body {
        font-size: 16px;
    }
}
