/* ===========================
   CSS Variables / Kleurenpalet
   =========================== */
:root {
  --color-black: #1a1a1a;
  --color-white: #ffffff;
  --color-light-grey: #f2f0ed;
  --color-accent: #e2197c;        /* magenta/roze, geïnspireerd op het logo */
  --color-accent-light: #fce4f0;  /* lichtere tint voor achtergrond */

  --font-body: 'Roboto', sans-serif;
  --font-heading: 'Raleway', sans-serif;  /* Pas dit aan voor een ander heading-font */

  --max-width: 1080px;
  --header-height: 90px;
}

/* ===========================
   Reset & Base
   =========================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  color: var(--color-black);
  background: var(--color-white);
  line-height: 1.7;
  font-size: 17px;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* ===========================
   Utility / Color Classes
   =========================== */
.bg-dark {
  background-color: var(--color-black);
}

.bg-light {
  background-color: var(--color-light-grey);
}

.bg-accent {
  background-color: var(--color-accent-light);
}

.text-dark {
  color: var(--color-black);
}

.text-light {
  color: var(--color-white);
}

.link-accent {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-accent:hover {
  opacity: 0.8;
}

.text-light .link-accent {
  color: var(--color-accent-light);
}

/* ===========================
   Container
   =========================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   Header
   =========================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease;
}

.site-header.header-hidden {
  transform: translateY(-100%);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  gap: 0;
}

.logo-link {
  flex-shrink: 0;
}

.logo {
  height: 120px;
  width: auto;
}

.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-left {
  margin-right: 40px;
}

.nav-right {
  margin-left: 40px;
}

.nav-left a, .nav-right a {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-black);
  position: relative;
  transition: color 0.2s;
}

.nav-left a:hover, .nav-right a:hover {
  color: var(--color-accent);
}

.nav-left a::after, .nav-right a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.25s ease;
}

.nav-left a:hover::after, .nav-right a:hover::after {
  width: 100%;
}

/* Hamburger (hidden on desktop) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 16px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-black);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===========================
   Mobile Menu Overlay
   =========================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 12px 24px;
  background: var(--color-white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-menu-logo {
  height: 90px;
  width: auto;
}

.mobile-menu-close {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 48px;
  line-height: 1;
  cursor: pointer;
  color: var(--color-black);
  padding: 8px;
}

.mobile-menu-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  background: var(--color-light-grey);
  padding: 48px 24px;
}

.mobile-menu-nav a {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--color-black);
  letter-spacing: 0.03em;
}

.mobile-menu-nav a:hover {
  color: var(--color-accent);
}

/* ===========================
   Scroll-to-top
   =========================== */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  font-size: 24px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top:hover {
  background: var(--color-black);
}

/* ===========================
   Sections
   =========================== */
.section {
  padding: 50px 0;
}

/* Spacer for fixed header */
.section:first-of-type {
  padding-top: calc(var(--header-height) + 80px);
}

.section-header {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 900;
  text-transform: lowercase;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.subsection-header {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
}

.hero-text {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 24px;
  
}

.section p {
  margin-bottom: 16px;
  max-width: 720px;
  &.hero-text {
    max-width: 100%;
  }
}

.section p:last-child {
  margin-bottom: 0;
}

/* ===========================
   Leden
   =========================== */
.lid {
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.lid:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.lid-intro {
  display: grid;
  grid-template-columns: auto 1fr 1fr auto;
  gap: 32px;
  margin-bottom: 40px;
  align-items: start;
}

.lid-naam {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--color-accent);
}

.lid-col {
  min-width: 0;
}

.lid-foto {
  max-height: 200px;
  width: auto;
  border-radius: 4px;
}

.lid-col-text1 p,
.lid-col-text2 p {
  max-width: none;
  line-height: 1.8;
  font-size: 15px;
}

.lid-col-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  white-space: nowrap;
}

.lid-col-contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-accent);
  font-size: 15px;
  font-weight: 700;
  transition: opacity 0.2s;
}

.lid-col-contact a:hover {
  opacity: 0.7;
}

.icon-external {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ===========================
   Carousel
   =========================== */
.carousel {
  position: relative;
  width: 100%;
}

.carousel-track-container {
  border-radius: 4px;
  height: 450px;
}

.carousel-track {
  display: flex;
  height: 100%;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

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

.carousel-slide {
  width: 100%;
  min-width: 100%;
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  border: none;
  font-size: 32px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--color-black);
  z-index: 10;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.carousel-btn:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.carousel-btn-left {
  left: -64px;
}

.carousel-btn-right {
  right: -64px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--color-white);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
}

.carousel-dot.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.carousel-dot:hover {
  background: var(--color-white);
}

/* ===========================
   Visie - accent section
   =========================== */
.bg-accent .section-header {
  color: var(--color-accent);
}

.bg-accent .subsection-header {
  color: var(--color-accent);
}

/* ===========================
   Responsive
   =========================== */

/* Carousel buttons inside on smaller desktops */
@media (max-width: 1220px) {
  .carousel-btn-left {
    left: 12px;
  }
  .carousel-btn-right {
    right: 12px;
  }
}

/* Tablet */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  body {
    font-size: 16px;
  }

  /* Header: hide nav, show hamburger */
  .nav-left, .nav-right {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .header-inner {
    justify-content: center;
    position: relative;
  }

  .hamburger {
    position: absolute;
    right: 24px;
  }

  .logo {
    height: 90px;
  }

  /* Sections */
  .section {
    padding: 56px 0;
  }

  .section:first-of-type {
    padding-top: calc(var(--header-height) + 56px);
  }

  .section-header {
    font-size: 30px;
  }

  .hero-text {
    font-size: 24px;
  }

  /* Leden: stapelen op tablet */
  .lid-intro {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .lid-col-foto {
    grid-column: 1 / 2;
  }

  .lid-col-contact {
    grid-column: 1 / -1;
  }

  .lid-col-text1 {
    grid-column: 1 / -1;
  }

  .lid-col-text2 {
    grid-column: 1 / -1;
  }

  .lid-naam {
    font-size: 26px;
  }

  .lid-foto {
    max-width: 320px;
  }

  .carousel-track-container {
    height: 60vw;
  }

  .carousel-btn {
    display: none;
  }

  .carousel-btn-right {
    right: 8px;
  }
}

/* Mobile small */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  /* Leden: alles onder elkaar */
  .lid-intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .lid-col-foto,
  .lid-col-text1,
  .lid-col-text2,
  .lid-col-contact {
    grid-column: 1 / -1;
  }

  .section-header {
    font-size: 26px;
    margin-bottom: 24px;
  }

  .hero-text {
    font-size: 21px;
  }

  .lid-naam {
    font-size: 22px;
  }

  .subsection-header {
    font-size: 22px;
  }

  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    font-size: 20px;
  }
}
