/* ui_kits/website/styles.css — pixel recreation of li-halal marketing site
   Lifted directly from reference/li-halal-original.html, organized by section. */

@import url('../../colors_and_type.css');

body { font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--cream); margin: 0; }

/* ── Nav ─────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  padding: 14px 32px;
  background: var(--paper);
  border-bottom: 2px solid var(--cobalt-deep);
}
.nav-brand { display: flex; flex-direction: column; line-height: 1; cursor: pointer; }
.nav-brand .name { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .18em; color: var(--ink); text-transform: uppercase; }
.nav-brand .tag  { font-family: var(--serif); font-style: italic; font-size: 13px; color: var(--ink-2); margin-top: 3px; }
.nav-links { display: flex; gap: 24px; list-style: none; padding: 0; margin: 0; justify-content: center; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.nav-links a { color: var(--ink-2); font-weight: 600; cursor: pointer; transition: color var(--t-quick); }
.nav-links a:hover, .nav-links a.active { color: var(--ottoman); }
.nav-cta { background: var(--ottoman); color: #fff; padding: 10px 18px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; border-radius: 1px; cursor: pointer; border: 0; transition: background var(--t-quick); }
.nav-cta:hover { background: var(--ottoman-deep); }

/* ── Iznik band ──────────────────────────────────────────────────── */
.iznik-band {
  height: 38px;
  background: var(--cobalt-deep);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='38' viewBox='0 0 80 38'><g fill='none' stroke='%23c9a049' stroke-width='1.4' stroke-linejoin='round'><rect x='28' y='5' width='24' height='24' transform='rotate(45 40 17)'/><rect x='28' y='5' width='24' height='24'/></g><circle cx='40' cy='17' r='6.5' fill='%23c9a049'/><circle cx='40' cy='17' r='2.4' fill='%230f2657'/><g fill='%23c9a049'><path d='M8 19 Q14 12 20 19 Q14 26 8 19 Z'/><path d='M60 19 Q66 12 72 19 Q66 26 60 19 Z'/></g><circle cx='14' cy='19' r='1.5' fill='%230f2657'/><circle cx='66' cy='19' r='1.5' fill='%230f2657'/><path d='M0 19 L8 19 M20 19 L28 19 M52 19 L60 19 M72 19 L80 19' stroke='%23c9a049' stroke-width='0.8'/></svg>");
  background-repeat: repeat-x;
  background-size: 80px 38px;
  background-position: center;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}

