/* Winkelcentrum Puttershoek – statische website */
/* Lettertype Outfit wordt geladen via fonts.bunny.net (zie components/header.liquid). */

:root {
  --luck: #0a6e64;
  --bang: #f86230;
  --soft: #ffebeb;
  --dark: #303030;
  --grey: #f0f0f0;
  --white: #ffffff;
  --wide: 1200px;
  --content: 800px;
  --gutter: 50px;
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 20px;
  line-height: 1.5;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--dark); }
a:hover { color: var(--luck); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  color: var(--luck);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 0.5em;
}
h1 { font-size: 70px; color: var(--bang); letter-spacing: -0.01em; }
h2 { font-size: 40px; font-weight: 700; }
h3 { font-size: 30px; font-weight: 700; }
h4 { font-size: 25px; font-weight: 700; }
h5 { font-size: 20px; font-weight: 700; }
h6 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; }

p { margin: 0 0 24px; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }

.wide { width: 100%; max-width: var(--wide); margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.content { width: 100%; max-width: var(--content); margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--luck); color: var(--soft);
  font-weight: 700; font-size: 18px; line-height: 1.2;
  padding: 14px 24px; border-radius: 3px; text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: scale(1.05); color: var(--soft); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--luck); color: var(--soft);
  transition: background .15s ease;
}
.icon-btn svg { width: 18px; height: 18px; fill: currentColor; }
.icon-btn:hover { background: #084f48; color: var(--soft); }

.link-more {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--luck); font-weight: 500; text-decoration: underline;
  text-underline-offset: 3px;
}
.link-more svg { width: 16px; height: 16px; fill: currentColor; }
.link-more:hover { color: var(--bang); }

