/* WSV Wessem — een eigentijdse verenigingssite, geworteld in de clubvlag. */

:root {
  --flag-blue: #244f91;
  --deep-blue: #122f50;
  --yellow: #f4cc28;
  --wheel-red: #aa2026;
  --linen: #f1eadb;
  --paper: #fffaf0;
  --white: #ffffff;
  --ink: #292720;
  --muted: #665e50;
  --wood: #76502f;
  --line: #cfbea0;
  --line-blue: #b9c9d9;
  --shadow-sm: 0 4px 12px rgba(43, 36, 25, .09);
  --shadow-md: 0 14px 34px rgba(27, 38, 52, .14);
  --radius: 3px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--linen);
  background-image: radial-gradient(rgba(75, 59, 36, .045) .7px, transparent .8px);
  background-size: 4px 4px;
  color: var(--ink);
  font-family: "EB Garamond", Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  line-height: 1.65;
}

img { display: block; max-width: 100%; }
a { color: var(--flag-blue); text-underline-offset: .18em; }
a:hover { color: var(--wheel-red); }
button, a { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }

h1, h2, h3, h4, .brand-word, nav.main-nav {
  color: var(--deep-blue);
  font-family: "Rokkitt", Rockwell, Georgia, serif;
}
h1, h2, h3, h4 { text-wrap: balance; }
p { max-width: 70ch; }

.wrap { width: min(100% - 48px, 1100px); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 1000; translate: 0 -150%; padding: 10px 14px; background: var(--yellow); color: var(--deep-blue); font-weight: 600; }
.skip-link:focus { translate: 0; }

