@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Plus+Jakarta+Sans:wght@300;400;600&family=Lora:ital,wght@0,400;1,400&display=swap');

:root {
    --primary: #4a3728;      /* Derin Kahve / Toprak */
    --accent: #b8926a;       /* Mat Altın / Kum */
    --bg-paper: #f4f1ea;     /* Eskitilmiş Kağıt */
    --text-main: #2c241e;    /* Mürekkep Siyahı */
    --glass: rgba(255, 255, 255, 0.85);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-paper);
    color: var(--text-main);
    /* Hafif bir kağıt dokusu ekliyoruz */
    background-image: url('https://www.transparenttextures.com/patterns/paper-fibers.png');
}

h1, h2, h3, .marcellus {
    font-family: 'Marcellus', serif;
    color: var(--primary);
}

p {
    font-family: 'Lora', serif; /* Metinler daha edebi bir fontla okunmalı */
}

.btn-success {
    background-color: #25d366; /* WhatsApp yeşili kalsın ki tanınsın */
    border: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
}

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 600;
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: white;
}

.search-form-wrapper {
    background: white;
    border-radius: 50px;
    border: 1px solid rgba(184, 146, 106, 0.4);
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.search-form-wrapper:focus-within {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(74, 55, 40, 0.15);
}

.search-form-wrapper input:focus {
    box-shadow: none;
    outline: none;
}

.btn-premium {
    background: #4a3728;
    color: #b8926a;
    border-left: 1px solid rgba(184, 146, 106, 0.2);
}

/* =======================================================
   SOSYAL TEKKE - MYSTIC HERO SECTION (BEYAZI BİTİREN TASARIM)
   ======================================================= */
   
/* =======================================================
   SOSYAL TEKKE - MYSTIC HERO & SEARCH V2
   ======================================================= */

.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #2a1a0e;
    color: var(--bg-paper);
    padding-top: 76px;
}

/* Geometrik İslami desen - SVG inline */
.hero-section::before {
    content: '';
    position: absolute; inset: 0; z-index: 0;
    opacity: 0.07;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cdefs%3E%3Cpattern id='star' x='0' y='0' width='120' height='120' patternUnits='userSpaceOnUse'%3E%3C!-- Sekizgen yıldız --%3E%3Cpolygon points='60,10 72,35 100,35 78,52 87,78 60,62 33,78 42,52 20,35 48,35' fill='none' stroke='%23b8926a' stroke-width='1.2'/%3E%3C!-- İç dörtgen --%3E%3Crect x='42' y='42' width='36' height='36' fill='none' stroke='%23b8926a' stroke-width='0.8' transform='rotate(45 60 60)'/%3E%3C!-- Dış çerçeve --%3E%3Crect x='2' y='2' width='116' height='116' fill='none' stroke='%23b8926a' stroke-width='0.5'/%3E%3C!-- Köşe noktalar --%3E%3Ccircle cx='2' cy='2' r='2' fill='%23b8926a'/%3E%3Ccircle cx='118' cy='2' r='2' fill='%23b8926a'/%3E%3Ccircle cx='2' cy='118' r='2' fill='%23b8926a'/%3E%3Ccircle cx='118' cy='118' r='2' fill='%23b8926a'/%3E%3C!-- Orta çizgiler --%3E%3Cline x1='60' y1='2' x2='60' y2='118' stroke='%23b8926a' stroke-width='0.3' stroke-dasharray='4,8'/%3E%3Cline x1='2' y1='60' x2='118' y2='60' stroke='%23b8926a' stroke-width='0.3' stroke-dasharray='4,8'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='120' height='120' fill='url(%23star)'/%3E%3C/svg%3E");
    background-size: 120px 120px;
}

/* Merkeze doğru koyu vignette */
.hero-section::after {
    content: '';
    position: absolute; inset: 0; z-index: 1;
    background:
        radial-gradient(ellipse at center, transparent 20%, rgba(26,14,6,0.7) 100%),
        linear-gradient(to bottom, rgba(26,14,6,0.4) 0%, transparent 30%, transparent 70%, rgba(26,14,6,0.6) 100%);
}

/* Arka Plan Mistik Görsel Katmanı */
.hero-bg-overlay {
    display: none;
}

/* Altın Geçişli Işık */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(184, 146, 106, 0.15) 0%, rgba(13, 13, 13, 1) 85%);
    z-index: 2;
}

.hero-container-inner {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-title-box {
    text-align: center;
    margin-bottom: 50px;
}

.hero-subtitle {
    font-family: 'Marcellus', serif;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 12px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 15px;
}

.hero-title {
    font-family: 'Marcellus', serif;
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 0 30px rgba(184, 146, 106, 0.3);
}

/* Senin Gönderdiğin Arama Formunun Stilleri */
.search-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(184, 146, 106, 0.3);
    border-radius: 100px;
    padding: 5px;
    transition: all 0.4s ease;
}

.search-form-wrapper:focus-within {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 40px rgba(184, 146, 106, 0.2);
}

.search-form-wrapper input {
    background: transparent !important;
    color: #fff !important;
    box-shadow: none !important;
}

