:root {
  --gold:      #4A90C4;
  --gold-lt:   #E8F1FF;
  --gold-dk:   #2B5F8A;
  --stone:     #1B3A5C;
  --stone-mid: #2B5F8A;
  --cream:     #F0F6FB;
  --parchment: #E3EEF7;
  --white:     #FFFFFF;
  --muted:     #4A7FA8;
  --border:    #5A9BC0;
  --shadow:    0 4px 24px rgba(44,36,22,0.13);
  --shadow-lg: 0 12px 48px rgba(44,36,22,0.2);
  --r:         2px;
  --t:         0.25s ease;
  --font-disp: 'Playfair Display', serif;
  --font-ui:   'Jost', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-ui); font-weight: 300; background: var(--cream); color: var(--stone); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--gold-dk); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--gold); }
p { margin-bottom: 0.75em; }
p:last-child { margin-bottom: 0; }

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--stone);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://www.flemishmastersinsitu.com/sites/vlaamsemeestersinsitu/files/public/media/images/2023-06/Aangepast%20Exterieur_Knop%204%201%20Icoon%20Kerkgebouw%20Goede%20Bijstand.jpg');
  background-size: cover; background-position: center 38%;
  opacity: 0.38;
  /*INZOOMEN FOTO*/
  /*animation: heroZoom 18s ease-in-out infinite alternate; */
}
/*@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }*/
}
.hero-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(44,36,22,0.65) 100%);
}
.hero-top-bar {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; justify-content: flex-end;
  padding: 1rem 2rem;
  gap: 0.4rem;
  z-index: 5;
  flex-wrap: wrap;
}
.lang-btn {
  background: transparent;
  border: 1px solid rgba(201,169,110,0.4);
  color: rgba(201,169,110,0.7);
  font-family: var(--font-ui);
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 2px; cursor: pointer;
  transition: all var(--t);
}
.lang-btn:hover, .lang-btn.active { background: var(--gold); border-color: var(--gold); color: var(--stone); }
.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 2rem;
}
.hero-ornament {
  display: flex; align-items: center; gap: 1.2rem;
  justify-content: center; margin-bottom: 1.6rem;
  animation: fadeDown 1s ease 0.2s both;
}
.hero-ornament span { display: block; height: 1px; width: 60px; background: var(--gold); opacity: 0.6; }
.hero-ornament em { font-family: var(--font-ui); font-style: normal; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold); opacity: 0.8; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
.hero-title {
  font-family: var(--font-disp);
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 700; color: var(--white);
  line-height: 1.1; letter-spacing: 0.01em;
  text-shadow: 0 2px 30px rgba(44,36,22,0.6);
  animation: fadeUp 1s ease 0.4s both;
}
.hero-sub {
  font-family: var(--font-ui); font-style: italic; font-weight: 300;
  font-size: 1.1rem; color: var(--gold-lt);
  margin-top: 0.7rem; letter-spacing: 0.08em;
  text-shadow: 0 1px 10px rgba(44,36,22,0.5);
  animation: fadeUp 1s ease 0.6s both;
}
.hero-date {
  font-family: var(--font-ui); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(232,213,168,0.7); margin-top: 0.5rem;
  animation: fadeUp 1s ease 0.7s both;
}
.hero-link a {
  color: var(--gold-lt);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}
.hero-link a:hover {
  color: var(--white);
}
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  z-index: 3; cursor: pointer;
  animation: fadeUp 1s ease 1.2s both;
}
.hero-scroll span { font-family: var(--font-ui); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.hero-scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--gold), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100%{opacity:0.4;transform:scaleY(1)} 50%{opacity:1;transform:scaleY(1.2)} }
@keyframes fadeUp { from{opacity:0;transform:translateY(14px)} to{opacity:1;transform:translateY(0)} }