/* Verenigingsbalk en navigatie */
.topbar { background: var(--deep-blue); color: #fbf5e8; font-size: .8rem; letter-spacing: .045em; }
.topbar .wrap { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar a { color: #fff; text-decoration-color: rgba(255,255,255,.45); }

.site-header { position: relative; z-index: 30; background: var(--paper); border-bottom: 3px double var(--wood); }
.site-header .wrap { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 15px; color: var(--deep-blue); text-decoration: none; flex: 0 0 auto; }
.brand .emblem { width: auto !important; max-width: 92px; }
.brand-word { display: block; font-size: 1.62rem; font-weight: 700; line-height: 1; }
.brand-sub { display: block; margin-top: 5px; color: var(--wood); font-size: .69rem; letter-spacing: .105em; line-height: 1.2; text-transform: uppercase; }

nav.main-nav ul { display: flex; align-items: center; gap: 23px; margin: 0; padding: 0; list-style: none; }
nav.main-nav a { display: block; position: relative; padding: 12px 0 9px; color: var(--deep-blue); font-size: .92rem; font-weight: 600; line-height: 1; text-decoration: none; }
nav.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 2px; background: var(--wheel-red); scale: 0 1; transform-origin: right; transition: scale .2s ease; }
nav.main-nav a:hover::after, nav.main-nav a.active::after { scale: 1; transform-origin: left; }
nav.main-nav a.active { color: var(--wheel-red); }
nav.main-nav li:last-child a { padding-inline: 15px; border: 1px solid var(--flag-blue); }
nav.main-nav li:last-child a::after { display: none; }
nav.main-nav li:last-child a:hover, nav.main-nav li:last-child a.active { background: var(--flag-blue); color: #fff; }
.nav-toggle { display: none; min-width: 48px; min-height: 48px; align-items: center; gap: 9px; border: 1px solid var(--line); background: transparent; color: var(--deep-blue); font: 600 .9rem/1 "Rokkitt", serif; cursor: pointer; }
.nav-toggle-icon { display: grid; gap: 5px; width: 18px; }
.nav-toggle-icon span { display: block; height: 2px; background: currentColor; transition: transform .2s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Homepage: één rustige foto en de diagonale lijn van de clubvlag. */
.home-hero { min-height: 570px; display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(390px, .97fr); background: var(--paper); border-bottom: 1px solid var(--line); }
.home-hero-copy { display: flex; align-items: center; }
.hero-copy-inner { width: min(100%, 650px); margin-left: max(24px, calc((100vw - 1100px) / 2)); padding: 72px 56px 82px 0; position: relative; }
.hero-copy-inner::after { content: "1973"; position: absolute; right: 4%; top: 26px; color: var(--wheel-red); font: 700 8rem/1 "Rokkitt", serif; opacity: .055; rotate: -5deg; pointer-events: none; }
.home-hero h1 { max-width: 690px; margin: 14px 0 19px; font-size: clamp(3rem, 5.6vw, 5rem); line-height: .96; letter-spacing: -.025em; }
.home-hero .lead { max-width: 570px; margin: 0 0 30px; color: #4d493f; font-size: 1.18rem; line-height: 1.58; }
.home-hero-photo { min-height: 570px; position: relative; isolation: isolate; background-image: linear-gradient(rgba(13,38,64,.12), rgba(13,38,64,.28)), url('https://images.unsplash.com/photo-1541777594744-addc2de9d110?auto=format&fit=crop&w=1800&q=84'); background-position: center; background-size: cover; clip-path: polygon(13% 0,100% 0,100% 100%,0 100%); }
.home-hero-photo::before { content: ""; position: absolute; left: 5.5%; inset-block: 0; width: 9px; z-index: -1; background: var(--yellow); transform: skewX(-12deg); }
.photo-caption { position: absolute; right: 22px; bottom: 20px; padding: 7px 10px; background: rgba(18,47,80,.9); color: #fff; font-size: .74rem; letter-spacing: .09em; text-transform: uppercase; }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; padding-bottom: 3px; border-bottom: 2px solid var(--yellow); color: var(--deep-blue); font-family: "Rokkitt", serif; font-size: .96rem; font-weight: 700; text-decoration: none; }
.text-link span { display: inline-block; transition: translate .2s ease; }
.text-link:hover span { translate: 4px 0; }

/* Informatiebord: inhoudelijk verenigingsgevoel, niet decoratief. */
.noticeboard { margin-top: -30px; padding: 0; position: relative; z-index: 5; }
.noticeboard-grid { display: grid; grid-template-columns: .9fr 1.15fr .95fr; background: var(--paper); border: 1px solid #b9a581; box-shadow: var(--shadow-md); }
.noticeboard article { padding: 26px 28px; border-right: 1px dashed #b9a581; }
.noticeboard article:last-child { border-right: 0; }
.notice-label { display: block; color: var(--wheel-red); font-family: "Rokkitt", serif; font-size: .69rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.noticeboard h2 { margin: 7px 0 8px; font-size: 1.35rem; line-height: 1.1; }
.noticeboard p { margin: 0 0 10px; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.noticeboard a { font-family: "Rokkitt", serif; font-size: .85rem; font-weight: 600; }
.notice-contact strong, .notice-contact span { display: block; }
.notice-contact strong { color: var(--deep-blue); font-family: "Rokkitt", serif; font-size: 1.02rem; }
.notice-contact span { margin-top: 1px; font-size: .82rem; }

section { padding: 76px 0; }
section.alt, .location-section { background: var(--paper); border-block: 1px solid var(--line); }
.section-kicker { display: block; margin-bottom: 9px; color: var(--wheel-red); font-family: "Rokkitt", serif; font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-align: center; text-transform: uppercase; }
.section-kicker--left { text-align: left; }
.section-title { margin: 0 0 12px; font-size: clamp(2rem, 4vw, 2.65rem); line-height: 1.05; text-align: center; }
.section-title--left { text-align: left; }
.section-title--spaced { margin-top: 36px; }
.section-intro { max-width: 650px; margin: 0 auto 38px; color: var(--muted); text-align: center; }
.divider { width: 64px; height: 3px; margin: 20px auto 38px; border: 0; background: linear-gradient(90deg, var(--flag-blue) 0 48%, var(--yellow) 48% 63%, var(--wheel-red) 63%); }

.club-story { padding-top: 92px; }
.club-story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(42px,7vw,88px); align-items: center; }
.club-story-copy h2 { margin: 0 0 20px; font-size: clamp(2.2rem,4.2vw,3.4rem); line-height: 1; }
.club-story-copy p { color: #4e493f; }
.club-story-copy blockquote { margin: 28px 0 25px; padding: 17px 0 17px 22px; border-left: 4px solid var(--wheel-red); color: var(--deep-blue); font-size: 1.24rem; font-style: italic; }
.club-timeline { position: relative; padding: 8px 0; }
.club-timeline::before { content: ""; position: absolute; left: 53px; top: 20px; bottom: 20px; width: 1px; background: var(--line); }
.club-timeline article { display: grid; grid-template-columns: 106px 1fr; gap: 21px; position: relative; padding: 17px 0; border-bottom: 1px dashed var(--line); }
.club-timeline article:last-child { border-bottom: 0; }
.club-timeline time, .timeline-mark { min-height: 42px; display: grid; place-items: center; position: relative; z-index: 1; padding: 4px 8px; background: var(--deep-blue); border: 4px solid var(--linen); color: #fff; font-family: "Rokkitt", serif; font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-align: center; }
.club-timeline article:last-child time { background: var(--wheel-red); }
.timeline-mark { background: var(--flag-blue); font-size: .65rem; line-height: 1.05; text-transform: uppercase; }
.club-timeline h3 { margin: 0 0 3px; font-size: 1.12rem; }
.club-timeline p { margin: 0; color: var(--muted); font-size: .91rem; line-height: 1.42; }
.club-story-image { position: relative; padding: 0 0 22px 24px; }
.club-story-image::before { content: ""; position: absolute; inset: 22px 24px 0 0; background: var(--flag-blue); }
.club-story-image img { width: 100%; aspect-ratio: 3/2; position: relative; object-fit: cover; border: 8px solid var(--paper); box-shadow: var(--shadow-sm); rotate: .6deg; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 22px; }
.card { padding: 27px 25px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--flag-blue); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card .icon { width: 38px; height: 38px; margin-bottom: 15px; color: var(--wheel-red); }
.card h3 { margin: 0 0 8px; font-size: 1.25rem; }
.card p { margin: 0; font-size: .98rem; }

.gallery { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 18px; }
.gallery figure { margin: 0; overflow: hidden; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.gallery figure:first-child { rotate: -.35deg; }
.gallery figure:last-child { rotate: .35deg; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; filter: saturate(.82) contrast(.96); transition: transform .35s ease, filter .35s ease; }
.gallery figure:hover img { transform: scale(1.025); filter: saturate(1) contrast(1); }
.gallery figcaption { padding: 11px 14px; border-top: 1px solid var(--line); color: var(--wood); font-size: .82rem; font-style: italic; }
.photo-note { margin: 10px 0 0; color: var(--muted); font-size: .78rem; font-style: italic; line-height: 1.4; }

.harbor-now { padding-block: 72px; }
.harbor-now-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 15px; }
.harbor-now-grid article { background: var(--linen); border: 1px solid var(--line); }
.now-featured { grid-row: span 2; padding: 31px 32px; position: relative; overflow: hidden; border-top: 4px solid var(--wheel-red) !important; }
.now-featured::after { content: "ACTUEEL"; position: absolute; right: -9px; bottom: -17px; color: var(--deep-blue); font: 700 4.9rem/1 "Rokkitt", serif; letter-spacing: -.04em; opacity: .045; pointer-events: none; }
.now-featured h3 { max-width: 480px; margin: 7px 0 11px; font-size: clamp(1.65rem,3vw,2.3rem); line-height: 1; }
.now-featured p { max-width: 560px; margin: 0 0 20px; color: var(--muted); }
.now-card { min-height: 118px; display: grid; grid-template-columns: 55px 1fr; gap: 18px; align-items: center; padding: 20px 22px; }
.now-number { align-self: stretch; display: grid; place-items: center; border-right: 1px solid var(--line); color: var(--wheel-red); font: 700 1.3rem/1 "Rokkitt", serif; }
.now-card h3 { margin: 4px 0 3px; font-size: 1.12rem; }
.now-card p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.35; }

.two-col { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(38px,6vw,72px); align-items: start; }
.photo-frame, .map-frame { overflow: hidden; background: var(--paper); border: 8px solid var(--paper); outline: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.photo-frame img { width: 100%; height: clamp(300px,42vw,470px); object-fit: cover; }
.plattegrond-frame img { height: auto; }
.map-frame { aspect-ratio: 4/3; }
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.flag-display { max-width: 640px; margin-inline: auto; padding: 10px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }

.page-hero { padding: 70px 0 60px; position: relative; overflow: hidden; background: var(--deep-blue); color: #fff; border-bottom: 7px solid var(--yellow); }
.page-hero::after { content: ""; position: absolute; width: 240px; inset-block: -50px; right: 8%; background: rgba(36,79,145,.75); transform: skewX(-32deg); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { margin: 0 0 5px; color: #fff; font-size: clamp(2.7rem,6vw,4.4rem); line-height: 1; }
.page-hero p { margin: 0; color: #f8e89f; font-family: "Rokkitt", serif; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

.info-list { margin: 0; padding: 0; list-style: none; }
.info-list li { display: flex; justify-content: space-between; gap: 22px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: .98rem; }
.info-list .label { color: var(--wood); }
.table-wrap { overflow-x: auto; }
table.tarieven { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
table.tarieven th, table.tarieven td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: left; }
table.tarieven th { background: var(--deep-blue); color: #fff; font-family: "Rokkitt", serif; font-weight: 600; }
table.tarieven tbody tr:nth-child(even) { background: rgba(244,204,40,.08); }
table.tarieven tr:last-child td { border-bottom: 0; }
table.tarieven .amount { color: var(--deep-blue); font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; white-space: nowrap; }
.tarieven-note { color: var(--muted); font-size: .88rem; }
blockquote.plaque { margin: 34px 0; padding: 23px 27px; position: relative; background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--wheel-red); color: var(--deep-blue); font-size: 1.15rem; font-style: italic; box-shadow: var(--shadow-sm); }

.btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 21px; border: 1px solid var(--flag-blue); border-radius: var(--radius); color: var(--flag-blue); font-family: "Rokkitt", serif; font-size: .88rem; font-weight: 600; letter-spacing: .035em; text-decoration: none; transition: background .2s ease, color .2s ease, translate .2s ease; }
.btn:hover { translate: 0 -2px; background: var(--flag-blue); color: #fff; }
.btn.solid { background: var(--flag-blue); color: #fff; }
.btn.solid:hover { background: var(--deep-blue); }
.btn.light { border-color: var(--paper); background: var(--paper); color: var(--deep-blue); }
.btn.light:hover { border-color: var(--yellow); background: var(--yellow); color: var(--deep-blue); }
.btn.dark { border-color: var(--deep-blue); color: var(--deep-blue); }
.btn.outline-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn.outline-light:hover { background: #fff; color: var(--deep-blue); }

.cta { padding: 68px 0; position: relative; overflow: hidden; background: var(--deep-blue); color: #fff; text-align: center; border-top: 7px solid var(--yellow); }
.cta::before { content: ""; position: absolute; width: 260px; inset-block: -80px; left: -80px; background: rgba(36,79,145,.72); transform: skewX(-30deg); }
.cta .wrap { position: relative; z-index: 1; }
.cta .section-kicker { color: #f6df72; }
.cta h2 { margin: 0 0 12px; color: #fff; font-size: clamp(2.2rem,4vw,3.2rem); }
.cta p { margin: 0 auto 27px; color: #e7edf5; }
.cta-actions { justify-content: center; }

.site-footer { padding: 52px 0 22px; background: #0d263f; color: #e5dfd3; font-size: .91rem; }
.footer-top { display: grid; grid-template-columns: auto 1.25fr .7fr .55fr; gap: 34px; align-items: start; }
.footer-emblem { padding: 8px; background: var(--paper); }
.site-footer h4 { margin: 0 0 11px; color: #fff; font-size: 1rem; }
.site-footer p { margin-top: 0; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 5px; }
.site-footer a { color: #f5dfa0; }
.footer-bottom { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.62); font-size: .78rem; letter-spacing: .04em; text-align: center; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .site-header .wrap { min-height: 82px; flex-wrap: wrap; padding-block: 11px; }
  nav.main-nav { display: none; width: 100%; }
  nav.main-nav.is-open { display: block; }
  nav.main-nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 8px 0 13px; }
  nav.main-nav a { min-height: 46px; display: flex; align-items: center; padding: 10px 8px; border-bottom: 1px solid var(--line); }
  nav.main-nav li:last-child a { margin-top: 8px; justify-content: center; border: 1px solid var(--flag-blue); }
  nav.main-nav a::after { display: none; }
  .home-hero { grid-template-columns: 1fr; }
  .hero-copy-inner { width: min(100% - 48px, 760px); margin-inline: auto; padding: 64px 0 70px; }
  .home-hero-photo { min-height: 390px; clip-path: polygon(0 12%,100% 0,100% 100%,0 100%); }
  .home-hero-photo::before { left: 8%; transform: skewX(-38deg); }
  .noticeboard { margin-top: 0; }
  .noticeboard-grid { width: 100%; border-inline: 0; box-shadow: none; }
  .footer-top { grid-template-columns: auto 1.3fr 1fr; }
  .footer-top > :last-child { grid-column: 2; }
  .club-story-grid { grid-template-columns: .85fr 1.15fr; gap: 45px; }
  .harbor-now-grid { grid-template-columns: 1fr; }
  .now-featured { grid-row: auto; }
}

@media (max-width: 720px) {
  body { font-size: 1rem; }
  .wrap { width: min(100% - 32px, 1100px); }
  .topbar .wrap { justify-content: flex-end; min-height: 38px; }
  .topbar .wrap > span:first-child { display: none; }
  .brand .emblem { max-width: 76px; }
  .brand-word { font-size: 1.35rem; }
  .brand-sub { max-width: 170px; font-size: .6rem; }
  .nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nav-toggle { min-width: 48px; justify-content: center; }
  .home-hero { min-height: auto; }
  .hero-copy-inner { width: calc(100% - 32px); padding: 52px 0 57px; }
  .hero-copy-inner::after { font-size: 5.5rem; top: 18px; }
  .home-hero h1 { font-size: clamp(2.7rem,13vw,4.2rem); }
  .home-hero .lead { font-size: 1.08rem; }
  .home-hero-photo { min-height: 280px; }
  .noticeboard-grid { grid-template-columns: 1fr; }
  .noticeboard article { padding: 20px; border-right: 0; border-bottom: 1px dashed #b9a581; }
  .noticeboard article:last-child { border-bottom: 0; }
  .noticeboard h2 { font-size: 1.22rem; }
  .noticeboard p { margin-bottom: 7px; }
  section { padding: 56px 0; }
  .club-story { padding-top: 64px; }
  .club-story-grid, .two-col { grid-template-columns: 1fr; gap: 30px; }
  .club-story-copy blockquote { margin-block: 21px; }
  .club-timeline article { grid-template-columns: 86px 1fr; gap: 14px; }
  .club-timeline::before { left: 43px; }
  .harbor-now { padding-block: 52px; }
  .now-featured { padding: 25px 22px; }
  .now-card { grid-template-columns: 46px 1fr; padding: 17px 18px; }
  .club-story-image { padding-left: 13px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure { rotate: 0 !important; }
  .page-hero { padding: 50px 0 44px; }
  .page-hero::after { right: -100px; }
  .info-list li { align-items: flex-start; flex-direction: column; gap: 2px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-emblem { display: none; }
  .footer-top > :last-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