.search-form-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

.btn-premium {
    background: var(--accent);
    color: var(--primary);
    border-radius: 100px !important;
    font-weight: 600;
    transition: 0.3s;
}

.btn-premium:hover {
    background: #fff;
    color: var(--primary);
    transform: scale(1.02);
}

/* Arama Sonuç Listesi Uyumu */
#search-results-container .live-search-results {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid var(--accent);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    margin-top: 15px;
}

#search-results-container .live-search-results li a {
    color: #ddd;
    border-bottom: 1px solid rgba(184, 146, 106, 0.1);
}

#search-results-container .live-search-results li a:hover {
    background: rgba(184, 146, 106, 0.1);
    color: var(--accent);
}
#main-map {
    height: 600px;
    width: 100%;
    border-radius: 30px; /* Yuvarlamayı direkt haritaya verelim */
    z-index: 1;
}

/* Harita kontrollerini (Zoom + / -) görünür ve tıklanabilir yap */
.leaflet-control-container {
    position: relative;
    z-index: 1200 !important; /* Takvim kartından ve haritadan daha üstte olmalı */
}

.leaflet-top.leaflet-left {
    margin-top: 10px;
    margin-left: 10px;
}

/* Leaflet Pop-up Genel Stil */
.leaflet-popup-content-wrapper {
    background: #fdfaf5 !important; /* Hafif krem/kağıt tonu */
    border-radius: 12px !important;
    border: 1px solid rgba(184, 146, 106, 0.4) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.leaflet-popup-tip {
    background: #fdfaf5 !important;
}

.leaflet-popup-content .btn-premium {
    background: #4a3728;
    color: #b8926a !important;
    border: 1px solid #b8926a;
    border-radius: 50px;
    transition: 0.3s;
}

.leaflet-popup-content .btn-premium:hover {
    background: #b8926a;
    color: #4a3728 !important;
}
.leaflet-popup-content {
    margin: 15px;
}

/* Marker İkonuna Hafif Gölge */
.leaflet-marker-icon {
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.3));
}
/* Türbe Kartları */
.turbe-card {
    border: 1px solid rgba(184, 146, 106, 0.2);
    border-radius: 28px;
    background: white;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    height: 100%;
    position: relative;
}

.turbe-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(93, 64, 55, 0.15);
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
}

/* Resim Üzerine Manevi Filtre */
.card-img-wrapper::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(93, 64, 55, 0.15);
    mix-blend-mode: multiply;
}

.card-img-top {
    height: 300px;
    object-fit: cover;
    filter: sepia(15%) contrast(105%); /* Resimleri hafifçe eskitir */
    transition: transform 0.8s ease;
}

.turbe-card:hover .card-img-top {
    transform: scale(1.1);
}

/* Başlık Altı Motif */
.section-divider::after {
    content: " ⚜ "; 
    display: block;
    font-size: 28px;
    color: var(--accent);
    margin-top: 15px;
    text-align: center;
}

.badge-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--glass);
    backdrop-filter: blur(10px);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 5;
}

/* Butonlar */
.btn-premium {
    background: var(--primary);
    color: white;
    border-radius: 18px;
    padding: 14px 28px;
    font-weight: 600;
    border: 2px solid var(--primary);
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-premium:hover {
    background: transparent;
    color: var(--primary);
}

.navbar {
    z-index: 1050 !important; /* Menüyü her şeyin en üstüne çıkarır */
}

.navbar-toggler {
    position: relative;
    z-index: 1051;
}

.navbar-custom {
    background-color: #4a3728 !important; /* Bizim ana kahve tonu */
    transition: all 0.3s ease-in-out;
    padding: 15px 0;
    border-bottom: 1px solid rgba(184, 146, 106, 0.2); /* Hafif altın rengi çizgi */
}

/* Sayfa aşağı indiğinde (JS ile eklenen hal) */
.navbar-scrolled {
    background-color: #2c1e14 !important; /* Daha koyu, vakur bir kahve */
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.navbar-brand-text {
    font-family: 'Marcellus', serif;
    font-size: 1.6rem;
    color: #fff !important;
    letter-spacing: 1px;
}

/* Mobil Menü Açıldığında Arka Planın Şeffaf Kalmaması İçin */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: #4a3728;
        margin-top: 15px;
        padding: 20px;
        border-radius: 10px;
        border: 1px solid #b8926a;
    }
}

