/* =====================================================================
   Bashkësia Islame Shqiptare në Holandë
   Design system — "Quiet Dignity"
   Emerald + warm ivory, restrained matte-gold accents.
   Single stylesheet for all pages.
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Colour */
  --emerald-900: #0a3d2e;
  --emerald-800: #0d4b38;
  --emerald-700: #0e5c43;
  --emerald-600: #18785a;
  --emerald-100: #e7f0eb;
  --gold:        #b08d4f;   /* matte bronze-gold — used sparingly */
  --gold-soft:   #c9a86f;
  --ivory:       #faf6ec;
  --ivory-200:   #f3ecdc;
  --cream-card:  #fffdf7;
  --ink:         #14201b;
  --ink-soft:    #3f4a44;
  --line:        #e3dcc9;

  /* Typography */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --arabic: "Amiri", "Cormorant Garamond", serif;

  /* Spacing & shape */
  --container: 1180px;
  --radius:    14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(20, 32, 27, .06);
  --shadow-md: 0 16px 40px -18px rgba(10, 61, 46, .35);
  --shadow-lg: 0 30px 70px -30px rgba(10, 61, 46, .45);

  /* Subtle 8-point star geometric texture (used at very low opacity) */
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1'%3E%3Cpolygon points='16,16 48,16 48,48 16,48'/%3E%3Cpolygon points='32,6 58,32 32,58 6,32'/%3E%3Ccircle cx='32' cy='32' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.1;
  color: var(--emerald-900);
  margin: 0 0 .5em;
  letter-spacing: .2px;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
p  { margin: 0 0 1.1rem; color: var(--ink-soft); }

::selection { background: var(--gold); color: #fff; }

/* ---------- Language visibility ----------
   Only the active language is shown. Natural display preserved
   (inline stays inline, block stays block). Default = Albanian. */
html.lang-sq [data-lang="nl"] { display: none !important; }
html.lang-nl [data-lang="sq"] { display: none !important; }

/* ---------- Layout helpers ---------- */
.container { width: min(100% - 3rem, var(--container)); margin-inline: auto; }
.section   { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.center    { text-align: center; }
.lead      { font-size: 1.2rem; color: var(--ink-soft); max-width: 60ch; }
.center .lead { margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--gold);
  display: inline-block;
}
.center .eyebrow::after {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--gold);
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .98rem;
  padding: .9rem 1.7rem;
  border-radius: 100px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--emerald-700); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--emerald-800); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--emerald-900); border-color: var(--emerald-700); }
