/*
Theme Name: Help tegen Geweld
Theme URI: https://helptegengeweld.nl
Author: Help tegen Geweld
Description: Een warm, toegankelijk en mobielvriendelijk WordPress-thema voor de lezingen en workshops van Help tegen Geweld.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: help-tegen-geweld
*/

:root {
  --ink: #2c0b35;
  --purple: #705a79;
  --purple-light: #ded5e1;
  --rose: #d8879a;
  --cream: #faf5ef;
  --white: #fff;
  --text: #332b34;
  --shadow: 0 18px 45px rgba(44, 11, 53, .10);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--cream); font-family: Arial, Helvetica, sans-serif; line-height: 1.65; }
a { color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(1140px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 999; background: #fff; padding: 12px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,245,239,.96); border-bottom: 1px solid rgba(44,11,53,.1); backdrop-filter: blur(10px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { text-decoration: none; color: var(--ink); line-height: 1; }
.brand strong { font-family: Georgia, serif; font-size: clamp(1.45rem, 3vw, 2rem); display: block; }
.brand span { color: var(--purple); font-size: .78rem; letter-spacing: .04em; }
.nav-menu { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav-menu a { text-decoration: none; font-weight: 700; font-size: .95rem; }
.nav-menu a:hover, .nav-menu a:focus { color: var(--rose); }
.menu-toggle { display: none; border: 0; background: var(--ink); color: white; border-radius: 12px; padding: 10px 14px; font-weight: 700; }

.hero { min-height: 680px; position: relative; display: grid; align-items: center; overflow: hidden; background: #e9dfdc; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(250,245,239,.98) 0%, rgba(250,245,239,.9) 40%, rgba(250,245,239,.12) 72%); }
.hero-image { position: absolute; inset: 0 0 0 42%; width: 58%; height: 100%; object-fit: cover; object-position: center; }
.hero-content { position: relative; z-index: 2; max-width: 650px; padding-block: 90px; }
.eyebrow { color: var(--rose); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; }
h1 { font-family: Georgia, serif; font-size: clamp(3rem, 7vw, 5.7rem); margin: 12px 0 22px; letter-spacing: -.03em; }
h1 em { display: block; color: var(--purple); font-weight: 400; }
h2 { font-family: Georgia, serif; font-size: clamp(2.1rem, 5vw, 3.6rem); margin: 0 0 22px; }
h3 { font-size: 1.25rem; }
.lead { font-size: clamp(1.08rem, 2vw, 1.3rem); max-width: 620px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-block; padding: 14px 22px; border-radius: 999px; text-decoration: none; font-weight: 800; background: var(--ink); color: white; border: 2px solid var(--ink); }
.button:hover, .button:focus { background: var(--rose); border-color: var(--rose); color: var(--ink); }
.button-outline { background: transparent; color: var(--ink); }

.section { padding-block: 90px; }
.section-white { background: var(--white); }
.section-purple { background: var(--purple-light); }
.narrow { max-width: 790px; margin-inline: auto; }
.center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(35px, 7vw, 90px); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.card { padding: 30px; border-radius: var(--radius); background: white; box-shadow: var(--shadow); border-top: 5px solid var(--rose); }
.card p { margin-bottom: 0; }
.quote { border-left: 5px solid var(--rose); padding: 20px 28px; font-family: Georgia, serif; font-size: 1.4rem; color: var(--ink); background: rgba(255,255,255,.55); border-radius: 0 18px 18px 0; }
.portrait { border-radius: 160px 160px 28px 28px; box-shadow: var(--shadow); max-height: 650px; object-fit: cover; }
.speaker-list { list-style: none; padding: 0; margin: 34px 0 0; }
.speaker-list li { padding: 18px 0; border-bottom: 1px solid rgba(44,11,53,.15); }
.speaker-list strong { display: block; color: var(--ink); font-size: 1.15rem; }
.cta { border-radius: 32px; background: var(--ink); color: white; padding: clamp(36px, 7vw, 72px); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; }
.cta h2, .cta a:not(.button) { color: white; }
.cta h2 { margin-bottom: 12px; }
.cta .button { background: var(--rose); border-color: var(--rose); color: var(--ink); white-space: nowrap; }
.help-box { background: #fff; border: 2px solid var(--rose); padding: 28px; border-radius: var(--radius); }
.help-box strong { color: var(--ink); }

.page-hero { padding: 90px 0 60px; background: var(--purple-light); }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
.content-area { padding-block: 70px; }
.content-area h2 { margin-top: 50px; font-size: 2.2rem; }
.content-area h3 { margin-top: 32px; }
.flyer { border-radius: 20px; box-shadow: var(--shadow); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-card { background: #fff; padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow); }
.booking-form { margin-top: 42px; padding: clamp(25px, 5vw, 48px); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.booking-form h2 { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { margin-bottom: 20px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { display: block; margin-bottom: 7px; color: var(--ink); font-weight: 700; }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: 13px 14px; border: 1px solid #b9abbc; border-radius: 10px; background: #fff; color: var(--text); font: inherit; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 3px solid rgba(216,135,154,.35); border-color: var(--ink); }
.form-field textarea { min-height: 150px; resize: vertical; }
.checkbox-field label { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; }
.checkbox-field input { width: auto; margin-top: 7px; }
.form-note { font-size: .92rem; color: #625864; }
.form-status { padding: 16px 20px; margin-bottom: 25px; border-radius: 12px; font-weight: 700; }
.form-success { background: #e4f4e8; color: #185c2b; }
.form-error { background: #fbe5e8; color: #7c1f2d; }
.website-check { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }

.site-footer { background: var(--ink); color: rgba(255,255,255,.8); padding: 58px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 35px; }
.site-footer h2, .site-footer h3, .site-footer a { color: white; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin: 8px 0; }
.copyright { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.15); font-size: .85rem; }

@media (max-width: 850px) {
  .menu-toggle { display: block; }
  .nav-menu { display: none; position: absolute; top: 82px; left: 0; right: 0; padding: 22px; background: var(--cream); flex-direction: column; align-items: flex-start; box-shadow: var(--shadow); }
  .nav-menu.is-open { display: flex; }
  .hero { min-height: auto; padding-top: 320px; }
  .hero-image { inset: 0 0 auto; width: 100%; height: 360px; object-position: center 44%; }
  .hero::after { background: linear-gradient(180deg, rgba(250,245,239,0) 0, rgba(250,245,239,.25) 300px, var(--cream) 380px); }
  .hero-content { padding-block: 80px 65px; }
  .grid-2, .cta, .contact-grid, .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .container { width: min(100% - 28px, 1140px); }
  .section { padding-block: 65px; }
  h1 { font-size: 3.15rem; }
  .hero { padding-top: 280px; }
  .hero-image { height: 310px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