/* ── NAV ── */
.site-nav {
  background: var(--stone);
  display: flex; flex-wrap: wrap;
  justify-content: center;
  position: static;
  border-bottom: 2px solid var(--gold-dk);
  box-shadow: 0 4px 20px rgba(44,36,22,0.3);
}
.site-nav a {
  font-family: var(--font-ui); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(201,169,110,0.65);
  padding: 0.9rem 1.1rem;
  border-right: 1px solid rgba(201,169,110,0.1);
  transition: all var(--t); cursor: pointer; white-space: nowrap;
}
.site-nav a:last-child { border-right: none; }
.site-nav a:hover, .site-nav a.active { color: var(--gold); background: rgba(201,169,110,0.07); }
.site-nav a.active { border-bottom: 2px solid var(--gold); margin-bottom: -2px; }

/* ── RTL support ── */
body.rtl { direction: rtl; }
body.rtl .site-nav a { border-right: none; border-left: 1px solid rgba(201,169,110,0.1); }
body.rtl .site-nav a:last-child { border-left: none; }
body.rtl .hero-top-bar { flex-direction: row-reverse; justify-content: flex-start; }
body.rtl .timeline { padding-left: 0; padding-right: 2rem; }
body.rtl .timeline::before { left: auto; right: 0.5rem; }
body.rtl .tl-item::before { left: auto; right: -1.55rem; }
body.rtl .partner { border-left: none; border-right: 4px solid var(--gold); }
body.rtl .bank-block { border-left: none; border-right: 5px solid var(--gold); }
body.rtl .contact-box { border-left: none; border-right: 5px solid var(--stone-mid); }
body.rtl .section-title::after { margin-left: 0; margin-right: 0.5rem; }

/* ── LAYOUT ── */
.page-wrap { max-width: 1400px; margin: 0 auto; padding: 3rem 1.5rem; }
.two-col { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; }
@media(max-width:820px){ .two-col{grid-template-columns:1fr;} }

/* ── SECTIONS ── */
.section { margin-bottom: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--border); animation: fadeUp 0.4s ease both; }
.section:last-child { border-bottom: none; margin-bottom: 0; }
.section-title {
  font-family: var(--font-disp); font-weight: 500;
  font-size: 1.7rem; color: var(--stone-mid);
  margin-bottom: 1.2rem; padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: baseline; gap: 0.8rem;
}
.section-title::after { content:''; flex:1; height:1px; background: linear-gradient(to right, var(--gold-lt), transparent); margin-left:0.5rem; }
.subsection { font-family: var(--font-disp); font-style: italic; font-size: 1.05rem; color: var(--gold-dk); margin: 1.5rem 0 0.5rem; }
.ornament { text-align: center; color: var(--gold); letter-spacing: 0.6em; font-size: 0.6rem; margin: 2rem 0; opacity: 0.7; }

/* ── AGENDA ── */
.agenda-wrap { border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.agenda-month { background: var(--stone); color: var(--gold); font-family: var(--font-ui); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; padding: 0.35rem 1rem; }
.agenda-row { display: grid; grid-template-columns: 80px 1fr; border-bottom: 1px solid var(--border); background: var(--white); }
.agenda-row:last-child { border-bottom: none; }
.agenda-row.weekend .date-cell { background: var(--parchment); }
.date-cell { background: var(--cream); border-right: 2px solid var(--border); padding: 0.5rem 0.7rem; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.date-cell .dn { font-family: var(--font-ui); font-size: 0.57rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.date-cell .dd { font-family: var(--font-disp); font-size: 1.3rem; font-weight: 400; color: var(--stone-mid); line-height: 1; }
.date-cell .dm { font-size: 0.55rem; font-weight: 500; text-transform: uppercase; color: var(--muted); letter-spacing: 0.06em; }
.events-cell { padding: 0.4rem 1rem; display: flex; flex-direction: column; justify-content: center; }
.ev-row { display: flex; align-items: baseline; gap: 0.5rem; padding: 0.06rem 0; font-size: 0.86rem; color: var(--stone); }
.ev-time { font-family: var(--font-ui); font-size: 0.7rem; font-weight: 600; color: var(--gold-dk); min-width: 40px; flex-shrink: 0; }
.ev-dot { font-size: 1rem; color: var(--gold); flex-shrink: 0; }
.agenda-empty { padding: 1.2rem; font-style: italic; color: var(--muted); font-size: 0.9rem; }

/* ── CARDS ── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; margin-top: 1.2rem; }
.card {
  background: var(--white); border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--r); padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow); transition: box-shadow var(--t), transform var(--t);
  cursor: pointer;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card h3 { font-family: var(--font-disp); font-size: 1.05rem; font-weight: 500; color: var(--stone-mid); margin-bottom: 0.4rem; }
.card p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }
.card a { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; display: inline-block; margin-top: 0.6rem; color: var(--gold-dk); }
.card a:hover { color: var(--gold); }
.card .card-icon { font-size: 1.8rem; margin-bottom: 0.6rem; }

/* ── PARTNER LIST ── */
.partner { background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--gold); padding: 1rem 1.4rem; border-radius: var(--r); margin-bottom: 0.8rem; box-shadow: var(--shadow); }
.partner strong { color: var(--stone-mid); font-weight: 600; font-family: var(--font-disp); font-style: italic; }
.partner p { font-size: 0.9rem; color: var(--muted); margin-top: 0.2rem; }

/* ── PAST EVENTS ── */
.past-item { display: flex; align-items: baseline; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.past-item:last-child { border-bottom: none; }
.past-item a { flex: 1; color: var(--stone-mid); }
.past-item a:hover { color: var(--gold-dk); }
.past-date { font-style: italic; font-size: 0.78rem; color: var(--muted); white-space: nowrap; flex-shrink: 0; }

/* ── HUREN ── */
.huren-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.2rem; }
@media(max-width:540px){ .huren-grid{grid-template-columns:1fr;} }
.info-box { background: var(--white); border: 1px solid var(--border); border-top: 3px solid var(--stone-mid); padding: 1.2rem 1.4rem; border-radius: var(--r); box-shadow: var(--shadow); }
.info-box h3 { font-family: var(--font-ui); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone-mid); margin-bottom: 0.6rem; }
.info-box p { font-size: 0.9rem; color: var(--stone); }

/* ── STEUNEN / BANK ── */
.bank-block { background: var(--parchment); border: 1px solid var(--border); border-left: 5px solid var(--gold); padding: 1.3rem 1.6rem; border-radius: var(--r); margin-top: 1rem; box-shadow: var(--shadow); }
.bank-block .bank-name { font-size: 0.78rem; color: var(--muted); margin-bottom: 0.25rem; }
.bank-block .iban { font-family: var(--font-disp); font-size: 1.4rem; font-weight: 500; color: var(--stone-mid); }
.bank-block .bic { font-size: 0.85rem; color: var(--muted); margin-top: 0.2rem; }
.qr-row { display: flex; gap: 1.5rem; margin-top: 1.5rem; flex-wrap: wrap; }
.qr-item { text-align: center; }
.qr-item img { width: 130px; height: 130px; object-fit: contain; border: 2px solid var(--border); border-radius: var(--r); }
.qr-item span { display: block; font-size: 0.78rem; font-style: italic; color: var(--muted); margin-top: 0.3rem; }

/* ── CONTACT ── */
.contact-box { background: var(--parchment); border: 1px solid var(--border); border-left: 5px solid var(--stone-mid); padding: 1.4rem 1.8rem; border-radius: var(--r); box-shadow: var(--shadow); display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; margin-top: 1rem; }
.contact-box .icon { font-size: 2.2rem; flex-shrink: 0; }
.contact-box .txt strong { color: var(--stone-mid); }
.contact-box .txt p { font-size: 0.9rem; color: var(--stone); margin-bottom: 0.2rem; }
.btn { display: inline-block; padding: 0.55rem 1.6rem; background: var(--stone-mid); color: var(--gold-lt); font-family: var(--font-ui); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; border-radius: var(--r); transition: background var(--t); border: none; cursor: pointer; }
.btn:hover { background: var(--stone); color: var(--gold); }
.btn-outline { background: transparent; border: 1px solid var(--gold-dk); color: var(--gold-dk); }
.btn-outline:hover { background: var(--gold-dk); color: var(--white); }

/* ── SIDEBAR ── */
aside { font-size: 0.9rem; color: var(--stone); }
.sidebar-img { width: 100%; height: 160px; object-fit: cover; border-radius: var(--r); border: 2px solid var(--border); margin-bottom: 1.4rem; box-shadow: var(--shadow); }
.sidebar-box { background: var(--white); border: 1px solid var(--border); border-top: 3px solid var(--gold-dk); padding: 1.1rem 1.2rem; margin-bottom: 1.2rem; border-radius: var(--r); box-shadow: var(--shadow); }
.sidebar-box h3 { font-family: var(--font-ui); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone-mid); margin-bottom: 0.7rem; padding-bottom: 0.45rem; border-bottom: 1px solid var(--border); }
.sidebar-box p { font-size: 0.88rem; color: var(--stone); margin-bottom: 0.35rem; }
.sidebar-box .addr { font-style: italic; color: var(--muted); font-size: 0.85rem; line-height: 1.55; }
.sidebar-box .hl { font-family: var(--font-disp); font-size: 1rem; font-weight: 500; color: var(--stone-mid); }

