/* ========== ARTICLES SAYFASI - ÖZEL STILLER ========== */
/* Header, footer ve genel stiller style.css'den gelir */

/* HERO BANNER */
.articles-hero {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 40%, #312e81 100%);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.articles-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(59,130,246,0.2), transparent 70%);
    pointer-events: none;
}

.articles-hero-content {
    position: relative;
    max-width: 700px;
    padding: 60px 24px;
    z-index: 2;
}

.articles-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.85rem;
    color: #93c5fd;
    margin-bottom: 20px;
    animation: fadeInDown 0.6s ease;
}

.articles-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.articles-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0;
    animation: fadeInUp 0.8s ease 0.1s backwards;
}

.articles-hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.articles-hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
}

.articles-hero-wave svg path {
    fill: #ffffff;
}

body.dark-mode .articles-hero-wave svg path {
    fill: #0a0f2a;
}

/* İÇERİK BÖLÜMÜ */
.articles-content {
    padding: 60px 0;
}

/* YAZI GRID */
.articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

/* YAZI KARTI */
.article-card {
    display: flex;
    gap: 20px;
    background: white;
    border-radius: 20px;
    padding: 25px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.article-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

body.dark-mode .article-card {
    background: #11173b;
    border-color: #1e2a5e;
}

.article-icon {
    font-size: 2.5rem;
    min-width: 60px;
    height: 60px;
    background: #e0e7ff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.dark-mode .article-icon {
    background: #1e2a5e;
}

.article-details {
    flex: 1;
}

.article-details h3 {
    font-size: 1.2rem;
    color: #1e3a8a;
    margin-bottom: 10px;
}

body.dark-mode .article-details h3 {
    color: #60a5fa;
}

.article-details p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

body.dark-mode .article-details p {
    color: #cbd5e1;
}

.article-metadata {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.75rem;
    color: #9ca3af;
}

/* ANİMASYONLAR */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MOBİL UYUM */
@media (max-width: 768px) {
    .articles-hero {
        min-height: 350px;
    }
    
    .articles-hero-title {
        font-size: 2rem;
    }
    
    .articles-hero-subtitle {
        font-size: 0.95rem;
    }
    
    .article-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .article-icon {
        margin: 0 auto;
    }
    
    .article-metadata {
        justify-content: center;
    }
    
    .articles-grid {
        gap: 20px;
    }
    
    .articles-hero-wave svg {
        height: 30px;
    }
}

@media (max-width: 480px) {
    .articles-hero-title {
        font-size: 1.6rem;
    }
    
    .articles-hero-badge {
        font-size: 0.7rem;
    }
    
    .article-details h3 {
        font-size: 1rem;
    }
    
    .article-details p {
        font-size: 0.8rem;
    }
    
    .article-metadata {
        gap: 10px;
        font-size: 0.65rem;
    }
}
