/* ===== Pinball HQ – zelf-gehoste stijl, gebaseerd op het Wix-origineel ===== */

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-var.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #116dff;
  --blue-box: #2e77f8;
  --navy: #0a1f44;
  --navy-2: #16294f;
  --green: #17693e;
  --purple-grey: #5a5170;
  --purple-dark: #231733;
  --footer-purple: #2b1d46;
  --yellow: #ffb629;
  --lime: #b8d445;
  --ink: #111;
  --text-light: #f4f6fa;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }

h1, h2, h3 { font-weight: 800; letter-spacing: .12em; text-transform: uppercase; line-height: 1.25; }

.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .08em;
  padding: 10px 28px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: background .15s;
}
.btn:hover { background: #0f5fe0; }
.btn--outline {
  background: transparent;
  border: 2px solid var(--blue);
  color: #fff;
}
.btn--outline:hover { background: var(--blue); }

/* ===================== Header ===================== */
.site-header { position: relative; }

.topbar {
  background: var(--navy);
  display: flex;
  justify-content: flex-end;
  padding: 8px 24px;
}
.topbar__login {
  color: #cdd6e6;
  text-decoration: none;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.topbar__login:hover { color: #fff; }

.brandbar {
  background: linear-gradient(180deg, #2a4f8f 0%, #14294e 100%);
  display: flex;
  justify-content: center;
  padding: 14px 16px 12px;
}
.brandbar__logo { height: 44px; width: auto; }

.mainnav { background: transparent; }
.site-header:not(.site-header--home) .mainnav {
  background: linear-gradient(180deg, #14294e 0%, #0f2145 100%);
  padding: 0 16px 18px;
}
.mainnav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background: #000;
  border-radius: 999px;
  max-width: 860px;
  margin: 0 auto;
  overflow: hidden;
}
.mainnav a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .25em;
  padding: 12px 22px;
  white-space: nowrap;
}
.mainnav a:hover { color: #9db9ff; }
.mainnav a.is-active { background: var(--blue); color: #fff; }

/* Homepage-variant: witte masthead met grote titel */
.site-header--home { background: #fff; padding-top: 28px; }
.masthead { text-align: center; padding-bottom: 22px; }
.masthead__pinside { height: 30px; width: auto; margin: 0 auto 26px; filter: grayscale(1) contrast(1.1); opacity: .9; }
.masthead__title {
  font-size: clamp(42px, 8vw, 92px);
  letter-spacing: .35em;
  text-indent: .35em;
  color: #000;
  font-weight: 800;
}
.masthead__sub {
  font-size: clamp(13px, 2vw, 20px);
  letter-spacing: .42em;
  text-indent: .42em;
  font-weight: 600;
  margin-top: 6px;
}
.site-header--home .mainnav { padding: 18px 16px 26px; }

/* ===================== Hero's ===================== */
.hero {
  position: relative;
  min-height: 300px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* De paginatitel zit al in de hero-afbeelding zelf; alleen voor screenreaders */
.hero__title {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.hero--tall { min-height: 380px; }

.band {
  text-align: center;
  padding: 44px 24px;
  font-size: clamp(18px, 2.6vw, 26px);
  font-weight: 600;
  color: #fff;
}
.band--yellow { background: var(--yellow); }
.band--blue { background: var(--blue-box); }
.band--lime { background: var(--lime); }
.band--green { background: #1a9850; background: var(--green); font-weight: 700; }
.band p { max-width: 900px; margin: 0 auto; }

/* ===================== Homepage secties ===================== */
.home-pano {
  height: 75vh;
  background-size: cover;
  background-position: center;
      /* background-image: url(/assets/img/heroes/home-pano.jpg); */
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: black;
  /* border-bottom-left-radius: 50% 12%; */
  /* border-bottom-right-radius: 50% 12%; */
}

.welkom {
  background-size: cover;
  background-position: center;
  padding: 90px 24px;
  display: flex;
  justify-content: center;
}
.welkom__box {
  background: var(--blue-box);
  color: #fff;
  border-radius: 18px;
  max-width: 620px;
  padding: 40px 44px;
  text-align: center;
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
}
.welkom__box h2 { font-size: 24px; margin-bottom: 18px; }
.welkom__box p { margin: 12px 0; }
.welkom__box a { color: #fff; }

.events {
  background: var(--green);
  color: #fff;
  padding: 64px 24px 72px;
  text-align: center;
}
.events h2 { font-size: 30px; margin-bottom: 26px; }
.events__intro { max-width: 760px; margin: 0 auto 14px; }
.events__note { font-weight: 600; margin-top: 10px; }
.events__list { max-width: 760px; margin: 34px auto 30px; text-align: left; }
.event-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 4px;
  border-top: 1px solid rgba(255,255,255,.35);
}
.event-row:last-child { border-bottom: 1px solid rgba(255,255,255,.35); }
.event-row__date { font-size: 13px; font-weight: 600; opacity: .95; }
.event-row__title { font-weight: 700; font-size: 17px; }
.event-row__meta { font-size: 13px; opacity: .85; }
.event-row--full .event-row__title { opacity: .75; }
.tag-vol {
  display: inline-block;
  background: #c0392b;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  border-radius: 4px;
  padding: 2px 8px;
  margin-left: 8px;
  vertical-align: middle;
}

.collectie {
  background: var(--purple-grey);
  padding: 64px 24px 72px;
  text-align: center;
  color: #fff;
}
.collectie h2 { font-size: 30px; margin-bottom: 34px; }
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 26px;
  max-width: 1080px;
  margin: 0 auto 40px;
}
.game-card {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
  transition: transform .15s;
}
.game-card:hover { transform: translateY(-4px); }
.game-card img { width: 100%; aspect-ratio: 356/323; object-fit: cover; }
.game-card figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 14px 10px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.92));
  text-align: left;
}
.game-card__title {
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.game-card__meta { color: #cfcfcf; font-size: 12px; }

.photos-teaser {
  background: var(--purple-dark);
  color: #fff;
  text-align: center;
  padding: 70px 24px;
}
.photos-teaser h2 { font-size: 26px; margin-bottom: 10px; }
.photos-teaser a { color: #cdd6e6; }

.home-links {
  background: var(--green);
  color: #fff;
  padding: 60px 24px 70px;
}
.home-links__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.home-links h3 { font-size: 17px; margin: 14px 0 10px; letter-spacing: .22em; }
.home-links a { color: #fff; }
.home-links svg { width: 34px; height: 34px; margin: 0 auto; display: block; }

/* golf-scheiding */
.wave { display: block; width: 100%; height: 60px; }

/* ===================== Agenda ===================== */
.section-dark {
  background: #000;
  color: var(--text-light);
  padding: 64px 24px 80px;
}
.section-dark .inner { max-width: 860px; margin: 0 auto; }
.section-dark h2 { font-size: clamp(24px, 4vw, 34px); letter-spacing: .18em; margin-bottom: 18px; }
.section-dark p { color: #d9dee8; }

.agenda-list { margin: 36px 0 10px; }
.agenda-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  border-top: 1px solid #333;
}
.agenda-row:last-child { border-bottom: 1px solid #333; }
.agenda-row__date { font-size: 13px; font-weight: 600; color: #b9c2d0; }
.agenda-row__title { font-size: clamp(17px, 2.6vw, 24px); font-weight: 600; color: #fff; }
.agenda-row__spots { font-size: 13px; color: #9aa5b5; }

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: 900px;
  margin: 60px auto 0;
}
.info-card {
  background: var(--blue-box);
  color: #fff;
  border-radius: 10px;
  padding: 22px;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  align-items: start;
}
.info-card img { border-radius: 6px; aspect-ratio: 1; object-fit: cover; }
.info-card h3 { font-size: 16px; letter-spacing: .18em; margin-bottom: 8px; }
.info-card p { font-size: 14px; margin-bottom: 12px; }
.info-card .btn { background: #0c3d92; font-size: 13px; padding: 8px 20px; }
.info-card .btn:hover { background: #0a3379; }

/* ===================== Event / aanmelden ===================== */
.event-detail { max-width: 720px; margin: 0 auto; }
.event-detail__img { border-radius: 10px; margin: 26px 0; max-width: 340px; }
.form-grid { display: grid; gap: 16px; margin-top: 26px; }
.form-grid label { font-weight: 600; font-size: 14px; color: #e6ebf4; display: block; margin-bottom: 6px; }
.form-grid input, .form-grid textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid #3a4356;
  background: #10141c;
  color: #fff;
  font: inherit;
}
.form-grid input:focus, .form-grid textarea:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.form-hint { font-size: 12px; color: #9aa5b5; margin-top: 4px; }
.alert {
  border-radius: 8px;
  padding: 14px 18px;
  margin: 22px 0;
  font-weight: 600;
}
.alert--ok { background: #14532d; color: #d1fadf; }
.alert--err { background: #7f1d1d; color: #fee2e2; }

/* ===================== Info-overzicht ===================== */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  max-width: 980px;
  margin: 0 auto;
}
.post-card {
  position: relative;
  display: block;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  aspect-ratio: 454/256;
  background: #111 center/cover no-repeat;
}
.post-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 30%, rgba(0,0,0,.75));
}
.post-card__badge {
  position: absolute;
  left: 18px; bottom: 64px;
  z-index: 2;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  padding: 4px 12px;
  border-radius: 3px;
  text-transform: uppercase;
}
.post-card__title {
  position: absolute;
  left: 18px; right: 18px; bottom: 16px;
  z-index: 2;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.35;
}

/* ===================== Artikel ===================== */
.article-page {
  background: #06080d url('../img/heroes/info.jpg') center top / cover fixed no-repeat;
}
.article-wrap { padding: 46px 18px 70px; background: rgba(2,4,8,.72); }
.article {
  max-width: 760px;
  margin: 0 auto;
  background: #000;
  color: #e8ecf3;
  border: 1px solid #1d2635;
  padding: clamp(24px, 5vw, 56px);
}
.article h1 { font-size: clamp(26px, 4.6vw, 40px); letter-spacing: .16em; margin-bottom: 6px; }
.article__meta { color: #9aa5b5; font-size: 13px; margin-bottom: 28px; }
.article p { margin: 14px 0; }
.article ul { margin: 14px 0 14px 24px; }
.article li { margin: 8px 0; }
.article img { margin: 22px auto; border-radius: 4px; }
.article a { color: #6ea8ff; }
.article strong { font-weight: 700; color: #fff; }

.related {
  max-width: 980px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.related .post-card__title { font-size: 15px; }

/* ===================== Photos ===================== */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 900px;
  margin: 36px auto 0;
}
.photo-grid a { display: block; border-radius: 3px; overflow: hidden; }
.photo-grid img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform .2s; }
.photo-grid a:hover img { transform: scale(1.04); }
@media (max-width: 640px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===================== Lightbox ===================== */
body.lightbox-open { overflow: hidden; }
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(2, 4, 8, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  margin: 0;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.5);
  border: 1px solid #1d2635;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
}
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: #6ea8ff; border-color: #6ea8ff; }
.lightbox__close { top: 20px; right: 20px; width: 40px; height: 40px; font-size: 26px; line-height: 1; }
.lightbox__prev, .lightbox__next { top: 50%; width: 48px; height: 48px; font-size: 18px; transform: translateY(-50%); }
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }
@media (max-width: 640px) {
  .lightbox { padding: 16px; }
  .lightbox__prev, .lightbox__next { width: 40px; height: 40px; }
}

/* ===================== Contact ===================== */
.contact-block { text-align: center; padding: 90px 24px 110px; }
.contact-block p { font-size: 22px; color: #d9dee8; margin-bottom: 26px; }
.contact-block .mail {
  display: inline-block;
  background: var(--yellow);
  color: #061027;
  font-size: clamp(20px, 4vw, 34px);
  font-weight: 800;
  letter-spacing: .12em;
  padding: 8px 20px;
  text-decoration: none;
  text-transform: uppercase;
}
.contact-block .mail:hover { filter: brightness(1.08); }

/* ===================== Game detail ===================== */
.game-detail { max-width: 900px; margin: 0 auto; }
.game-detail__back { color: #6ea8ff; text-decoration: none; font-size: 14px; }
.game-detail__head {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 36px;
  align-items: center;
  margin: 26px 0 10px;
}
.game-detail__head img { border-radius: 8px; box-shadow: 0 14px 40px rgba(0,0,0,.5); }
.game-detail h1 { font-size: clamp(26px, 4.5vw, 42px); letter-spacing: .06em; }
.game-detail__tagline { font-size: 18px; color: #c6cede; margin: 12px 0 20px; }
.game-detail dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; font-size: 15px; }
.game-detail dt { font-weight: 700; color: #fff; }
.game-detail dd { color: #c6cede; }
.game-detail__desc { margin-top: 30px; }
.game-detail__desc p { margin: 14px 0; }
.game-detail__nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 44px;
  border-top: 1px solid #26304a;
  padding-top: 22px;
}
.game-detail__nav a { color: #6ea8ff; text-decoration: none; font-weight: 600; }
@media (max-width: 700px) { .game-detail__head { grid-template-columns: 1fr; } }

/* ===================== Betalen ===================== */
.pay-card {
  max-width: 560px;
  margin: 0 auto;
  background: #0d1526;
  border: 1px solid #1d2635;
  border-radius: 10px;
  padding: clamp(20px, 4vw, 36px);
  color: #d1d5db;
}
.section-dark .pay-title {
  font-size: 22px;
  letter-spacing: .02em;
  text-transform: none;
  font-weight: 400;
  color: #fff;
  margin-bottom: 0;
}
.pay-title strong { font-weight: 800; }
.pay-sub { margin: 8px 0 22px; font-size: 15px; }
.pay-h {
  font-size: 15px;
  letter-spacing: .02em;
  text-transform: none;
  color: #fff;
  margin: 22px 0 8px;
  font-weight: 700;
}
.pay-h small { font-weight: 300; color: #9aa5b5; }
.pay-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid #374151;
  background: #1f2937;
  color: #e5e7eb;
  font: inherit;
  font-size: 17px;
}
.pay-input:focus { outline: 2px solid #6366f1; border-color: #6366f1; }
.pay-hint { font-size: 12px; color: #8b95a7; margin-top: 6px; }
.pay-hint a { color: #818cf8; }

.pay-item {
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 10px;
}
.pay-item__head { display: flex; justify-content: space-between; font-size: 15px; color: #e5e7eb; }
.pay-item__price { color: #818cf8; font-size: 13px; }
.pay-item__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pay-item__desc { color: #8b95a7; font-size: 12px; }
.stepper { display: flex; align-items: stretch; }
.stepper button {
  width: 40px;
  background: transparent;
  border: 1px solid #374151;
  color: #9ca3af;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.stepper button:hover { background: #374151; color: #fff; }
.stepper button:first-child { border-radius: 6px 0 0 6px; }
.stepper button:last-child { border-radius: 0 6px 6px 0; }
.stepper input {
  width: 52px;
  text-align: center;
  background: #111827;
  border: 1px solid #374151;
  border-left: 0; border-right: 0;
  color: #fff;
  font: inherit;
  font-size: 16px;
}
.pay-totals { margin: 20px 0 6px; font-size: 15px; }
.pay-totals > div {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  padding: 3px 0;
}
.pay-totals strong { min-width: 90px; text-align: right; color: #fff; }
.pay-totals__grand { font-size: 19px; border-top: 1px solid #374151; margin-top: 6px; padding-top: 8px !important; }

.tips { display: flex; flex-wrap: wrap; gap: 8px; }
.tips[hidden] { display: none; }
.tips + .tips { margin-top: 8px; }
.tips input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }
.tips label, .tips button {
  border: 1px solid #059669;
  color: #34d399;
  background: transparent;
  border-radius: 6px;
  padding: 7px 16px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.tips button { border-color: #4b5563; color: #d1d5db; }
.tips label:hover { background: #05966922; }
.tips input[type=radio]:checked + label { background: #059669; color: #fff; }
.tips input[type=radio]:focus-visible + label { outline: 2px solid #34d399; }

.btn--pay {
  background: #4f46e5;
  font-size: 18px;
  padding: 12px 34px;
  border-radius: 8px;
}
.btn--pay:hover:not(:disabled) { background: #6366f1; }
.btn--pay:disabled { background: #312e81; color: #6b7280; cursor: not-allowed; }

/* ===================== Account ===================== */
.account-note { max-width: 700px; margin: 0 auto; text-align: center; }

/* ===================== Footer ===================== */
.site-footer {
  background: var(--footer-purple);
  color: #cbd0dd;
  text-align: center;
  padding: 30px 20px 34px;
  font-size: 13px;
}
.site-footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}
.site-footer__pill {
  background: #000;
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3em;
  padding: 5px 16px;
}

/* ===================== Admin ===================== */
.admin { max-width: 900px; margin: 40px auto; padding: 0 20px; font-weight: 400; }
.admin h1, .admin h2 { letter-spacing: .05em; }
.admin table { width: 100%; border-collapse: collapse; margin: 18px 0 30px; }
.admin th, .admin td { border: 1px solid #ddd; padding: 8px 10px; text-align: left; font-size: 14px; }
.admin th { background: #f2f4f8; }
.admin form.inline { display: inline; }
.admin .danger { color: #b00020; }
.admin input, .admin textarea {
  padding: 8px 10px; border: 1px solid #bbb; border-radius: 4px; font: inherit; width: 100%;
}
.admin .field { margin-bottom: 14px; max-width: 520px; }
.admin label { font-weight: 600; display: block; margin-bottom: 4px; font-size: 14px; }

/* ===================== Responsief ===================== */
@media (max-width: 760px) {
  .mainnav a { padding: 10px 14px; letter-spacing: .15em; }
  .event-row, .agenda-row { flex-direction: column; align-items: flex-start; }
  .info-card { grid-template-columns: 1fr; }
}