/* ---------- Header ---------- */
.site-header {
  background: var(--soft);
  margin-left: var(--gutter);
  padding: var(--gutter);
  position: relative;
  z-index: 3;
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.site-header__logo { display: block; width: 205px; flex: 0 0 auto; transition: transform .25s ease; }
.site-header__logo:hover { transform: scale(1.05) rotate(-1deg); }
.site-header__logo img { width: 100%; }
.site-header__right { display: flex; align-items: center; gap: 50px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; }
.site-nav a {
  display: block; padding: 3px 10px 5px; border-radius: 3px; text-decoration: none;
  color: var(--dark); font-size: 20px; transition: all .25s;
}
.site-nav a:hover { background: var(--luck); color: var(--white); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.site-header__icons { display: flex; align-items: center; gap: 0; }
.site-header__icons a {
  display: inline-flex; padding: 6px; border-radius: 3px; color: var(--dark);
  transition: background .2s;
}
.site-header__icons a svg { width: 24px; height: 24px; fill: currentColor; }
.site-header__icons a:hover { background: var(--luck); color: var(--soft); }
.nav-toggle {
  display: none; background: transparent; border: 0; padding: 6px; cursor: pointer; color: var(--dark);
}
.nav-toggle svg { width: 28px; height: 28px; fill: currentColor; display: block; }

/* ---------- Pink hero band ---------- */
.band {
  background: var(--soft);
  margin-left: var(--gutter);
  padding: 30px var(--gutter) var(--gutter);
}
.band .wide, .band .content { padding-left: 0; padding-right: 0; }
.band__intro { font-size: 25px; line-height: 1.4; max-width: 640px; }
.band h1 { margin-bottom: 20px; }
.band .btn { margin-top: 20px; }

/* Split hero (title + image) used on locations, posts and the homepage */
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.hero-split__text { padding: 20px 0; }
.hero-split__media { margin-bottom: calc(-1 * var(--gutter) - 50px); align-self: start; }
.hero-split__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hero-split .band__intro { max-width: 520px; }

/* Homepage hero */
.home-hero { padding-top: 0; padding-right: 0; margin-top: -10px; }
.home-hero .hero-split { grid-template-columns: 1fr 1.65fr; gap: 60px; align-items: center; }
.home-hero .hero-split__text { position: relative; z-index: 1; }
.home-hero .hero-split__media { margin-bottom: calc(-1 * var(--gutter) - 50px); }
.home-hero .hero-split__media img { aspect-ratio: auto; height: 590px; }
.home-hero .band__intro { font-size: 22px; }
.home-hero .btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.home-hero h1 { font-size: 70px; white-space: nowrap; }

/* ---------- Sections ---------- */
.section { padding-top: 80px; padding-bottom: 80px; }
.section--tight { padding-top: 90px; padding-bottom: 20px; }
.section-title { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.section-title svg { width: 32px; height: 32px; fill: var(--dark); }
.section-title h4 { margin: 0; color: var(--dark); }

.home-columns { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; }
.home-columns .cards { grid-template-columns: 1fr; }
.home-columns .cards--two { grid-template-columns: 1fr 1fr; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; margin: 0; padding: 0; }
.card {
  position: relative; display: block; text-decoration: none; color: inherit;
  transition: transform .1s ease; margin-bottom: 10px;
}
.card:hover { transform: scale(1.05); }
.card__img { height: 350px; background: #eee url("/assets/map-pin.svg") no-repeat 50% 50%; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__caption {
  position: absolute; left: 0; bottom: 0; max-width: 80%;
  background: var(--soft); padding: 20px;
}
.card__caption small { display: block; font-size: 14px; font-weight: 700; text-transform: uppercase; color: var(--luck); }
.card__caption h4 { margin: 0; color: var(--luck); font-size: 25px; }
.card--news .card__caption { background: var(--bang); }
.card--news .card__caption small, .card--news .card__caption h4 { color: var(--white); }
.card--news .card__caption h4 { text-wrap: balance; }

/* ---------- Cadeaubon ---------- */
.cadeaubon { margin-top: 80px; }
.cadeaubon__box {
  position: relative; background: var(--soft) url("/assets/bg.svg") repeat; background-size: 60px 60px;
  padding: 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.cadeaubon__box::before {
  content: ""; position: absolute; inset: 0; background: var(--soft); opacity: .9; pointer-events: none;
}
.cadeaubon__box > * { position: relative; }
.cadeaubon__text h2 { font-size: 40px; margin-bottom: 8px; }
.cadeaubon__text p { font-size: 18px; }
.cadeaubon__text a { color: var(--dark); }
.cadeaubon__media { margin: -160px -80px -80px 0; }
.cadeaubon__media img { width: 100%; max-width: 520px; margin-left: auto; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--soft);
  margin-right: var(--gutter);
  margin-top: 50px;
  padding: 50px 0;
}
.site-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 50px; }
.site-footer h6 { color: var(--luck); margin-bottom: 10px; }
.site-footer p { font-size: 16px; line-height: 1.4; margin-bottom: 0; }
.site-footer p + p { margin-top: 0; }
.site-footer .site-footer__contact p { font-size: 14px; margin-bottom: 20px; }
.site-footer__social { display: flex; gap: 10px; }
.site-footer__credit { text-align: center; font-size: 14px; opacity: .5; margin-top: 40px; }

/* ---------- Text pages ---------- */
.page-body { padding: 70px 0 40px; }
.page-body ul { padding-left: 1.2em; margin: 0 0 24px; }
.page-body figure { margin: 30px 0; }
.page-body figure img { margin: 0 auto; }
.page-body .poster { max-width: 420px; margin: 40px auto; }
.page-body .gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px 0; }
.page-body .gallery img { width: 100%; height: 100%; object-fit: cover; }
.check-list { list-style: none; padding: 0 !important; margin: 0 0 24px; }
.check-list li { display: flex; align-items: center; gap: 10px; }
.check-list li svg { width: 14px; height: 14px; flex: 0 0 auto; fill: var(--dark); }

/* Location details */
.location-details { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 20px 0 60px; }
.detail-box { background: var(--grey); padding: 30px 24px; }
.detail-box h5 { color: var(--luck); margin-bottom: 4px; }
.detail-box table { border-collapse: collapse; width: 100%; }
.detail-box td { padding: 0; vertical-align: top; }
.detail-box td:first-child { width: 50%; }
.detail-box p { margin-bottom: 20px; }
.detail-box p:last-of-type { margin-bottom: 20px; }
.detail-box .btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* Related (Andere locaties / Meer actueel) */
.related { padding: 40px 0 20px; }
.related h2 { margin-bottom: 30px; }

/* Post hero */
.post-hero .hero-split { grid-template-columns: 1fr 1fr; }
.post-hero h6 { color: var(--luck); margin-bottom: 6px; }
.post-hero h1 { font-size: 60px; }

/* ---------- Services (Bezoeken) ---------- */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 60px 50px; padding: 70px 0 40px; }
.service svg { width: 40px; height: 36px; fill: var(--bang); margin-bottom: 8px; }
.service h3 { margin-bottom: 6px; color: var(--luck); }
.service p { font-size: 17px; line-height: 1.5; }
.service a { color: var(--dark); }

