/*
Theme Name: Enntegrasyon Özel Teması
Theme URI: https://enntegrasyon.info
Author: Sizin Adınız
Author URI: https://enntegrasyon.info
Description: Enntegrasyon için sıfırdan geliştirilen, yönetim panelli özel WordPress teması.
Version: 1.1
Text Domain: enntegrasyon
*/

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f8fafc;
    color: #334155;
}

/* ==================== YENİ HEADER TASARIMI ==================== */

.site-header {
    background: #ffffff;
    width: 100%;
}

/* Ortak Kapsayıcı Genişliği */
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    width: 100%;
}

/* 1. KATMAN: TOP BAR CSS */
.top-bar {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 8px 0;
    font-size: 13px;
    color: #475569;
}

.top-bar .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left i {
    margin-right: 6px;
    color: #64748b;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.follow-text {
    color: #64748b;
    font-weight: 500;
}

.top-social-links {
    display: flex;
    gap: 10px;
}

.top-social-links a {
    color: #ffffff;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 12px;
    transition: opacity 0.2s ease;
}

/* Görseldeki renklere yakın sosyal medya arka planları */
.top-social-links a[title="LinkedIn"] { background: #0077b5; }
.top-social-links a[title="Instagram"] { background: #e1306c; }
.top-social-links a[title="X (Twitter)"], .top-social-links a[title="X"] { background: #000000; }

.top-social-links a:hover {
    opacity: 0.85;
}

/* 2. KATMAN: LOGO ALANI CSS */
.logo-area {
    padding: 25px 0;
    background: #ffffff;
}

.logo-area .header-container {
    justify-content: flex-start; /* Logoyu sola yaslar */
}

.brand-area img {
    max-height: 90px; /* Logonun görseldeki gibi ferah durması için ideal boy */
    width: auto;
    display: block;
}

.site-title a {
    color: #0f172a;
    text-decoration: none;
    font-size: 32px;
    font-weight: 800;
}

/* 3. KATMAN: NAVİGASYON BAR (Koyu Mavi/Siyah Şerit) */
.main-navigation-bar {
    background: #0f172a; /* Görseldeki gibi koyu lacivert/siyah tonu */
    border-top: 3px solid #3b82f6; /* Üstteki ince mavi çizgi efekti */
}

.main-navigation-bar .header-container {
    justify-content: flex-start; /* Menü elemanlarını sola yaslar */
}

.nav-menu-list {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-menu-list li {
    position: relative;
}

.nav-menu-list li a {
    color: #ffffff !important; /* Yazıları beyaz yapıyoruz */
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase; /* Harfleri büyük yapar */
    transition: background 0.2s ease;
}

/* Menü elemanlarının üzerine gelindiğinde arka planın hafifçe açılması */
.nav-menu-list li a:hover,
.nav-menu-list li.current-menu-item a {
    background: #1e293b;
}

/* Mobil Uyumlu Menü Katlaması */
@media (max-width: 768px) {
    .top-bar {
        display: none; /* Mobilde en üst şeridi gizleyelim temiz dursun */
    }
    .logo-area {
        padding: 15px 0;
    }
    .nav-menu-list {
        flex-direction: column;
        width: 100%;
    }
    .nav-menu-list li a {
        padding: 12px 20px;
        border-bottom: 1px solid #1e293b;
    }
}

/* İçerik Alanı */

.site-main {
    max-width: 1200px !important; /* Genişliği kesin olarak 1200px yapıyoruz */
    margin: 40px auto !important; /* Sağdan ve soldan otomatik ortalıyoruz */
    padding: 0 20px !important;  /* Logo ve menüdeki 20px'lik iç boşlukla birebir eşitliyoruz */
    box-sizing: border-box !important;
    display: block !important;
    clear: both;
}

.welcome-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
}

.welcome-card h2 {
    color: #1e293b;
    margin-bottom: 15px;
    font-size: 28px;
}

.announcement-box {
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin-top: 25px;
}

/* Footer Tasarımı */
.site-footer {
    text-align: center;
    padding: 30px 0;
    margin-top: 60px;
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
    color: #94a3b8;
    font-size: 14px;
}

/* Son Blog Yazıları Yatay Kart Tasarımı */
.posts-grid {
    display: flex;
    flex-direction: column;
    gap: 30px; /* Her yatay blog kartının arasındaki alt boşluk */
    width: 100%;
}

.post-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    display: flex; /* İçerik ve görseli yan yana getiren sihirbaz */
    align-items: stretch;
    overflow: hidden;
    min-height: 300px;
    width: 100%;
}

/* Sol Taraf: Yazı Alanı Genişliği */
.post-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Sağ Taraf: Görsel Alanı Genişliği */
.post-card .post-thumbnail {
    flex: 1;
    height: 100%;
    min-height: 300px;
    overflow: hidden;
}

.post-card .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

/* Yazı Elementleri */
.post-date {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 12px;
    display: block;
}

.post-title a {
    color: #0f172a;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
    display: block;
}

.post-title a:hover {
    color: #3b82f6;
}

.post-excerpt {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 25px;
}

.read-more {
    align-self: flex-start;
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    background-color: #3b82f6; /* Functions'dan renk gelmezse yedek renk */
    transition: opacity 0.2s ease;
}

.read-more:hover {
    opacity: 0.9;
}

/* Mobil Cihazlar İçin Uyum (Yazı üstte, görsel altta kalacak şekilde katlanır) */
@media (max-width: 768px) {
    .post-card {
        flex-direction: column;
    }
    .post-card .post-thumbnail {
        height: 250px;
        min-height: auto;
    }
    .post-content {
        padding: 25px;
    }
}

/* Sabit Sayfa (page.php) Tasarımı */
.page-wrapper {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    min-height: 400px;
}

.page-title {
    font-size: 36px;
    color: #0f172a;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
}

.page-content {
    font-size: 16px;
    color: #334155;
    line-height: 1.8;
}

.page-content p {
    margin-bottom: 20px;
}

/* Özel Logo CSS Ayarları */
.brand-area img {
    max-width: 200px; /* Logonun maksimum genişliği */
    height: auto;
    display: block;
}

.custom-logo-link {
    display: inline-block;
    line-height: 0;
}

/* Footer Sosyal Medya İkonları */
.footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 50%;
    margin: 0 8px;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.2s ease;
}

.footer-social-links a:hover {
    background: #3b82f6; /* Hover durumunda tema rengi (Özelleştirici renginiz devreye girecektir) */
    color: #ffffff;
    transform: translateY(-3px); /* Hafif yukarı zıplama efekti */
}

/* ==================== EKRANI KAPLAYAN ARAMA (SEARCH OVERLAY) CSS ==================== */

/* Menüdeki Büyüteç Butonu */
.header-search-trigger {
    color: #ffffff;
    cursor: pointer;
    padding: 15px 20px;
    font-size: 16px;
    transition: color 0.2s ease;
    margin-left: auto; /* Menü elemanlarının en sağına iter */
}

.header-search-trigger:hover {
    color: #3b82f6; /* Tema renginiz ile parlar */
}

/* Ekranı Kaplayan Tam Ekran Siyah Arka Plan */
.search-overlay {
    height: 100%;
    width: 100%;
    display: none; /* Başlangıçta gizli */
    position: fixed;
    z-index: 99999; /* Her şeyin en üstünde görünmesi için */
    top: 0;
    left: 0;
    background-color: rgba(15, 23, 42, 0.95); /* Koyu şeffaf arka plan */
    transition: all 0.3s ease;
}

/* Ortadaki Arama Kutusu ve Buton Alanı */
.search-overlay-content {
    position: relative;
    top: 40%;
    width: 100%;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.search-overlay-content .search-form {
    max-width: 600px;
    margin: 0 auto;
}

/* Giriş Alanı (Görseldeki gibi düz sade çerçeveli) */
.search-overlay-content .search-field {
    padding: 15px;
    font-size: 20px;
    border: 1px solid #475569;
    border-radius: 4px;
    background: transparent;
    color: white;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.search-overlay-content .search-field:focus {
    outline: none;
    border-color: #3b82f6;
}

/* Mavi Ara Butonu */
.search-overlay-content .search-submit {
    background: #3b82f6; /* Tema ana renginiz dinamik olarak burayı da etkileyebilir */
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 4px;
    width: 100%;
    max-width: 200px;
    text-transform: uppercase;
    transition: opacity 0.2s ease;
}

.search-overlay-content .search-submit:hover {
    opacity: 0.9;
}

/* Kapatma Butonu (X) */
.close-search-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #94a3b8;
    font-size: 60px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}

.close-search-btn:hover {
    color: #ffffff;
}

/* ==================== İLETİŞİM SAYFASI CSS ==================== */

.contact-container {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    padding: 40px;
    box-sizing: border-box;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Sol taraf dar, sağ taraf geniş */
    gap: 40px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr; /* Mobilde tek sütun */
    }
}

/* Sol Bilgi Kutusu */
.contact-info-box h2, .contact-form-box h2 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
}

