/*
Theme Name: Turgut Torunogullari Custom
Author: Custom Theme
Description: Turgut Torunoğulları Resmi Web Sitesi Teması
Version: 1.0
*/

/* Jost Fontu */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700&display=swap');

* {
    box-sizing: border-box;
}

body {
    font-family: 'Jost', sans-serif;
    background-color: #ffffff;
    color: #333333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Header Tasarımı */
header {
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: #ffffff;
}

a {
    text-decoration: none!important;
    color: inherit;
}
.site-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
    text-decoration: none;
    color: #000000;
    letter-spacing: 1px;
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 16px;
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hamburger-icon span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: #000000;
    transition: 0.3s;
}

/* Sağdan Açılan Menü (Slide Menu) */
.slide-menu {
    position: fixed;
    top: 0;
    right: -550px;
    width: 550px;
    height: 100vh;
    background: #fcfcfc;
    box-shadow: -5px 0 15px rgba(0,0,0,0.05);
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1000;
    padding: 60px 40px;
    display: flex; flex-direction: column;
}

.slide-menu.active {
    right: 0;
}

.close-menu {
    background: none;
    border: none;
    font-size: 36px;
    font-weight: 300;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 40px;
    color: #000;
}

.slide-menu ul {
    list-style: none;
    padding: 0;
    margin-top: 50px;
    flex-grow: 1;
}

.slide-menu ul li {
    margin-bottom: 25px;
}

.slide-menu ul li a {
    text-decoration: none;
    color: #000;
    font-size: 28px;
    font-weight: 500;
    transition: color 0.3s;
}

.slide-menu ul li a:hover {
    color: #666;
}

/* --- YENİ SECTİON TASARIMLARI --- */

.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 5%;
}

.content-section {
    display: flex;
    align-items: center; /* Varsayılan olarak dikeyde ortala */
    gap: 60px; /* Görsel ve metin arası boşluk */
    margin-bottom: 200px; /* SECTIONLAR ARASI ÇOK BOŞLUK */
}

/* Hakkımda yazısı uzun olduğu için ilk bölümü üstten hizalıyoruz */
.content-section.align-top {
    align-items: flex-start; 
}

/* Son section'ın altında gereksiz büyük boşluk olmaması için */
.content-section:last-child {
    margin-bottom: 80px;
}

.image-box {
    flex: 1; /* %50 Genişlik */
}

.image-box img {
    width: 100%;
    height: auto;
    border-radius: 8px; 
    display: block;
}

.text-box {
    flex: 1; /* %50 Genişlik */
}

.text-box h2 {
    font-size: 42px;
    margin-top: 0;
    margin-bottom: 30px;
    font-weight: 600;
    color: #000;
}

.text-box p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #444;
    text-align: justify;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .content-section, 
    .content-section.align-top {
        flex-direction: column; /* Görsel yukarıda, yazı aşağıda */
        gap: 30px;
        margin-bottom: 120px; /* Mobilde boşluklar biraz daha estetik seviyede */
    }

    .text-box h2 {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .text-box p {
        font-size: 16px;
    }
}
/* --- BUTONLAR VE LİNKLER --- */

/* Devamını Oku Linki */
.read-more-link {
    font-weight: 600;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #000;
    padding-bottom: 2px;
    margin-left: 5px;
    transition: color 0.3s ease, border-color 0.3s ease;
    display: inline-block;
}

.read-more-link:hover {
    color: #666;
    border-color: #666;
}

/* Buton Gruplarını Taşıyan Konteyner */
.action-buttons {
    display: flex;
    gap: 15px; /* Butonlar arası boşluk */
    flex-wrap: wrap; /* Ekrana sığmazsa alt satıra geçmesini sağlar */
    margin-top: 25px;
}

/* Genel Buton Tasarımı */
.theme-btn {
    display: inline-block;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Jost', sans-serif;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-align: center;
}

/* İçi Dolu Buton (Siyah) */
.theme-btn.btn-solid {
    background-color: #000;
    color: #fff;
    border: 2px solid #000;
}

.theme-btn.btn-solid:hover {
    background-color: #333;
    border-color: #333;
    color: #fff;
}