/* ── Hero ────────────────────────────────────────────────────────── */
.hero { position: relative; background: var(--cobalt-deep); color: var(--paper); text-align: center; padding: 88px 28px 72px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(201,160,73,.16), transparent 60%); pointer-events: none; }
.hero-inner { max-width: 1180px; margin: 0 auto; position: relative; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { font-family: var(--serif); font-weight: 600; color: var(--paper); font-size: clamp(2.6rem,6.4vw,5rem); line-height: 1.02; letter-spacing: -.01em; margin: 0 auto 22px; max-width: 18ch; }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero-lede { font-size: clamp(1.05rem,1.4vw,1.2rem); color: rgba(251,246,233,.85); max-width: 58ch; margin: 0 auto 32px; line-height: 1.55; }
.hero-feature { width: min(560px,90%); aspect-ratio: 1/1; margin: 0 auto 36px; border: 2px solid var(--gold); box-shadow: 0 30px 80px rgba(0,0,0,.45); background: #000; overflow: hidden; }
.hero-feature video, .hero-feature img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn-primary, .btn-ghost, .btn-cobalt {
  display: inline-block; padding: 16px 32px;
  font-weight: 600; font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  border-radius: 1px; cursor: pointer; border: 1px solid transparent;
  transition: background var(--t-quick), color var(--t-quick), border-color var(--t-quick);
  font-family: var(--sans);
}
.btn-primary { background: var(--ottoman); color: #fff; border-color: var(--ottoman); }
.btn-primary:hover { background: var(--ottoman-deep); border-color: var(--ottoman-deep); }
.btn-ghost { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-ghost:hover { background: var(--gold); color: var(--cobalt-deep); }
.btn-cobalt { background: var(--cobalt-deep); color: var(--paper); border-color: var(--cobalt-deep); }
.btn-cobalt:hover { background: var(--cobalt); border-color: var(--cobalt); }

/* ── Trust bar ───────────────────────────────────────────────────── */
.trust { background: var(--paper); padding: 22px 28px; border-bottom: 1px solid var(--rule-cobalt); }
.trust-inner { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 36px; justify-content: center; align-items: center; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
.trust-item svg { flex: 0 0 auto; color: var(--gold); }

/* ── Story ───────────────────────────────────────────────────────── */
.story { padding: 96px 28px; background: var(--cream-2); }
.story-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.story h2 { max-width: 22ch; margin: 0 auto 18px; }
.story h2 em { color: var(--ottoman); font-style: italic; }
.story p { font-size: 1.08rem; line-height: 1.7; max-width: 62ch; margin: 0 auto 18px; color: var(--ink-2); }
.story p strong { color: var(--ink); font-weight: 600; }

/* ── Mustafa ─────────────────────────────────────────────────────── */
.mustafa { background: var(--ink); color: var(--paper); padding: 88px 28px; }
.mustafa-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(320px,460px) 1fr; gap: 64px; align-items: center; }
.mustafa-portrait { aspect-ratio: 4/5; overflow: hidden; border: 2px solid var(--gold); box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.mustafa-portrait img { width: 100%; height: 100%; object-fit: cover; }
.mustafa-body .eyebrow { color: var(--gold); }
.mustafa-body h2 { color: var(--paper); font-size: clamp(2.2rem,4vw,3.4rem); line-height: 1.04; max-width: 14ch; margin: 0 0 28px; }
.mustafa-body h2 em { color: var(--gold); font-style: italic; }
.mustafa-body blockquote { margin: 0 0 22px; padding: 0 0 0 22px; border-left: 3px solid var(--gold); font-family: var(--serif); font-style: italic; font-size: 1.4rem; line-height: 1.45; color: var(--paper); }
.mustafa-body p { color: rgba(251,246,233,.78); font-size: 1.05rem; line-height: 1.7; max-width: 54ch; }
.mustafa-meta { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(201,160,73,.3); display: flex; gap: 32px; flex-wrap: wrap; }
.mustafa-meta div { font-size: 13px; color: rgba(251,246,233,.7); letter-spacing: .06em; }
.mustafa-meta strong { display: block; font-family: var(--display); color: var(--gold); font-size: 18px; font-weight: 700; letter-spacing: .1em; margin-bottom: 4px; }

/* ── Showcase ────────────────────────────────────────────────────── */
.showcase { position: relative; height: clamp(280px,40vh,460px); overflow: hidden; background: #000; }
.showcase img { width: 100%; height: 100%; object-fit: cover; }

/* ── Carry ───────────────────────────────────────────────────────── */
.carry { padding: 96px 28px; background: var(--cream-2); }
.carry-inner { max-width: 1240px; margin: 0 auto; }
.carry-head { text-align: center; margin-bottom: 56px; }
.carry-head h2 { max-width: 22ch; margin: 0 auto 14px; }
.carry-head h2 em { color: var(--ottoman); font-style: italic; }
.carry-head p { max-width: 54ch; margin: 0 auto; color: var(--ink-2); font-size: 1.05rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 24px; }
@media (min-width: 1080px) { .cards { grid-template-columns: repeat(3,1fr); } }
.card { background: var(--paper); border: 1px solid var(--rule-cobalt); overflow: hidden; display: flex; flex-direction: column; }
.card-img { aspect-ratio: 4/3; overflow: hidden; background: var(--cobalt-deep); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-image); }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.card-num { font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: .28em; color: var(--ottoman); margin-bottom: 10px; }
.card h3 { margin: 0 0 10px; font-size: 1.5rem; }
.card h3 em { color: var(--ottoman); font-style: italic; }
.card-lede { font-size: .95rem; color: var(--ink-2); margin: 0 0 18px; line-height: 1.55; }
.card ul { list-style: none; padding: 14px 0 0; margin: 0; font-size: .92rem; line-height: 1.75; border-top: 1px solid rgba(15,38,87,.1); }
.card ul li { position: relative; padding-left: 14px; }
.card ul li::before { content: "♦"; position: absolute; left: 0; top: 5px; color: var(--gold); font-size: 8px; }
.card ul li em { font-style: italic; color: var(--ink-3); font-weight: 400; font-size: .84rem; margin-left: 4px; }

/* ── Eid ─────────────────────────────────────────────────────────── */
.eid { background: var(--cobalt-deep); color: var(--paper); padding: 64px 28px; text-align: center; }
.eid-inner { max-width: 780px; margin: 0 auto; }
.eid .eyebrow { color: var(--gold); }
.eid h2 { color: var(--paper); margin: 0 auto 16px; font-size: clamp(1.8rem,3.6vw,2.6rem); max-width: 20ch; }
.eid h2 em { color: var(--gold); font-style: italic; }
.eid p { color: rgba(251,246,233,.85); max-width: 48ch; margin: 0 auto 28px; font-size: 1.05rem; }
.eid-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Visit ───────────────────────────────────────────────────────── */
.visit { background: var(--cream-2); padding: 96px 28px; }
.visit-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.visit-info h2 { max-width: 18ch; }
.visit-info h2 em { color: var(--ottoman); font-style: italic; }
.visit-rows { list-style: none; padding: 0; margin: 24px 0 28px; }
.visit-rows li { padding: 16px 0; border-bottom: 1px solid var(--rule-cobalt); display: grid; grid-template-columns: 90px 1fr; gap: 18px; }
.visit-rows li:last-child { border: 0; }
.visit-rows .key { font-family: var(--display); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--cobalt); padding-top: 3px; font-weight: 700; }
.visit-rows .val { font-size: 1.05rem; color: var(--ink); line-height: 1.5; }
.visit-rows .val a { text-decoration: underline; text-decoration-color: var(--rule-cobalt-strong); text-underline-offset: 3px; cursor: pointer; }
.visit-rows .sub { display: block; font-size: .85rem; color: var(--ink-3); margin-top: 4px; font-style: italic; }
.visit-img { aspect-ratio: 4/5; overflow: hidden; border: 2px solid var(--cobalt-deep); box-shadow: 0 24px 60px rgba(15,38,87,.18); }
.visit-img img { width: 100%; height: 100%; object-fit: cover; }

/* ── Footer ──────────────────────────────────────────────────────── */
footer { background: var(--ink); color: var(--paper); padding: 56px 28px 28px; }
.foot-mark { text-align: center; margin-bottom: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(201,160,73,.2); }
.foot-mark .seal { font-family: var(--display); font-size: 13px; letter-spacing: .36em; color: var(--gold); font-weight: 600; text-transform: uppercase; }
.foot-mark .est { font-family: var(--serif); font-style: italic; color: rgba(251,246,233,.7); font-size: 14px; margin-top: 6px; }
.foot-grid { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 36px; text-align: left; }
.foot-brand-text { font-family: var(--serif); font-style: italic; font-size: 1.4rem; line-height: 1.2; color: var(--paper); margin-bottom: 10px; }
.foot-brand-text em { color: var(--gold); font-style: italic; }
.foot-about { font-size: .92rem; line-height: 1.6; color: rgba(251,246,233,.7); }
.foot-col h4 { font-family: var(--display); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; font-weight: 700; }
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col li { font-size: .93rem; padding: 4px 0; color: rgba(251,246,233,.85); cursor: pointer; }
.foot-col li:hover { color: var(--gold); }
.foot-bottom { max-width: 1080px; margin: 36px auto 0; padding-top: 18px; border-top: 1px solid rgba(201,160,73,.2); font-size: .82rem; color: rgba(251,246,233,.5); text-align: center; letter-spacing: .04em; }

/* ── Toast (interactive feedback) ────────────────────────────────── */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--paper); padding: 14px 22px;
  border: 1px solid var(--gold);
  font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  z-index: 100;
  animation: toast-in .2s ease;
}
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }
