/* =========================
   RESET & BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "brother-1816", sans-serif;
  color: #111;
}

img {
  width: 100%;
  display: block;
}

/* =========================
   TYPOGRAPHY
========================= */
h1 { font-size: 32px; line-height: 38px;  margin-bottom: 16px; }
h2 { font-size: 28px; line-height: 34px;  margin-bottom: 14px; }
h3 { font-size: 22px; line-height: 28px;  margin-bottom: 12px; }
h4 { font-size: 18px; line-height: 24px; margin-bottom: 10px; }
h5 { font-size: 14px; line-height: 20px; margin-bottom: 8px; }

p, ul, ol {
  font-size: 14px;
  line-height: 21px;
  margin-bottom: 12px;
}

/* =========================
   LAYOUT
========================= */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================
   HEADER
========================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: #ffed00;
  z-index: 1000;
}
header.trans { background: none; }
header:has(.hamburger.active) { background: #000; }

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.logo { max-width: 30%; }
.logo img { width: 100%; max-height: 50px; pointer-events: none; }
.logo img.white { display: none; }
.logo img.black { display: block; }

/* CTA */
.cta:link, .cta:visited {
  background: black;
  color: white;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
}

.cta:hover, .cta:active {
  background: white;
  color: black;
}

header:has(.hamburger.active) .cta { background: #fff; color: #000; }
header:has(.hamburger.active) .logo img.black { display: none; }
header:has(.hamburger.active) .logo img.white { display: block; }

/* =========================
   HAMBURGER
========================= */
.hamburger {
  width: 28px;
  height: 20px;
  position: relative;
  cursor: pointer;
}

.hamburger span {
  position: absolute;
  width: 100%;
  height: 2px;
  background: black;
  transition: 0.3s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { bottom: 0; }

/* ACTIVE */
.hamburger.active span { background: white; }
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 9px;
}

:root {
  --header-height: 70px;
}

:root {
  --header-height: 70px;
}

/* =========================
   TOP SLIDE MENU (CORRECTED)
========================= */
.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #111;
  color: white;
  z-index: 900;

  /* start hidden above viewport INCLUDING header space */
  transform: translateY(calc(-100% - var(--header-height)));
  transition: transform 0.5s ease;
}

/* open state */
.menu.active {
  transform: translateY(var(--header-height));
}

/* inner spacing accounts for header visually */
.menu-inner {
  padding: calc(var(--header-height) + 40px) 20px 40px;
}

/* layout */
.menu-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.menu-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.menu-left a:link, .menu-left a:visited {
  font-size: 32px;
  color: white;
  font-weight: 800;
  text-decoration: none;
}

.menu-left a:hover, .menu-left a:active {
  color: #ffed00;
}

.menu-right {
  max-width: 640px;
  opacity: 0.75;
}
.menu-right h4 { text-transform: uppercase; }

.menu-footer {
  margin: 0 auto 40px auto;
  padding: 0 20px 20px 0;
  max-width: 1280px;
  font-size: 14px;
  text-align: right;
  border-bottom: 1px solid #fff;
  position: relative;
}
.some:link, .some:visited { width: 40px; height: 40px; text-align:left; background-color: #fff; background-repeat: no-repeat; margin: 0 0 0 15px; text-indent: -9999px; display: inline-block; border-radius: 20px; background-size: 22px 23px; background-position: center center; }
.some:hover, .some:active { background-color: #ffed00; }
.some.facebook { background-image: url(../images/facebook.png); }
.some.instagram { background-image: url(../images/instagram.png); }
.some.linkedin { background-image: url(../images/linkedin.png); }
.menu-footer img { pointer-events: none; max-width: 200px; position: absolute; right: 160px; top: -17px; }

/* =========================
   FOOTER
========================= */
footer { background: #ffed00; margin: 80px 0 0 0; }
footer .container { position: relative; }
footer .row { margin: 0; padding-top: 50px; padding-bottom: 30px; }
footer .col { padding: 0 40px 0 0; }
.footer-img { position: absolute; top: -28px; left: 18px; width: 100px; }
footer .row .col { flex: 0; min-width: fit-content; background: none; }

/* =========================
   HERO
========================= */
.intro {
  margin: 0 0 70px 0;
  background: url('../images/MetOpenVizier-Pijl-Slogan.png') center center no-repeat #ffed00;
  background-size:  64%;
  color: white;
  padding: 120px 0;
  height: calc(100vh);
}
.hero {
  margin-top: 70px;
  background: url('https://picsum.photos/1600/600') center/cover no-repeat;
  color: white;
  padding: 120px 0;
}

/* =========================
   FLEX MODULES
========================= */
.row {
  display: flex;
  gap: 20px;
  margin: 60px 0;
}

.col {
  flex: 1;
  background: #f4f4f4;
  padding: 20px;
}

/* Responsive */
@media(max-width: 768px) {
  .row {
    flex-direction: column;
  }
}

/* =========================
   GRID MODULE
========================= */

.grid-main {
  display: grid;
  grid-template-columns: 2fr 1fr; /* 66.66 / 33.33 */
  gap: 24px;

  /* ensures equal height columns */
  align-items: stretch;
}

/* LEFT SIDE INTERNAL GRID */
.grid-left {
  display: grid;
  grid-template-rows: auto auto;
  gap: 24px;
}

/* top split (33 / 66 inside left column) */
.grid-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
}

/* generic block styling */
.box {
  background: #eee;
  padding: 20px;
  min-height: 120px;
}

/* full width bottom block */
.full {
  width: 100%;
}

/* RIGHT COLUMN HEIGHT MATCH */
.grid-right {
  display: flex;
  align-items: stretch;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .grid-main {
    grid-template-columns: 1fr;
  }

  .grid-top {
    grid-template-columns: 1fr;
  }
}

:root {
  --gap: 24px;
}

:root {
  --gap: 24px;
}

/* =========================
   SNAP WRAPPER (1280 SAFE)
========================= */
.snap-wrapper {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: var(--gap);
  width: 100%;
}

/* =========================
   TRACK
========================= */
.snap-track {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;

  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;

  scrollbar-width: none;
}

.snap-track::-webkit-scrollbar {
  display: none;
}

/* =========================
   ITEMS (3 VISIBLE)
========================= */
.snap-item {
  flex: 0 0 calc((100% - (2 * var(--gap))) / 3);
  background: #eee;
  padding: 20px;
  scroll-snap-align: start;
  box-sizing: border-box;
}

/* =========================
   ARROWS (ALWAYS ALIGNED)
========================= */
.snap-btn {
  width: 44px;
  height: 44px;
  background: black;
  color: white;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .snap-wrapper {
    grid-template-columns: 44px 1fr 44px;
  }
  .menu-content { flex-direction: column; }
  .menu-right { display: none; }
  .menu { min-height: 100vh; }

  .snap-item {
    flex: 0 0 100%;
  }
}