/*
Theme Name: Morenazo
Theme URI: https://alparslanaydin.com/morenazo
Author: Alparslan Aydın
Description: Morenazo - Final Ultimate Edition (Mobile Fixed)
Version: 1.2.4
License: GNU General Public License v2 or later
Text Domain: morenazo
*/

/* 1. DEĞİŞKENLER */
:root {
    --primary-red: #960018; /*  Kırmızı */
    --dark-bg: #121212;
    --text-dark: #222;
    --text-light: #666;
    --radius-lg: 16px;
    --radius-sm: 8px;
    --shadow-card: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-hover: 0 20px 40px rgba(150, 0, 24, 0.15);
    --font-head: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #f8f9fa;
    overflow-x: hidden;
    margin-top: 0 !important;
}

h1, h2, h3, h4, h5, h6, .btn, .nav-link, .badge {
    font-family: var(--font-head);
    font-weight: 800;
    letter-spacing: -0.5px;
}

a { text-decoration: none; transition: all 0.3s ease; color: var(--text-dark); }
a:hover { color: var(--primary-red); }

/* 2. HEADER */
.site-header {
    background-color: var(--primary-red) !important;
    border-bottom: none;
    padding: 0 !important;
    box-shadow: 0 4px 20px rgba(150, 0, 24, 0.4);
    min-height: 75px;
    display: flex; align-items: center;
    z-index: 1000;
    /* MASAÜSTÜ VARSAYILAN: STICKY */
    position: sticky;
    top: 0;
}

/* LOGO */
.navbar-brand {
    position: absolute;
    left: 50%; top: 50%; transform: translate(-50%, -50%);
    z-index: 1002;
    padding: 0; margin: 0;
    display: flex; align-items: center;
}
.navbar-brand img, .custom-logo { max-height: 65px !important; width: auto; display: block; filter: none !important; }

/* MENÜ LİNKLERİ */
.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 700; text-transform: uppercase; font-size: 0.85rem;
    padding: 0 15px !important; line-height: 75px; border-bottom: none !important;
}
.navbar-nav .nav-link:hover { color: rgba(255, 255, 255, 0.8) !important; background-color: rgba(0,0,0,0.05); }