.contact-info-box p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 20px;
    color: #3b82f6; /* Tema rengi */
    background: #eff6ff;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.info-item strong {
    display: block;
    font-size: 14px;
    color: #0f172a;
}

.info-item p {
    margin: 3px 0 0 0;
    font-size: 15px;
    color: #475569;
}

/* Sağ Form Kutusu */
.custom-contact-form .form-group {
    margin-bottom: 20px;
}

.custom-contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
}

.custom-contact-form input[type="text"],
.custom-contact-form input[type="email"],
.custom-contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 15px;
    color: #0f172a;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.custom-contact-form input:focus,
.custom-contact-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* Gönder Butonu */
.contact-submit-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 14px 30px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
    width: 100%;
}

.contact-submit-btn:hover {
    background: #2563eb;
}

/* Uyarı Mesajları */
.contact-alert {
    padding: 15px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.alert-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fee2e2;
}

.alert-success {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #dcfce7;
}

/* ==================== TEKİL YAZI SAYFASI (SINGLE.PHP) CSS ==================== */

.single-post-wrapper {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding: 40px;
    box-sizing: border-box;
    margin-bottom: 40px;
}

/* Yazı Başlık Alanı */
.single-post-header {
    text-align: center;
    margin-bottom: 30px;
}

.post-categories a {
    display: inline-block;
    background: #eff6ff;
    color: #3b82f6;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 15px;
    text-transform: uppercase;
    transition: background 0.2s;
}