.btn-ghost:hover { background: var(--emerald-700); color: #fff; transform: translateY(-2px); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); backdrop-filter: blur(4px); }
.btn-light:hover { background: #fff; color: var(--emerald-900); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 236, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .75rem 0;
}
.brand { display: flex; align-items: center; gap: .8rem; }
.brand img {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  padding: 2px;
  background: var(--emerald-900);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text .name { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: var(--emerald-900); }
.brand-text .sub  { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-weight: 500;
  font-size: .98rem;
  color: var(--ink);
  position: relative;
  padding: .3rem 0;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .28s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--emerald-700); }

.nav-right { display: flex; align-items: center; gap: 1.1rem; }

/* Language switch */
.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 100px;
  overflow: hidden;
  background: #fff;
}
.lang-switch button {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .04em;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  padding: .4rem .8rem;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.lang-switch button.active { background: var(--emerald-700); color: #fff; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--emerald-900); border-radius: 2px; transition: transform .3s, opacity .3s; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 880px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,61,46,.55) 0%, rgba(10,61,46,.35) 40%, rgba(10,61,46,.85) 100%),
    radial-gradient(120% 80% at 20% 30%, rgba(10,61,46,.25), transparent 60%);
}
.hero-inner { max-width: 760px; padding: 7rem 0; }
.hero .eyebrow { color: var(--gold-soft); }
.hero .eyebrow::before { background: var(--gold-soft); }
.hero h1 { color: #fff; margin-bottom: 1.2rem; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero p { color: rgba(255,255,255,.92); font-size: 1.25rem; max-width: 54ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.bismillah {
  font-family: var(--arabic);
  font-size: 1.7rem;
  color: var(--gold-soft);
  margin-bottom: 1.4rem;
  direction: rtl;
  opacity: .95;
}

/* scroll cue */
.scroll-cue {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.7); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.scroll-cue::after { content: ""; width: 1px; height: 34px; background: rgba(255,255,255,.5); animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0%,100% { transform: scaleY(.4); opacity:.4; transform-origin: top; } 50% { transform: scaleY(1); opacity:1; transform-origin: top; } }

/* ---------- Compact page header (inner pages) ---------- */
.page-hero {
  position: relative;
  color: #fff;
  display: flex;
  align-items: flex-end;
  min-height: clamp(320px, 48vh, 460px);
  overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,61,46,.45), rgba(10,61,46,.85));
}
.page-hero .container { padding: 3.4rem 0 2.8rem; }
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero .eyebrow::before { background: var(--gold-soft); }
.page-hero h1 { color: #fff; margin: 0; font-size: clamp(2.4rem, 5vw, 3.6rem); text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.page-hero p { color: rgba(255,255,255,.9); max-width: 56ch; margin: 1rem 0 0; font-size: 1.15rem; }

/* breadcrumb-ish kicker */
.crumb { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-bottom: 1rem; }
.crumb a:hover { color: #fff; }

/* ---------- Prose helper ---------- */
.prose p { font-size: 1.08rem; }
.prose h3 { margin-top: 2rem; }

/* ---------- Timeline ---------- */
.timeline { position: relative; margin-top: 2.5rem; padding-left: 2rem; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(var(--gold), var(--line));
}
.tl-item { position: relative; padding: 0 0 2rem 0; }
.tl-item::before {
  content: ""; position: absolute; left: -2rem; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--cream-card); border: 3px solid var(--emerald-700);
}
.tl-item .yr { font-family: var(--serif); font-weight: 700; color: var(--gold); font-size: 1.2rem; }
.tl-item h3 { margin: .1rem 0 .3rem; font-size: 1.25rem; }
.tl-item p { margin: 0; font-size: .98rem; }

/* ---------- Prayer / info strip ---------- */
.info-strip { background: var(--emerald-900); color: #fff; position: relative; }
.info-strip::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--pattern); opacity: .08; mix-blend-mode: screen;
}
.prayer-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  text-align: center;
}
.prayer-row .cell { padding: 1.6rem .5rem; }
.prayer-row .cell .label { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); }
.prayer-row .cell .time  { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; margin-top: .25rem; }
.prayer-row .cell:not(:last-child) { box-shadow: 1px 0 0 rgba(255,255,255,.1); }

/* ---------- Generic split feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split-media { position: relative; width: 100%; }
.split.reverse .split-media { order: 2; }

/* arch-framed image */
.arch-frame {
  position: relative;
  border-radius: 50% 50% var(--radius) var(--radius) / 28% 28% 2% 2%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--emerald-700), var(--emerald-900));
}
.arch-frame img { width: 100%; height: 100%; object-fit: cover; }
.arch-frame.flat { border-radius: var(--radius-lg); aspect-ratio: 5 / 4; }
.arch-frame::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: inherit; pointer-events: none;
}
/* gold corner accent on media */
.media-badge {
  position: absolute; z-index: 2;
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: .8rem;
}
.media-badge.bl { bottom: -22px; left: -22px; }
.media-badge .num { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--emerald-700); line-height: 1; }
.media-badge .cap { font-size: .8rem; color: var(--ink-soft); max-width: 14ch; }