/* İKONLAR */
.social-icons-header a { color: #ffffff !important; font-size: 1.1rem !important; transition: 0.3s; line-height: 75px; display: inline-block; }
.site-header .btn-link { color: #fff !important; line-height: 75px; }
.navbar-toggler-icon { filter: invert(1); }

/* MEGA MENU */
.mega-menu {
    top: 100%; left: 0; width: 100vw !important; margin-left: 0;
    border-radius: 0 0 16px 16px; padding: 30px 0; background: #fff;
    border-top: 5px solid #7a0013; z-index: 9999;
}
.site-header .container { position: static !important; }
.nav-item.dropdown:hover .mega-menu { display: block; animation: slideDown 0.3s ease forwards; }
@keyframes slideDown { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.mega-menu .dropdown-item { color: #960018 !important; font-weight: 600; font-size: 0.95rem; transition: 0.2s; }
.mega-menu .dropdown-item:hover { color: var(--primary-red) !important; padding-left: 5px !important; }

/* 3. SLIDER */
.hero-wrapper { padding: 30px 20px 20px; position: relative; z-index: 1; }
.hero-slider-rounded { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); position: relative; height: 60vh; min-height: 450px; max-height: 650px; }
.hero-bg { width: 100%; height: 100%; background-size: cover; background-position: center top; transition: transform 7s ease; }
.carousel-item:hover .hero-bg { transform: scale(1.05); }
.hero-overlay { background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%); position: absolute; inset: 0; pointer-events: none; }
.hero-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 50px; color: #fff; text-align: left; z-index: 10; pointer-events: auto; }
.hero-title { font-size: 3rem; line-height: 1.1; margin-bottom: 0; text-shadow: 0 5px 15px rgba(0,0,0,0.8); color: #fff; }
.hero-content .btn { display: none !important; }

/* OKLAR */
.carousel-control-prev, .carousel-control-next {
    width: 60px; height: 60px; background-color: rgba(0,0,0,0.3); border-radius: 50%; border: 1px solid rgba(255,255,255,0.3);
    top: 50%; transform: translateY(-50%); opacity: 1; z-index: 50; transition: all 0.3s ease;
}
.carousel-control-prev { left: 20px; } .carousel-control-next { right: 20px; }
.carousel-control-prev:hover, .carousel-control-next:hover { background-color: #fff; opacity: 1; transform: translateY(-50%) scale(1.1); border-color: #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
.carousel-control-prev-icon, .carousel-control-next-icon { width: 24px; height: 24px; filter: none; }
.carousel-control-prev:hover .carousel-control-prev-icon, .carousel-control-next:hover .carousel-control-next-icon { filter: invert(1) grayscale(100); }

/* 4. MANIFESTO & KARTLAR */
.manifesto-nav { border-bottom: 2px solid #eee; display: flex; width: 100%; margin-bottom: 2rem; padding: 0; }
.manifesto-nav .nav-item { flex: 1; margin: 0 5px; text-align: center; }
.manifesto-nav .nav-link { border: none; background: transparent; color: #999 !important; font-size: 1rem; font-weight: 800; text-transform: uppercase; padding: 15px 25px; transition: all 0.3s ease; border-radius: 8px; }
.manifesto-nav .nav-link:hover { color: #960018 !important; background: rgba(150, 0, 24, 0.05) !important; }
.manifesto-nav .nav-link.active { background-color: #960018 !important; color: #fff !important; box-shadow: 0 5px 15px rgba(150, 0, 24, 0.3) !important; }
.manifesto-content-box { background: #fff; padding: 40px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); text-align: center; max-width: 100%; margin: 20px auto 0; }
.manifesto-title { color: #960018; font-size: 2rem; margin-bottom: 1.5rem; font-weight: 800; }
.manifesto-text { font-size: 1.1rem; color: #555; line-height: 1.8; }

.cta-buttons .btn { border-radius: 50px; padding: 12px 30px; font-weight: 700; text-transform: uppercase; border-width: 2px; }
.cta-buttons .btn-red { background: var(--primary-red); color: #fff; border-color: var(--primary-red); }
.cta-buttons .btn-outline { color: var(--text-dark); border-color: #ddd; }
.cta-buttons .btn-outline:hover { border-color: var(--primary-red); color: var(--primary-red); }
.cta-big-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; height: 350px; display: flex; align-items: flex-end; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.5); background-size: cover; background-position: center; transition: transform 0.3s; }
.cta-big-card .hero-overlay { pointer-events: none; }
.cta-big-card a { position: relative; z-index: 10; }

.podcast-card { background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%); }
.youtube-card { background: linear-gradient(135deg, #2b2b2b 0%, #121212 100%); border: 1px solid #333; }
.youtube-card .btn-light { color: #cc0000 !important; }

.bento-box { background-color: #fff; border-radius: var(--radius-lg); overflow: hidden; position: relative; display: block; height: 100%; min-height: 250px; box-shadow: var(--shadow-card); transition: all 0.3s; text-decoration: none !important; }
.bento-box .bento-overlay { pointer-events: none; }
.bento-box.solid-red { background-color: var(--primary-red) !important; color: #ffffff !important; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.bento-box.solid-red:hover { background-color: #7a0013 !important; transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.bento-title { color: #fff !important; font-size: 1.8rem; line-height: 1; margin: 0; text-transform: uppercase; text-shadow: 0 2px 5px rgba(0,0,0,0.1); }

.yayinlar-strip { background: var(--primary-red); border-radius: var(--radius-lg); padding: 20px 30px; display: flex; align-items: center; justify-content: space-between; color: #fff; text-decoration: none !important; transition: 0.3s; }
.yayinlar-strip:hover { background: #7a0013; color: #fff; transform: translateY(-3px); }

.mini-box { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 140px; border-radius: var(--radius-lg); color: #fff !important; text-decoration: none !important; transition: all 0.3s ease; box-shadow: var(--shadow-card); text-align: center; padding: 15px; }
.mini-box:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.box-black { background-color: #000000; } .box-red { background-color: var(--primary-red); } .box-purple { background-color: #531a56; } .box-green { background-color: #b6e848; color: #222 !important; }
.mini-box img, .mini-box svg, .mini-box i { max-height: 50px; width: auto; margin-bottom: 10px; display: block; }

.news-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: none; box-shadow: var(--shadow-card); transition: 0.3s; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.news-img-wrap { height: 220px; overflow: hidden; position: relative; }
.news-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.news-card:hover .news-img-wrap img { transform: scale(1.1); }

/* MODAL & FOOTER */
.modal-backdrop.show { opacity: 0.8; z-index: 1040; }
.modal-content { border-radius: var(--radius-lg); }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #aaa !important; }
.footer-links a:hover { color: #fff !important; }
.dropdown-menu { border: none; border-top: 4px solid var(--primary-red); border-radius: 0 0 var(--radius-sm) var(--radius-sm); box-shadow: var(--shadow-card); display: none; margin-top: 0; }
.dropdown-menu.show { display: block; animation: fadeIn 0.3s ease; }
.dropdown-menu li a { border-bottom: 1px solid #eee !important; padding: 10px 20px; color: #333 !important; }
.dropdown-menu li:last-child a { border-bottom: none !important; }
@keyframes fadeIn { from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }

/* SINGLE & ARAPÇA DESTEĞİ */
.single-hero { width: 100%; height: 70vh !important; min-height: 550px !important; background-size: cover !important; background-position: center center !important; position: relative; margin-top: 0; background-color: #222; }
.single-hero .hero-overlay { background: transparent !important; opacity: 0 !important; pointer-events: none; }
.single-hero h1 { line-height: 1.2; color: #fff !important; text-shadow: 0 2px 20px rgba(0,0,0,0.9) !important; }
.post-content { line-height: 1.8; font-weight: 400; text-align: justify; text-justify: inter-word; }
.post-content img { max-width: 100%; height: auto; border-radius: var(--radius-sm); margin: 20px 0; box-shadow: var(--shadow-card); }
.post-content blockquote { border-left: 5px solid var(--primary-red); background: #f9f9f9; padding: 20px 30px; margin: 30px 0; font-style: italic; font-size: 1.2rem; color: #555; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* RTL (Arapça/Farsça) */
body.is-arabic, body.is-farsi { direction: rtl; text-align: right; }
body.is-arabic h1, body.is-farsi h1, body.is-arabic p, body.is-farsi p { text-align: right; }
body.is-arabic .post-content blockquote, body.is-farsi .post-content blockquote { border-left: none; border-right: 5px solid var(--primary-red); text-align: right; }
body.is-arabic { font-family: 'Tajawal', sans-serif !important; }
body.is-farsi { font-family: 'Vazirmatn', sans-serif !important; }

/* PDF Viewer */
.pdf-viewer-container { border: 1px solid #ddd; overflow: hidden; }

/* =============================================================
   MOBİL UYUMLULUK (KRİTİK)
   ============================================================= */
@media (max-width: 991px) {
    /* HEADER STICKY DEĞİL, NORMAL */
    .site-header { position: relative !important; top: auto !important; }
    
    /* LOGO YERİ */
    .navbar-brand { position: static !important; transform: none !important; margin: 0 auto !important; }

    /* SLIDER */
    .hero-wrapper { padding: 15px; }
    .hero-slider-rounded { height: 50vh; min-height: 400px; }
    .hero-content { padding: 20px 20px 40px 20px; text-align: center; }
    .hero-title { font-size: 1.6rem; text-shadow: 0 2px 10px rgba(0,0,0,0.9); }
    .carousel-control-prev, .carousel-control-next { width: 40px; height: 40px; }
    .carousel-control-prev { left: 10px; } .carousel-control-next { right: 10px; }
    
    /* KARTLAR */
    .cta-big-card { height: auto; min-height: 300px; display: block; }
    .cta-big-card .position-absolute { position: relative !important; padding: 30px !important; }
    .cta-big-card h2 { font-size: 1.8rem; }
    .manifesto-nav { flex-direction: column; } .manifesto-nav .nav-item { margin: 5px 0; width: 100%; }
    .podcast-card .col-lg-5, .youtube-card .col-lg-5 { text-align: center !important; } 
    .podcast-card .p-5, .youtube-card .p-5 { padding: 30px 15px !important; }
    
    /* MENÜ */
    .navbar-nav { margin-top: 20px; }
    .navbar-nav .nav-link { border-bottom: 1px solid #eee !important; padding: 15px 0 !important; color: #333 !important; line-height: 1.5; }
    
    .single-hero { height: 50vh !important; min-height: 400px !important; }
    .single-hero h1 { font-size: 2rem; }
    .post-content { text-align: left; }
}
/* ... (ÜST KISIMLAR AYNI) ... */

/* MEGA MENU (TAM EKRAN FİX) */
.mega-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: 100vw !important; /* Ekran genişliğini zorla */
    margin-left: calc(-50vw + 50%); /* Ortalamak için matematiksel hile */
    left: 50%; /* Ortadan başlatıp geri çek */
    border-radius: 0 0 16px 16px;
    padding: 30px 0;
    background: #fff;
    border-top: 5px solid #7a0013;
    z-index: 9999;
    display: none;
}

/* Hover ile açılma */
.nav-item.dropdown:hover .mega-menu {
    display: block;
    animation: slideDown 0.3s ease forwards;
}

/* Header Container Static Olmalı (Mega Menü Taşsın Diye) */
.site-header .container {
    position: static !important;
}

/* ... (DİĞER STİLLER AYNI) ... */
/* =========================================

/* =========================================
   MOBİL ÖZEL DÜZENLEMELER
   ========================================= */
@media (max-width: 991px) {
    
    /* CTA Kartları (Katıl/Bağış) */
    .cta-big-card {
        min-height: 200px !important; /* Yüksekliği azalt */
        height: auto !important;
    }
    .cta-big-card h2 { font-size: 1.5rem; }
    
    /* Bento Kutuları (Yan Yana) */
    .bento-box { min-height: 100px; padding: 10px !important; }
    .bento-title { font-size: 0.8rem !important; line-height: 1.1; }
    
    /* Haber Kartları (Yan Yana) */
    .news-img-wrap { height: 120px !important; } /* Resimleri küçült */
    .news-card h4 a { font-size: 0.9rem; } /* Başlıkları küçült */
    .news-card .card-body { padding: 10px !important; }
    
    /* Slider */
    .hero-slider-rounded { height: 50vh !important; min-height: 350px !important; }
    .hero-title { font-size: 1.4rem !important; }
    .carousel-control-prev, .carousel-control-next { display: none !important; } /* Okları gizle */
    
}
/* =========================================
   YENİ SINGLE PAGE TASARIMI (MODERN)
   ========================================= */

/* Görsel Efekti */
.single-featured-image img {
    object-fit: cover;
    max-height: 600px; /* Çok uzun resimleri sınırlar */
    width: 100%;
    transition: transform 0.5s ease;
}

.single-featured-image:hover img {
    transform: scale(1.02); /* Üzerine gelince hafif zoom */
}

/* Başlık Tipografisi */
.single-header h1 {
    line-height: 1.2;
    letter-spacing: -1px;
}

/* İçerik Okunabilirliği */
.post-content {
    font-size: 1.15rem !important; /* Yazıyı biraz büyüt */
    color: #333 !important;
}

.post-content p {
    margin-bottom: 1.8rem;
}

/* RTL (Arapça/Farsça) Uyumu için */
body.is-arabic .single-header, 
body.is-farsi .single-header {
    text-align: right !important;
}
/* =========================================
   PAGINATION (SAYFALAMA) STİLLERİ
   (Tüm sayfalarda geçerli ortak tasarım)
   ========================================= */

.custom-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    align-items: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Sayfa Numaraları ve Oklar */
.custom-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    border-radius: 50%; /* Tam Yuvarlak */
    background-color: #fff;
    color: #333 !important;
    font-weight: 800;
    text-decoration: none !important;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    font-size: 1rem;
    line-height: 1;
}

/* Aktif Sayfa ve Üzerine Gelince */
.custom-pagination .page-numbers.current,
.custom-pagination .page-numbers:hover {
    background-color: #960018 !important; /* İDP Kırmızısı */
    color: #fff !important;
    border-color: #960018;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(150, 0, 24, 0.3);
}

/* Önceki ve Sonraki Butonları (Oklar) */
.custom-pagination .prev, 
.custom-pagination .next {
    border-radius: 50px; /* Hap Şekli */
    padding: 0 20px;
    background-color: #f8f9fa;
    color: #555 !important;
    font-size: 1.2rem;
}

.custom-pagination .prev:hover, 
.custom-pagination .next:hover {
    background-color: #333 !important;
    border-color: #333;
    color: #fff !important;
}

/* Noktalar (...) */
.custom-pagination .dots {
    border: none;
    box-shadow: none;
    background: transparent;
    cursor: default;
    color: #999 !important;
}
.custom-pagination .dots:hover {
    background: transparent !important;
    transform: none;
    box-shadow: none;
    color: #999 !important;
}
/* =========================================
   MOBİL MENÜ RENK DÜZELTMESİ (KESİN ÇÖZÜM)
   ========================================= */

/* Menüdeki tüm linkleri zorla beyaz yap */
#mobileMenu .nav-link,
#mobileMenu a {
    color: #ffffff !important;
}

/* Üzerine gelince veya tıklanınca hafif gri olsun */
#mobileMenu .nav-link:hover,
#mobileMenu .nav-link:focus,
#mobileMenu .nav-link:active {
    color: #e0e0e0 !important;
}

/* "İDP'ye Katıl" butonu gibi özel butonların içindeki yazıyı koru */
#mobileMenu .btn {
    color: #960018 !important; /* Kırmızı yazı (Beyaz buton içi) */
}
/* =========================================
   NİSAN GÜNDEM - MODERN EDİTORYAL TASARIM
   ========================================= */

/* Font Ayarları */
.editorial-title {
    font-family: 'Georgia', 'Playfair Display', serif; /* Tırnaklı, ciddi font */
    letter-spacing: -1px;
    line-height: 1.1;
}

.editorial-content {
    font-family: 'Georgia', 'Times New Roman', serif; /* Okuması en rahat font */
    font-size: 1.25rem; /* Yazı boyutu büyük (20px) */
    line-height: 1.7; /* Satır aralığı geniş */
    color: #2c2c2c;
}

/* Drop Cap (İlk Harf Tasarımı) */
.editorial-content > p:first-of-type::first-letter {
    float: left;
    font-size: 3.8rem; /* Kocaman */
    line-height: 0.85;
    font-weight: 700;
    color: #960018; /* Parti Kırmızısı */
    margin-right: 12px;
    margin-top: 6px;
    font-family: 'Arial', sans-serif; /* İlk harf düz font olsun, daha modern durur */
}

/* Paragraf Araları */
.editorial-content p {
    margin-bottom: 2rem;
}

/* Alıntılar (Blockquote) */
.editorial-content blockquote {
    font-size: 1.5rem;
    font-style: italic;
    color: #555;
    text-align: center;
    margin: 3rem 0;
    border: none;
    position: relative;
}
/* Alıntı tırnak işareti süslemesi */
.editorial-content blockquote::before {
    content: "\201C"; /* Açılış tırnağı */
    font-size: 4rem;
    color: rgba(150, 0, 24, 0.2);
    display: block;
    line-height: 0.5;
    margin-bottom: 10px;
}

/* Linkler ve Hover */
.hover-red:hover {
    color: #960018 !important;
}
.share-icon:hover {
    background-color: transparent;
    color: #960018 !important;
}

/* Görsel */
.editorial-image img {
    transition: transform 1s ease;
}
.editorial-image:hover img {
    transform: scale(1.01); /* Çok hafif zoom */
}