.post-categories a:hover {
    background: #dbeafe;
}

.single-post-title {
    font-size: 36px;
    color: #0f172a;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 15px;
}

.single-post-meta {
    font-size: 14px;
    color: #64748b;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.single-post-meta i {
    margin-right: 5px;
    color: #94a3b8;
}

/* Kapak Görseli */
.single-post-featured-image {
    margin: 30px -40px; /* Görselin kenarlardan hafif taşarak geniş durması için */
    overflow: hidden;
    max-height: 500px;
}

.single-post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Yazı Metni Gövdesi (Okunabilirlik Odaklı) */
.single-post-content {
    font-size: 17px;
    color: #334155;
    line-height: 1.8;
    max-width: 800px; /* Okumayı kolaylaştırmak için metin genişliğini sınırlıyoruz */
    margin: 0 auto;
}

.single-post-content p {
    margin-bottom: 25px;
}

.single-post-content h2, 
.single-post-content h3 {
    color: #0f172a;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
}

.single-post-content h2 { font-size: 26px; }
.single-post-content h3 { font-size: 21px; }

/* Önceki - Sonraki Yazı Linkleri */
.single-post-footer {
    border-top: 1px solid #f1f5f9;
    margin-top: 50px;
    padding-top: 30px;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.post-navigation a {
    color: #475569;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
}

.post-navigation a:hover {
    color: #3b82f6;
}

.nav-previous, .nav-next {
    width: 50%;
}

.nav-next {
    text-align: right;
}

/* Mobil Uyum */
@media (max-width: 768px) {
    .single-post-wrapper {
        padding: 20px;
    }
    .single-post-title {
        font-size: 26px;
    }
    .single-post-featured-image {
        margin: 20px -20px;
    }
    .post-navigation {
        flex-direction: column;
        gap: 15px;
    }
    .nav-previous, .nav-next {
        width: 100%;
        text-align: left;
    }
}

/* ==================== ARAMA SONUÇLARI (SEARCH.PHP) CSS ==================== */

.search-results-container {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding: 40px;
    box-sizing: border-box;
}

/* Üst Başlık Alanı */
.search-results-header {
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 30px;
    margin-bottom: 40px;
}

.search-subtitle {
    font-size: 13px;
    text-transform: uppercase;
    color: #3b82f6;
    font-weight: 700;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.search-main-title {
    font-size: 32px;
    color: #0f172a;
    font-weight: 800;
    margin: 0 0 10px 0;
}

.search-main-title span {
    color: #3b82f6; /* Aranan kelimeyi mavi renk ile vurgular */
}

.search-count {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

/* Sonuç Kart Listesi */
.results-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.search-result-card {
    display: flex;
    gap: 25px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.search-result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

/* Kart Sol Görsel */
.result-thumbnail {
    flex-shrink: 0;
    width: 200px;
    height: 130px;
    border-radius: 6px;
    overflow: hidden;
}

.result-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.search-result-card:hover .result-thumbnail img {
    transform: scale(1.05);
}

/* Kart İçerik Alanı */
.result-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.result-meta {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 600;
}

.result-meta a {
    color: #3b82f6;
    text-decoration: none;
}

.result-title {
    font-size: 20px;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.result-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s;
}

.result-title a:hover {
    color: #3b82f6;
}

.result-excerpt {
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 12px 0;
}

.result-read-more {
    font-size: 13px;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.2s;
}

.result-read-more:hover {
    gap: 8px;
}

/* Sayfalama (Pagination) Tasarımı */
.search-pagination {
    margin-top: 40px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.search-pagination .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.search-pagination .page-numbers:hover,
.search-pagination .page-numbers.current {
    background: #3b82f6;
    color: #ffffff;
}

/* Sonuç Bulunamadı Kutusu (No Results) */
.no-results-box {
    text-align: center;
    padding: 60px 20px;
}

.no-results-icon {
    font-size: 60px;
    color: #94a3b8;
    margin-bottom: 20px;
}

.no-results-box h2 {
    font-size: 22px;
    color: #0f172a;
    margin-bottom: 10px;
    font-weight: 700;
}

.no-results-box p {
    color: #64748b;
    font-size: 15px;
    margin-bottom: 30px;
}

.back-to-home-btn {
    display: inline-block;
    background: #3b82f6;
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    transition: background 0.2s;
}

.back-to-home-btn:hover {
    background: #2563eb;
}

/* Mobil Uyum */
@media (max-width: 768px) {
    .search-results-container {
        padding: 20px;
    }
    .search-result-card {
        flex-direction: column;
        gap: 15px;
    }
    .result-thumbnail {
        width: 100%;
        height: 180px;
    }
}


/* ==================== ANA SAYFA MANŞET ALANI (FEATURED HERO GRID) CSS ==================== */

.featured-hero-grid {
    margin-bottom: 40px;
    width: 100%;
}

.hero-grid-container {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Sol taraf 2 birim, sağ taraf 1 birim genişlikte */
    gap: 20px;
}

.hero-sidebar-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Kartların Ortak Tasarımı */
.hero-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 450px; /* Toplam yükseklik */
    background: #0f172a;
}

.hero-sub-card {
    height: 215px; /* Sağdaki iki kartın yüksekliği (450'ye eşitlenmesi için gap düşülmüş hali) */
}

.hero-card-link {
    display: block;
    width: 100%;
    height: 100%;
}

/* Görsel Düzenlemeleri */
.hero-card-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-gradient(0.4, 0, 0.2, 1);
}

/* Görsel Üzerindeki Siyah Şeffaf Geçiş (Yazıların okunması için şart) */
.hero-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 50%, rgba(15, 23, 42, 0) 100%);
    transition: opacity 0.3s ease;
}

/* Mouse Üzerine Geldiğinde Efektler */
.hero-card:hover .hero-card-image img {
    transform: scale(1.04);
}

.hero-card:hover .hero-card-overlay {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.5) 50%, rgba(15, 23, 42, 0.1) 100%);
}