/* ---------- Service cards ---------- */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.9rem;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold-soft); }
.card .ico {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--emerald-100);
  color: var(--emerald-700);
  margin-bottom: 1.2rem;
}
.card .ico svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .4rem; }
.card p { margin: 0; font-size: .98rem; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.stat .num { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 700; color: var(--emerald-700); line-height: 1; }
.stat .num .plus { color: var(--gold); }
.stat .label { margin-top: .4rem; font-size: .95rem; color: var(--ink-soft); }

/* ---------- Heritage gallery ---------- */
.heritage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }
.heritage-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  margin: 0;
}
.heritage-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.heritage-card:hover img { transform: scale(1.06); }
.heritage-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(transparent 40%, rgba(8,45,33,.82));
}
.heritage-card .cap {
  position: absolute; left: 1.4rem; bottom: 1.2rem; z-index: 2;
  display: flex; flex-direction: column; gap: .1rem; color: #fff;
}
.heritage-card .cap .place { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; line-height: 1; }
.heritage-card .cap .country { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); }
@media (max-width: 680px) { .heritage-grid { grid-template-columns: 1fr; } }

/* ---------- Ayah / quote band ---------- */
.ayah {
  background: linear-gradient(160deg, var(--emerald-800), var(--emerald-900));
  color: #fff; position: relative; overflow: hidden;
}
.ayah::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--pattern); opacity: .07;
}
.ayah .container { position: relative; max-width: 880px; }
.ayah .ar { font-family: var(--arabic); font-size: clamp(1.8rem, 4vw, 2.8rem); direction: rtl; color: var(--gold-soft); margin-bottom: 1.2rem; line-height: 1.6; }
.ayah blockquote { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.1rem); font-style: italic; margin: 0 0 1rem; line-height: 1.4; }
.ayah cite { font-style: normal; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); }

/* ---------- Values list ---------- */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 1.4rem; }
.value { display: flex; gap: 1rem; align-items: flex-start; }
.value .dot { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--emerald-700); color: #fff; }
.value .dot svg { width: 20px; height: 20px; }
.value h3 { font-size: 1.25rem; margin-bottom: .25rem; }
.value p { margin: 0; font-size: .96rem; }

/* ---------- CTA band ---------- */
.cta {
  background: var(--ivory-200);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.cta .actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.6rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.info-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1.3rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; }
.info-list .ico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: var(--emerald-100); color: var(--emerald-700); display: grid; place-items: center; }
.info-list .ico svg { width: 20px; height: 20px; }
.info-list .k { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.info-list .v { color: var(--ink); font-weight: 500; }
.info-list a.v:hover { color: var(--emerald-700); text-decoration: underline; }

form.contact {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .05em; color: var(--ink); margin-bottom: .4rem; }
.field input, .field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  padding: .85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--emerald-600);
  box-shadow: 0 0 0 3px rgba(24,120,90,.15);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-note { font-size: .82rem; color: var(--ink-soft); margin-top: .8rem; }