/* Dışı Çizgili Buton (Transparan) */
.theme-btn.btn-outline {
    background-color: transparent;
    color: #000;
    border: 2px solid #000;
}

.theme-btn.btn-outline:hover {
    background-color: #000;
    color: #fff;
}

/* Mobil Cihazlarda Butonları Ortalama */
@media (max-width: 768px) {
    .action-buttons {
        justify-content: center; /* Mobilde metinler ortalı olduğu için butonları da ortalar */
    }
}
/* --- HERO SLIDER TASARIMI --- */

.hero-slider-section {
    width: 100%;
    margin-bottom: 80px; /* Slider ile aşağıdaki içerik arasındaki mesafe */
    background-color: #000;
        border-radius: 16px;
    overflow: hidden;
}

/* Slider yüksekliği ve genel ayarlar */
/* --- YAZILARI SOLA HİZALAMA (SOL KENARA 5% UZAKLIK) --- */
.hero-slider-section .carousel-caption {
    z-index: 2; /* Overlay'in üstünde kalmasını sağlar */
    bottom: 10%; /* Alt hizalama */
    left: 5%; /* SOL kenardan boşluk */
    right: auto; 
    text-align: left;
    max-width: 600px; /* Metnin ekranın sonuna kadar uzamasını engeller */
    padding: 0;
}

.hero-slider-section .slider-title {
    font-size: 3.5rem;
    font-weight: 600;
    color: #fff;
    font-family: 'Jost', sans-serif;
    letter-spacing: 1px;
    margin-bottom: 15px;
    line-height: 1.1;
}

.hero-slider-section .slider-desc {
    font-size: 1.15rem;
    color: #eaeaea;
    margin-bottom: 30px;
    font-weight: 400;
    line-height: 1.5;
}

