/*
Theme Name: Vork Cirkel
Theme URI: https://vork.cornelissenmarketing.nl
Author: Cornelissen Marketing
Description: Ontwerp voor Vork Accountants met cirkelmenu en een seizoensfoto uit de Zaanstreek.
Version: 1.0.2
Requires PHP: 8.0
Text Domain: vork-cirkel
*/

:root {
  --navy: #013684;
  --navy-deep: #012a66;
  --groen: #81ac2d;
  --groen-licht: #9cc24a;
  --grijs: #50595e;
  --lijn: #dfe3e6;
  --papier: #ffffff;
  --zacht: #f4f6f8;
  --font: "Exo 2", Arial, sans-serif;
  --font-tekst: "Open Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--font-tekst);
  color: var(--grijs);
  background: var(--zacht);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font); color: var(--navy); line-height: 1.15; font-weight: 600; }

/* ---------- Kop ---------- */
.kop {
  position: relative; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(16px, 4vw, 40px);
  background: var(--papier);
  border-bottom: 3px solid var(--groen);
}
.kop .logo img { height: 64px; width: auto; }
.kop .slogan { margin: 0; font-family: var(--font); color: var(--navy); font-size: 15px; flex: 1; text-align: center; }
.kop .bel { font-family: var(--font); font-weight: 600; color: var(--navy); text-decoration: none; white-space: nowrap; }
.kop .bel:hover { color: var(--groen); }
.kop nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; }
.kop nav a { font-family: var(--font); font-weight: 500; text-decoration: none; color: var(--grijs); }
.kop nav a:hover, .kop nav .current-menu-item a { color: var(--navy); }
.home .kop nav { display: none; }
@media (max-width: 760px) {
  .kop .slogan { display: none; }
  .kop .logo img { height: 48px; }
  .kop nav { display: none; }
}

/* ---------- Voorpagina: seizoensfoto + cirkelmenu ---------- */
.decor {
  position: relative;
  min-height: calc(100dvh - 95px);
  display: grid; place-items: center;
  padding: 24px 16px 56px;
  background-color: var(--navy-deep);
  background-image: var(--seizoen-foto);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.decor::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(1, 26, 64, .35) 0%, rgba(1, 26, 64, .55) 100%);
}
.decor > * { position: relative; }
.fotobron {
  position: absolute; right: 12px; bottom: 8px; margin: 0;
  font-size: 11px; color: rgba(255,255,255,.75);
}
.fotobron a { color: inherit; }
.seizoen-label {
  position: absolute; left: 16px; bottom: 8px; margin: 0;
  font-family: var(--font); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.8);
}