/* form validation + submit states */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-error { display: block; min-height: 1em; margin-top: .35rem; font-size: .8rem; color: #b3261e; }
.field input.invalid, .field textarea.invalid { border-color: #d24a3c; background: #fdf6f5; }
.field input.invalid:focus, .field textarea.invalid:focus { box-shadow: 0 0 0 3px rgba(210,74,60,.15); }
.form-status { margin-top: 1rem; padding: .85rem 1rem; border-radius: 12px; font-size: .9rem; border: 1px solid transparent; white-space: pre-wrap; word-break: break-word; }
.form-status.pending { background: var(--ivory-200); color: var(--ink-soft); border-color: var(--line); }
.form-status.ok { background: #e7f3ec; color: #0e5c43; border-color: #bfe0cc; }
.form-status.err { background: #fbecea; color: #9a271b; border-color: #f1c6c0; }
.recaptcha-note { font-size: .76rem; }
.recaptcha-note a { color: var(--emerald-700); }
form.contact button[type="submit"]:disabled { opacity: .6; cursor: progress; }

/* thank-you panel (after a successful send) */
.form-thanks {
  text-align: center;
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-sm);
}
.form-thanks h2 { margin: .8rem 0 .5rem; }
.form-thanks p { color: var(--ink-soft); margin: 0 auto .6rem; max-width: 42ch; }
.form-thanks .thanks-alt { font-size: .9rem; }
.form-thanks .btn { margin-top: 1.2rem; }
.thanks-ico {
  width: 64px; height: 64px; margin: 0 auto;
  border-radius: 50%;
  background: var(--emerald-100); color: var(--emerald-700);
  display: grid; place-items: center;
}
.thanks-ico svg { width: 32px; height: 32px; }

/* map slot */
.map-slot {
  margin-top: 1.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 16/9;
  background:
     linear-gradient(135deg, rgba(14,92,67,.08), rgba(176,141,79,.08)),
     var(--ivory-200);
  display: grid; place-items: center; text-align: center;
}
.map-slot iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-slot .placeholder { color: var(--ink-soft); font-size: .9rem; padding: 1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--emerald-900); color: rgba(255,255,255,.78); position: relative; overflow: hidden; }
.site-footer::before { content:""; position:absolute; inset:0; background-image: var(--pattern); opacity:.06; }
.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding: 4rem 0 2.5rem;
}
.site-footer h4 { color: #fff; font-family: var(--sans); font-weight: 600; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-brand { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.footer-brand img { width: 64px; height: 64px; border-radius: 50%; border: 1.5px solid var(--gold); padding: 3px; background: #07271d; }
.footer-brand .name { font-family: var(--serif); font-size: 1.35rem; color: #fff; line-height: 1.15; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-bottom {
  position: relative;
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 1.4rem 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem;
  font-size: .85rem; color: rgba(255,255,255,.6);
}
.footer-bottom a { color: rgba(255,255,255,.6); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue::after { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media { max-width: 460px; margin-inline: auto; }
  .prayer-row { grid-template-columns: repeat(3, 1fr); }
  .prayer-row .cell:nth-child(3) { box-shadow: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  /* Dropdown hangs off the (sticky) header, so it lines up whether or not
     the announcement bar is shown above it. */
  .nav-links {
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    padding: .5rem 1.5rem 1.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
    box-shadow: var(--shadow-md);
  }
  body.nav-open .nav-links { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .25s ease; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); width: 100%; }
  .nav-links a::after { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .media-badge.bl { left: 0; bottom: -16px; }
}

@media (max-width: 480px) {
  .prayer-row { grid-template-columns: repeat(2, 1fr); }
  .prayer-row .cell { box-shadow: none !important; }
  .brand-text .sub { display: none; }
}


/* =====================================================================
   Kuvendi Themelues (10.10.2026) — announcement bar, home event card,
   event page (kuvendi.html)
   ===================================================================== */
/* ---------- Small helpers ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem 1rem; margin-top: 1.6rem; }
.prose a, .lead a { color: var(--emerald-700); text-decoration: underline; text-underline-offset: 3px; }

.btn-gold { background: var(--gold-soft); color: var(--emerald-900); box-shadow: 0 14px 30px -14px rgba(201,168,111,.7); }
.btn-gold:hover { background: #d8bb86; transform: translateY(-2px); }

/* ---------- Announcement bar ---------- */
.announce { background: var(--emerald-900); color: rgba(255,255,255,.9); font-size: .88rem; position: relative; z-index: 101; }
.announce-inner { display: flex; align-items: center; justify-content: center; gap: .4rem 1rem; flex-wrap: wrap; padding: .6rem 0; text-align: center; }
.announce-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-soft); box-shadow: 0 0 0 0 rgba(201,168,111,.6); animation: pulse 2.2s infinite; flex: 0 0 auto; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(201,168,111,.55); } 70% { box-shadow: 0 0 0 9px rgba(201,168,111,0); } 100% { box-shadow: 0 0 0 0 rgba(201,168,111,0); } }
.announce-link { display: inline-flex; align-items: center; gap: .35rem; color: var(--gold-soft); font-weight: 600; white-space: nowrap; }
.announce-link svg { width: 15px; height: 15px; transition: transform .2s; }
.announce-link:hover svg { transform: translateX(3px); }

/* ---------- Featured event (home) ---------- */
.event-feature-sec { padding-block: clamp(3rem, 6vw, 5rem); }
.event-feature {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(180px, 240px) 1fr; gap: 0;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(201,168,111,.16), transparent 55%),
    linear-gradient(150deg, var(--emerald-800), #062a1f);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.event-feature::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); opacity: .06; pointer-events: none; }
.event-feature::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(201,168,111,.45); border-radius: calc(var(--radius-lg) - 6px); pointer-events: none; }
.ef-date {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 2.6rem 1.5rem; border-right: 1px solid rgba(201,168,111,.35);
}
.ef-wd { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); }
.ef-day { font-family: var(--serif); font-variant-numeric: lining-nums; font-weight: 700; font-size: clamp(4.5rem, 9vw, 6.5rem); line-height: .95; color: #fff; }
.ef-month { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--gold-soft); line-height: 1.1; }
.ef-year { font-size: .9rem; letter-spacing: .3em; color: rgba(255,255,255,.65); margin-top: .2rem; }
.ef-count { margin-top: 1.1rem; font-size: .78rem; font-weight: 600; letter-spacing: .06em; padding: .35rem .85rem; border-radius: 100px; background: rgba(201,168,111,.18); color: var(--gold-soft); border: 1px solid rgba(201,168,111,.4); }
.ef-body { position: relative; padding: clamp(2rem, 4vw, 3.2rem); }
.ef-body .eyebrow { color: var(--gold-soft); }
.ef-body .eyebrow::before { background: var(--gold-soft); }
.ef-body h2 { color: #fff; margin-bottom: .2rem; font-size: clamp(2.2rem, 4.6vw, 3.4rem); letter-spacing: .02em; }
.ef-sub { color: var(--gold-soft); font-size: 1.05rem; margin-bottom: 1.2rem; }
.ef-meta { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .5rem; }
.ef-meta li { display: flex; align-items: flex-start; gap: .6rem; color: rgba(255,255,255,.92); }
.ef-meta svg { width: 19px; height: 19px; flex: 0 0 auto; color: var(--gold-soft); margin-top: .2rem; }
.ef-summary { color: rgba(255,255,255,.8); max-width: 60ch; }
.event-feature .btn-row { margin-top: 1.4rem; }
@media (max-width: 720px) {
  .event-feature { grid-template-columns: 1fr; }
  .ef-date { border-right: 0; border-bottom: 1px solid rgba(201,168,111,.35); padding: 2rem 1rem 1.6rem; flex-direction: row; flex-wrap: wrap; gap: .2rem .7rem; }
  .ef-day { font-size: 3.6rem; }
  .ef-wd { width: 100%; }
  .ef-count { margin-top: .6rem; }
}

/* ---------- Event detail page ---------- */
.event-hero {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background:
    radial-gradient(80% 70% at 50% 0%, rgba(201,168,111,.18), transparent 60%),
    linear-gradient(170deg, var(--emerald-800), #05241a);
}
.event-hero::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); opacity: .06; }
.event-hero::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(201,168,111,.5); pointer-events: none; }
.event-hero-inner { position: relative; z-index: 1; padding: clamp(2.6rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 4.5rem); display: flex; flex-direction: column; align-items: center; }
.event-hero .crumb { align-self: stretch; text-align: left; margin-bottom: 1.4rem; }
.event-seal { width: 110px; height: 110px; border-radius: 50%; border: 2px solid var(--gold-soft); padding: 3px; background: #07271d; box-shadow: 0 0 0 6px rgba(201,168,111,.12), 0 20px 40px -20px rgba(0,0,0,.6); margin-bottom: 1.4rem; }
.event-hero .eyebrow { color: var(--gold-soft); }
.event-hero .eyebrow::before, .event-hero .eyebrow::after { content: ""; width: 26px; height: 1.5px; background: var(--gold-soft); display: inline-block; }
.event-hero h1 { color: #f5ecd7; text-transform: uppercase; letter-spacing: .06em; font-size: clamp(2.5rem, 7vw, 4.6rem); margin: 0; text-shadow: 0 2px 30px rgba(0,0,0,.3); }
.event-sub { color: var(--gold-soft); font-size: 1.15rem; margin: .7rem 0 0; }
.gold-divider { display: flex; align-items: center; gap: .7rem; margin: 1.5rem 0 2rem; }
.gold-divider::before, .gold-divider::after { content: ""; width: 70px; height: 1px; background: var(--gold-soft); opacity: .8; }
.gold-divider span { width: 8px; height: 8px; background: var(--gold-soft); transform: rotate(45deg); }
.event-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; width: min(100%, 980px); }
.event-facts .fact { flex: 1 1 210px; max-width: 300px; }
.fact { display: flex; flex-direction: column; align-items: center; gap: .25rem; padding: 1.3rem 1rem; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(201,168,111,.35); backdrop-filter: blur(2px); }
.fact-ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(201,168,111,.16); color: var(--gold-soft); margin-bottom: .3rem; }
.fact-ico svg { width: 22px; height: 22px; }
.fact .k { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; }
.fact .v { font-weight: 600; font-size: 1.08rem; color: #fff; line-height: 1.4; }
.fact .v small { display: block; font-weight: 400; font-size: .85rem; color: rgba(255,255,255,.7); }
.event-chip { margin: 1.8rem 0 0; display: inline-block; padding: .45rem 1.1rem; border-radius: 100px; background: var(--gold-soft); color: var(--emerald-900); font-weight: 700; font-size: .9rem; letter-spacing: .04em; }
.event-chip.past { background: rgba(255,255,255,.14); color: #fff; }
@media (max-width: 520px) { .event-facts .fact { flex-basis: 100%; max-width: none; } }

.event-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.event-body { margin-bottom: 2.6rem; font-size: 1.1rem; }
.event-body p:first-child { font-size: 1.2rem; color: var(--ink); }
.program { list-style: none; margin: 1.8rem 0 0; padding: 0; position: relative; }
.program::before { content: ""; position: absolute; left: 118px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--gold), var(--line)); }
.program li { display: grid; grid-template-columns: 104px 1fr; gap: 2.2rem; padding-bottom: 1.6rem; position: relative; }
.program li::before { content: ""; position: absolute; left: 112px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--cream-card); border: 3px solid var(--emerald-700); }
.p-time { font-family: var(--serif); font-variant-numeric: lining-nums; font-weight: 700; font-size: 1.3rem; color: var(--gold); text-align: right; line-height: 1.25; padding-top: .1rem; }
.p-body h3 { font-size: 1.35rem; margin: 0 0 .2rem; }
.p-body p { margin: 0; font-size: 1rem; }
@media (max-width: 560px) {
  .program::before { left: 7px; }
  .program li { grid-template-columns: 1fr; gap: .1rem; padding-left: 2rem; }
  .program li::before { left: 1px; }
  .p-time { text-align: left; font-size: 1.15rem; }
}