/* --- İNDİKATÖRLERİ SAĞA VE BUTONLA AYNI HİZAYA ALMA (SAĞ KENARA 5% UZAKLIK) --- */
.hero-slider-section .carousel-indicators {
    position: absolute;
    z-index: 3;
    bottom: 10%; /* Yazı/Buton ile aynı alt hizaya (bottom: 10%) sabitlendi */
    right: 5%; /* SAĞ kenardan boşluk (Sol ile tam simetrik) */
    left: auto !important; /* Bootstrap varsayılanını eziyoruz */
    margin: 0;
    margin-bottom: 18px; /* 4px'lik çizgiyi, kalın butonun tam ortasına hizalamak için ince ayar */
    padding: 0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.hero-slider-section .carousel-indicators [data-bs-target] {
    width: 40px;
    height: 4px;
    background-color: #fff;
    border: none;
    opacity: 0.4;
    transition: opacity 0.4s ease, background-color 0.4s ease;
    margin: 0; /* Bootstrap'in varsayılan dış boşluklarını sıfırlar */
}

.hero-slider-section .carousel-indicators .active {
    opacity: 1;
    background-color: #ffffff;
}

/* --- MOBİL UYUMLULUK EKLEMELERİ --- */
@media (max-width: 768px) {
    .hero-slider-section .carousel-caption {
        bottom: 12%; 
        left: 5%;
        right: 5%; /* Mobilde yazının kenarlara taşmasını engelle */
    }
    
    .hero-slider-section .slider-title {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }
    
    .hero-slider-section .slider-desc {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .hero-slider-section .carousel-indicators {
        bottom: 12%; /* Mobilde yazı yüksekliği değiştiği için indikatörü de eşitliyoruz */
        right: 5%;
        margin-bottom: 15px; 
    }

    .hero-slider-section .carousel-indicators [data-bs-target] {
        width: 25px; /* Mobilde çizgiler biraz daha kısa */
    }
}

/* Görselleri sığdırma ve sinematik efekt */
.hero-slider-section .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Görselin oranını bozmadan alanı doldurur */
    object-position: center 20%; /* Odak noktasını ayarlar (yüzlerin kesilmesini engeller) */
    transition: transform 6s ease-in-out; /* Yavaş zoom efekti için geçiş süresi */
    transform: scale(1);
    filter: brightness(0.9); /* Olası beyazlıkların menüyü veya okları bozmaması için çok hafif karartma */
}

/* Slayt aktif olduğunda hafifçe yakınlaşır */
.hero-slider-section .carousel-item.active img {
    transform: scale(1.05);
}

/* Alt İndikatör Çizgileri Temaya Uygun Hale Getirme */
.hero-slider-section .carousel-indicators {
    margin-bottom: 0;
}

.hero-slider-section .carousel-indicators [data-bs-target] {
    width: 40px;
    height: 4px;
    background-color: #fff;
    border: none;
    opacity: 0.4;
    transition: opacity 0.4s ease, background-color 0.4s ease;
}

.hero-slider-section .carousel-indicators .active {
    opacity: 1;
    background-color: #ffffff;
}

/* İsteğe Bağlı: Resim Üzeri Yazı Eklenecekse */
.hero-slider-section .carousel-caption {
    bottom: 20%;
    text-align: left;
    left: 10%;
    right: 10%;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-slider-section .slider-title {
    font-size: 3rem;
    font-weight: 600;
    color: #fff;
    font-family: 'Jost', sans-serif;
    letter-spacing: 1px;
}

.carousel-indicators{
    left:unset!important;
    gap: 10px;
}
.carousel {
    border-radius: 16px;
}

/* --- MOBİL UYUMLULUK --- */
@media (max-width: 768px) {
    .hero-slider-section .carousel-item {
        height: 60vh; /* Mobilde dikey alanı çok işgal etmemesi için kısaltıldı */
        min-height: 400px;
    }
    
    .hero-slider-section {
        margin-bottom: 50px;
    }
    
    .hero-slider-section .carousel-indicators [data-bs-target] {
        width: 25px; /* Mobilde çizgiler biraz daha küçük */
    }
}
/* --- SİYAH ŞEFFAF OVERLAY (KATMAN) --- */
.hero-slider-section .carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Sol alta doğru koyulaşan şık bir geçiş. Düz siyah istersen background: rgba(0,0,0,0.5); yapabilirsin */
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

/* --- YAZILARI SOL ALTA HİZALAMA --- */
.hero-slider-section .carousel-caption {
    z-index: 2; /* Overlay'in üstünde kalmasını sağlar */
    bottom: 10%; /* Sol alttan yükseklik */
    left: 5%; /* Sol kenardan boşluk */
    right: auto; /* Sağ sınırlamayı kaldırıyoruz */
    text-align: left;
    max-width: 600px; /* Metnin ekranın sonuna kadar uzamasını engeller */
    padding: 0;
}

.hero-slider-section .slider-title {
    font-size: 3.5rem;
    font-weight: 600;
    color: #fff;
    font-family: 'Jost', sans-serif;
    letter-spacing: 1px;
    margin-bottom: 15px;
    line-height: 1.1;
}

.hero-slider-section .slider-desc {
    font-size: 1.15rem;
    color: #eaeaea;
    margin-bottom: 30px;
    font-weight: 400;
    line-height: 1.5;
}

/* --- MOBİL UYUMLULUK EKLEMELERİ --- */
@media (max-width: 768px) {
    .hero-slider-section .carousel-caption {
        bottom: 12%; /* Mobilde yazıyı biraz daha yukarı al */
        left: 5%;
        right: 5%; /* Mobilde yazının kenarlara taşmasını engelle */
    }
    
    .hero-slider-section .slider-title {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }
    
    .hero-slider-section .slider-desc {
        font-size: 1rem;
        margin-bottom: 20px;
        /* İstersen mobilde açıklamayı gizlemek için 'display: none;' yapabilirsin */
    }
}
/* Menü altındaki tüm elemanları ortalayan kapsayıcı */
.slide-menu-footer {
    text-align: center;
    padding-top: 20px;
    margin-top: auto; /* Esnek yapıda en alta sabitlenmesini garantiler */
}

/* Edelstall logosunun boyutu ve ortalanması */
.menu-footer-logo {
    display: block;
    margin: 0 auto 15px auto;
    max-width: 140px;
    height: auto;
}

/* Telif metni stili */
.menu-copyright {
    font-size: 13px;
    color: #555555;
    margin: 0;
    line-height: 1.5;
}

/* Yaka Digital yazısı için küçük ve daha açık renkli ton */
.yaka-credit {
    display: block;
    font-size: 11px;
    color: #999999; /* Daha açık ve soft bir gri */
    margin-top: 4px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Mobil cihazlarda geniş menünün ekrandan taşmasını önleyen yeni responsive kural */
@media (max-width: 480px) {
    .slide-menu {
        width: 100%;
        right: -100%;
        padding: 60px 25px;
    }
    .slide-menu ul li a {
        font-size: 24px; /* Mobilde taşma yapmaması için dengelenmiş boyut */
    }
}

/* --- MENÜ OVERLAY (KARARTMA) --- */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6); /* %60 siyahlık şık ve dengeli durur */
    z-index: 999; 
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
    cursor: pointer; /* Tıklanabilir olduğunu belli eder */
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Menü açıkken arkadaki sayfanın aşağı/yukarı kaymasını (scroll) engellemek için */
body.menu-open {
    overflow: hidden;
}
.header-logo{
    width:280px;
}
@media (max-width: 600px) {
    .header-logo {
        width: 220px;
    }
}
/* --- HAKKIMDA SAYFASI ÖZEL STİLLERİ --- */

.hakkimda-template {
    padding-top: 60px;
    padding-bottom: 0px;
    background-color: #ffffff;
}

/* Başlık Bloğu */
.page-title-block {
    text-align: center;
    margin-bottom: 80px;
}

.page-title-block h1 {
    font-size: 48px;
    font-weight: 700;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 15px 0;
}

.title-line {
    width: 60px;
    height: 3px;
    background-color: #000000;
    margin: 0 auto;
}

/* Genel Section Düzeni */
.hakkimda-section {
    display: flex;
    gap: 80px;
    align-items: center;
    margin-bottom: 20px;
}

/* Esnek Genişlik Paylaşımları */
.hakkimda-image-box {
    flex: 1;
    overflow: hidden;
    border-radius: 4px; /* Minimalist hafif köşe yumuşatma */
}

.hakkimda-image-box img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hakkimda-image-box data-aos:hover img {
    transform: scale(1.02); /* Hafif modern etkileşim zoom efekti */
}

.hakkimda-text-box {
    flex: 1.2; /* Metin alanlarına biraz daha fazla alan tanıyoruz */
}

.hakkimda-text-box h2 {
    font-size: 32px;
    font-weight: 600;
    color: #000000;
    margin-top: 0;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.hakkimda-text-box p {
    font-size: 17px;
    color: #444444;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

/* Dikey Görsel Konteyner Oranları (1 ve 3 için Altın Oran) */
.hakkimda-image-box.v-img {
    max-height: 650px;
    aspect-ratio: 3 / 4;
}

.hakkimda-image-box.v-img img {
    height: 100%;
}

/* Bölüm 2: Tam Genişlikte Yatay Blok Düzeni */
.hakkimda-section.section-horizontal-block {
    flex-direction: column;
    gap: 40px;
}

.hakkimda-image-box.h-img {
    width: 100%;
    max-height: 480px;
    aspect-ratio: 16 / 9;
}

.hakkimda-text-box.full-width {
    width: 100%;
    margin: 0 auto;
}
.carousel-item {
    height: 30rem!important;
}
/* Mobil ve Tablet Uyum Kuralları (Responsive) */
@media (max-width: 991px) {
    .hakkimda-section {
        gap: 40px;
        margin-bottom: 100px;
    }
    .hakkimda-text-box h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .hakkimda-section.section-vertical-right {
        flex-direction: column-reverse !important; 
    }

    .hakkimda-section.section-vertical-left {
        flex-direction: column !important;
    }
    
    .hakkimda-image-box.v-img,
    .hakkimda-image-box.h-img {
        width: 100%;
        max-height: 400px;
    }
    
    .page-title-block h1 {
        font-size: 36px;
    }
    
    .hakkimda-text-box p {
        font-size: 16px;
    }
}
/* --- FOOTER ŞİRKET LOGOLARI --- */

.footer-brand-logos {
    width: 100%;
    padding: 50px 0;
    background-color: #ffffff;
    border-top: 1px solid #eaeaea;
    margin-top: 80px; /* Üstteki içeriklerle arasına şık bir mesafe bırakır */
}

/* Logoları ortalayan ve yan yana dizen esnek kapsayıcı */
.logos-flex-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px; /* Logolar arası estetik boşluk */
    flex-wrap: wrap; /* Mobilde sığmayan logoları alt satıra indirir */
}

/* Minimalist & Premium Görünüm Efektleri */
.logos-flex-container img {
    max-height: 100px; /* Logoların yan yana aynı hizada kibar durması için ideal dikey sınır */
    width: auto;
    object-fit: contain;
    filter: grayscale(100%); /* Logoları başlangıçta asil bir gri tona çevirir */
    opacity: 0.5; /* Başlangıçta arka planda kalması için şeffaflık */
    transition: all 0.4s ease-in-out; /* Geçiş yumuşatması */
}

/* Mouse ile üzerine gelindiğinde (Hover) efektlerin canlanması */
.logos-flex-container img:hover {
    filter: grayscale(0%); /* Orijinal renklerine döner */
    opacity: 1; /* Tam görünür olur */
    transform: translateY(-2px); /* Çok hafif yukarı zıplama efekti */
}

/* Mobil Cihazlar için Düzenleme (Responsive) */
@media (max-width: 768px) {
    .footer-brand-logos {
        padding: 40px 0;
        margin-top: 50px;
    }
    
    
    .logos-flex-container img {
        max-height: 50px; /* Mobilde aşırı büyük durmamaları için hafif küçültme */
    }
}
/* ==========================================================================
   MEDYA MERKEZİ & BLOG (HABERLER) STİLLERİ
   ========================================================================== */

.medya-merkezi-template, .single-post-template {
    padding: 60px 0 100px 0;
    background-color: #ffffff;
}

/* Filtreleme Menüsü */
.news-filter-nav {
    text-align: center;
    margin-bottom: 60px;
}

.news-filter-nav ul {
    list-style: none;
    padding: 0;
    display: inline-flex;
    gap: 30px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 15px;
}

.news-filter-nav ul li a {
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888888;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 13px;
}

.news-filter-nav ul li a:hover,
.news-filter-nav ul li a.active {
    color: #000000;
}

.news-filter-nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000000;
}

/* Haber Kartları Grid Yapısı */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
}

.news-card {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: #f9f9f9;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-card:hover .card-image-wrapper img {
    transform: scale(1.04);
}

/* Kart İkon Göstergeleri (Video, Galeri, Makale) */
.content-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: rgba(21, 21, 21, 0.75);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-video::before { content: '▶'; color: #fff; font-size: 12px; margin-left: 2px; }
.icon-gallery::before { content: '📷'; color: #fff; font-size: 14px; }
.icon-article::before { content: '📄'; color: #fff; font-size: 13px; }

/* Kart İçerik Alanı */
.card-content {
    padding: 20px 0;
}

.card-badge {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    color: #000000;
    margin-right: 15px;
}

.card-date {
    font-size: 12px;
    color: #999999;
}

.card-title {
    font-size: 22px;
    font-weight: 500;
    margin: 12px 0;
    line-height: 1.4;
}

.card-title a {
    color: #000000;
    transition: color 0.3s;
}

.card-title a:hover {
    color: #666666;
}

.card-excerpt {
    font-size: 15px;
    color: #555555;
    margin-bottom: 15px;
    line-height: 1.6;
}

.card-read-more {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: #000;
    letter-spacing: 0.5px;
}

/* Sayfalama (Pagination) */
.news-pagination {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 50px;
    border-top: 1px solid #eaeaea;
    padding-top: 30px;
}

.news-pagination .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    color: #000;
    font-weight: 500;
    border-radius: 4px;
}

.news-pagination .page-numbers.current {
    background-color: #000000;
    color: #ffffff;
}

/* ==========================================================================
   TEKİL YAZI DETAY (SINGLE POST) STİLLERİ
   ========================================================================== */

.container-small {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.post-detail-header {
    text-align: center;
    margin-bottom: 40px;
}

.post-category-badge {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1.5px;
    border: 1px solid #000;
    padding: 4px 12px;
    display: inline-block;
    margin-bottom: 20px;
}

.post-main-title {
    font-size: 40px;
    font-weight: 600;
    color: #000;
    line-height: 1.25;
    margin-bottom: 15px;
}

.post-meta-data {
    font-size: 14px;
    color: #888;
}

.post-featured-image-wrapper {
    margin-bottom: 60px;
}

.post-featured-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Tipografi & İçerik Okunabilirliği */
.entry-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 25px;
    text-align: justify;
}

/* Single Ekstra Alanlar (Video & Basın Linkleri) */
.post-extra-assets {
    margin-top: 80px;
    border-top: 1px solid #eaeaea;
    padding-top: 40px;
}

.post-extra-assets h3 {
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 600;
}

/* İç Video Grid Mimarisi */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.video-target-card {
    display: block;
}

.video-thumb-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
    border-radius: 4px;
}

.video-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.video-target-card:hover .video-thumb-wrapper img { opacity: 0.75; }

.play-overlay-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 50px; height: 50px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
}
.play-overlay-btn::before {
    content: ''; display: block;
    position: absolute; top: 18px; left: 21px;
    border-style: solid; border-width: 7px 0 7px 11px;
    border-color: transparent transparent transparent #000;
}

.video-target-card h4 {
    font-size: 16px; margin-top: 10px; color: #000; font-weight: 500;
}

/* Basın Linkleri Listesi */
.press-links-list {
    list-style: none; padding: 0;
}

.press-links-list li {
    border-bottom: 1px solid #f0f0f0;
}

.press-links-list li a {
    display: flex; justify-content: space-between; padding: 18px 0;
    font-size: 17px; font-weight: 500; color: #333; transition: padding 0.3s;
}

.press-links-list li a:hover {
    color: #000; padding-left: 8px;
}

/* ==========================================================================
   RESPONSIVE DENGELER
   ========================================================================== */
@media (max-width: 991px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .post-main-title { font-size: 32px; }
}

@media (max-width: 768px) {
    .news-grid { grid-template-columns: 1fr; }
    .news-filter-nav ul { gap: 15px; }
    .news-filter-nav ul li a { font-size: 14px; }
    .video-grid { grid-template-columns: 1fr; }
    .post-main-title { font-size: 26px; }
    .entry-content p { font-size: 16px; }
    .medya-merkezi-template, .single-post-template {
    padding: 20px 0 20px 0;
}
}

/* --- Zarif Fotoğraf Galerisi Stilleri --- */
.single-image-gallery {
    margin-bottom: 40px;
}

.single-image-gallery h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 600;
}