.nav-link-custom {
    color: rgba(255,255,255,0.8) !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    margin-left: 30px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.nav-link-custom:hover {
    color: var(--accent) !important;
}

.nav-btn-admin {
    border: 1px solid var(--accent);
    color: var(--accent) !important;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
}

.nav-btn-admin:hover {
    background: var(--accent);
    color: var(--primary) !important;
}

.navbar-custom {
    padding: 20px 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2000;
    background: rgba(26, 17, 11, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(184, 146, 106, 0.15);
}

/* Sayfa aşağı kaydığında belirecek olan stil (Opsiyonel JS ile tetiklenir) */
.navbar-scrolled {
    background: rgba(42, 33, 26, 0.9); /* SosyalTekke koyu kahve tonu */
    backdrop-filter: blur(15px); /* Buzlu cam efekti */
    padding: 12px 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    border-bottom: 1px solid var(--accent); /* Altın rengi ince bir hat */
}

.navbar-brand-text {
    font-family: 'Marcellus', serif;
    font-size: 1.6rem;
    color: #fff !important;
    letter-spacing: 1px;
}

.navbar-scrolled .navbar-brand-text {
    font-size: 1.4rem;
}

.detay-sayfasi .navbar-custom {
    background: rgba(0,0,0,0.2);
}

.nav-link-custom {
    color: rgba(255,255,255,0.8) !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    margin-left: 30px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.nav-link-custom:hover {
    color: var(--accent) !important;
}

.nav-btn-admin {
    border: 1px solid var(--accent);
    color: var(--accent) !important;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
}

.nav-btn-admin:hover {
    background: var(--accent);
    color: var(--primary) !important;
}

/* ===== FOOTER ===== */
.footer-premium {
    background: #120c06;
    position: relative;
}

/* Abone Bölümü */
.footer-abone-bolum {
    padding: 50px 0 40px;
    border-bottom: 1px solid rgba(184,146,106,0.1);
}
.footer-ust-etiket {
    font-size: 10px; letter-spacing: 4px; text-transform: uppercase;
    color: var(--accent); font-family: 'Marcellus', serif;
    display: block; margin-bottom: 10px;
}
.footer-abone-baslik {
    font-family: 'Marcellus', serif; font-size: 1.6rem;
    color: white; margin-bottom: 8px;
}
.footer-abone-aciklama {
    font-family: 'Lora', serif; font-size: 0.88rem;
    color: rgba(255,255,255,0.4); margin: 0; font-style: italic;
}
.footer-abone-form {
    display: flex; gap: 10px; align-items: center;
}
.footer-abone-input {
    flex: 1; background: rgba(255,255,255,0.05);
    border: 1px solid rgba(184,146,106,0.2);
    border-radius: 50px; padding: 13px 22px;
    color: white; font-size: 0.88rem;
    outline: none; transition: 0.3s;
}
.footer-abone-input::placeholder { color: rgba(255,255,255,0.25); }
.footer-abone-input:focus {
    border-color: rgba(184,146,106,0.5);
    background: rgba(255,255,255,0.07);
}
.footer-abone-btn {
    background: var(--accent); color: #1a0e06;
    border: none; border-radius: 50px;
    padding: 13px 28px; font-family: 'Marcellus', serif;
    font-size: 0.88rem; white-space: nowrap;
    cursor: pointer; transition: 0.3s; font-weight: 600;
}
.footer-abone-btn:hover { background: white; }

/* Ayraç */
.footer-ayrac { padding: 28px 0; }
.footer-ayrac-icerik {
    display: flex; align-items: center; gap: 16px;
}
.footer-ayrac-cizgi {
    flex: 1; height: 1px;
    background: linear-gradient(to right, transparent, rgba(184,146,106,0.15), transparent);
}
.footer-ayrac-sembol {
    font-family: 'Noto Naskh Arabic', serif;
    color: rgba(184,146,106,0.3); font-size: 1.4rem; line-height: 1;
}

/* Ana Footer */
.footer-ana { padding: 0 0 50px; }

.footer-marka {
    display: flex; align-items: center; gap: 14px; margin-bottom: 20px;
}
.footer-logo {
    height: 52px; filter: brightness(0) invert(1); opacity: 0.9;
}
.footer-marka-ad {
    font-family: 'Marcellus', serif; color: white;
    font-size: 1.2rem; letter-spacing: 2px; display: block; line-height: 1.2;
}
.footer-marka-alt {
    font-size: 10px; color: var(--accent); letter-spacing: 1px;
    font-family: 'Marcellus', serif; display: block; margin-top: 4px;
}
.footer-aciklama {
    font-family: 'Lora', serif; font-size: 0.88rem;
    color: rgba(255,255,255,0.35); line-height: 1.8;
    max-width: 380px; margin-bottom: 24px; font-style: italic;
}

/* Sosyal İkonlar */
.footer-sosyal { display: flex; gap: 10px; }
.footer-sosyal-btn {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(184,146,106,0.15);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.5); text-decoration: none;
    transition: 0.3s; font-size: 0.9rem;
}
.footer-sosyal-btn:hover {
    background: var(--accent); color: white;
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Linkler */
.footer-baslik {
    font-family: 'Marcellus', serif; color: white;
    font-size: 0.9rem; letter-spacing: 2px; text-transform: uppercase;
    margin-bottom: 20px; padding-bottom: 12px;
    border-bottom: 1px solid rgba(184,146,106,0.15);
}
.footer-liste { list-style: none; padding: 0; margin: 0; }
.footer-liste li { margin-bottom: 10px; }
.footer-liste li a {
    color: rgba(255,255,255,0.4); text-decoration: none;
    font-size: 0.88rem; font-family: 'Lora', serif;
    transition: 0.2s; display: flex; align-items: center; gap: 6px;
}
.footer-liste li a::before {
    content: '·'; color: var(--accent); font-size: 1rem;
}
.footer-liste li a:hover { color: var(--accent); padding-left: 4px; }

/* İletişim */
.footer-iletisim { display: flex; flex-direction: column; gap: 14px; }
.footer-iletisim-item {
    display: flex; align-items: flex-start; gap: 12px;
}
.footer-iletisim-item i {
    color: var(--accent); font-size: 0.8rem; margin-top: 3px; flex-shrink: 0;
}
.footer-iletisim-item span {
    color: rgba(255,255,255,0.4); font-size: 0.85rem;
    font-family: 'Lora', serif; line-height: 1.5;
}

/* Alt Bar */
.footer-alt {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 20px 0;
}
.footer-alt-icerik {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 8px;
}
.footer-telif {
    font-size: 0.78rem; color: rgba(255,255,255,0.25);
}
.footer-telif strong { color: rgba(255,255,255,0.4); }
.footer-slogan {
    font-family: 'Marcellus', serif; font-size: 0.68rem;
    color: rgba(184,146,106,0.3); letter-spacing: 3px;
}

@media (max-width: 768px) {
    .footer-abone-form { flex-direction: column; }
    .footer-abone-input, .footer-abone-btn { width: 100%; }
    .footer-alt-icerik { flex-direction: column; text-align: center; }
}



/* --- Kütüphane Sayfası Tasarımı --- */
.library-header {
    background-color: var(--primary);
    background-image: url('https://www.transparenttextures.com/patterns/paper-fibers.png');
    padding: 60px 0;
    border-bottom: 3px solid var(--accent);
}

.book-card {
    background: var(--glass);
    border: 1px solid var(--accent);
    border-radius: 12px;
    transition: all 0.3s ease;
    height: 100%;
}

.book-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.book-img-box {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
}

.book-img-box img {
    max-height: 100%;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.2);
}

.book-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(74, 55, 40, 0.9); /* --primary renginin transparan hali */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.book-card:hover .book-overlay {
    opacity: 1;
}

.btn-book {
    background-color: var(--accent);
    color: #white;
    border: none;
    font-family: 'Marcellus', serif;
}

/* --- Yenilenmiş Header & Navigasyon --- */
.navbar-custom {
    padding: 14px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(22, 13, 7, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(184, 146, 106, 0.1);
}

/* Sayfa aşağı indiğinde devreye giren stil */
.navbar-scrolled {
    padding: 10px 0 !important;
    background: rgba(18, 10, 5, 0.98) !important;
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
    border-bottom: 1px solid rgba(184,146,106,0.15) !important;
}

.logo-box {
    transition: 0.3s;
}

.navbar-scrolled .nav-logo {
    height: 40px !important; /* Aşağı inince logo biraz küçülür */
}

.nav-link-custom {
    position: relative;
    font-weight: 400 !important;
    text-transform: uppercase;
    font-size: 13px !important;
    letter-spacing: 1px;
}

/* Linklerin altına zarif çizgi efekti */
.nav-link-custom::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 5px;
    left: 50%;
    background: var(--accent);
    transition: 0.3s;
    transform: translateX(-50%);
}

.nav-link-custom:hover::after {
    width: 20px;
}

/* Yönetim Butonu Özel Stili */
.nav-btn-admin {
    background: rgba(184, 146, 106, 0.1);
    border: 1px solid var(--accent) !important;
    color: var(--accent) !important;
    transition: 0.3s !important;
}

.nav-btn-admin:hover {
    background: var(--accent) !important;
    color: white !important;
}

/* Dropdown Animasyonu */
.animate {
    animation-duration: 0.3s;
    animation-fill-mode: both;
}

/* Dropdown menünün senin renklerinle uyumu */
.dropdown-menu-dark {
    background-color: var(--primary) !important;
    border: 1px solid var(--accent) !important;
    border-radius: 12px;
    margin-top: 10px;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.dropdown-item {
    font-family: 'Marcellus', serif;
    color: rgba(255,255,255,0.8) !important;
    border-radius: 6px;
    transition: 0.3s;
    padding: 10px 15px;
}

.dropdown-item:hover {
    background-color: var(--accent) !important;
    color: #fff !important;
    padding-left: 20px;
}

/* Animasyon */
.slideIn {
    animation: slideInAnim 0.3s ease forwards;
}

@keyframes slideInAnim {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Logo ve Yazı Küçülme Efekti --- */

/* Normal halindeki boyutlar */
.navbar-brand-text {
    font-size: 1.5rem; /* Mevcut boyutun neyse ona göre ayarla */
    transition: all 0.3s ease;
}

.brand-text small {
    transition: all 0.3s ease;
}

.nav-logo {
    height: 45px;
    transition: all 0.3s ease;
}

/* Sayfa aşağı inince (Scrolled) devreye girecekler */
.navbar-scrolled .nav-logo {
    height: 35px !important; /* Logo küçülür */
}

.navbar-scrolled .navbar-brand-text {
    font-size: 1.1rem !important; /* SOSYAL TEKKE yazısı küçülür */
}

.navbar-scrolled .brand-text small {
    font-size: 7px !important; /* Alttaki küçük dernek yazısı daha da küçülür */
    letter-spacing: 0.5px;
}

.navbar-scrolled .brand-text {
    line-height: 1; /* Yazıların arasındaki boşluğu toparlar */
}

/* Ana metnin hizalaması ve boyutu */
.navbar-brand-text {
    line-height: 1 !important; /* Satır boşluğunu sıfırladık ki yukarı itmesin */
    margin-bottom: 2px;       /* Alttaki küçük yazıyla arayı açtık */
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

/* Dernek yazısının hizalaması */
.brand-subtext {
    line-height: 1 !important;
    font-size: 9px;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Küçüldüğünde (Scroll olunca) dengenin bozulmaması için */
.navbar-scrolled .navbar-brand-text {
    font-size: 1.1rem !important;
}

/* Hala biraz yukarıda duruyorsa bu class ile manuel aşağı itebilirsin */
.brand-text {
    padding-top: 4px; /* Logoya göre çok yukarıdaysa bu değeri artır */
}

/* --- Navbar Scroll Efektleri --- */

/* Normal Durum */
.navbar-brand-text {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}
.navbar-brand small {
    font-size: 10px;
    transition: all 0.3s ease;
}
.nav-logo {
    height: 50px;
    transition: all 0.3s ease;
}

/* Scroll Olunca (Aşağı Kayınca) */
.navbar-scrolled .nav-logo {
    height: 38px !important;
}
.navbar-scrolled .navbar-brand-text {
    font-size: 1.2rem !important;
}
.navbar-scrolled .navbar-brand small {
    font-size: 8px !important;
    opacity: 0.7;
}

/* Haritadaki ilçeler başlangıçta kapalı */
.harita-ilce {
    fill: #d1d1d1;
    filter: blur(2px);
    transition: all 0.5s ease;
}

/* Ziyaret edilen ilçeler parlıyor */
.ilce-aktif {
    fill: #b8926a !important;
    filter: blur(0px) !important;
}

.ilce-kutu {
    width: 100px; height: 100px;
    border-radius: 15px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    background: #f8f9fa; border: 1px solid #ddd;
    transition: all 0.5s ease;
}

.ilce-kutu.blur {
    filter: grayscale(1) blur(2px);
    opacity: 0.5;
}

.ilce-kutu.aktif {
    background: #fffdf5;
    border-color: #b8926a;
    color: #4a3728;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(184, 146, 106, 0.2);
}

.ilce-kutu span { font-size: 0.8rem; margin-top: 5px; font-family: 'Marcellus'; }
/* Hikmet Sandığı Bölümü */
.hikmet-section {
    position: relative;
    overflow: hidden;
    background: #f4f1ea;
}

@media (max-width: 768px) {
    .hikmet-section {
        padding: 40px 0 !important;
    }
    .hikmet-container {
        background: #4a3728 !important;
        padding: 30px 20px !important;
        border-radius: 16px !important;
        margin: 0 16px;
    }
    .hikmet-container h3 {
        font-size: 1.4rem !important;
    }
    #hikmet-soz {
        font-size: 1.1rem !important;
        line-height: 1.7 !important;
    }
    .sandik-icon {
        width: 56px !important;
        height: 56px !important;
    }
    #sandik-ac-btn {
        padding: 12px 24px !important;
        font-size: 0.9rem !important;
    }
}
.hikmet-section::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, rgba(184,146,106,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.hikmet-section::after {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(to right, transparent, rgba(184,146,106,0.4), transparent);
}

/* ===== HERO VAV & SÜSLEMELER ===== */

/* Arka planda büyük vav */
.hero-vav-bg {
    position: absolute;
    font-family: 'Noto Naskh Arabic', 'Arial', serif;
    font-size: 600px;
    color: rgba(184,146,106,0.06);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

/* Öndeki vav harfi */
.hero-vav {
    font-family: 'Noto Naskh Arabic', 'Georgia', serif;
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--accent);
    line-height: 1;
    margin: 10px 0 6px;
    text-shadow: 0 0 40px rgba(184,146,106,0.5);
    animation: vavPulse 3s ease-in-out infinite;
}

@keyframes vavPulse {
    0%, 100% { text-shadow: 0 0 20px rgba(184,146,106,0.3); }
    50%       { text-shadow: 0 0 50px rgba(184,146,106,0.7), 0 0 80px rgba(184,146,106,0.2); }
}

/* Üst süsleme */
.hero-ust-susleme {
    display: flex; align-items: center; justify-content: center;
    gap: 12px; margin-bottom: 20px;
}
.hero-susleme-cizgi {
    width: 80px; height: 1px;
    background: linear-gradient(to right, transparent, rgba(184,146,106,0.6));
}
.hero-ust-susleme .hero-susleme-cizgi:last-child {
    background: linear-gradient(to left, transparent, rgba(184,146,106,0.6));
}
.hero-susleme-nokta {
    color: var(--accent); font-size: 0.6rem; opacity: 0.8;
}

/* Alt süsleme */
.hero-alt-susleme {
    display: flex; align-items: center; justify-content: center;
    gap: 12px; margin-top: 20px; margin-bottom: 40px;
}
.hero-alt-susleme .hero-susleme-cizgi {
    background: linear-gradient(to right, transparent, rgba(184,146,106,0.4));
}
.hero-alt-susleme .hero-susleme-cizgi:last-child {
    background: linear-gradient(to left, transparent, rgba(184,146,106,0.4));
}
.hero-susleme-sembol { color: rgba(184,146,106,0.6); font-size: 1rem; }

/* Açıklama metni */
.hero-aciklama {
    font-family: 'Lora', serif; font-style: italic;
    color: rgba(255,255,255,0.35); font-size: 0.9rem;
    letter-spacing: 1px; margin: 8px 0 0;
}

/* Köşe süslemeleri */
.hero-kose {
    position: absolute; width: 60px; height: 60px; z-index: 3;
    opacity: 0.5;
}
.hero-kose::before, .hero-kose::after {
    content: ''; position: absolute;
    background: var(--accent);
}
.hero-kose::before { width: 100%; height: 1px; top: 0; left: 0; }
.hero-kose::after  { width: 1px; height: 100%; top: 0; left: 0; }

.hero-kose-sol-ust  { top: 30px; left: 30px; }
.hero-kose-sag-ust  { top: 30px; right: 30px; transform: scaleX(-1); }
.hero-kose-sol-alt  { bottom: 30px; left: 30px; transform: scaleY(-1); }
.hero-kose-sag-alt  { bottom: 30px; right: 30px; transform: scale(-1); }

/* İstatistikler */
.hero-stats {
    display: flex; align-items: center; justify-content: center;
    gap: 20px; margin-top: 24px;
}
.hero-stat-item { text-align: center; }
.hero-stat-sayi {
    font-family: 'Marcellus', serif; font-size: 1.3rem;
    color: var(--accent); display: block; line-height: 1;
}
.hero-stat-etiket {
    font-size: 0.7rem; color: rgba(255,255,255,0.35);
    text-transform: uppercase; letter-spacing: 2px;
    display: block; margin-top: 4px;
}
.hero-stat-ayrac {
    color: rgba(184,146,106,0.3); font-size: 1.5rem;
    line-height: 1; margin-top: -6px;
}

/* ===== BÖLÜM GEÇİŞLERİ ===== */
/* Hikmet -> Vesikalar arası yumuşak geçiş */
.hikmet-section + div,
.hikmet-section + .container {
    background: linear-gradient(to bottom, #f4f1ea 0%, #ece8e0 100%);
}

/* Vesikalar bölümü arka planı */
.vesika-bolum-wrapper {
    background: #f4f1ea;
    padding: 60px 0 80px;
}

/* Bölümler arası dekoratif ayraç */
.bolum-ayrac {
    text-align: center;
    padding: 24px 0;
    position: relative;
}
.bolum-ayrac::before {
    content: '';
    position: absolute; top: 50%; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(184,146,106,0.25), rgba(184,146,106,0.25), transparent);
    transform: translateY(-50%);
}
.bolum-ayrac-sembol {
    position: relative; z-index: 1;
    background: var(--bg-paper);
    padding: 0 24px;
    color: rgba(184,146,106,0.55);
    font-size: 1.1rem;
    font-family: 'Noto Naskh Arabic', 'Georgia', serif;
    display: inline-block;
    line-height: 1;
}



/* ===== MOBİL GENEL DÜZELTMELERİ ===== */
@media (max-width: 768px) {

    /* Atlas harita + künye */
    .atlas-wrapper .row.g-0 {
        flex-direction: column;
    }
    .atlas-wrapper .col-lg-8,
    .atlas-wrapper .col-lg-4 {
        width: 100% !important;
        max-width: 100% !important;
    }
    #main-map {
        height: 300px !important;
    }
    .vesika-kapsayici {
        padding: 20px !important;
    }
    /* Künye liste maddelerini kaldır */
    .kunye-liste {
        list-style: none !important;
        padding: 0 !important;
    }
    .kunye-liste li::marker {
        display: none !important;
    }

    /* Hero */
    .hero-section {
        min-height: 70vh !important;
    }
    .hero-title {
        font-size: 2.2rem !important;
        letter-spacing: 4px !important;
    }
    .hero-subtitle {
        letter-spacing: 5px !important;
        font-size: 0.7rem !important;
    }
    .hero-vav { font-size: 2.5rem !important; }
    .hero-kose { width: 30px !important; height: 30px !important; }
    .hero-kose-sol-ust { top: 16px !important; left: 16px !important; }
    .hero-kose-sag-ust { top: 16px !important; right: 16px !important; }
    .hero-kose-sol-alt { bottom: 16px !important; left: 16px !important; }
    .hero-kose-sag-alt { bottom: 16px !important; right: 16px !important; }
    .hero-aciklama { font-size: 0.8rem !important; padding: 0 20px; }

    /* Filtre barı */
    #main-map-area [style*="position:absolute"] {
        top: 8px !important;
        width: 90% !important;
    }

    /* Bölüm ayraçları */
    .bolum-ayrac { padding: 16px 0 !important; }

    /* Vesika slider */
    .vesika-slider-container { padding: 0 10px; }

    /* Hikmet container metin renkleri */
    .hikmet-container .blockquote p,
    #hikmet-soz {
        color: rgba(255,255,255,0.92) !important;
    }
    #hikmet-sahibi {
        color: var(--accent) !important;
    }
    .hikmet-container h3 {
        color: var(--accent) !important;
    }
    #hikmet-alt-baslik {
        color: rgba(255,255,255,0.45) !important;
    }
}