/* ── PHOTO GRID ── */
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin: 1.2rem 0; }
.photo-grid img { width: 100%; height: 210px; object-fit: cover; border-radius: var(--r); border: 2px solid var(--border); box-shadow: var(--shadow); }
@media(max-width:480px){ .photo-grid{grid-template-columns:1fr;} }
.church-photo { width: 100%; border-radius: var(--r); border: 2px solid var(--border); box-shadow: var(--shadow); margin-bottom: 1rem; object-fit: cover; }
.photo-caption { font-style: italic; font-size: 0.78rem; color: var(--muted); text-align: center; margin-bottom: 1.2rem; }

/* ── HISTORY TIMELINE ── */
.timeline { position: relative; margin-top: 1.5rem; padding-left: 2rem; }
.timeline::before { content:''; position:absolute; left:0.5rem; top:0; bottom:0; width:2px; background: linear-gradient(to bottom, var(--gold), var(--border)); }
.tl-item { position: relative; margin-bottom: 1.6rem; }
.tl-item::before { content:''; position:absolute; left:-1.55rem; top:0.35rem; width:10px; height:10px; background: var(--gold); border-radius: 50%; border: 2px solid var(--cream); box-shadow: 0 0 0 2px var(--gold); }
.tl-year { font-family: var(--font-disp); font-size: 0.95rem; font-weight: 700; color: var(--gold-dk); margin-bottom: 0.2rem; }
.tl-text { font-size: 0.91rem; color: var(--stone); line-height: 1.65; }

/* ── FOOTER ── */
.site-footer { background: var(--stone); color: rgba(201,169,110,0.55); text-align: center; padding: 2.5rem 1.5rem; border-top: 3px solid var(--gold-dk); font-size: 0.83rem; line-height: 1.8; }
.footer-cross { display: block; font-size: 2rem; color: var(--gold); margin-bottom: 0.7rem; opacity: 0.8; }
.site-footer a { color: var(--gold); }
.site-footer a:hover { color: var(--gold-lt); }
.footer-sep { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(201,169,110,0.15); font-size: 0.75rem; color: rgba(201,169,110,0.35); }

.nieuws-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: start; }
@media(max-width: 640px) { .nieuws-grid { grid-template-columns: 1fr; } }

@media(max-width: 640px) { .site-nav { position: static; } }

/* Arabic font override */
body.rtl .hero-title,
body.rtl .section-title,
body.rtl .subsection,
body.rtl .tl-year {
  font-family: 'Playfair Display', 'Georgia', serif;
}