.elegant-gallery-grid {
    display: grid;
    /* Ekran boyutuna göre otomatik kolon sayısı ayarlar. Minimum 250px genişlik baz alınır. */
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.elegant-gallery-item {
    display: block;
    border-radius: 10px; /* Yumuşak köşeler */
    overflow: hidden;
    position: relative;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); /* Hafif gölge */
    transition: box-shadow 0.3s ease;
}

.elegant-gallery-item:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.gallery-figure {
    margin: 0;
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3; /* Tüm kutuları bu oranda kilitler. Daha kare için 1/1, daha sinematik için 16/9 yapabilirsin. */
    overflow: hidden;
}

.gallery-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmi ezmeden/sündürmeden kutuya doldurur */
    transition: transform 0.5s ease;
}

.elegant-gallery-item:hover .gallery-figure img {
    transform: scale(1.08); /* Fare üzerine gelince hafifçe büyür */
}

/* Üzerine gelindiğinde çıkan koyulaştırma katmanı ve yazılar */
.gallery-hover-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    transition: opacity 0.4s ease;
}

.elegant-gallery-item:hover .gallery-hover-overlay {
    opacity: 1;
}

.hover-text-content {
    color: #fff;
    transform: translateY(15px);
    transition: transform 0.4s ease;
}

.elegant-gallery-item:hover .hover-text-content {
    transform: translateY(0); /* Yazı aşağıdan kayarak gelir */
}