.stage {
  position: relative;
  width: min(calc(100vw - 32px), max(300px, calc(100dvh - 180px)), 660px);
  aspect-ratio: 1;
  container-type: inline-size;
}
.orbit {
  position: absolute; inset: 12%;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, .55);
  pointer-events: none;
}
.node { position: absolute; border-radius: 50%; z-index: 2; }
.node.is-center { z-index: 3; }
.node.is-leaving { z-index: 1; }
.face {
  position: absolute; inset: 0; border-radius: 50%;
  background: var(--papier);
  border: 1px solid var(--lijn);
  box-shadow: 0 .6cqw 2.4cqw rgba(0, 0, 0, .25);
  overflow: hidden;
  transition: background-color .4s ease, border-color .4s ease;
}
.node.is-center .face { background: var(--navy); border-color: var(--navy); color: #fff; }
.view {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  transition: opacity .25s ease;
}
.small-view { gap: 1.1cqw; padding: 12%; }
.big-view { gap: 1.5cqw; padding: 15%; opacity: 0; pointer-events: none; }
.node.is-center .small-view { opacity: 0; pointer-events: none; }
.node.is-center .big-view { opacity: 1; pointer-events: auto; transition: opacity .3s ease .35s; }
.node:not(.is-center) .small-view { transition: opacity .3s ease .3s; }
.small-view svg { width: clamp(18px, 5cqw, 32px); height: auto; color: var(--navy); }
.label { font-family: var(--font); font-weight: 600; font-size: clamp(10px, 2.6cqw, 17px); line-height: 1.1; color: var(--navy); }
.hit {
  position: absolute; inset: 0; border-radius: 50%;
  border: 0; padding: 0; margin: 0; background: transparent; cursor: pointer; z-index: 2;
}
.node.is-center .hit { display: none; }
.hit:focus-visible { outline: 3px solid var(--groen); outline-offset: 4px; }
@media (hover: hover) {
  .node:not(.is-center):hover .face { border-color: var(--groen); }
  .node:not(.is-center):hover .small-view svg { color: var(--groen); }
}
.eyebrow { font-family: var(--font); font-size: clamp(9px, 1.6cqw, 12px); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--groen-licht); }
.big-view .icon svg { width: clamp(22px, 5.4cqw, 36px); height: auto; color: var(--groen-licht); }
.big-view .title { font-family: var(--font); font-weight: 600; font-size: clamp(16px, 4.4cqw, 30px); line-height: 1.05; margin: 0; color: #fff; }
.big-view .desc { font-size: clamp(11px, 2cqw, 15px); line-height: 1.45; margin: 0; max-width: 26ch; color: rgba(255,255,255,.88); }
.cta {
  display: inline-block;
  font: 600 clamp(11px, 2cqw, 14px)/1 var(--font);
  color: #fff; background: var(--groen);
  border-radius: 4px;
  padding: .85em 1.3em;
  text-decoration: none;
  transition: background-color .15s ease;
}
.cta:hover { background: var(--groen-licht); }
.cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.logo-view img { width: clamp(56px, 15cqw, 104px); border-radius: 50%; }
.logo-view .title { font-size: clamp(12px, 2.7cqw, 19px); line-height: 1.2; }
@container (max-width: 470px) {
  .big-view .desc { display: none; }
  .big-view { padding: 13%; }
}
.hint { margin: 14px 0 0; font-size: 14px; color: rgba(255,255,255,.9); text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Gewone pagina's ---------- */
.paginakop {
  position: relative;
  height: clamp(180px, 28vw, 320px);
  background: var(--navy) center/cover no-repeat;
}
.paginakop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(1,26,64,.55)); }
.inhoud {
  max-width: 860px; margin: -60px auto 48px; position: relative; z-index: 2;
  background: var(--papier); padding: clamp(24px, 5vw, 56px);
  border-top: 4px solid var(--groen);
  box-shadow: 0 6px 24px rgba(1, 54, 132, .08);
}
.inhoud h1 { margin-top: 0; font-size: clamp(28px, 4vw, 40px); }
.inhoud h2 { margin-top: 1.8em; font-size: 22px; }
.inhoud .wp-block-button__link, .inhoud .knop {
  display: inline-block; background: var(--groen); color: #fff; text-decoration: none;
  font-family: var(--font); font-weight: 600; padding: .8em 1.4em; border-radius: 4px;
}
.inhoud .wp-block-button__link:hover, .inhoud .knop:hover { background: var(--navy); }
.terug { display: inline-block; margin-bottom: 18px; font-family: var(--font); font-size: 14px; text-decoration: none; color: var(--grijs); }
.terug:hover { color: var(--navy); }
.diensten-lijst { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; padding: 0; list-style: none; }
.diensten-lijst li { background: var(--zacht); padding: 18px 20px; border-left: 3px solid var(--groen); }
.diensten-lijst strong { display: block; font-family: var(--font); color: var(--navy); font-size: 17px; margin-bottom: 4px; }
.let-op { background: #fff8e1; border-left: 3px solid #e0b000; padding: 12px 16px; font-size: 14px; }

/* ---------- Voet ---------- */
.voet {
  background: var(--navy); color: rgba(255,255,255,.85);
  padding: 28px clamp(16px, 4vw, 40px);
  display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; justify-content: space-between;
  font-size: 14px;
}
.voet a { color: #fff; }
.voet p { margin: 0; }
.voet .keurmerken { display: flex; gap: 12px; align-items: center; }
.voet .keurmerken img { height: 44px; width: auto; background: #fff; padding: 4px; border-radius: 3px; }