@media (max-width: 576px) {
    .hero-stats {
        gap: 12px !important;
    }
    .hero-stat-sayi { font-size: 1rem !important; }
    .hero-stat-etiket { font-size: 0.6rem !important; }
    
    /* Loader mobil */
    .loader-halka-wrapper {
        width: 90px !important;
        height: 90px !important;
    }
    .loader-halka { width: 90px !important; height: 90px !important; }
    .loader-vav { font-size: 2.2rem !important; }
    .entrance-title { font-size: 1.5rem !important; letter-spacing: 6px !important; }
}

/* ===== HİKMET SANDIĞI KESİN OVERRIDE ===== */
.hikmet-container,
.hikmet-container.shadow-lg {
    background: #4a3728 !important;
    background-image: none !important;
    border: 1px solid rgba(184,146,106,0.3) !important;
}
.hikmet-container * {
    background-image: none !important;
}
.hikmet-container h3 { color: var(--accent) !important; }
.hikmet-container #hikmet-soz { color: rgba(255,255,255,0.92) !important; }
.hikmet-container #hikmet-sahibi { color: var(--accent) !important; }
.hikmet-container #hikmet-alt-baslik { color: rgba(255,255,255,0.4) !important; }
.hikmet-container .fa-archive { color: var(--accent) !important; }
.hikmet-container .fa-quote-left,
.hikmet-container .fa-quote-right { color: rgba(184,146,106,0.3) !important; }
.hikmet-container .blockquote-footer { background: transparent !important; border: none !important; }
.sandik-icon { background: rgba(184,146,106,0.15) !important; border: 1px solid rgba(184,146,106,0.3) !important; }
.sandik-icon i { color: var(--accent) !important; }