.gallery-head {
    display: block;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 4px;
    line-height: 1.2;
}

.gallery-slogan {
    display: block;
    font-size: 0.85rem;
    color: #e0e0e0;
}
/* --- GENEL YERLEŞİM (SPLIT LAYOUT) --- */
.elegant-split-layout .custom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.post-split-wrapper {
    display: grid;
    grid-template-columns: 350px 1fr; /* Sol sidebar 350px, sağ içerik kalan boşluğu doldurur */
    gap: 60px;
    align-items: start;
}

/* --- SOL SİDEBAR (YAPIŞKAN & KAPAK) --- */
.sidebar-sticky-content {
    position: sticky;
    top: 100px; /* Header'ının yüksekliğine göre burayı değiştirebilirsin */
}

.post-featured-image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    margin-bottom: 25px;
}

.post-featured-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 3 / 4; /* Kapak fotoğrafı için dergi tarzı dikey oran */
}

.post-meta-box {
    background: #fdfdfd;
    border: 1px solid #eaeaea;
    padding: 25px;
    border-radius: 12px;
}

.post-category-badge {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 15px;
}

.meta-item {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 8px;
}
.meta-item strong {
    color: #222;
}

/* --- SAĞ İÇERİK --- */
.post-main-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    margin-top: 0;
    color: #111;
}

