/* ============ Sesli Kuran Meali — Statik Site ============ */
:root {
  --green-900: #072a1f;
  --green-800: #0b3d2e;
  --green-700: #0f4c3a;
  --green-600: #14634a;
  --green-100: #e3efe8;
  --gold-500: #c9a227;
  --gold-400: #d4af37;
  --gold-100: #f6efd8;
  --cream: #faf8f2;
  --ink: #1c2b26;
  --muted: #5c6f68;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(7, 42, 31, 0.10);
  --shadow-lg: 0 18px 50px rgba(7, 42, 31, 0.16);
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-arabic: "Amiri", "Scheherazade New", "Traditional Arabic", serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--gold-500); }
.container { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* ---------- Header ---------- */
.site-header {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%);
  color: var(--white);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 4px 22px rgba(7, 42, 31, 0.35);
}
.site-header::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23d4af37' stroke-opacity='0.08' stroke-width='1'%3E%3Cpath d='M40 0l10 30 30 10-30 10-10 30-10-30-30-10 30-10z'/%3E%3Ccircle cx='40' cy='40' r='12'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.header-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 0; padding: 14px 0 0; position: relative;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); margin-bottom: 10px; }
.brand:hover { color: var(--white); }
.brand-mark {
  width: 46px; height: 46px; flex: 0 0 46px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--gold-400), var(--gold-500));
  display: grid; place-items: center;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.brand-title { font-size: 1.22rem; font-weight: 800; letter-spacing: 0.2px; }
.brand-sub { font-size: 0.72rem; color: var(--gold-100); letter-spacing: 1.6px; text-transform: uppercase; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: 0.25s; }

/* Desktop: tam genislik (header'in dogrudan cocugu), tek satir, ortali menu satiri */
.main-nav {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 42, 31, 0.25);
  overflow: hidden;
  text-align: center;
}
.main-nav ul {
  display: flex; list-style: none;
  flex-wrap: nowrap; white-space: nowrap;
  justify-content: center; align-items: center;
  gap: 0; padding: 4px 6px;
}
.main-nav a {
  color: rgba(255,255,255,0.88); font-weight: 600;
  font-size: clamp(0.64rem, 0.21rem + 0.68vw, 1.02rem);
  letter-spacing: -0.4px;
  padding: 8px clamp(2px, 0.45vw, 10px); border-radius: 999px; transition: 0.2s;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--white); background: rgba(212, 175, 55, 0.18); }
.main-nav a.active { color: var(--green-900); background: var(--gold-400); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 50% -180px, rgba(212,175,55,0.16), transparent 65%),
    linear-gradient(180deg, var(--green-800), var(--green-700) 70%, var(--green-600));
  color: var(--white);
  text-align: center;
  padding: 72px 22px 64px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 -2px 0; height: 60px;
  background: var(--cream);
  clip-path: ellipse(58% 100% at 50% 100%);
}
.hero .bismillah {
  font-family: var(--font-arabic);
  font-size: clamp(1.7rem, 4.5vw, 2.6rem);
  color: var(--gold-400);
  margin-bottom: 18px;
  direction: rtl;
}
.hero h1 {
  font-size: clamp(1.65rem, 4vw, 2.5rem);
  font-weight: 800; line-height: 1.3; margin-bottom: 14px;
}
.hero p.lead {
  max-width: 640px; margin: 0 auto 26px;
  color: rgba(255,255,255,0.85); font-size: 1.05rem;
}
.hero .ornament { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 26px 0 0; color: var(--gold-400); }
.hero .ornament::before, .hero .ornament::after { content: ""; height: 1px; width: 70px; background: linear-gradient(90deg, transparent, var(--gold-400)); }
.hero .ornament::after { background: linear-gradient(90deg, var(--gold-400), transparent); }
.hero .ornament svg { width: 20px; height: 20px; }

/* ---------- Cards ---------- */
.section { padding: 58px 0; }
.section-head { text-align: center; margin-bottom: 38px; }
.section-head h2 { font-size: 1.7rem; font-weight: 800; color: var(--green-800); }
.section-head p { color: var(--muted); margin-top: 6px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.card {
  background: var(--white); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow);
  border: 1px solid rgba(20, 99, 74, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold-400), var(--green-600));
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card .icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--green-100); color: var(--green-700);
  display: grid; place-items: center; margin-bottom: 16px;
}
.card .icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.13rem; font-weight: 800; color: var(--green-800); margin-bottom: 8px; }
.card p { font-size: 0.93rem; color: var(--muted); flex: 1; }
.card .go {
  margin-top: 16px; font-weight: 700; font-size: 0.9rem;
  color: var(--green-700); display: inline-flex; align-items: center; gap: 7px;
}
.card .go svg { width: 16px; height: 16px; transition: transform 0.2s; }
.card:hover .go svg { transform: translateX(4px); }
.badge {
  display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.6px;
  background: var(--gold-100); color: #8a6d1a; border: 1px solid #e8d89a;
  padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; width: fit-content;
}

/* ---------- Page layout ---------- */
.page-head {
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  color: var(--white); text-align: center; padding: 46px 22px 40px;
}
.page-head .bismillah { font-family: var(--font-arabic); color: var(--gold-400); font-size: 1.3rem; margin-bottom: 8px; direction: rtl; }
.page-head h1 { font-size: clamp(1.35rem, 3.4vw, 1.9rem); font-weight: 800; }
.page-head p { color: rgba(255,255,255,0.82); margin-top: 8px; max-width: 640px; margin-left: auto; margin-right: auto; }
.breadcrumb { font-size: 0.83rem; padding: 14px 0; color: var(--muted); }
.breadcrumb a { color: var(--green-700); }

/* ---------- Player ---------- */
.player-wrap {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid rgba(20, 99, 74, 0.08);
  padding: 26px; margin: 26px 0;
}
.now-playing { text-align: center; margin-bottom: 18px; }
.now-playing .np-label { font-size: 0.74rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-500); font-weight: 800; }
.now-playing .np-title { font-size: 1.25rem; font-weight: 800; color: var(--green-800); margin-top: 4px; }
.player-controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 18px 0 10px; flex-wrap: wrap; }
.btn {
  border: 0; cursor: pointer; border-radius: 999px;
  padding: 10px 20px; font-weight: 700; font-size: 0.92rem;
  font-family: var(--font-body); transition: 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--green-700); color: var(--white); box-shadow: 0 6px 16px rgba(15, 76, 58, 0.3); }
.btn-primary:hover { background: var(--green-800); transform: translateY(-1px); }
.btn-ghost { background: var(--green-100); color: var(--green-700); }
.btn-ghost:hover { background: var(--green-600); color: var(--white); }
.seek-row { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.time { font-variant-numeric: tabular-nums; font-size: 0.82rem; color: var(--muted); min-width: 46px; }
input[type="range"].seek {
  flex: 1; -webkit-appearance: none; appearance: none; height: 6px;
  background: var(--green-100); border-radius: 999px; outline: none; cursor: pointer;
}
input[type="range"].seek::-webkit-slider-thumb {
  -webkit-appearance: none; width: 17px; height: 17px; border-radius: 50%;
  background: var(--gold-400); border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25); cursor: pointer;
}
input[type="range"].seek::-moz-range-thumb {
  width: 14px; height: 14px; border-radius: 50%; background: var(--gold-400);
  border: 3px solid var(--white); cursor: pointer;
}
.player-status { text-align: center; font-size: 0.83rem; color: var(--muted); margin-top: 10px; min-height: 1.3em; }

.playlist-box { margin-top: 8px; }
.playlist-box h3 {
  font-size: 0.85rem; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--green-700); margin-bottom: 12px; font-weight: 800;
  display: flex; align-items: center; gap: 8px;
}
.playlist-box h3::after { content: ""; flex: 1; height: 1px; background: var(--green-100); }
.playlist-search {
  width: 100%; padding: 11px 16px; border-radius: 10px;
  border: 1.5px solid var(--green-100); background: var(--cream);
  font-family: var(--font-body); font-size: 0.92rem; margin-bottom: 12px; outline: none;
  transition: border-color 0.2s;
}
.playlist-search:focus { border-color: var(--gold-400); }
.playlist { list-style: none; max-height: 480px; overflow-y: auto; border-radius: 12px; }
.playlist li {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; margin: 4px 0; border-radius: 10px;
  background: var(--cream); cursor: pointer; transition: 0.18s;
  font-size: 0.94rem; font-weight: 600; color: var(--ink);
  border: 1px solid transparent;
}
.playlist li:hover { background: var(--green-100); }
.playlist li.active {
  background: var(--green-700); color: var(--white);
  border-color: var(--green-800); box-shadow: 0 4px 12px rgba(15,76,58,0.28);
}
.playlist li.active .pl-index { background: var(--gold-400); color: var(--green-900); }
.pl-index {
  width: 30px; height: 30px; flex: 0 0 30px; border-radius: 9px;
  background: var(--white); color: var(--green-700);
  display: grid; place-items: center; font-size: 0.76rem; font-weight: 800;
  border: 1px solid var(--green-100);
}
.playlist::-webkit-scrollbar { width: 8px; }
.playlist::-webkit-scrollbar-track { background: transparent; }
.playlist::-webkit-scrollbar-thumb { background: var(--green-100); border-radius: 99px; }

/* ---------- Content / Article ---------- */
.article {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 34px clamp(20px, 5vw, 46px); margin: 26px 0 40px;
  border: 1px solid rgba(20, 99, 74, 0.07);
}
.article h2 { color: var(--green-800); font-size: 1.35rem; margin: 26px 0 12px; font-weight: 800; }
.article h2:first-child { margin-top: 0; }
.article p { margin-bottom: 14px; }
.article img.author-photo {
  float: left; width: 240px; max-width: 40%;
  margin: 0 22px 14px 0; border-radius: 12px;
  border: 4px solid var(--green-100); box-shadow: var(--shadow);
}
.article ul, .article ol { margin: 0 0 16px 22px; }
.article li { margin-bottom: 6px; }
@media (max-width: 560px) { .article img.author-photo { float: none; width: 100%; max-width: 100%; margin: 0 0 16px; } }

/* ---------- Sponsor / Ads ---------- */
.sponsor {
  text-align: center; margin: 30px 0;
}
.sponsor a { display: inline-block; max-width: 649px; width: 100%; }
.sponsor img { border-radius: 10px; width: 100%; display: block; box-shadow: var(--shadow); }
.ad-slot { text-align: center; margin: 28px 0; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-900); color: rgba(255,255,255,0.75);
  margin-top: 40px; position: relative; overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23d4af37' stroke-opacity='0.06' stroke-width='1'%3E%3Cpath d='M40 0l10 30 30 10-30 10-10 30-10-30-30-10 30-10z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; padding: 46px 0 34px; position: relative; }
.footer-inner h4 { color: var(--gold-400); font-size: 0.95rem; margin-bottom: 14px; font-weight: 800; letter-spacing: 0.5px; }
.footer-inner ul { list-style: none; }
.footer-inner li { margin-bottom: 9px; }
.footer-inner a { color: rgba(255,255,255,0.78); }
.footer-inner a:hover { color: var(--gold-400); }
.footer-desc { font-size: 0.9rem; line-height: 1.75; }
.footer-arabic { font-family: var(--font-arabic); color: var(--gold-400); font-size: 1.15rem; margin-top: 12px; direction: rtl; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 0.84rem; position: relative;
}
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Responsive nav ---------- */
@media (max-width: 860px) {
  .header-inner { flex-direction: row; justify-content: space-between; }
  .brand { margin-bottom: 0; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    border-top: 0; border-bottom: 1px solid rgba(255,255,255,0.12);
    background: var(--green-800); padding: 10px 18px 18px;
    box-shadow: 0 14px 30px rgba(7,42,31,0.4);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; flex-wrap: wrap; white-space: normal; gap: 4px; }
  .main-nav a { display: block; font-size: 0.92rem; padding: 10px 14px; }
}

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 26px; }
.note { background: var(--gold-100); border: 1px solid #e8d89a; border-radius: 10px; padding: 12px 16px; font-size: 0.9rem; color: #6b5716; }
.divider-star { display: flex; justify-content: center; color: var(--gold-500); margin: 34px 0; }
.divider-star svg { width: 26px; height: 26px; }