/* ===== KÜNYE LİSTE DÜZELTMESİ ===== */
.kunye-liste {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 25px 0 !important;
}
.kunye-liste li,
.kunye-liste-item {
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 14px !important;
    padding-bottom: 14px !important;
    border-bottom: 1px solid rgba(184,146,106,0.12) !important;
    list-style: none !important;
}
.kunye-liste li:last-child,
.kunye-liste-item:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.kunye-liste li::before,
.kunye-liste li::marker {
    display: none !important;
    content: none !important;
}
.kunye-etiket {
    font-family: 'Marcellus', serif !important;
    font-size: 10px !important;
    text-transform: uppercase !important;
    color: var(--accent) !important;
    letter-spacing: 2px !important;
    margin-bottom: 3px !important;
    display: block !important;
}
.kunye-veri {
    font-family: 'Lora', serif !important;
    font-size: 0.95rem !important;
    color: var(--dark, #4a3728) !important;
    font-style: italic !important;
    display: block !important;
}

/* ===== ATLAS MOBİL DÜZELTMELERİ ===== */
@media (max-width: 991px) {
    /* Harita sol panel tam genişlik */
    .atlas-wrapper .col-lg-8 {
        width: 100% !important;
        max-width: 100% !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(184,146,106,0.15);
    }
    .atlas-wrapper .col-lg-4 {
        width: 100% !important;
        max-width: 100% !important;
    }
    #main-map {
        height: 350px !important;
    }
    /* Takvim kartı mobilde tamamen gizle */
    .calendar-floating-card {
        display: none !important;
    }
    /* Atlas tag pozisyonu */
    .atlas-tag {
        top: 10px !important;
        right: 10px !important;
        font-size: 9px !important;
    }
    /* Vesika kapsayıcı padding azalt */
    .vesika-kapsayici {
        padding: 20px !important;
    }
    .vesika-header h4 {
        font-size: 1rem !important;
    }
}