/* Görsel Üstündeki Yazı Alanı */
.hero-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    box-sizing: border-box;
    z-index: 2;
}

.hero-sub-card .hero-card-content {
    padding: 20px; /* Küçük kartlar için daha dar padding */
}

/* Kategori Balonu */
.hero-card-category {
    display: inline-block;
    background: #3b82f6;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

/* Başlıklar */
.hero-card-title {
    color: #ffffff;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 10px 0;
    transition: color 0.2s ease;
}

.hero-main-card .hero-card-title {
    font-size: 28px;
}

.hero-sub-card .hero-card-title {
    font-size: 18px;
}

.hero-card-link:hover .hero-card-title {
    color: #3b82f6; /* Hover durumunda başlık maviye döner */
}

/* Tarih / Meta */
.hero-card-meta {
    font-size: 12px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 5px;
}

.hero-card-meta i {
    font-size: 11px;
}

/* MOBİL UYUMLULUK (Responsive) */
@media (max-width: 992px) {
    .hero-grid-container {
        grid-template-columns: 1fr; /* Mobilde her şey tek sütun ve alt alta olur */
    }
    .hero-card {
        height: 350px;
    }
    .hero-sub-card {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .hero-main-card .hero-card-title {
        font-size: 22px;
    }
    .hero-card-content {
        padding: 15px;
    }
}