/* =========================================================
   Sekondant – statische recreatie
   Huisstijl: blauw #005CAA, accent rood #D20E46
   ========================================================= */

:root {
  --blue:        #005CAA;
  --blue-dark:   #003A6B;
  --red:         #D20E46;
  --overlay:     #C3CFE0;
  --page-bg:     #F5FAFD;
  --text:        #3a3f45;
  --muted:       #5d6b78;
  --line:        #e1e8ef;
  --white:       #ffffff;
  --radius:      8px;
  --shadow:      0 6px 22px rgba(0, 58, 107, .08);
  --shadow-hover:0 12px 30px rgba(0, 58, 107, .15);
  --container:   1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--page-bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--blue-dark);
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 .6em;
}

a { color: var(--blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--red); }

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

p { margin: 0 0 1.1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  color: var(--blue-dark);
  padding: 10px 16px;
  z-index: 2000;
  border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

/* ---------------- Navigation ---------------- */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 24px;
}
.nav__logo img { max-height: 58px; width: auto; }

.nav__menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.nav__menu a {
  display: block;
  padding: 10px 14px;
  color: var(--blue-dark);
  font-weight: 600;
  font-size: 15.5px;
  border-radius: 6px;
  position: relative;
}
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav__menu a:hover,
.nav__menu a[aria-current="page"] { color: var(--red); }
.nav__menu a:hover::after,
.nav__menu a[aria-current="page"]::after { transform: scaleX(1); }

.nav__menu a.is-external { color: var(--blue); }
.nav__menu a.is-external::before {
  content: "\2197";
  font-size: 12px;
  margin-right: 4px;
  opacity: .7;
}

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
  color: var(--blue-dark);
}
.nav__toggle svg { display: block; }

/* ---------------- Hero (homepage slideshow) ---------------- */
.hero {
  position: relative;
  min-height: 78vh;
  background: var(--blue-dark);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 18s infinite;
}
.hero__slide:nth-child(1) { animation-delay: 0s; opacity: 1; }
.hero__slide:nth-child(2) { animation-delay: 6s; }
.hero__slide:nth-child(3) { animation-delay: 12s; }
@keyframes heroFade {
  0%   { opacity: 0; }
  4%   { opacity: 1; }
  30%  { opacity: 1; }
  36%  { opacity: 0; }
  100% { opacity: 0; }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  opacity: .49;
  mix-blend-mode: multiply;
}
.hero__inner {
  position: relative;
  text-align: center;
  color: var(--white);
  padding: 40px 24px;
}
.hero__inner .badge {
  display: inline-block;
  background: rgba(255, 255, 255, .92);
  color: var(--blue-dark);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.hero__inner h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin: 18px 0 8px;
  text-shadow: 0 2px 18px rgba(0, 35, 70, .45);
}
.hero__inner p {
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  margin: 0;
  text-shadow: 0 2px 14px rgba(0, 35, 70, .5);
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide { animation: none; }
  .hero__slide:nth-child(n+2) { opacity: 0; }
}

/* ---------------- Page header (inner pages) ---------------- */
.page-header {
  position: relative;
  background: var(--blue-dark) center/cover no-repeat;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 92, 170, .55), rgba(0, 47, 90, .72));
}
.page-header h1 {
  position: relative;
  color: var(--white);
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  margin: 0;
  padding: 70px 24px;
  text-shadow: 0 2px 16px rgba(0, 25, 50, .5);
}

