/* MealMerkezi.Net — main.css */
/* Arapça fontlar (ana sayfa ayet seçimi için — /assets/fonts içindeki dosyalara işaret eder) */
@font-face { font-family: 'Amiri'; src: url('/assets/fonts/Amiri-Regular.ttf') format('truetype'); font-weight: normal; font-display: swap; }
@font-face { font-family: 'Uthmani'; src: url('/assets/fonts/KFGQPC-Uthman-Taha-Naskh-Regular.ttf') format('truetype'); font-weight: normal; font-display: swap; }
@font-face { font-family: 'Lateef'; src: url('/assets/fonts/Lateef-Regular.ttf') format('truetype'); font-weight: normal; font-display: swap; }
@font-face { font-family: 'Scheherazade'; src: url('/assets/fonts/ScheherazadeNew-Regular.ttf') format('truetype'); font-weight: normal; font-display: swap; }
@font-face { font-family: 'Reem Kufi'; src: url('/assets/fonts/ReemKufi-VariableFont_wght.ttf') format('truetype'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'Noto Kufi Arabic'; src: url('/assets/fonts/NotoKufiArabic-VariableFont_wght.ttf') format('truetype'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Kufam'; src: url('/assets/fonts/Kufam-VariableFont_wght.ttf') format('truetype'); font-weight: 400 900; font-display: swap; }
*{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px}
body{font-family:'Inter',system-ui,sans-serif;color:#111827;-webkit-font-smoothing:antialiased}
.hidden{display:none!important}

/* ── NAVBAR ── */
.navbar{position:sticky;top:0;z-index:300;height:62px;background:rgba(255,255,255,.96);backdrop-filter:blur(16px);border-bottom:1px solid #E5E7EB;display:flex;align-items:center;padding:0 28px;gap:10px}
.navbar.scrolled{box-shadow:0 2px 12px rgba(0,0,0,.08)}
.logo{display:flex;align-items:center;gap:9px;text-decoration:none;flex-shrink:0}
.logo-icon{width:36px;height:36px;border-radius:8px;background:#1C3F6E;display:flex;align-items:center;justify-content:center;font-size:18px;color:#fff;font-family:'Noto Naskh Arabic',serif;line-height:1}
.logo-name{font-size:16px;font-weight:700;color:#1C3F6E}
.logo-name em{font-style:normal;color:#C8870A}
.logo-sub{font-size:10px;color:#9CA3AF}
.nav-links{display:flex;gap:3px;flex:1;margin-left:10px}
.nav-link{padding:7px 14px;border-radius:6px;font-size:14px;font-weight:500;color:#6B7280;cursor:pointer;text-decoration:none;transition:all .15s}
.nav-link:hover{background:#F3F4F6;color:#111827}
.nav-link.active{background:#EAF1FB;color:#1C3F6E;font-weight:600}
.nav-r{display:flex;align-items:center;gap:8px;margin-left:auto}
.nav-search{display:flex;align-items:center;gap:8px;background:#F3F4F6;border:1.5px solid #E5E7EB;border-radius:30px;padding:8px 16px;width:240px;transition:all .2s}
.nav-search:focus-within{border-color:#1C3F6E;background:#fff}
.nav-search svg{color:#9CA3AF;flex-shrink:0}
.nav-search input{border:none;background:transparent;font-size:14px;color:#111827;outline:none;width:100%}
.nav-search input::placeholder{color:#9CA3AF}
.btn-ghost{padding:8px 18px;border-radius:30px;font-size:14px;font-weight:600;color:#1C3F6E;border:1.5px solid #E5E7EB;background:#fff;cursor:pointer;text-decoration:none;transition:all .15s}
.btn-ghost:hover{border-color:#1C3F6E;background:#EAF1FB}
.btn-prim{padding:8px 20px;border-radius:30px;font-size:14px;font-weight:700;color:#fff;background:#1C3F6E;border:none;cursor:pointer;text-decoration:none;transition:background .15s}
.btn-prim:hover{background:#0d2444}
.hamburger{display:none;flex-direction:column;gap:5px;padding:8px;cursor:pointer;background:none;border:none}
.hamburger span{width:22px;height:2px;background:#374151;border-radius:2px;display:block}
.btn-ghost.ico,.btn-prim.ico{padding:0;width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.btn-ghost.ico{position:relative}
.nav-rozet{position:absolute;top:2px;right:2px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:#DC2626;color:#fff;font-size:10px;font-weight:700;line-height:16px;text-align:center;box-shadow:0 0 0 2px var(--surface-1,#fff);pointer-events:none}
.nav-rozet-nokta{display:inline-block;width:8px;height:8px;border-radius:50%;background:#DC2626;vertical-align:middle;margin-left:2px}
.nav-links .btn-ghost,.nav-links .btn-prim{display:none}

/* ── FOOTER: hero'nun devamı. Yıldızlar ve kayalar footer-uzay.js içindeki
   WebGL gölgelendiricide çizilir. Aşağıdaki ::before bulutsusu, WebGL
   çalışmadığında görünen yedek zemindir. ── */
.footer{position:relative;isolation:isolate;overflow:hidden;background:#05070d;padding:64px 28px 24px;
  box-shadow:inset 0 1px 0 rgba(227,184,92,.16)}
/* bulutsu: hero shader'ındaki c1/c2/c3 renkleri */
.footer::before{content:'';position:absolute;inset:-10% -5%;z-index:0;pointer-events:none;
  background:
    radial-gradient(75% 120% at 12% 0%,   rgba(27,52,96,.62) 0%, transparent 62%),
    radial-gradient(60% 100% at 88% 8%,   rgba(71,55,111,.40) 0%, transparent 66%),
    radial-gradient(50% 80%  at 62% 105%, rgba(11,17,32,.85) 0%, transparent 70%),
    radial-gradient(28% 40%  at 96% 62%,  rgba(227,184,92,.10) 0%, transparent 70%);
  filter:blur(2px)}
/* WebGL zemin: bulutsu üstünde, içeriğin altında */
.footer-canvas{position:absolute;inset:0;z-index:0;width:100%;height:100%;display:block;pointer-events:none}
/* içerik zeminin üstünde kalsın */
.footer-grid,.footer-bottom{position:relative;z-index:1}
.footer-grid{display:grid;grid-template-columns:240px 1fr 1fr 1fr;gap:40px;margin-bottom:40px}
.footer-logo{display:flex;align-items:center;gap:8px;margin-bottom:12px}
.footer-logo-icon{width:32px;height:32px;border-radius:7px;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;font-family:'Noto Naskh Arabic',serif;font-size:16px;color:#fff}
.footer-logo-name{font-size:14px;font-weight:700;color:#fff}
.footer-logo-name span{color:#C8870A}
.footer-desc{font-size:13px;color:rgba(255,255,255,.35);line-height:1.7}
.footer-col-title{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.09em;color:#E3B85C;margin-bottom:12px}
.footer-links{list-style:none;display:flex;flex-direction:column;gap:9px}
.footer-links li a{font-size:13px;color:rgba(255,255,255,.5);text-decoration:none}
.footer-links li a:hover{color:#fff}
.footer-bottom{border-top:1px solid rgba(255,255,255,.07);padding-top:20px;display:flex;align-items:center;justify-content:space-between;font-size:13px;color:rgba(255,255,255,.25)}
.footer-bottom a{color:#C8870A;text-decoration:none}
.footer-bl{display:flex;gap:20px}
.footer-bl a{font-size:13px;color:rgba(255,255,255,.25);text-decoration:none}
.footer-bl a:hover{color:rgba(255,255,255,.6)}

/* ── MOBİL ── */
/* ── SURE LİSTESİ MOBİL ── */
@media(max-width:768px){
  .sure-list-grid{grid-template-columns:1fr!important}
  .sure-row{grid-template-columns:52px 1fr}
}

@media(max-width:768px){
  .navbar{padding:0 14px;height:56px}
  .nav-links,.nav-search,.btn-ghost,.btn-prim{display:none}
  .nav-links.open{display:flex;flex-direction:column;position:fixed;top:56px;left:0;right:0;background:#fff;border-bottom:1px solid #E5E7EB;padding:10px;z-index:299;box-shadow:0 4px 16px rgba(0,0,0,.1)}
  .nav-links.open .nav-link{padding:12px 16px;font-size:15px;border-radius:8px}
  .nav-links.open .nav-link.active{background:#EAF1FB;color:#1C3F6E;font-weight:600}
  .nav-links.open .btn-ghost,.nav-links.open .btn-prim{display:block;width:100%;padding:13px 16px;font-size:15px;font-weight:600;color:#1C3F6E;border-radius:8px;text-align:left;border:none;background:transparent;cursor:pointer;text-decoration:none}
  .hamburger{display:flex}
  .logo-sub{display:none}
  .footer-grid{grid-template-columns:1fr;gap:28px}
  .footer-bottom{flex-direction:column;gap:10px;text-align:center}
  .footer-bl{justify-content:center}
}

/* ═══════════════════════════════════════════════
   TEMA SİSTEMİ — Açık (varsayılan) / Koyu / Sepia
   Tüm sayfalarda geçerli (main.css ortak yüklenir)
   ═══════════════════════════════════════════════ */
/* ═══════════════ TEMA SEÇİCİ (navbar) ═══════════════ */
.tema-wrap{position:relative;display:flex}
.tema-btn{width:38px;height:38px;border-radius:30px;border:1.5px solid #E5E7EB;background:#fff;color:#1C3F6E;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.tema-btn:hover{border-color:#1C3F6E;background:#EAF1FB}
.tema-menu{position:absolute;right:0;top:46px;background:#fff;border:1px solid #E5E7EB;border-radius:12px;padding:6px;min-width:168px;box-shadow:0 10px 30px rgba(0,0,0,.14);display:none;z-index:200}
.tema-menu.acik{display:block}
.tema-menu button{display:flex;align-items:center;gap:10px;width:100%;padding:9px 12px;border:none;background:transparent;border-radius:8px;font-size:14px;font-weight:500;color:#111827;cursor:pointer;text-align:left;font-family:inherit}
.tema-menu button:hover{background:#F3F4F6}
.tema-menu button.sec{background:#EAF1FB;color:#1C3F6E;font-weight:700}
.tema-dot{width:15px;height:15px;border-radius:50%;border:1.5px solid #D1D5DB;flex-shrink:0}
.tema-dot.l{background:#fff}.tema-dot.d{background:#0f1923}.tema-dot.s{background:#f4ecd8}
.tema-dot.a{background:linear-gradient(135deg,#fff 50%,#0f1923 50%)}

/* ═══════════════ KOYU TEMA ═══════════════ */
body[data-theme="dark"]{background:#0f1923;color:#E5E7EB}
body[data-theme="dark"] .navbar{background:rgba(15,25,35,.97);border-bottom-color:#1e2e3e}
body[data-theme="dark"] .logo-name{color:#E5E7EB}
body[data-theme="dark"] .logo-sub{color:#6B7280}
body[data-theme="dark"] .nav-link{color:#9CA3AF}
body[data-theme="dark"] .nav-link.active{background:#1e2e3e;color:#93C5FD}
body[data-theme="dark"] .nav-search{background:#0c1722;border-color:#1e2e3e}
body[data-theme="dark"] .nav-search input{color:#E5E7EB}
body[data-theme="dark"] .btn-ghost{color:#93C5FD;border-color:#1e2e3e;background:transparent}
body[data-theme="dark"] .btn-ghost:hover{background:#1e2e3e}
body[data-theme="dark"] .btn-prim{background:#2563EB}
body[data-theme="dark"] .tema-btn{background:#0c1722;border-color:#1e2e3e;color:#93C5FD}
body[data-theme="dark"] .tema-menu{background:#111f2c;border-color:#1e2e3e}
body[data-theme="dark"] .tema-menu button{color:#E5E7EB}
body[data-theme="dark"] .tema-menu button:hover{background:#1a2735}
body[data-theme="dark"] .tema-menu button.sec{background:#1e2e3e;color:#93C5FD}
body[data-theme="dark"] .hero{background:linear-gradient(160deg,#060d14,#0f1923,#1a2e45)}
body[data-theme="dark"] .sure-panel,
body[data-theme="dark"] .verse-card,
body[data-theme="dark"] .hicri-card,
body[data-theme="dark"] .popular-card,
body[data-theme="dark"] .mealci-band,
body[data-theme="dark"] .ayet-secici,
body[data-theme="dark"] .nv-card{background:#111f2c;border-color:#1e2e3e}
body[data-theme="dark"] .sure-panel-head,
body[data-theme="dark"] .verse-head,
body[data-theme="dark"] .hicri-head,
body[data-theme="dark"] .popular-head,
body[data-theme="dark"] .nv-head,
body[data-theme="dark"] .sure-search{border-bottom-color:#1e2e3e}
body[data-theme="dark"] .sure-search{background:#0c1722}
body[data-theme="dark"] .sure-panel-title,
body[data-theme="dark"] .verse-head-title,
body[data-theme="dark"] .hicri-head,
body[data-theme="dark"] .popular-head,
body[data-theme="dark"] .verse-ar,
body[data-theme="dark"] .sure-row-ar,
body[data-theme="dark"] .mealci-band-title,
body[data-theme="dark"] .mealci-name,
body[data-theme="dark"] .nv-saat,
body[data-theme="dark"] .nv-title,
body[data-theme="dark"] .pop-en,
body[data-theme="dark"] .sure-search input{color:#E5E7EB}
body[data-theme="dark"] .verse-meal{color:#C7CDD4}
body[data-theme="dark"] .tab,
body[data-theme="dark"] .sure-row-tr,
body[data-theme="dark"] .sure-row-ing,
body[data-theme="dark"] .sure-row-meta,
body[data-theme="dark"] .hicri-miladi,
body[data-theme="dark"] .hicri-ay-bilgi,
body[data-theme="dark"] .nv-ad,
body[data-theme="dark"] .nv-next,
body[data-theme="dark"] .pop-meta,
body[data-theme="dark"] .pop-ar,
body[data-theme="dark"] .mealci-lang,
body[data-theme="dark"] .sure-badge{color:#9CA3AF}
body[data-theme="dark"] .tab.on,
body[data-theme="dark"] .sure-row-en,
body[data-theme="dark"] .sure-row-cuz,
body[data-theme="dark"] .verse-ref,
body[data-theme="dark"] .hicri-tarih,
body[data-theme="dark"] .pop-num,
body[data-theme="dark"] .ayet-sec-no{color:#93C5FD}
body[data-theme="dark"] .tabs{background:#1a2735}
body[data-theme="dark"] .tab.on{background:#1e2e3e}
body[data-theme="dark"] .sure-row{background:#111f2c;border-color:#1e2e3e}
body[data-theme="dark"] .sure-row-sol{background:#0c1722;border-right-color:#1e2e3e}
body[data-theme="dark"] .hex-shape{stroke:#2a3f52}
body[data-theme="dark"] .verse-date{background:#33280f;color:#FCD34D}
body[data-theme="dark"] .hicri-gun-adi,
body[data-theme="dark"] .mealci-band-sub{color:#FCD34D}
body[data-theme="dark"] .verse-ar{border-bottom-color:#1a2735}
body[data-theme="dark"] .hicri-miladi{border-top-color:#1a2735}
body[data-theme="dark"] .popular-item{border-color:#1a2735}
body[data-theme="dark"] .popular-item:hover{background:#0c1722}
body[data-theme="dark"] .pop-num{background:#1e2e3e}
body[data-theme="dark"] .mealci-card{background:#0c1722;border-color:#1e2e3e}
body[data-theme="dark"] .mealci-card:hover{background:#1e2e3e;border-color:#2563EB}
body[data-theme="dark"] .mealci-card.more{border-color:#2a3f52}
body[data-theme="dark"] .v-btn{background:#0c1722;border-color:#1e2e3e;color:#9CA3AF}
body[data-theme="dark"] .v-btn.gold{background:#33280f;color:#FCD34D;border-color:#5a4a1a}
body[data-theme="dark"] .tab-grp-title{background:#0c1722;color:#6B7280;border-bottom-color:#1a2735}
body[data-theme="dark"] .nv-loc{background:#0c1722;border-bottom-color:#1e2e3e}
body[data-theme="dark"] .nv-cell{border-color:#1a2735}
body[data-theme="dark"] .nv-ulke{background:#1e2e3e;border-color:#2a4055;color:#93C5FD}
body[data-theme="dark"] .nv-sehir{background:#0c1722;border-color:#1e2e3e;color:#E5E7EB}
body[data-theme="dark"] .nv-geri{background:#33280f;color:#FCD34D}
body[data-theme="dark"] .nv-aktif{background:#1a2e45}
body[data-theme="dark"] .footer{background:#05070d}

/* ═══════════════ SEPIA TEMA ═══════════════ */
body[data-theme="sepia"]{background:#f4ecd8;color:#3b2a1a}
body[data-theme="sepia"] .navbar{background:rgba(244,236,216,.97);border-bottom-color:#d4b896}
body[data-theme="sepia"] .logo-name{color:#6b3a2a}
body[data-theme="sepia"] .logo-sub{color:#9a8568}
body[data-theme="sepia"] .nav-link{color:#7a5c3e}
body[data-theme="sepia"] .nav-link.active{background:#ede0c4;color:#6b3a2a}
body[data-theme="sepia"] .nav-search{background:#ece0c4;border-color:#d4b896}
body[data-theme="sepia"] .nav-search input{color:#3b2a1a}
body[data-theme="sepia"] .btn-ghost{color:#6b3a2a;border-color:#d4b896;background:transparent}
body[data-theme="sepia"] .btn-ghost:hover{background:#ede0c4}
body[data-theme="sepia"] .btn-prim{background:#6b3a2a}
body[data-theme="sepia"] .tema-btn{background:#ede0c4;border-color:#d4b896;color:#6b3a2a}
body[data-theme="sepia"] .tema-menu{background:#f4ecd8;border-color:#d4b896}
body[data-theme="sepia"] .tema-menu button{color:#3b2a1a}
body[data-theme="sepia"] .tema-menu button:hover{background:#ede0c4}
body[data-theme="sepia"] .tema-menu button.sec{background:#ede0c4;color:#6b3a2a}
body[data-theme="sepia"] .hero{background:linear-gradient(160deg,#3a2412,#6b3a2a,#9a6a3a)}
body[data-theme="sepia"] .sure-panel,
body[data-theme="sepia"] .verse-card,
body[data-theme="sepia"] .hicri-card,
body[data-theme="sepia"] .popular-card,
body[data-theme="sepia"] .mealci-band,
body[data-theme="sepia"] .ayet-secici,
body[data-theme="sepia"] .nv-card{background:#ede0c4;border-color:#d4b896}
body[data-theme="sepia"] .sure-panel-head,
body[data-theme="sepia"] .verse-head,
body[data-theme="sepia"] .hicri-head,
body[data-theme="sepia"] .popular-head,
body[data-theme="sepia"] .nv-head,
body[data-theme="sepia"] .sure-search{border-bottom-color:#d4b896}
body[data-theme="sepia"] .sure-search{background:#e6dac0}
body[data-theme="sepia"] .sure-panel-title,
body[data-theme="sepia"] .verse-head-title,
body[data-theme="sepia"] .hicri-head,
body[data-theme="sepia"] .popular-head,
body[data-theme="sepia"] .verse-ar,
body[data-theme="sepia"] .sure-row-ar,
body[data-theme="sepia"] .mealci-band-title,
body[data-theme="sepia"] .mealci-name,
body[data-theme="sepia"] .nv-saat,
body[data-theme="sepia"] .nv-title,
body[data-theme="sepia"] .pop-en,
body[data-theme="sepia"] .sure-search input{color:#1a0e00}
body[data-theme="sepia"] .verse-meal{color:#4a3724}
body[data-theme="sepia"] .tab,
body[data-theme="sepia"] .sure-row-tr,
body[data-theme="sepia"] .sure-row-ing,
body[data-theme="sepia"] .sure-row-meta,
body[data-theme="sepia"] .hicri-miladi,
body[data-theme="sepia"] .hicri-ay-bilgi,
body[data-theme="sepia"] .nv-ad,
body[data-theme="sepia"] .nv-next,
body[data-theme="sepia"] .pop-meta,
body[data-theme="sepia"] .pop-ar,
body[data-theme="sepia"] .mealci-lang,
body[data-theme="sepia"] .sure-badge{color:#7a5c3e}
body[data-theme="sepia"] .tab.on,
body[data-theme="sepia"] .sure-row-en,
body[data-theme="sepia"] .sure-row-cuz,
body[data-theme="sepia"] .verse-ref,
body[data-theme="sepia"] .hicri-tarih,
body[data-theme="sepia"] .pop-num,
body[data-theme="sepia"] .ayet-sec-no{color:#6b3a2a}
body[data-theme="sepia"] .tabs{background:#e6dac0}
body[data-theme="sepia"] .tab.on{background:#f4ecd8}
body[data-theme="sepia"] .sure-row{background:#ede0c4;border-color:#d4b896}
body[data-theme="sepia"] .sure-row-sol{background:#e6dac0;border-right-color:#d4b896}
body[data-theme="sepia"] .hex-shape{stroke:#c9a878}
body[data-theme="sepia"] .verse-date{background:#e3d2a8;color:#6b3a2a}
body[data-theme="sepia"] .hicri-gun-adi,
body[data-theme="sepia"] .mealci-band-sub{color:#8a5a2a}
body[data-theme="sepia"] .verse-ar{border-bottom-color:#dcc9a0}
body[data-theme="sepia"] .hicri-miladi{border-top-color:#dcc9a0}
body[data-theme="sepia"] .popular-item{border-color:#dcc9a0}
body[data-theme="sepia"] .popular-item:hover{background:#e6dac0}
body[data-theme="sepia"] .pop-num{background:#e3d2a8}
body[data-theme="sepia"] .mealci-card{background:#e6dac0;border-color:#d4b896}
body[data-theme="sepia"] .mealci-card:hover{background:#e3d2a8;border-color:#6b3a2a}
body[data-theme="sepia"] .mealci-card.more{border-color:#c9a878}
body[data-theme="sepia"] .v-btn{background:#e6dac0;border-color:#d4b896;color:#7a5c3e}
body[data-theme="sepia"] .v-btn.gold{background:#e3d2a8;color:#6b3a2a;border-color:#c9a878}
body[data-theme="sepia"] .tab-grp-title{background:#e6dac0;color:#7a5c3e;border-bottom-color:#dcc9a0}
body[data-theme="sepia"] .nv-loc{background:#e6dac0;border-bottom-color:#d4b896}
body[data-theme="sepia"] .nv-cell{border-color:#dcc9a0}
body[data-theme="sepia"] .nv-ulke{background:#e3d2a8;border-color:#c9a878;color:#6b3a2a}
body[data-theme="sepia"] .nv-sehir{background:#f4ecd8;border-color:#d4b896;color:#3b2a1a}
body[data-theme="sepia"] .nv-geri{background:#e3d2a8;color:#6b3a2a}
body[data-theme="sepia"] .nv-aktif{background:#6b3a2a}
body[data-theme="sepia"] .footer{background:#05070d}

body[data-theme="dark"] .logo-icon,
body[data-theme="dark"] .nv-git,
body[data-theme="dark"] .hero-search-btn{background:#2563EB}
body[data-theme="sepia"] .logo-icon,
body[data-theme="sepia"] .nv-git,
body[data-theme="sepia"] .hero-search-btn{background:#6b3a2a}