@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Open+Sans:wght@400;500;600;700&display=swap");

/*
Theme Name: Werk aan de Linie
Theme URI: https://example.com/werk-aan-de-linie
Author: Praktijkpioniers / Nieuwland Netwerken
Description: Maatwerk WordPress thema voor Stichting Werk aan de Linie. Gele huisstijl, klassieke typografie, projecten, partners en contactgegevens.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
License: Alle rechten voorbehouden
Text Domain: werk-aan-de-linie
*/

:root {
  --wal-yellow: #f5c928;
  --wal-yellow-soft: #ffdd50;
  --wal-black: #111111;
  --wal-white: #fffaf0;
  --wal-card: rgba(255, 250, 240, 0.94);
  --wal-line: rgba(17, 17, 17, 0.22);
  --wal-radius: 16px;
  --wal-shadow: 0 18px 50px rgba(17, 17, 17, 0.08);
  --wal-serif: "Cinzel", Perpetua, "Perpetua Titling MT", "Baskerville", "Libre Baskerville", Georgia, serif;
  --wal-sans: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at 70% 10%, #ffe878 0, var(--wal-yellow) 35%, #f1bf1f 100%);
  color: var(--wal-black);
  font-family: var(--wal-sans);
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.site-header { padding: 32px 0 18px; position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px); background: rgba(245, 201, 40, 0.88); }
.header-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; }
.logo { text-decoration: none; display: inline-block; }
.logo-title { display: block; font-family: var(--wal-serif); font-size: clamp(24px, 2.8vw, 38px); letter-spacing: 0.01em; line-height: 1.05; font-weight: 500; }
.logo-payoff { display: block; font-family: var(--wal-serif); font-size: 14px; text-align: center; margin-top: 6px; letter-spacing: 0.12em; text-transform: none; }
.main-nav { display: flex; gap: 28px; align-items: center; font-weight: 600; font-size: 15px; font-family: var(--wal-serif); }
.main-nav a { text-decoration: none; border-bottom: 2px solid transparent; padding: 6px 0; }
.main-nav a:hover, .main-nav a:focus { border-color: var(--wal-black); }
.hero { position: relative; padding: 70px 0 78px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 44px; }
.hero h1, .section-title { font-family: var(--wal-serif); font-weight: 500; line-height: 1.05; letter-spacing: -0.035em; }
.hero h1 { font-size: clamp(48px, 6.4vw, 86px); margin: 0 0 28px; }
.hero p { max-width: 600px; font-size: 18px; margin: 0 0 34px; font-weight: 500; }
.hero-media { min-height: 520px; border-radius: 0 0 0 48px; position: relative; overflow: hidden; box-shadow: inset 80px 0 70px rgba(245, 201, 40, 0.85); }
.hero-media img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; mix-blend-mode: multiply; opacity: 0.86; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--wal-yellow) 0%, rgba(245, 201, 40, 0.15) 38%, rgba(245, 201, 40, 0.05) 100%); }
.btn-row { display: flex; gap: 18px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; border-radius: 3px; border: 2px solid var(--wal-black); text-decoration: none; font-weight: 800; }
.button.primary { background: var(--wal-black); color: var(--wal-white); }
.button.secondary { background: transparent; color: var(--wal-black); }
.rule { display: flex; align-items: center; gap: 18px; margin: 16px auto 40px; width: min(1180px, calc(100% - 48px)); color: var(--wal-black); opacity: 0.6; }
.rule::before, .rule::after { content: ""; height: 1px; background: currentColor; flex: 1; }
.rule span { font-family: var(--wal-serif); font-size: 24px; }
.panel { background: var(--wal-card); border-radius: var(--wal-radius); box-shadow: var(--wal-shadow); padding: clamp(24px, 4vw, 34px); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-img { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.section { padding: 42px 0; }
.section-title { font-size: clamp(42px, 5vw, 64px); text-align: center; margin: 0 0 12px; }
.section-subtitle { text-align: center; max-width: 720px; margin: 0 auto 34px; font-size: 18px; }
.eyeline { width: 52px; height: 2px; background: var(--wal-yellow); margin: 0 0 24px; }
.about-copy .section-title { text-align: left; margin-bottom: 12px; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card { text-align: center; min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
.icon-badge { width: 78px; height: 78px; border-radius: 50%; background: rgba(245, 201, 40, 0.35); border: 1px solid rgba(17,17,17,.12); display: grid; place-items: center; font-size: 34px; margin-bottom: 18px; }
.project-card h3, .partner-note strong, .contact-card h3 { font-family: var(--wal-serif); font-size: 25px; line-height: 1.15; margin: 0 0 12px; font-weight: 500; }
.project-card p { margin: 0; }
.partners-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 32px; }
.partner-tile { height: 112px; background: var(--wal-card); border-radius: 12px; box-shadow: var(--wal-shadow); display: flex; align-items: center; justify-content: center; padding: 18px; }
.partner-tile img { max-height: 70px; max-width: 90%; object-fit: contain; filter: grayscale(100%) contrast(110%); }
.partner-note { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: center; max-width: 900px; margin: 18px auto; font-size: 18px; }
.partner-note .mini-icon { width: 56px; height: 56px; border: 1px solid var(--wal-line); border-radius: 50%; display: grid; place-items: center; font-size: 24px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card { min-height: 320px; position: relative; overflow: hidden; }
.contact-card .contact-icon { width: 58px; height: 58px; border-radius: 50%; background: rgba(245, 201, 40, 0.35); display: grid; place-items: center; font-size: 28px; margin-bottom: 18px; }
.contact-card address { font-style: normal; white-space: pre-line; }
.bridge-sketch { position: absolute; left: 0; right: 0; bottom: -6px; height: 120px; opacity: 0.26; background-image: url('assets/images/fort-brug.png'); background-size: cover; background-position: center bottom; filter: grayscale(100%) contrast(135%); mix-blend-mode: multiply; }
.site-footer { text-align: center; padding: 34px 0 46px; font-size: 15px; }
.site-footer p { margin: 4px 0; }
@media (max-width: 900px) {
  .header-inner, .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; display: grid; }
  .main-nav { flex-wrap: wrap; gap: 14px 22px; }
  .hero-media { min-height: 320px; }
  .hero-media img { min-height: 320px; }
  .projects-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1180px); }
  .site-header { position: relative; }
  .partners-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
}

/* Uitgebreide onepager-teksten */
.projects-grid-detailed { align-items: stretch; }
.project-card-detailed { text-align: left; min-height: 0; align-items: flex-start; justify-content: flex-start; }
.project-card-detailed .icon-badge { align-self: center; }
.project-card-detailed h3 { text-align: center; width: 100%; }
.project-card-detailed p { margin: 0 0 12px; }
.project-card-detailed p:last-child { margin-bottom: 0; }
.partner-list { margin-top: 34px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 34px; }
.partner-list p { margin: 0; }
.partner-list strong { font-family: var(--wal-serif); font-size: 22px; font-weight: 500; }
.about-copy p { margin-top: 0; }
@media (max-width: 900px) {
  .partner-list { grid-template-columns: 1fr; }
}

/* Fijnafwerking: meer rust, betere tekstverdeling en eenheid met Houtfort */
body { letter-spacing: 0; }
p { max-width: 72ch; }
.hero p, .section-subtitle { font-size: 17px; }
.section { padding: 58px 0; }
.section-title { letter-spacing: 0.005em; font-weight: 500; }
.panel { border: 1px solid rgba(17, 17, 17, 0.08); }
.about-copy p { margin-bottom: 16px; }
.kicker {
  font-family: var(--wal-serif);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 13px;
  margin: 0 0 10px;
  opacity: 0.75;
}
.text-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 42px;
  margin-top: 22px;
}
.text-columns p { margin: 0 0 14px; }
.projects-grid-detailed { gap: 28px; }
.project-card-detailed { padding: 30px 28px; }
.project-card-detailed .icon-badge { margin-bottom: 20px; }
.project-card-detailed h3 {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-card-detailed p { font-size: 15.5px; line-height: 1.68; }
.project-link {
  display: inline-block;
  margin-top: 8px;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.partners-grid { gap: 22px; margin-top: 30px; }
.partner-tile {
  min-height: 126px;
  background: rgba(255, 250, 240, 0.88);
  border: 1px solid rgba(17,17,17,0.07);
  box-shadow: 0 10px 28px rgba(17,17,17,0.055);
}
.partner-tile img { max-height: 62px; }
.partner-list {
  background: rgba(255, 250, 240, 0.86);
  box-shadow: 0 12px 34px rgba(17,17,17,0.055);
  padding: 30px;
}
.partner-list p {
  padding-top: 4px;
  border-top: 1px solid rgba(17,17,17,0.10);
}
.partner-list strong {
  display: inline-block;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.contact-card { padding-bottom: 148px; }
.contact-card:not(:first-child) { padding-bottom: 34px; }
.site-footer {
  border-top: 1px solid rgba(17,17,17,0.18);
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}
@media (max-width: 900px) {
  .text-columns { grid-template-columns: 1fr; }
  .project-card-detailed h3 { min-height: 0; }
}