.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.mt-5 {
    margin-top: 50px !important;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 700;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

/* --- GALERİ (WEB'DE 3 SÜTUN) --- */
.elegant-gallery-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* TAM OLARAK 3 SÜTUN */
    gap: 20px;
}

.elegant-gallery-item {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    text-decoration: none;
}

.gallery-figure {
    margin: 0;
    width: 100%;
    aspect-ratio: 1 / 1; /* Kare fotoğraflar, 3 sütunda çok elit durur. İstersen 4/3 yapabilirsin. */
    overflow: hidden;
    position: relative;
}

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

.elegant-gallery-item:hover .gallery-figure img {
    transform: scale(1.05);
}

.gallery-hover-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: 15px;
    transition: opacity 0.4s ease;
}

.elegant-gallery-item:hover .gallery-hover-overlay {
    opacity: 1;
}

.hover-text-content {
    color: #fff;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.elegant-gallery-item:hover .hover-text-content {
    transform: translateY(0);
}

.gallery-head {
    display: block;
    font-size: 1rem;
    font-weight: bold;
}
.gallery-slogan {
    display: block;
    font-size: 0.8rem;
    color: #ddd;
}

/* --- VİDEO VE DİĞER GRİDLER --- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* --- MOBİL UYUM (RESPONSIVE) --- */
@media (max-width: 992px) {
    .post-split-wrapper {
        grid-template-columns: 1fr; /* Mobilde alt alta geçer */
        gap: 30px;
    }
    .sidebar-sticky-content {
        position: relative;
        top: 0;
    }
    .post-featured-image-wrapper img {
        aspect-ratio: 16 / 9; /* Mobilde kapak yatay dursun */
    }
    .elegant-gallery-grid-3 {
        grid-template-columns: repeat(2, 1fr); /* Tablette 2 sütun galeri */
    }
    .post-main-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .elegant-gallery-grid-3, .video-grid {
        grid-template-columns: 1fr; /* Telefonda her şey tek sütun */
    }
}
/* --- GENEL YERLEŞİM (SPLIT LAYOUT - SAĞ SİDEBAR) --- */
.elegant-right-sidebar-layout .custom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.post-split-wrapper {
    display: grid;
    /* 1fr (kalan boşluk) ana içeriğe, 350px sabit alan sağ sidebar'a */
    grid-template-columns: 1fr 350px; 
    gap: 60px;
    align-items: start;
    margin-bottom: 60px; /* Alttaki galeri ile arasına boşluk bırakır */
}