.event-aside { display: grid; gap: 1.3rem; position: sticky; top: 96px; }
.aside-card { background: var(--cream-card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.aside-card h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.aside-actions { display: grid; gap: .7rem; }
.aside-actions .btn { justify-content: center; }
.info-card { background: linear-gradient(160deg, #f6f1e3, #efe6cf); border-color: #e2d4b0; position: relative; }
.info-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--emerald-700); color: #fff; margin-bottom: 1rem; }
.info-ico svg { width: 24px; height: 24px; }
.info-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.info-card li { padding-left: 1.1rem; position: relative; color: var(--ink-soft); font-size: .98rem; line-height: 1.6; }
.info-card li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
@media (max-width: 920px) { .event-grid { grid-template-columns: 1fr; } .event-aside { position: static; } }

.event-band { background: var(--emerald-900); color: #f5ecd7; text-align: center; border-top: 3px solid var(--gold-soft); border-bottom: 3px solid var(--gold-soft); }
.event-band p { margin: 0; padding: 1.5rem 0; font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 600; color: #f5ecd7; letter-spacing: .02em; }

@media (prefers-reduced-motion: reduce) { .announce-dot { animation: none; } }
.aside-addr { margin: -.4rem 0 1rem; font-weight: 500; color: var(--ink); }
