/* Bakiif — shared public-site styles (navbar, footer, page hero, prose, buttons).
   Loaded by every public page (landing, Quran, Kids, Articles, About, Contact,
   legal pages) through resources/views/partials/site/head.blade.php.
   Classes are prefixed `bk-` so they never collide with page-specific CSS. */

:root {
    --bk-bg: #ffffff; --bk-bg-2: #f4ede0; --bk-paper: #fbf6ea;
    --bk-ink: #14202e; --bk-ink-2: #1f3043; --bk-muted: #6b6557;
    --bk-line: rgba(20, 32, 46, 0.12);
    --bk-gold: #b8893f; --bk-gold-soft: #d6b06a; --bk-accent: #2f5145;
    --bk-font: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --bk-arabic: 'Amiri', 'Noto Naskh Arabic', serif;
    --bk-nav-h: 97px;
}

.bk-site { font-family: var(--bk-font); }
.bk-site button, .bk-site input, .bk-site select, .bk-site textarea { font-family: inherit; }
.bk-site { margin: 0; background: var(--bk-bg); color: var(--bk-ink); -webkit-font-smoothing: antialiased; }
.bk-wrap { max-width: 1180px; margin: 0 auto; padding-left: 32px; padding-right: 32px; box-sizing: border-box; }
.bk-arabic { font-family: var(--bk-arabic); direction: rtl; }
.bk-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 1.6px; color: var(--bk-gold); text-transform: uppercase; }

/* ── Buttons ───────────────────────────────────── */
.bk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font-family: var(--bk-font);
          font-size: 14px; font-weight: 500; line-height: 1; padding: 13px 24px; border: 1px solid transparent; cursor: pointer;
          text-decoration: none; transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.bk-btn:hover { transform: translateY(-1px); }
.bk-btn--dark { background: var(--bk-ink); color: var(--bk-bg); }
.bk-btn--dark:hover { background: var(--bk-ink-2); }
.bk-btn--gold { background: var(--bk-gold); color: var(--bk-ink); }
.bk-btn--ghost { background: transparent; color: var(--bk-ink); border-color: var(--bk-line); }
.bk-btn--ghost:hover { border-color: var(--bk-ink); }
.bk-btn--sm { padding: 10px 20px; font-size: 13px; }