/* ===== ATLAS BÖLÜMÜ - ORİJİNAL TASARIM GELİŞTİRİLMİŞ ===== */
.atlas-wrapper {
    background: #3a2418 !important;
    padding: 14px !important;
    box-shadow: 0 25px 60px rgba(0,0,0,0.25) !important;
    border: 1px solid rgba(184,146,106,0.5) !important;
    border-radius: 4px !important;
}
.atlas-inner {
    border: 1px solid rgba(184,146,106,0.3) !important;
    position: relative !important;
    border-radius: 2px !important;
    overflow: hidden !important;
}
/* Atlas tag - sol üstte altın etiket */
.atlas-tag {
    position: absolute !important;
    top: -1px !important;
    left: 30px !important;
    background: var(--accent) !important;
    color: #2a1a0e !important;
    padding: 7px 22px !important;
    font-family: 'Marcellus', serif !important;
    font-size: 11px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    z-index: 1000 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
}
/* Harita sağ kenarda ince çizgi */
.atlas-inner .col-lg-8 {
    border-right: 1px solid rgba(184,146,106,0.2) !important;
}
/* Künye kapsayıcı - krem arka plan */
.vesika-kapsayici {
    background: #fdfaf4 !important;
}
.vesika-header h4 {
    font-family: 'Marcellus', serif !important;
    color: #4a3728 !important;
    font-size: 1.1rem !important;
    letter-spacing: 1px !important;
}
/* Künye container - iç kutu */
.kunye-container {
    background: white !important;
    border: 1px solid rgba(184,146,106,0.2) !important;
    border-radius: 4px !important;
    padding: 24px !important;
    position: relative !important;
    box-shadow: 0 4px 20px rgba(74,55,40,0.06) !important;
}
.kunye-container::before {
    content: "" !important;
    position: absolute !important;
    top: 8px !important; left: 8px !important;
    right: 8px !important; bottom: 8px !important;
    border: 1px solid rgba(184,146,106,0.08) !important;
    pointer-events: none !important;
}
.kunye-ust-baslik {
    font-family: 'Marcellus', serif !important;
    color: var(--accent) !important;
    font-size: 10px !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    display: block !important;
    margin-bottom: 8px !important;
}
.kunye-ana-baslik {
    font-family: 'Marcellus', serif !important;
    color: #4a3728 !important;
    font-size: 1.6rem !important;
    margin-bottom: 20px !important;
    line-height: 1.2 !important;
    border-bottom: 2px solid var(--accent) !important;
    display: inline-block !important;
    padding-bottom: 8px !important;
}
.kunye-buton {
    background: #4a3728 !important;
    color: #fdfaf4 !important;
    padding: 11px 28px !important;
    font-family: 'Marcellus', serif !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-size: 12px !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.3s !important;
    border: 1px solid #4a3728 !important;
    border-radius: 2px !important;
    margin-top: 20px !important;
}
.kunye-buton:hover {
    background: transparent !important;
    color: #4a3728 !important;
    transform: translateY(-2px) !important;
}