/* ---------- Agenda ---------- */
.agenda { list-style: none; padding: 60px 0 20px; margin: 0; }
.agenda li { display: grid; grid-template-columns: 140px 1fr; gap: 30px; padding: 30px 0; border-bottom: 1px solid #eee; }
.agenda__date { text-align: center; background: var(--soft); padding: 16px 10px; align-self: start; }
.agenda__day { display: block; font-size: 34px; font-weight: 800; color: var(--bang); line-height: 1; }
.agenda__month { display: block; font-size: 14px; font-weight: 700; text-transform: uppercase; color: var(--luck); margin-top: 6px; }
.agenda h4 { margin-bottom: 6px; }
.agenda p { font-size: 18px; margin-bottom: 10px; }

/* ---------- Nieuws overview ---------- */
.pagination { display: flex; justify-content: center; align-items: center; gap: 20px; font-size: 20px; margin: 40px 0 20px; }
.pagination a, .pagination span { color: var(--luck); }
.pagination a { text-decoration: underline; }
.pagination svg { width: 16px; height: 16px; fill: currentColor; vertical-align: middle; }

/* ---------- Map ---------- */
.map-wrap { margin: 40px 0 0; height: 70vh; min-height: 420px; background: #eee url("/assets/map-pin.svg") no-repeat 50% 50%; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  h1 { font-size: 50px; }
  .home-hero h1, .post-hero h1 { font-size: 46px; }
  .site-header__right { gap: 24px; }
  .site-nav a { font-size: 18px; padding: 3px 8px 5px; }
  .home-hero .hero-split { grid-template-columns: 45% 1fr; gap: 30px; }
  .home-hero .hero-split__media img { height: 460px; }
  .home-hero h1 { white-space: normal; font-size: 50px; }
  .cadeaubon__media { margin: -100px -40px -40px 0; }
}

@media (max-width: 900px) {
  :root { --gutter: 24px; }
  .nav-toggle { display: inline-flex; }
  .site-header { padding: 24px; }
  .site-header__logo { width: 150px; }
  .site-header__right { gap: 8px; flex-direction: row-reverse; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--soft); padding: 10px 24px 24px; box-shadow: 0 12px 20px rgba(0,0,0,.08);
  }
  .site-header.is-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; }
  .site-nav a { font-size: 22px; padding: 10px 8px; }
  .hero-split, .home-hero .hero-split, .post-hero .hero-split { grid-template-columns: 1fr; gap: 24px; }
  .hero-split__media { margin-bottom: calc(-1 * var(--gutter) - 30px); }
  .home-hero { padding-right: var(--gutter); }
  .home-hero .hero-split__media { margin-bottom: calc(-1 * var(--gutter) - 30px); }
  .home-hero .hero-split__media img { height: 300px; }
  .home-columns { grid-template-columns: 1fr; gap: 40px; }
  .cards, .home-columns .cards--two { grid-template-columns: 1fr 1fr; }
  .cadeaubon__box { grid-template-columns: 1fr; padding: 30px; }
  .cadeaubon__media { margin: 0; }
  .cadeaubon__media img { margin: 0 auto; }
  .site-footer__cols { grid-template-columns: 1fr; }
  .location-details, .services { grid-template-columns: 1fr; }
  .section { padding-top: 60px; padding-bottom: 60px; }
}

@media (max-width: 600px) {
  body { font-size: 18px; }
  h1, .home-hero h1, .post-hero h1 { font-size: 40px; }
  h2 { font-size: 32px; }
  .band__intro, .home-hero .band__intro { font-size: 20px; }
  .cards, .home-columns .cards--two { grid-template-columns: 1fr; }
  .card__img { height: 280px; }
  .site-header__icons a svg { width: 18px; height: 18px; }
  .agenda li { grid-template-columns: 1fr; gap: 12px; }
  .agenda__date { display: inline-flex; gap: 10px; align-items: baseline; padding: 10px 14px; width: max-content; }
  .agenda__month { margin-top: 0; }
  .page-body .gallery { grid-template-columns: 1fr; }
  .section-title h4 { font-size: 22px; }
}
