/* assets/css/style.css - PubliJournal v12.0 (Final Stable Fix) */

/* =========================================
   1. TEMEL AYARLAR & RESET
   ========================================= */
:root {
    --primary: #0d6efd;           /* Ana Renk */
    --primary-soft: rgba(13, 110, 253, 0.06); 
    --dark: #1e293b;
    --text-dark: #334155;
    --text-gray: #64748b;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --header-height: 90px;
    --font-main: 'Figtree', sans-serif;
    --shadow-menu: 0 15px 40px -5px rgba(0,0,0,0.15), 0 5px 15px -3px rgba(0,0,0,0.05);
}

/* Google Translate Temizliği */
.goog-te-banner-frame, .goog-te-balloon-frame, #goog-gt-tt, .skiptranslate, .goog-te-gadget-simple, .goog-te-gadget-icon { display: none !important; }

/* YATAY SCROLL ENGELLEME (GÜÇLENDİRİLMİŞ) */
html, body { 
    overflow-x: hidden !important; 
    width: 100%; 
}

body { 
    top: 0 !important; 
    position: static !important; 
    margin-top: 0 !important; 
    padding-top: var(--header-height); 
    font-family: var(--font-main) !important; 
    color: var(--text-dark); 
    background-color: var(--bg-light); 
}

a, .btn, button { text-decoration: none !important; }
ul, li { list-style: none; padding: 0; margin: 0; }


/* =========================================
   2. HEADER (AKILLI STICKY)
   ========================================= */
.site-header {
    background: #fff; 
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: fixed; top: 0 !important; left: 0; width: 100%; z-index: 1000; 
    height: var(--header-height);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.site-header.header-hidden { transform: translateY(-100%); box-shadow: none; }
.site-header.header-visible { transform: translateY(0); box-shadow: 0 4px 20px rgba(0,0,0,0.06); }

.header-inner { max-width: 1250px; margin: 0 auto; padding: 0 20px; height: 100%; display: flex; align-items: center; justify-content: space-between; position: relative; }

.header-left { flex: 0 0 auto; display: flex; align-items: center; }
.brand-wrapper { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { max-height: 55px; width: auto; object-fit: contain; }
.brand-text-col { display: flex; flex-direction: column; justify-content: center; line-height: 1.2; }
.journal-name-tr { font-size: 19px; font-weight: 800; color: var(--primary); letter-spacing: -0.5px; }
.journal-name-en { font-size: 13px; font-weight: 600; color: var(--text-gray); letter-spacing: 0.5px; }


/* ====================================================================
   3. MENÜ TASARIMI (GENEL & DROPDOWN YAPISI)
   ==================================================================== */
.header-center { flex: 1; display: flex; height: 100%; align-items: center; justify-content: center; }
.main-menu { display: flex; gap: 25px; height: 100%; align-items: center; }
.menu-item { position: relative; height: 100%; display: flex; align-items: center; }

/* Menü Linki (Masaüstü ve Mobil Ortak Temel) */
.menu-link { 
    font-weight: 600; color: #64748b; font-size: 15px; cursor: pointer;
    display: flex; align-items: center; gap: 5px; padding: 5px 0; 
    background-color: transparent !important; transition: color 0.2s ease;
    text-decoration: none; position: relative;
}
.menu-item:hover > .menu-link, .menu-item.active > .menu-link { color: var(--primary); }

/* Menü Oku */
.menu-arrow { font-size: 10px; opacity: 0.5; transition: transform 0.2s; margin-top: 1px; }



/* --- DROPDOWN (AÇILIR MENÜ) --- */
.dropdown {
    position: absolute; 
    top: 100%; 
    left: -15px; 
    background: #fff; 
    min-width: 260px;
    box-shadow: 0 10px 40px -5px rgba(0,0,0,0.1), 0 2px 10px -2px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    border-top: 3px solid var(--primary);
    opacity: 0; 
    visibility: hidden;
    transform: translateY(15px); 
    transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1100; 
    padding: 10px 0;
    display: flex; flex-direction: column; gap: 0;
}

/* Menü köprüsü (Hover kaybını önler) */
.dropdown::before { content: ''; position: absolute; top: -20px; left: 0; width: 100%; height: 20px; background: transparent; }

.menu-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown li { width: 100%; list-style: none; position: relative; /* Sub-menu hizası için gerekli */ }

.dropdown a, .dropdown .menu-link {
    padding: 12px 20px; 
    font-size: 14px; 
    color: #334155; 
    font-weight: 500;
    display: flex; justify-content: space-between; align-items: center;
    width: 100%; box-sizing: border-box; 
    border-radius: 0; border: none; background: transparent; text-decoration: none;
    transition: all 0.2s ease;
}

.dropdown li:hover > a, 
.dropdown li:hover > .menu-link { 
    background-color: #f8fafc; color: var(--primary); padding-left: 25px; 
}
.dropdown .menu-link::after { display: none; }

/* --- SUB-MENU (HİZALAMA DÜZELTİLDİ) --- */
.sub-menu {
    position: absolute; 
    left: 100%; 
    
    /* DÜZELTME BURADA: Üstten hizalama sıfırlandı */
    top: 0; 
    margin-top: -3px; /* Border payını kapatmak için hafif yukarı */
    
    background: #fff; min-width: 240px;
    box-shadow: 0 10px 40px -5px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.06); border-radius: 12px;
    border-top: 3px solid var(--primary);
    
    opacity: 0; visibility: hidden;
    transform: translateX(10px); transition: all 0.2s ease;
    z-index: 1200; padding: 10px 0; 
    margin-left: 10px; /* Ana menüden hafif uzaklık */
}

.dropdown li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateX(0); }


/* =========================================
   4. HEADER SAĞ
   ========================================= */