/* ── Navbar ────────────────────────────────────── */
.bk-nav { position: sticky; top: 0; z-index: 60; background: #fff; font-family: 'Open Sans', var(--bk-font); }
.bk-nav__row { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: var(--bk-nav-h); }
.bk-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #0f0f0f; flex: 0 0 auto; }
.bk-brand img { height: 46px; width: auto; display: block; }
.bk-brand span { font-family: 'Marcellus', Georgia, serif; font-size: 44px; font-weight: 400; line-height: 1; letter-spacing: -0.01em; }
.bk-nav .bk-nav__row > .bk-nav__links { margin-left: auto; }
.bk-nav__links { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.bk-nav__links a { display: block; padding: 6px 0; font-size: 18px; font-weight: 600; color: #0f0f0f; text-decoration: none; transition: color .15s ease; }
.bk-nav__links a:hover, .bk-nav__links a[aria-current="page"] { color: #377a6e; }
.bk-nav__end { display: flex; align-items: center; gap: 20px; flex: 0 0 auto; margin-left: 14px; }
.bk-nav__icon { display: grid; place-items: center; width: 30px; height: 30px; color: #0f0f0f; transition: color .15s ease; }
.bk-nav__icon:hover { color: #377a6e; }
.bk-nav__icon svg { width: 24px; height: 24px; }
.bk-nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: #0f0f0f; cursor: pointer; align-items: center; justify-content: center; padding: 0; }
.bk-nav__panel { display: none; }

@media (max-width: 1100px) {
    .bk-nav__links { gap: 22px; }
    .bk-nav__links a { font-size: 16px; }
    .bk-brand span { font-size: 36px; }
}
@media (max-width: 900px) {
    .bk-wrap { padding-left: 16px; padding-right: 16px; }
    .bk-nav .bk-fwrap { padding-left: 16px; padding-right: 16px; }
    :root { --bk-nav-h: 72px; }
    .bk-brand img { height: 38px; }
    .bk-brand span { font-size: 32px; }
    .bk-nav__row > .bk-nav__links { display: none; }
    .bk-nav__toggle { display: inline-flex; }
    .bk-nav__panel { border-top: 1px solid rgba(15, 15, 15, .08); background: #fff; padding: 8px 0 16px; }
    .bk-nav.is-open .bk-nav__panel { display: block; }
    .bk-nav__panel .bk-nav__links { flex-direction: column; align-items: stretch; gap: 0; }
    .bk-nav__panel .bk-nav__links a { padding: 12px 0; font-size: 17px; }
}

/* ── Page hero (inner pages) ───────────────────── */
.bk-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--bk-line);
           background: linear-gradient(180deg, var(--bk-paper), var(--bk-bg)); }
.bk-hero__inner { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 56px; }
.bk-hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 600; line-height: 1.08; letter-spacing: -0.03em; margin: 14px 0 0; max-width: 820px; }
.bk-hero p { font-size: 17px; line-height: 1.6; color: var(--bk-muted); max-width: 600px; margin: 16px 0 0; }
.bk-motif { position: absolute; pointer-events: none; z-index: 0; background-size: 50px 50px;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50' viewBox='0 0 50 50'%3E%3Cg fill='none' stroke='%23b8893f' stroke-width='1'%3E%3Crect x='12' y='12' width='26' height='26'/%3E%3Crect x='12' y='12' width='26' height='26' transform='rotate(45 25 25)'/%3E%3C/g%3E%3Ccircle cx='25' cy='25' r='2' fill='%23b8893f'/%3E%3C/svg%3E"); }

/* ── Content blocks ────────────────────────────── */
.bk-section { padding: 64px 0 96px; }
.bk-card { background: var(--bk-paper); border: 1px solid var(--bk-line); border-radius: 24px; }
.bk-prose { max-width: 820px; padding: 44px 48px; line-height: 1.8; font-size: 15.5px; color: var(--bk-ink-2); box-sizing: border-box; }
.bk-prose h1, .bk-prose h2, .bk-prose h3 { color: var(--bk-ink); line-height: 1.3; margin: 1.6em 0 .5em; font-weight: 600; letter-spacing: -0.01em; }
.bk-prose > :first-child { margin-top: 0; }
.bk-prose h1 { font-size: 1.6rem; } .bk-prose h2 { font-size: 1.3rem; } .bk-prose h3 { font-size: 1.08rem; color: var(--bk-accent); }
.bk-prose p { margin: 0 0 1em; }
.bk-prose ul, .bk-prose ol { padding-left: 1.4em; margin: 0 0 1em; }
.bk-prose li { margin-bottom: .35em; }
.bk-prose a { color: var(--bk-accent); text-decoration: underline; }
.bk-prose strong { color: var(--bk-ink); font-weight: 600; }
.bk-prose blockquote { border-left: 3px solid var(--bk-gold); margin: 1.2em 0; padding: 10px 20px; background: rgba(184, 137, 63, .08);
                       border-radius: 0 12px 12px 0; color: var(--bk-muted); font-style: italic; }
.bk-prose img { max-width: 100%; height: auto; border-radius: 14px; }
.bk-prose pre { background: var(--bk-ink); color: var(--bk-bg); padding: 16px; border-radius: 12px; overflow-x: auto; font-size: .88em; }
.bk-prose code { background: rgba(20, 32, 46, .06); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.bk-prose pre code { background: none; padding: 0; }
@media (max-width: 640px) { .bk-prose { padding: 26px 20px; } .bk-section { padding: 40px 0 64px; } .bk-hero__inner { padding-top: 48px; padding-bottom: 40px; } }

/* ── Footer ────────────────────────────────────── */
.bk-footer { position: relative; z-index: 3; background: #111; color: #fff; border-radius: 50px 50px 0 0; font-family: 'Open Sans', var(--bk-font); }
.bk-fwrap { max-width: 1354px; margin: 0 auto; padding-left: 32px; padding-right: 32px; box-sizing: border-box; }
.bk-footer__grid { display: grid; grid-template-columns: minmax(0, 1fr) 434px; gap: 64px; padding-top: 124px; padding-bottom: 76px; }
.bk-footer__brand { display: inline-flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; }
.bk-footer__brand img { height: 56px; width: auto; display: block; }
.bk-footer__brand span { font-family: 'Marcellus', Georgia, serif; font-size: 52px; line-height: 1; }
.bk-footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; max-width: 800px; margin-top: 76px; }
.bk-footer__h { font-family: 'Marcellus', Georgia, serif; font-weight: 400; font-size: 30px; line-height: 1.2; margin: 0 0 26px; color: #fff; }
.bk-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: 18px; color: rgba(255, 255, 255, .86); }
.bk-footer a { color: inherit; text-decoration: none; transition: color .15s ease; }
.bk-footer a:hover { color: #ebbd61; }
.bk-footer__title { font-family: 'Marcellus', Georgia, serif; font-weight: 400; font-size: 52px; line-height: 1.1; margin: 0; }
.bk-footer__news > p { font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .86); margin: 34px 0 0; }
.bk-footer__form { margin-top: 62px; }
.bk-footer__form input[type=email] { width: 100%; height: 55px; border-radius: 999px; border: 0; padding: 0 25px; font: inherit; font-size: 18px; color: #111;
                                     background: #fff; box-sizing: border-box; outline: none; }
.bk-footer__form input[type=email]::placeholder { color: #111; }
.bk-footer__form input[type=email]:focus { box-shadow: 0 0 0 3px rgba(235, 189, 97, .55); }
.bk-footer__form button { margin-top: 20px; height: 57px; padding: 0 39px; border: 0; border-radius: 999px; background: #ebbd61; color: #111; font: inherit;
                          font-size: 17px; font-weight: 700; cursor: pointer; transition: transform .15s ease, background .2s ease; }
.bk-footer__form button:hover { transform: translateY(-1px); background: #f2cd80; }
.bk-footer__ok { margin-top: 40px !important; color: #ebbd61 !important; font-weight: 600; }
.bk-footer__err { margin: 10px 0 0 20px; color: #ffb4a8; font-size: 14px; }
.bk-hp { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; margin: -1px !important;
         overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); opacity: 0; pointer-events: none; }
.bk-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bk-footer__base { padding-bottom: 64px; }
.bk-footer__nav { display: flex; flex-wrap: wrap; gap: 12px 36px; font-size: 18px; font-weight: 600; }
.bk-footer__nav a[aria-current="page"] { color: #ebbd61; }
.bk-footer__base > p { margin: 34px 0 0; font-size: 15px; color: rgba(255, 255, 255, .78); }
@media (max-width: 1000px) {
    .bk-footer__grid { grid-template-columns: 1fr; gap: 56px; }
}
@media (max-width: 640px) {
    .bk-footer { border-radius: 28px 28px 0 0; }
    .bk-fwrap { padding-left: 16px; padding-right: 16px; }
    .bk-footer__grid { padding-top: 72px; padding-bottom: 48px; }
    .bk-footer__brand span { font-size: 40px; }
    .bk-footer__brand img { height: 44px; }
    .bk-footer__cols { margin-top: 48px; grid-template-columns: 1fr; }
    .bk-footer__title { font-size: 40px; }
    .bk-footer__form { margin-top: 36px; }
    .bk-footer__nav { gap: 10px 22px; font-size: 16px; }
}

/* ── Shared page building blocks (landing-page language) — used by /sadaqah, /duas, /hadith ── */
.sx { --sx-teal: #346e66; --sx-deep: #192f33; --sx-gold: #ebbd61; --sx-soft: #f7f6f2; font-family: 'Open Sans', system-ui, sans-serif; color: #111; }
.sx a { color: inherit; text-decoration: none; }
.sx [hidden] { display: none !important; }
.sx .sx-pill { color: #111; }
.sx .sx-pill--dark { color: #fff; }
.sx .sx-pill--ghost { color: #fff; }
.sx .sx-pill--ghost:hover { color: #111; }
.sx-container { max-width: 1354px; margin: 0 auto; padding: 0 32px; box-sizing: border-box; }
.sx-noise { position: relative; }
.sx-noise::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5; border-radius: inherit;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E"); }
.sx-eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; }
.sx-h2 { font-family: 'Marcellus', Georgia, serif; font-weight: 400; font-size: clamp(34px, 3.6vw, 58px); line-height: 1.1; margin: 22px 0 0; }
.sx-lead { font-size: 18px; line-height: 1.7; color: #666; margin: 22px 0 0; max-width: 640px; }
.sx-strip { position: relative; z-index: 2; background: var(--sx-gold); border-radius: 0 0 20px 20px; }
.sx-strip__row { display: flex; align-items: center; gap: 10px; min-height: 58px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.sx-strip__label { font-family: 'Marcellus', Georgia, serif; font-size: 22px; margin-right: 10px; }
.sx-chip { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; background: rgba(255,255,255,.6); border: 0; font: inherit;
           font-size: 14px; font-weight: 600; color: #111; cursor: pointer; white-space: nowrap; transition: background .15s ease, color .15s ease; }
.sx-chip:hover { background: #fff; }
.sx-chip.is-active { background: #111; color: #fff; }
.sx-hero { position: relative; overflow: hidden; margin-top: -20px; background: var(--sx-teal); color: #fff; border-radius: 0 0 50px 50px; }
.sx-hero--flush { margin-top: 0; }
.sx-hero__inner { position: relative; padding-top: 136px; padding-bottom: 116px; }
.sx-hero h1 { font-family: 'Marcellus', Georgia, serif; font-weight: 400; font-size: clamp(42px, 5vw, 80px); line-height: 1.06; margin: 22px 0 0; max-width: 900px; }
.sx-hero p { font-size: 20px; line-height: 1.6; color: rgba(255,255,255,.88); max-width: 660px; margin: 28px 0 0; }
.sx-hero__wm { position: absolute; right: -10px; bottom: 28px; font-family: 'Amiri', serif; font-size: 120px; line-height: 1; color: rgba(0,0,0,.13); white-space: nowrap; pointer-events: none; direction: rtl; }
.sx-pill { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 56px; padding: 0 34px; border-radius: 999px; border: 0; font: inherit;
           font-size: 16px; font-weight: 700; background: var(--sx-gold); color: #111; cursor: pointer; transition: transform .15s ease, background .2s ease, opacity .2s ease; }
.sx-pill:hover { transform: translateY(-1px); background: #f2cd80; }
.sx-pill:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.sx-pill--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.85); }
.sx-pill--ghost:hover { background: #fff; color: #111; }
.sx-pill--dark { background: #111; color: #fff; }
.sx-pill--dark:hover { background: #333; }
.sx-link { display: inline-block; font-size: 16px; font-weight: 700; padding-bottom: 2px; border-bottom: 2px solid currentColor; transition: color .2s ease; }
.sx-badge { display: inline-block; background: var(--sx-teal); color: #fff; border-radius: 999px; padding: 6px 13px; font-size: 12.5px; font-weight: 700; letter-spacing: 1.5px;
            text-transform: uppercase; line-height: 1.2; }
.sx-empty { text-align: center; padding: 90px 24px; color: #666; font-size: 18px; }
@media (max-width: 760px) {
    .sx-container { padding: 0 16px; }
    .sx-strip { border-radius: 0 0 14px 14px; }
    .sx-strip__row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .sx-strip__row::-webkit-scrollbar { display: none; }
    .sx-hero { margin-top: -14px; border-radius: 0 0 28px 28px; }
    .sx-hero--flush { margin-top: 0; }
    .sx-hero__inner { padding-top: 84px; padding-bottom: 72px; }
    .sx-hero p { font-size: 17px; }
    .sx-hero__wm { font-size: 64px; }
    .sx-pill { height: 52px; padding: 0 26px; }
}