/* --- SAĞ SİDEBAR (YAPIŞKAN & KAPAK) --- */
.sidebar-sticky-content {
    position: sticky;
    top: 100px; 
}

.post-featured-image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    margin-bottom: 25px;
}

.post-featured-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 3 / 4; 
}

/* --- TAM GENİŞLİKTE GALERİ (FULL WIDTH) --- */
.post-full-width-gallery {
    width: 100%;
    border-top: 1px solid #eaeaea;
    padding-top: 40px;
}

.elegant-gallery-grid-full {
    display: grid;
    /* Container genişlediği için auto-fill ile mükemmel dengeli grid oluşturur */
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); 
    gap: 20px;
}

/* --- MOBİL UYUM (RESPONSIVE) --- */
@media (max-width: 992px) {
    .post-split-wrapper {
        grid-template-columns: 1fr; /* Mobilde sidebar alta geçer */
        gap: 40px;
    }
    
    /* Mobilde Kapak Görselini ve Detayları En Üste Almak İstersen: */
    .post-sidebar {
        grid-row: 1; /* Sağdaki bloğu mobilde içeriğin üstüne fırlatır */
    }
    .post-main-content {
        grid-row: 2; /* İçeriği alt sıraya koyar */
    }

    .sidebar-sticky-content {
        position: relative;
        top: 0;
    }
    .post-featured-image-wrapper img {
        aspect-ratio: 16 / 9; /* Mobilde kapak yatay dursun */
    }
}