.header-right { flex: 0 0 auto; display: flex; justify-content: flex-end; align-items: center; gap: 15px; }
.lang-switch-box { display: flex; align-items: center; gap: 8px; border-right: 1px solid #e2e8f0; padding-right: 15px; }
.lang-opt { font-size: 12px; font-weight: 700; color: #94a3b8; cursor: pointer; text-transform: uppercase; transition: 0.2s; padding: 2px 5px; border-radius: 4px; }
.lang-opt:hover { color: var(--text-dark); background: #f1f5f9; }
.lang-opt.active { color: var(--primary); background: rgba(13, 110, 253, 0.05); }
.btn-panel { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #e2e8f0; display: flex; align-items: center; justify-content: center; color: #64748b; background: #fff; }
.btn-panel:hover { border-color: var(--primary); color: var(--primary); }
.mobile-toggle { display: none; font-size: 24px; cursor: pointer; color: var(--text-dark); }
.mobile-lang-container { display: none; }


/* =========================================
   5-8. HERO, İÇERİK, SIDEBAR
   ========================================= */
.hero-wrapper { width: 100%; position: relative; overflow: visible !important; margin-bottom: 80px; border-radius: 0 0 50px 50px; background-color: #f8fafc; background-image: radial-gradient(at 0% 0%, rgba(13, 110, 253, 0.15) 0px, transparent 50%), radial-gradient(at 100% 0%, rgba(13, 110, 253, 0.10) 0px, transparent 50%), radial-gradient(at 100% 100%, rgba(255,255,255,0.8) 0px, transparent 50%); border-bottom: 1px solid rgba(13, 110, 253, 0.05); }
.hero-inner { max-width: 1250px; margin: 0 auto; padding: 55px 20px 100px 20px; display: flex; align-items: center; gap: 60px; position: relative; z-index: 2; min-height: 480px; }
.hero-bg-shape { position: absolute; border-radius: 50%; filter: blur(60px); z-index: 1; opacity: 0.25; }
.shape-1 { width: 500px; height: 500px; background: var(--primary); top: -150px; right: -100px; }
.shape-2 { width: 300px; height: 300px; background: var(--secondary); bottom: -50px; left: -50px; opacity: 0.1; }
.shape-3 { width: 150px; height: 150px; background: #f1c40f; top: 20%; left: 40%; opacity: 0.08; }
.hero-left { flex: 1.6; padding-left: 40px; }
.hero-right { flex: 1; display: flex; justify-content: center; perspective: 1000px; }
.hero-title { font-size: 48px; font-weight: 800; color: #1e293b; line-height: 1.15; margin: 0 0 25px 0; letter-spacing: -1px; }
.hero-desc { font-size: 18px; line-height: 1.7; color: #64748b; margin-bottom: 40px; max-width: 90%; }
.hero-meta { display: flex; gap: 25px; margin-bottom: 40px; font-size: 15px; font-weight: 600; color: #475569; background: rgba(255,255,255,0.7); padding: 12px 30px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.9); width: fit-content; box-shadow: 0 4px 15px rgba(0,0,0,0.03); backdrop-filter: blur(5px); }
.hero-meta div { display: flex; align-items: center; gap: 8px; }
.hero-meta i { color: var(--primary); font-size: 1.1rem; }
.hero-btns { display: flex; gap: 15px; }
.btn-hero { padding: 16px 35px; border-radius: 50px; font-weight: 700; font-size: 16px; text-decoration: none; transition: all 0.2s ease; display: inline-flex; align-items: center; gap: 10px; }
.btn-hero-pri { background: var(--primary); color: #fff; box-shadow: 0 10px 25px -5px rgba(13, 110, 253, 0.4); border: 1px solid transparent; }
.btn-hero-pri:hover { transform: translateY(-3px); box-shadow: 0 15px 30px -5px rgba(13, 110, 253, 0.5); opacity: 0.95; color: #fff; }
.btn-hero-sec { background: #fff; color: #333; border: 1px solid #e2e8f0; box-shadow: 0 4px 10px rgba(0,0,0,0.03); }
.btn-hero-sec:hover { background: #f8fafc; border-color: var(--primary); transform: translateY(-2px); color: var(--primary); }
.book-cover { max-width: 280px; width: 100%; border-radius: 12px; box-shadow: 25px 25px 60px rgba(0,0,0,0.15), -2px 2px 5px rgba(255,255,255,0.3) inset; transform: rotateY(-12deg) rotateX(5deg); transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); cursor: zoom-in; }
.book-cover:hover { transform: rotateY(0deg) rotateX(0deg) scale(1.03); }
.hero-search-container { position: absolute; bottom: 0; left: 50%; transform: translate(-50%, 50%); z-index: 10; width: 90%; max-width: 700px; background: #fff; padding: 10px; border-radius: 50px; border: 1px solid #e2e8f0; display: flex; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.hero-search-input { border: none; outline: none; padding: 12px 25px; flex: 1; border-radius: 50px; font-size: 16px; background: transparent; }
.hero-search-btn { background: var(--dark); color: #fff; border: none; padding: 12px 35px; border-radius: 50px; font-weight: 700; cursor: pointer; transition: 0.2s; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.hero-search-btn:hover { background: var(--primary); transform: scale(1.05); }
.announcement-bar { background: #fff; border-bottom: 1px solid #e2e8f0; height: 46px; overflow: hidden; position: relative; z-index: 900; }
.announcement-flex { display: flex; align-items: center; height: 100%; max-width: 1250px; margin: 0 auto; padding: 0 20px; }
.ann-left-col { display: flex; align-items: center; gap: 12px; padding-right: 20px; border-right: 1px solid #f1f5f9; margin-right: 20px; height: 100%; flex-shrink: 0; }
.ann-label { background: var(--dark); color: #fff; font-size: 10px; font-weight: 800; text-transform: uppercase; padding: 4px 8px; border-radius: 4px; letter-spacing: 0.5px; }
.ann-controls { display: flex; flex-direction: column; gap: 2px; justify-content: center; }
.ann-arrow { font-size: 10px; color: #94a3b8; cursor: pointer; transition: 0.2s; padding: 1px; }
.ann-arrow:hover { color: var(--primary); }
.ann-viewport { flex: 1; height: 100%; position: relative; overflow: hidden; }
.ann-item { position: absolute; top: 100%; left: 0; width: 100%; height: 100%; display: flex; align-items: center; transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1); opacity: 0; pointer-events: none; }
.ann-item.active { top: 0; opacity: 1; pointer-events: auto; }
.ann-item.exit-up { top: -100%; opacity: 0; }
.ann-link { color: var(--text-dark); font-size: 13px; font-weight: 500; display: flex; align-items: center; width: 100%; text-decoration: none; gap: 10px; }
.ann-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 90%; flex: 0 1 auto; }
.badge-new { background: #ef4444; color: #fff; font-size: 9px; padding: 2px 6px; border-radius: 4px; font-weight: 700; text-transform: uppercase; margin-left: 15px; animation: pulse 2s infinite; flex-shrink: 0; }

.home-container { max-width: 1250px; margin: 0 auto; padding: 20px 20px; }
.content-grid { display: grid; gap: 40px; }
.widget { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 25px; margin-bottom: 25px; }
.widget-title { position: relative; font-size: 18px; font-weight: 700; color: var(--text-dark); display: flex; align-items: center; line-height: 1.2; margin-bottom: 10px; padding-bottom: 15px; border-bottom: 1px solid #f1f5f9; border-left: none; padding-left: 0; }
.widget-title::before { content: ''; display: block; width: 4px; height: 24px; background-color: var(--primary); margin-right: 15px; flex-shrink: 0; }
.widget-title i { display: none; }
.menu-list { display: flex; flex-direction: column; gap: 0; padding-top: 5px; }
.quick-link-base { display: flex; align-items: center; gap: 12px; text-decoration: none !important; font-size: 14px; padding: 10px 5px 0px 5px; margin-bottom: 5px; background: transparent !important; box-shadow: none !important; transition: transform 0.2s ease, color 0.2s ease; }
.quick-link-base:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 5px; }
.quick-link-highlight {
    font-size: 16px !important; 
}
.menu-icon { width: 20px; height: auto; background: transparent !important; border: none !important; border-radius: 0; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.quick-link-base:hover { transform: translateX(5px); }
.imprint-list { display: flex; flex-direction: column; padding-top: 5px; }
.imprint-item { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; color: #334155; text-decoration: none; padding: 10px 5px 12px 5px; margin-bottom: 5px; border-bottom: 1px dashed #e2e8f0; }
.imprint-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 5px; }
.imprint-icon { width: 20px; height: auto; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; color: var(--primary); }
.imprint-content { flex: 1; min-width: 0; width: 100%; }
.imprint-content p { margin: 0; line-height: 1.4; }

/* ARŞİV KART YAPISI (DÜZELTİLDİ) */
.articles-wrapper-box { background: #fff; border: 1px solid #eef2f6; border-radius: 16px; padding: 30px; box-shadow: 0 10px 40px -10px rgba(0,0,0,0.03); }
.archive-header { margin-bottom: 30px; border-bottom: 1px solid #f1f5f9; padding-bottom: 15px; }
.page-title { font-size: 22px; font-weight: 800; color: var(--text-dark); margin: 0; padding-left: 15px; border-left: 4px solid var(--primary); }

.article-list-container { display: flex; flex-direction: column; gap: 25px; }
.gradient-article-card { position: relative; background: #fff; background: linear-gradient(145deg, #ffffff 0%, #f9fbff 100%); border: 1px solid #eef2f6; border-left: 5px solid var(--primary); border-radius: 8px; padding: 25px 30px; box-shadow: 0 2px 8px rgba(0,0,0,0.03); transition: all 0.3s ease; display: flex; flex-direction: column; gap: 20px; }
.gradient-article-card:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.06); border-color: #dee2e6; border-left-color: var(--primary); }
.gac-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px dashed #e2e8f0; padding-bottom: 12px; }
.gac-left { display: flex; align-items: center; gap: 12px; }
.gac-number { font-size: 1.4rem; font-weight: 800; color: var(--primary); font-family: var(--font-main); opacity: 0.7; }
.gac-type { background: rgba(13, 110, 253, 0.08); color: var(--primary); padding: 3px 10px; border-radius: 4px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
.gac-right .gac-pages { font-family: 'Courier New', monospace; font-weight: 600; color: #64748b; font-size: 0.95rem; background: #fff; padding: 2px 8px; border: 1px solid #e2e8f0; border-radius: 4px; white-space: nowrap; }
.gac-body { display: flex; flex-direction: column; }
.gac-main-title { margin: 0 0 6px 0; font-size: 1.3rem; font-weight: 700; line-height: 1.4; color: var(--text-dark); }
.gac-main-title a { text-decoration: none; color: inherit; transition: color 0.2s; }
.gac-main-title a:hover { color: var(--primary); }
.gac-sub-title { font-size: 1rem; color: #64748b; font-style: italic; margin-bottom: 15px; }
.gac-keywords { display: flex; flex-wrap: wrap; gap: 8px; }
.gac-tag { font-size: 0.8rem; color: #64748b; background: #fff; border: 1px solid #e2e8f0; padding: 4px 12px; border-radius: 50px; transition: all 0.2s ease; text-decoration: none !important; display: inline-block; cursor: pointer; }
.gradient-article-card:hover .gac-tag { border-color: #cbd5e1; color: #475569; }
.gac-tag:hover { background-color: var(--primary) !important; border-color: var(--primary) !important; color: #fff !important; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(13, 110, 253, 0.2); }
.gac-tag i { margin-right: 6px; font-size: 0.75rem; opacity: 0.7; color: var(--primary); }
.gac-tag:hover i { opacity: 1; color: #fff; }
.gac-footer { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: auto; }
.gac-authors { display: flex; align-items: center; gap: 12px; flex: 1; 
    min-width: 0; /* İçerik taşarsa gizleyebilmek için gerekli */
    margin-right: 15px; /* Butonla araya mesafe koyar */}
.auth-circle { width: 36px; height: 36px; background: var(--bg-light); border: 1px solid #e2e8f0; color: var(--secondary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; }
.auth-names { font-weight: 600; color: var(--text-dark); font-size: 0.95rem; }
.btn-gac-view { display: inline-flex; align-items: center; background-color: var(--primary); color: #fff; padding: 10px 24px; border-radius: 6px; font-size: 0.9rem; font-weight: 600; transition: all 0.3s; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); white-space: nowrap; 
    flex-shrink: 0;}
.btn-gac-view:hover { background-color: var(--dark); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15); }

/* Slider */
.indexes-section { background: #fff; padding: 50px 0; border-top: 1px solid #eef2f6; margin-top: 30px; }
.section-title-center { text-align: center; margin-bottom: 30px; font-size: 20px; font-weight: 700; color: var(--text-dark); }
.slider-container { position: relative; padding: 0 40px; display: flex; justify-content: center; }
.slider-track { display: flex; gap: 20px; overflow-x: auto; padding: 10px 5px; scroll-behavior: smooth; scrollbar-width: none; margin: 0 auto; }
.slider-track::-webkit-scrollbar { display: none; }
.index-item { flex: 0 0 auto; width: 160px; height: 90px; display: flex; align-items: center; justify-content: center; border: 1px solid #e2e8f0; border-radius: 12px; padding: 10px; background: #fff; transition: 0.3s; }
.index-item img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(100%); opacity: 0.6; transition: 0.3s; }
.index-item:hover { border-color: var(--primary); transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.08); }
.index-item:hover img { filter: grayscale(0%); opacity: 1; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: #fff; border: 1px solid #eee; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #64748b; cursor: pointer; transition: 0.2s; z-index: 10; }
.slider-btn:hover { color: var(--primary); border-color: var(--primary); }
.slider-btn.prev { left: 0; }
.slider-btn.next { right: 0; }

.site-footer { background-color: var(--dark); color: #94a3b8; padding: 70px 0 0 0; margin-top: 80px; font-size: 14px; line-height: 1.7; position: relative; border-top: 4px solid var(--primary); }
.footer-grid { display: grid; gap: 50px; padding-bottom: 50px; }
.footer-grid.single-col { text-align: center; max-width: 700px; margin-left: auto; margin-right: auto; }
.footer-title { color: #fff; font-weight: 700; margin-top: 0; margin-bottom: 25px; position: relative; padding-bottom: 12px; }
.footer-title.main-title { font-size: 22px; color: #fff; letter-spacing: -0.5px; border-bottom: none; padding-bottom: 0; margin-bottom: 20px; }
.footer-title.has-line { font-size: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-title.has-line::after { content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 3px; background-color: var(--primary); border-radius: 2px; }
.footer-grid.single-col .footer-title.has-line::after { left: 50%; transform: translateX(-50%); }
.footer-menu li { margin-bottom: 12px; }
.footer-menu a { color: #cbd5e1; text-decoration: none; transition: 0.2s; display: flex; align-items: center; }
.footer-grid.single-col .footer-menu a { justify-content: center; }
.footer-menu a::before { content: '\f054'; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 10px; margin-right: 10px; color: var(--primary); opacity: 0.7; }
.footer-grid.single-col .footer-menu a::before { display: none; }
.footer-menu a:hover { color: #fff; transform: translateX(5px); }
.footer-grid.single-col .footer-menu a:hover { transform: none; color: var(--primary); }
.social-icons { display: flex; gap: 10px; margin-top: 20px; }
.footer-grid.single-col .social-icons { justify-content: center; }
.social-link { width: 38px; height: 38px; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; border-radius: 8px; color: #fff; text-decoration: none; transition: 0.3s; border: 1px solid rgba(255,255,255,0.1); }
.social-link:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-3px); }
.contact-item { display: flex; gap: 15px; margin-bottom: 18px; color: #cbd5e1; align-items: flex-start; }
.footer-grid.single-col .contact-item { justify-content: center; }
.contact-item i { color: var(--primary); margin-top: 5px; font-size: 16px; }
.contact-item a { color: inherit; text-decoration: none; transition: 0.2s; }
.contact-item a:hover { color: #fff; }
.footer-bottom { background-color: rgba(0,0,0,0.3); padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.05); font-size: 13px; color: #64748b; }
/* =========================================
   SAYFA İÇERİK DETAYLARI (EDİTÖR ÇIKTISI)
   ========================================= */

/* Breadcrumb (Yol Haritası) */
.breadcrumb-nav { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    font-size: 13px; 
    color: var(--text-gray); 
    margin-bottom: 15px; 
    flex-wrap: wrap; 
}
.breadcrumb-nav a { 
    color: var(--text-gray); 
    text-decoration: none; 
    transition: 0.2s; 
}
.breadcrumb-nav a:hover { 
    color: var(--primary); 
}
.breadcrumb-nav i { 
    font-size: 10px; 
    color: #cbd5e1; 
}
.breadcrumb-nav span.current { 
    color: var(--primary); 
    font-weight: 600; 
}

/* TinyMCE Editöründen Gelen İçeriklerin Düzeni */
.page-content-body {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
}
.page-content-body h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}
.page-content-body h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--dark);
    margin-top: 25px;
    margin-bottom: 12px;
}
.page-content-body p { margin-bottom: 15px; }
.page-content-body ul, .page-content-body ol { 
    margin-bottom: 20px; 
    padding-left: 20px; 
}
.page-content-body li { margin-bottom: 5px; }
.page-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.page-content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}
.page-content-body th, .page-content-body td {
    border: 1px solid var(--border-color);
    padding: 10px 15px;
}
.page-content-body th {
    background-color: var(--bg-light);
    font-weight: 700;
}
.page-content-body a {
    color: var(--primary);
    text-decoration: underline;
}

/* Mobilde Grid Düzeltmesi */
@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr !important; /* Mobilde tek sütun */
        gap: 30px !important;
    }
}

/* =========================================
   İÇERİK ALANI LİSTE & EDİTÖR STİLLERİ (V2 - FULL)
   ========================================= */

/* 1. Temel Liste Yapısı (Resetleme) */
.page-content-body ul, 
.page-content-body ol { 
    margin-bottom: 20px; 
    padding-left: 40px !important; /* İmler için girinti şart */
    display: block !important;
}

.page-content-body li { 
    display: list-item !important; /* Liste elemanı olarak davran */
    margin-bottom: 5px; 
    /* ÖNEMLİ: 'inherit' diyerek UL/OL'de ne tanımlıysa onu almasını sağlıyoruz */
    list-style: inherit !important; 
}

/* 2. Varsayılanlar (Editörden özel bir şey seçilmezse bunlar görünür) */
.page-content-body ul { list-style-type: disc !important; }   /* Siyah Nokta */
.page-content-body ol { list-style-type: decimal !important; } /* 1, 2, 3 */

/* 3. İç İçe Liste Varsayılanları */
.page-content-body ul ul { list-style-type: circle !important; }
.page-content-body ul ul ul { list-style-type: square !important; }

/* 4. EDİTÖR ÖZEL SEÇİMLERİ (Görsellerdeki Stiller) */
/* Editör bu stilleri genellikle 'style' etiketiyle ekler. 
   Biz de bu stilleri yakalayıp !important ile görünür kılıyoruz. */

/* --- Şekiller (Görsel 1) --- */
.page-content-body ul[style*="list-style-type: circle"],
.page-content-body ul[style*="circle"] { 
    list-style-type: circle !important; /* İçi boş daire */
}

.page-content-body ul[style*="list-style-type: square"],
.page-content-body ul[style*="square"] { 
    list-style-type: square !important; /* Kare */
}

.page-content-body ul[style*="list-style-type: disc"],
.page-content-body ul[style*="disc"] { 
    list-style-type: disc !important; /* Siyah Nokta */
}

/* --- Numaralar ve Harfler (Görsel 2) --- */

/* a. b. c. (Küçük Harf) */
.page-content-body ol[style*="lower-alpha"] { 
    list-style-type: lower-alpha !important; 
}

/* A. B. C. (Büyük Harf) */
.page-content-body ol[style*="upper-alpha"] { 
    list-style-type: upper-alpha !important; 
}

/* i. ii. iii. (Küçük Romen) */
.page-content-body ol[style*="lower-roman"] { 
    list-style-type: lower-roman !important; 
}

/* I. II. III. (Büyük Romen) */
.page-content-body ol[style*="upper-roman"] { 
    list-style-type: upper-roman !important; 
}

/* α. β. γ. (Yunan Harfleri - Lower Greek) */
.page-content-body ol[style*="lower-greek"] { 
    list-style-type: lower-greek !important; 
}
/* =========================================
   SIDEBAR & WIDGET (SADE LİSTE RENKLERİ)
   ========================================= */

/* 1. VURGULU ÖĞE (Highlight) - Tema Rengi */
.quick-link-highlight {
    color: var(--primary) !important;
    font-weight: 700 !important;
    background: transparent !important;
    font-size: 15px !important;
}
.quick-link-highlight .menu-icon i {
    color: var(--primary) !important;
    font-weight: bold;
}

/* 2. NORMAL ÖĞE (Normal) - Koyu Gri (#334155) */
.quick-link-normal {
    color: #334155 !important;
    font-weight: 500 !important;
    font-size: 14px !important;
}
.quick-link-normal .menu-icon i {
    color: #64748b !important; /* Gri/Mavi İkon */
}

/* 3. HOVER EFEKTİ (Üzerine gelince hepsi tema rengi olsun) */
.quick-link-base:hover,
.quick-link-normal:hover,
.quick-link-highlight:hover {
    color: var(--primary) !important;
    transform: translateX(5px); /* Hafif kayma efekti */
}

/* İkonlar da hover'da renk değiştirsin */
.quick-link-base:hover .menu-icon i,
.quick-link-normal:hover .menu-icon i,
.quick-link-highlight:hover .menu-icon i {
    color: var(--primary) !important;
}

/* Widget Başlık Çizgisi */
.widget-title::before {
    background-color: var(--primary) !important;
}


/* =========================================
   10. MOBİL & TABLET (MAX-WIDTH: 992PX)
   ========================================= */
@media (max-width: 992px) {
    :root { --header-height: 85px; }
    

    .header-left, .header-right { 
        flex: 0 0 auto !important; /* Sabit 85px yerine otomatiğe dön */
        min-width: auto !important;
        width: auto !important;
        display: flex !important;
        align-items: center;
    }
    .header-left { 
        justify-content: flex-start; 
        padding-right: 15px; /* Logoya yapışmaması için güvenli boşluk */
    }
    .header-right { 
        justify-content: flex-end; 
        gap: 6px !important; 
        padding-left: 10px; /* Logoya yapışmaması için güvenli boşluk */
        z-index: 1002; 
    }
    .header-left .brand-wrapper {
        display: none !important;
    }
    .header-inner > .brand-wrapper { 
        position: static !important;
        transform: none !important;
        
        /* Kalan boşluğu doldur */
        flex: 1 !important; 
        display: flex !important; 
        flex-direction: column; 
        justify-content: center; 
        text-align: center; 
        
        margin: 0 !important;
        max-width: 100% !important;
        
        /* Taşma Kontrolü */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        z-index: 1001;
    }
    .brand-wrapper { 
        position: static !important; 
        transform: none !important;  
        left: auto !important;
        top: auto !important;
        
        flex: 1 !important; /* Kalan tüm boşluğu kapla */
        display: flex !important; 
        flex-direction: column !important; 
        justify-content: center !important;
        align-items: center !important;
        text-align: center;
        
        width: auto !important; 
        max-width: 100% !important; 
        margin: 0 !important;
        
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        z-index: 1001;
        line-height: 1 !important;
    }
    .btn-panel { 
        width: 32px !important; 
        height: 32px !important; 
        font-size: 13px !important; 
    }
    .lang-switch-box { display: none; }
    .mobile-toggle { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; z-index: 1002; }

    .brand-logo { 
        max-height: 38px !important; 
        width: auto !important;
        margin-top: 5 !important;
        margin-bottom: -7px !important; 
        object-fit: contain;
    }
    .brand-text-col {
        display: flex;
        flex-direction: column;
        justify-content: center;
        line-height: 1.1 !important; /* Satırları birbirine yaklaştır */
        gap: 0 !important;
    }
    .journal-name-tr { 
        font-size: 12px !important; /* Mobilde biraz küçült */
        font-weight: 600;
        margin-bottom: 0 !important;
        display: block;
    }
    .journal-name-en { 
        font-size: 8px !important; 
        font-weight: 400;
        color: #64748b;
        display: block;
        margin-top: 0 !important;
    }

    .header-center {
        position: fixed; top: var(--header-height); left: 0; width: 100%; 
        background: #fff; height: calc(100vh - var(--header-height)); 
        flex-direction: column; align-items: flex-start; justify-content: flex-start !important; 
        padding: 0 !important; display: none; overflow-y: auto; 
        border: none !important; box-shadow: none !important;
    }
    .header-center.active { display: flex; }

    .mobile-lang-container { display: flex; width: 100%; justify-content: center; gap: 15px; padding: 15px; border-bottom: 1px solid #f1f5f9; background: #fff; flex-shrink: 0; }
    .mobile-lang-opt { font-weight: 700; font-size: 13px; color: #94a3b8; text-transform: uppercase; cursor: pointer; }
    .mobile-lang-opt.active { color: var(--primary); border-bottom: 2px solid var(--primary); }

    /* Menü Yapısı - ÇİZGİSİZ */
    .main-menu { flex-direction: column; width: 100%; height: auto; gap: 0; border: none !important; }
    .menu-item { width: 100%; border: none !important; display: block; height: auto; padding: 0; }
    
    .menu-link { 
        padding: 15px 20px; width: 100%; justify-content: space-between; 
        background: transparent !important; color: var(--text-dark); border: none !important; border-radius: 0; 
        font-weight: 700;
    }
    .menu-item:hover > .menu-link { background: transparent !important; color: var(--primary); }

    /* Dropdown Mobil */
    .dropdown, .sub-menu { 
        position: static; opacity: 1; visibility: visible; transform: none; 
        box-shadow: none; border: none !important; background: #fcfcfc; display: none; 
        padding: 0; width: 100%; margin: 0; border-radius: 0;
    }
    .dropdown.show, .sub-menu.show { display: block; }
    
    .dropdown a, .dropdown .menu-link { 
        padding: 12px 20px 12px 40px; 
        font-size: 14px; font-weight: 500; border: none !important; border-radius: 0; background: transparent; color: #475569;
    }
    .dropdown li:hover > a, .dropdown li:hover > .menu-link { 
        background: transparent; 
        color: var(--primary); 
        padding-left: 40px !important; /* Sola kaymayı engeller (40px sabit kalır) */
    }

    .sub-menu a, .sub-menu .menu-link {
        padding-left: 60px !important; 
        background-color: #fafafa !important; font-size: 13px; color: #64748b; border: none !important;
    }
    .sub-menu li:hover > a, .sub-menu li:hover > .menu-link { padding-left: 60px !important; color: var(--primary); background-color: #f1f5f9 !important; }

    .dropdown .fa-chevron-right { display: none; }

    /* --- MOBİL MENÜ OK DÜZELTMESİ --- */
/* JS ile 'expanded' sınıfı eklendiğinde oku döndür */
.menu-link.expanded .menu-arrow {
    transform: rotate(180deg) !important;
    color: var(--primary) !important;
    opacity: 1 !important;
}

/* =========================================
   10. MOBİL & TABLET (MAX-WIDTH: 992PX)
   ========================================= */
@media (max-width: 992px) {
    :root { --header-height: 85px; }
    
    .header-left, .header-right { 
        flex: 0 0 auto !important; 
        min-width: auto !important;
        width: auto !important;
        display: flex !important;
        align-items: center;
    }
    .header-left { 
        justify-content: flex-start; 
        padding-right: 10px; 
    }
    .header-right { 
        justify-content: flex-end; 
        gap: 6px !important; 
        padding-left: 10px; 
        z-index: 1002; 
    }
    .header-left .brand-wrapper {
        display: none !important;
    }
    .header-inner > .brand-wrapper { 
        position: static !important;
        transform: none !important;
        
        /* Kalan boşluğu doldur */
        flex: 1 !important; 
        display: flex !important; 
        flex-direction: column; 
        justify-content: center; 
        text-align: center; 
        
        margin: 0 !important;
        max-width: 100% !important;
        padding: 0 10px !important; /* Butonlara yapışmaması için iç boşluk eklendi */
        
        /* Taşma Kontrolü Düzeltildi - Başlık artık kesilmek yerine alt satıra geçecek */
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        word-break: break-word !important; 
        z-index: 1001;
    }
    .brand-wrapper { 
        position: static !important; 
        transform: none !important;  
        left: auto !important;
        top: auto !important;
        
        flex: 1 !important; 
        display: flex !important; 
        flex-direction: column !important; 
        justify-content: center !important;
        align-items: center !important;
        text-align: center;
        
        width: auto !important; 
        max-width: 100% !important; 
        margin: 0 !important;
        
        /* Taşma Kontrolü Düzeltildi */
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        word-break: break-word !important;
        z-index: 1001;
        line-height: 1.2 !important;
    }
    .btn-panel { 
        width: 32px !important; 
        height: 32px !important; 
        font-size: 13px !important; 
    }
    .lang-switch-box { display: none; }
    .mobile-toggle { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; z-index: 1002; }

    .brand-logo { 
        max-height: 38px !important; 
        width: auto !important;
        margin-top: 5px !important;
        margin-bottom: -7px !important; 
        object-fit: contain;
    }
    .brand-text-col {
        display: flex;
        flex-direction: column;
        justify-content: center;
        line-height: 1.2 !important; 
        gap: 0 !important;
    }
    .journal-name-tr { 
        font-size: 14px !important;
        font-weight: 700;
        margin-bottom: 0 !important;
        display: block;
    }
    .journal-name-en { 
        font-size: 9px !important; 
        font-weight: 600;
        color: #64748b;
        display: block;
        margin-top: 0 !important;
    }

    .header-center {
        position: fixed; top: var(--header-height); left: 0; width: 100%; 
        background: #fff; height: calc(100vh - var(--header-height)); 
        flex-direction: column; align-items: flex-start; justify-content: flex-start !important; 
        padding: 0 !important; display: none; overflow-y: auto; 
        border: none !important; box-shadow: none !important;
    }
    .header-center.active { display: flex; }

    .mobile-lang-container { display: flex; width: 100%; justify-content: center; gap: 15px; padding: 15px; border-bottom: 1px solid #f1f5f9; background: #fff; flex-shrink: 0; }
    .mobile-lang-opt { font-weight: 700; font-size: 13px; color: #94a3b8; text-transform: uppercase; cursor: pointer; }
    .mobile-lang-opt.active { color: var(--primary); border-bottom: 2px solid var(--primary); }

    /* Menü Yapısı - ÇİZGİSİZ */
    .main-menu { flex-direction: column; width: 100%; height: auto; gap: 0; border: none !important; }
    .menu-item { width: 100%; border: none !important; display: block; height: auto; padding: 0; }
    
    .menu-link { 
        padding: 15px 20px; width: 100%; justify-content: space-between; 
        background: transparent !important; color: var(--text-dark); border: none !important; border-radius: 0; 
        font-weight: 700;
    }
    .menu-item:hover > .menu-link { background: transparent !important; color: var(--primary); }

    /* Dropdown Mobil */
    .dropdown, .sub-menu { 
        position: static; opacity: 1; visibility: visible; transform: none; 
        box-shadow: none; border: none !important; background: #fcfcfc; display: none; 
        padding: 0; width: 100%; margin: 0; border-radius: 0;
    }
    .dropdown.show, .sub-menu.show { display: block; }
    
    .dropdown a, .dropdown .menu-link { 
        padding: 12px 20px 12px 40px; 
        font-size: 14px; font-weight: 500; border: none !important; border-radius: 0; background: transparent; color: #475569;
    }
    .dropdown li:hover > a, .dropdown li:hover > .menu-link { 
        background: transparent; 
        color: var(--primary); 
        padding-left: 40px !important; 
    }

    .sub-menu a, .sub-menu .menu-link {
        padding-left: 60px !important; 
        background-color: #fafafa !important; font-size: 13px; color: #64748b; border: none !important;
    }
    .sub-menu li:hover > a, .sub-menu li:hover > .menu-link { padding-left: 60px !important; color: var(--primary); background-color: #f1f5f9 !important; }

    .dropdown .fa-chevron-right { display: none; }

    /* --- MOBİL MENÜ OK DÜZELTMESİ --- */
    .menu-link.expanded .menu-arrow {
        transform: rotate(180deg) !important;
        color: var(--primary) !important;
        opacity: 1 !important;
    }

    /* --- MOBİL İKON DÜZELTMESİ (AKILLI VERSİYON) --- */
    .menu-item:hover > .menu-link:not(.expanded) .menu-arrow {
        transform: none !important;
        color: inherit !important;
        opacity: 0.5 !important;
    }
    
    .menu-link.expanded .menu-arrow {
        transform: rotate(180deg) !important;
        color: var(--primary) !important;
        opacity: 1 !important;
    }

    /* --- LOGO DURUMUNA GÖRE DİNAMİK (CLAMP) FONT AYARI --- */

    /* DURUM 1: LOGO AKTİFSE (Alan Dar) */
    .brand-wrapper.with-logo-active .journal-name-tr { 
        font-size: clamp(12px, 3.5vw, 15px) !important; /* Alt sınır 12px'e çıkarıldı ki çok küçülmesin */
        line-height: 1.2 !important;
        margin-bottom: 0 !important;
        
        white-space: normal !important; 
        display: -webkit-box !important;
        -webkit-line-clamp: 2; /* Maksimum 2 satır */
        -webkit-box-orient: vertical;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .brand-wrapper.with-logo-active .journal-name-en { 
        font-size: clamp(9px, 2.5vw, 11px) !important; 
        margin-top: 0 !important;
        opacity: 0.8;
        white-space: normal !important;
    }

    /* DURUM 2: LOGO PASİFSE (Alan Geniş) */
    .brand-wrapper.no-logo-active .journal-name-tr { 
        font-size: clamp(14px, 4vw, 20px) !important; 
        line-height: 1.2 !important;
        margin-bottom: 2px !important;
        white-space: normal !important;
    }
    .brand-wrapper.no-logo-active .journal-name-en { 
        font-size: clamp(10px, 3vw, 13px) !important; 
        color: #64748b;
        white-space: normal !important;
    }

    /* --- MOBİL SAYFA HİZALAMA DÜZELTMELERİ (KRİTİK) --- */
    .hero-wrapper { 
        overflow: hidden !important; 
        width: 100% !important;
        max-width: 100vw !important;
        border-radius: 0 0 30px 30px; 
        margin-bottom: 0px !important; 
    }

    .home-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 15px !important; 
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .content-grid { 
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 30px !important;
        margin: 0 !important;
    }

    .article-list-container, .sidebar-area, .widget {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* --- MOBİL HERO DÜZENLEMELERİ (Order & Size) --- */
    .hero-inner { display: flex; flex-direction: column; text-align: center; padding: 60px 20px 40px 20px; gap: 0; }
    .sidebar-area { margin-top: -5px; }
    
    .hero-left, .hero-right { display: contents !important; }
    
    .hero-title { order: 1; font-size: 32px; margin-bottom: 15px; }
    .hero-meta { order: 2; margin: 0 auto 20px auto; justify-content: center; flex-wrap: wrap; }
    .hero-desc { order: 3; margin-bottom: 30px; }
    
    .book-cover { 
        order: 4; 
        max-width: 220px; margin: 0 auto 30px auto; 
        transform: rotateY(-5deg) rotateX(2deg); display: block; 
    }
    
    .hero-btns { 
        order: 5; 
        justify-content: center; flex-wrap: wrap; width: 100%; gap: 10px; 
        margin-top: 0; 
    }
    .btn-hero { padding: 10px 25px !important; font-size: 14px !important; width: auto !important; }

    .hero-wrapper { border-radius: 0 0 30px 30px; margin-bottom: 0px !important; }
    .hero-search-container { display: none !important; }

    /* --- MOBİL MAKALE LİSTESİ DÜZELTMESİ --- */
    .gac-header { flex-wrap: nowrap; gap: 12px; align-items: center; }
    
    .gac-type { 
        font-size: 9px !important; 
        white-space: nowrap !important; 
        padding: 3px 6px !important; 
        flex-shrink: 0; 
    }
    .gac-pages { font-size: 10px !important; white-space: nowrap !important; }
    .gac-left { flex: 1; overflow: hidden; gap: 5px; } 
    .gac-number { font-size: 1.1rem; }

    .gac-footer { flex-direction: column; align-items: flex-start; gap: 15px; margin-top: auto;}
    .btn-gac-view { width: auto !important; padding: 8px 20px !important; font-size: 0.85rem !important; align-self: flex-start; }

    .content-grid { grid-template-columns: 1fr !important; }
    .site-footer { padding-top: 50px; text-align: center; }
    .footer-grid { grid-template-columns: 1fr !important; gap: 40px; }
    .footer-title.has-line::after { left: 50%; transform: translateX(-50%); }
    .social-icons { justify-content: center; }
    .contact-item { justify-content: center; }
    .footer-menu a { justify-content: center; }
    .announcement-bar { height: 40px; padding: 0; }
    .announcement-flex { flex-direction: row !important; align-items: center; gap: 0; }
    .ann-left-col { width: auto; border: none; border-right: 1px solid #f1f5f9; padding-right: 8px; margin-right: 8px; height: 100%; flex-shrink: 0; }
    .ann-label { font-size: 9px; padding: 2px 6px; }
    .ann-viewport { width: auto; flex: 1; height: 100%; min-height: 40px; display: flex; align-items: center; }
    .ann-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11px; }
}

/* =========================================
   11. MASAÜSTÜ MENÜ KURTARMA (FIX - 993px ve üstü)
   ========================================= */
@media (min-width: 993px) {
    .header-center {
        display: flex !important; 
        position: static !important; 
        height: auto !important; 
        width: auto !important;
        background: transparent !important; 
        border: none !important; 
        flex-direction: row !important;
        padding: 0 !important; 
        margin: 0 auto !important; 
        overflow: visible !important;
    }

    .main-menu { 
        flex-direction: row !important; 
        height: 100% !important; 
        gap: 15px !important; 
    }

    .menu-item { 
        border: none !important; 
        width: auto !important; 
    }

    .menu-item:hover > .menu-link .menu-arrow { transform: rotate(180deg); opacity: 1; color: var(--primary); }

    .main-menu > .menu-item > .menu-link { 
        padding: 5px 0 !important; 
        justify-content: flex-start !important; 
    }

    .mobile-toggle { display: none !important; }
    .lang-switch-box { display: flex !important; }
    
    .main-menu > .menu-item > .menu-link::after { 
        content: ''; position: absolute; bottom: -4px; left: 0; 
        width: 0%; height: 2px; background-color: var(--primary); 
        transition: width 0.3s ease; border-radius: 2px; 
    }
    .main-menu > .menu-item:hover > .menu-link::after, 
    .main-menu > .menu-item.active > .menu-link::after { 
        width: 100%; 
    }
}

/* --- MODERN BACK TO TOP (YUKARI ÇIK) BUTONU --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary); 
    color: #fff !important;
    border-radius: 50%; 
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15); 
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    z-index: 9999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--dark); 
    transform: translateY(-5px); 
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    color: #fff !important;
}

@media (max-width: 768px) {
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
        font-size: 16px;
    }
}

/* =========================================
   LIGHTBOX (KAPAK GÖRSELİ BÜYÜTME)
   ========================================= */
.lightbox {
    display: none; 
    position: fixed; 
    z-index: 99999; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0,0,0,0.9); 
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px); 
}

.lightbox.active {
    display: flex !important;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(255,255,255,0.1);
    animation: zoomIn 0.3s ease; 
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 100000;
    line-height: 1;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--primary);
    text-decoration: none;
    cursor: pointer;
}

@keyframes zoomIn {
    from {transform: scale(0.5); opacity: 0;} 
    to {transform: scale(1); opacity: 1;}
}

@media only screen and (max-width: 700px){
    .lightbox-content {
        width: 95%;
    }
    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 35px;
    }
}