/* Harita marker pin */
.marker-pin {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% 50% 50% 0 !important;
    position: absolute !important;
    transform: rotate(-45deg) !important;
    left: 50% !important; top: 50% !important;
    margin: -15px 0 0 -15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid white !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3) !important;
}
.marker-pin i { transform: rotate(45deg) !important; color: white !important; font-size: 11px !important; }

/* Atlas mobil */
@media (max-width: 991px) {
    .atlas-wrapper { padding: 10px !important; }
    .atlas-inner .col-lg-8 { border-right: none !important; border-bottom: 1px solid rgba(184,146,106,0.2) !important; }
    #main-map { height: 320px !important; }
    .atlas-tag { left: 16px !important; font-size: 9px !important; padding: 5px 14px !important; }
    .vesika-kapsayici { padding: 20px !important; }
    .kunye-container { padding: 16px !important; }
    .kunye-ana-baslik { font-size: 1.3rem !important; }
    .calendar-floating-card { display: none !important; }
}

/* ===== İLÇE KUTULARI ===== */
.ilce-kutu {
    display: flex; align-items: center; justify-content: space-between;
    background: white; border: 1px solid rgba(184,146,106,0.15);
    border-radius: 14px; padding: 16px 18px;
    text-decoration: none; color: inherit; transition: 0.3s;
}
.ilce-kutu:hover {
    background: #4a3728; color: white;
    border-color: #4a3728;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(74,55,40,0.15);
}
.ilce-kutu-icerik { display: flex; flex-direction: column; gap: 2px; }
.ilce-kutu-ikon {
    color: rgba(184,146,106,0.5); font-size: 0.8rem; margin-bottom: 4px;
    transition: 0.3s;
}
.ilce-kutu:hover .ilce-kutu-ikon { color: rgba(255,255,255,0.5); }
.ilce-kutu-ad {
    font-family: 'Marcellus', serif; font-size: 0.95rem;
    color: #4a3728; transition: 0.3s;
}
.ilce-kutu:hover .ilce-kutu-ad { color: white; }
.ilce-kutu-sayi {
    font-size: 0.7rem; color: #aaa; transition: 0.3s;
}
.ilce-kutu:hover .ilce-kutu-sayi { color: rgba(255,255,255,0.5); }
.ilce-kutu-ok {
    width: 28px; height: 28px; border-radius: 50%;
    background: #f4f1ea; display: flex; align-items: center;
    justify-content: center; font-size: 0.7rem;
    color: #4a3728; flex-shrink: 0; transition: 0.3s;
}
.ilce-kutu:hover .ilce-kutu-ok { background: rgba(255,255,255,0.15); color: white; }