@media (max-width: 576px) {
    .elegant-gallery-grid-full {
        grid-template-columns: repeat(2, 1fr); /* Telefonda fotoğraflar yan yana 2'li dursun */
    }
}
/* --- KATEGORİ SAYFASI GENEL --- */
.elegant-category-layout {
    padding: 60px 0 80px;
    background-color: #fafafa; /* Kartların öne çıkması için çok hafif gri bir arka plan */
}

.elegant-category-layout .custom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Kategori Başlığı */
.category-page-header {
    text-align: center;
    margin-bottom: 60px;
}

.category-title {
    font-size: 3rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 15px;
    text-transform: capitalize;
}

.category-description {
    font-size: 1.15rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- YAZI KARTLARI GRİD YERLEŞİMİ --- */
.elegant-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); /* Dinamik 3 Sütun */
    gap: 40px;
    margin-bottom: 50px;
}

/* --- KART TASARIMI --- */
.elegant-post-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.elegant-post-card:hover {
    transform: translateY(-8px); /* Üzerine gelince zarifçe yukarı kalkar */
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.post-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10; /* Sinematik kapak oranı */
    overflow: hidden;
    margin: 0;
}

.post-card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.elegant-post-card:hover .post-card-image-wrapper img {
    transform: scale(1.05); /* Fotoğraf içerde hafifçe büyür */
}

.no-thumbnail-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ece9e6 0%, #ffffff 100%);
}

/* Tarih Rozeti */
.post-card-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #111;
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.post-card-date-badge .day {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
}

.post-card-date-badge .month {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-top: 3px;
    letter-spacing: 1px;
}

/* Kart İçerik Alanı */
.post-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #222;
    margin-top: 0;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.elegant-post-card:hover .post-card-title {
    color: #555; /* Başlık hover rengi */
}

.post-card-excerpt {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1; /* Uzun metinlerde butonun hep en altta kalmasını sağlar */
}

.read-more-btn {
    font-size: 0.9rem;
    font-weight: 700;
    color: #111;
    text-transform: uppercase;
    display: inline-block;
    transition: margin-left 0.3s ease;
}

.elegant-post-card:hover .read-more-btn {
    margin-left: 5px; /* Ok işareti efekti */
}

/* --- SAYFALAMA (PAGINATION) --- */
.elegant-pagination {
    text-align: center;
    margin-top: 40px;
}

.elegant-pagination .nav-links {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.elegant-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.elegant-pagination .page-numbers:hover {
    background: #f0f0f0;
}

.elegant-pagination .page-numbers.current {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* --- MOBİL UYUM (RESPONSIVE) --- */
@media (max-width: 768px) {
    .category-title {
        font-size: 2.2rem;
    }
    
    .elegant-posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 576px) {
    .elegant-posts-grid {
        grid-template-columns: 1fr; /* Mobilde kartlar tam genişlik ve alt alta */
    }
}