/* ── GDPR BANNER ── */
.gdpr-overlay {
  position: fixed; inset: 0;
  background: rgba(44,36,22,0.55);
  z-index: 9998;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(2px);
}
.gdpr-overlay.hidden { display: none; }
.gdpr-box {
  background: var(--stone);
  border-top: 3px solid var(--gold);
  border-radius: var(--r);
  padding: 1.6rem 2rem;
  max-width: 780px; width: 100%;
  box-shadow: var(--shadow-lg);
  display: flex; gap: 1.5rem; align-items: flex-start; flex-wrap: wrap;
}
.gdpr-box p {
  color: rgba(232,213,168,0.85);
  font-size: 0.88rem; line-height: 1.65;
  flex: 1; min-width: 220px; margin: 0;
}
.gdpr-box a { color: var(--gold); text-decoration: underline; }
.gdpr-btns { display: flex; gap: 0.6rem; flex-shrink: 0; align-items: center; flex-wrap: wrap; }
.gdpr-link {
  background: none; border: none;
  color: rgba(201,169,110,0.5);
  font-family: var(--font-ui); font-size: 0.75rem;
  cursor: pointer; text-decoration: underline;
  padding: 0; white-space: nowrap;
}
.gdpr-link:hover { color: var(--gold); }

/* ── TRANSLATION NOTICE ── */
.translation-notice {
  background: #EEF4FB;
  border-left: 4px solid var(--gold);
  color: var(--stone-mid);
  font-size: 0.82rem;
  font-style: italic;
  padding: 0.55rem 1.1rem;
  margin-bottom: 1.2rem;
  border-radius: var(--r);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
body.rtl .translation-notice {
  border-left: none;
  border-right: 4px solid var(--gold);
}

/* ── HELPENDE HANDEN FORMULIER ── */
.handen-form-wrap {
  margin-top: 0.4rem;
}
.handen-form-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--r);
  padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow);
  max-width: 640px;
}
.hf-field {
  margin-bottom: 1.1rem;
}
.hf-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone-mid);
  margin-bottom: 0.4rem;
}
.hf-req {
  color: var(--gold-dk);
}
.hf-input {
  width: 100%;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--stone);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 0.55rem 0.85rem;
  transition: border-color var(--t), box-shadow var(--t);
  outline: none;
}
.hf-input:focus {
  border-color: var(--gold-dk);
  box-shadow: 0 0 0 3px rgba(74,144,196,0.15);
  background: var(--white);
}
.hf-input.hf-error {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.12);
}
.hf-textarea {
  resize: vertical;
  min-height: 100px;
}
.hf-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.4rem;
  margin-top: 0.3rem;
}
.hf-check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: var(--stone);
  cursor: pointer;
  user-select: none;
}
.hf-check input[type="checkbox"] {
  accent-color: var(--gold-dk);
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  cursor: pointer;
}
.hf-gdpr-row {
  background: var(--parchment);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 0.75rem 1rem;
  margin-top: 0.4rem;
}
.hf-gdpr-row .hf-check {
  align-items: flex-start;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.5;
}
.hf-gdpr-row a {
  color: var(--gold-dk);
  text-decoration: underline;
}
.hf-submit {
  margin-top: 1rem;
  width: 100%;
  padding: 0.7rem 1.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
}
.hf-feedback {
  border-radius: var(--r);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  font-family: var(--font-ui);
}
.hf-feedback.ok {
  background: #eaf5ea;
  border: 1px solid #7bc47b;
  color: #2d6a2d;
}
.hf-feedback.err {
  background: #fdf0ee;
  border: 1px solid #e08070;
  color: #8b2a1a;
}
@media(max-width:480px) {
  .handen-form-box { padding: 1.1rem 1rem; }
}
body.rtl .handen-form-box { border-top: 3px solid var(--gold); border-left: none; }