/* ---------------- Generic sections ---------------- */
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--alt { background: #ffffff; }

.lead { font-size: 1.18rem; color: var(--muted); }

.eyebrow {
  display: inline-block;
  color: var(--red);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 10px;
}

/* ---------------- Cards grid (homepage) ---------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 38px 26px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.card__icon {
  width: 76px; height: 76px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 92, 170, .3);
}
.card__icon svg { width: 34px; height: 34px; }
.card h2 { font-size: 1.3rem; margin-bottom: 10px; }
.card h2 a { color: var(--blue-dark); }
.card h2 a:hover { color: var(--red); }
.card p { color: var(--muted); margin-bottom: .5em; font-size: .98rem; }
.card__link {
  margin-top: auto;
  padding-top: 16px;
  font-weight: 700;
  color: var(--red);
  font-size: .95rem;
}

/* ---------------- Content layout ---------------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.7rem; margin-top: 1.4em; }
.prose h3 { font-size: 1.25rem; color: var(--blue); margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }

.media-split {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}
.media-split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
}
.media-split--reverse .media-split__media { order: -1; }

/* ---------------- Partner blocks ---------------- */
.partner {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  border-radius: var(--radius);
  padding: 34px 38px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}
.partner__logo {
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 6px;
  padding: 10px;
  min-height: 110px;
}
.partner__logo img { max-height: 120px; width: auto; object-fit: contain; }
.partner h2 { font-size: 1.5rem; color: var(--blue); }
.partner__contact {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.6;
}
.partner__contact strong { color: var(--blue-dark); }

/* ---------------- Table (zaalhuur) ---------------- */
.table-wrap { overflow-x: auto; margin: 0 0 1.6em; }
table.rooms {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-width: 560px;
}
table.rooms th {
  background: var(--blue);
  color: #fff;
  text-align: left;
  font-size: .95rem;
  letter-spacing: .02em;
}
table.rooms th, table.rooms td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
table.rooms tbody tr:nth-child(even) { background: #f4f8fc; }
table.rooms tbody tr:hover { background: #eaf3fb; }
table.rooms td:first-child { font-weight: 700; color: var(--blue-dark); }

/* ---------------- Info cards (contact) ---------------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.info-card .info-card__icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: rgba(0, 92, 170, .1);
  color: var(--blue);
  display: grid; place-items: center;
  margin-bottom: 14px;
}
.info-card .info-card__icon svg { width: 24px; height: 24px; }
.info-card h3 { font-size: 1.05rem; margin-bottom: 6px; color: var(--blue-dark); }
.info-card p { margin: 0; color: var(--muted); }
.info-card a { font-weight: 600; }

/* ---------------- Callout / note ---------------- */
.note {
  background: linear-gradient(135deg, rgba(0, 92, 170, .07), rgba(195, 207, 224, .25));
  border-left: 5px solid var(--red);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 0 0 1.6em;
}
.note strong { color: var(--blue-dark); }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  box-shadow: 0 8px 18px rgba(0, 92, 170, .25);
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--blue-dark); color: #fff; transform: translateY(-2px); }
.btn--red { background: var(--red); box-shadow: 0 8px 18px rgba(210, 14, 70, .25); }
.btn--red:hover { background: #a90b38; color:#fff; }

.figure-rounded { border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.figure-rounded img { width: 100%; }

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--blue-dark);
  color: #cfe0f0;
  padding: 48px 0 30px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer-top .footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-top .footer-brand img {
  max-height: 46px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 6px;
}
.footer-top .footer-brand span { font-size: 1.05rem; color: #fff; font-weight: 600; }

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 24px 0;
}
.footer-legal nav {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.4rem;
  flex: 1 1 400px;
}
.footer-legal nav a { color: #cfe0f0; white-space: nowrap; font-size: .92rem; }
.footer-legal nav a:hover { color: #fff; }
.footer-badge img { max-height: 60px; width: auto; background: #fff; padding: 6px; border-radius: 6px; }

.copyright {
  text-align: center;
  font-size: .88rem;
  color: #9fb8d2;
  margin: 14px 0 0;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .media-split { grid-template-columns: 1fr; }
  .media-split--reverse .media-split__media { order: 0; }
  .partner { grid-template-columns: 1fr; gap: 22px; }
  .partner__logo { max-width: 240px; }
}

@media (max-width: 820px) {
  body { font-size: 16px; }
  .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
    border-bottom: 3px solid var(--red);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .12);
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu a { padding: 14px 24px; border-radius: 0; }
  .nav__menu a::after { display: none; }
  .nav__menu li + li a { border-top: 1px solid var(--line); }
  .hero { min-height: 62vh; }
  .section { padding: 52px 0; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; text-align: center; }
  .footer-legal nav { justify-content: center; flex: none; }
}
