/* ==========================================================================
   jellegulmans.nl - huisstijl
   Kleuren, typografie en componenten. Geen frameworks, geen build-stap.
   ========================================================================== */

:root {
  /* Basiskleuren */
  --bg:            #0b0f1e;
  --bg-soft:       #111729;
  --panel:         #141b30;
  --panel-hover:   #1a2340;
  --line:          rgba(255, 255, 255, 0.09);
  --line-strong:   rgba(255, 255, 255, 0.16);

  /* Tekst */
  --text:          #f5f7ff;
  --text-muted:    rgba(245, 247, 255, 0.66);
  --text-dim:      rgba(245, 247, 255, 0.44);

  /* Accenten */
  --accent:        #22d3ee;   /* cyaan - data, water, GIS */
  --accent-warm:   #fbbf24;   /* amber - labels en periodes */
  --accent-soft:   rgba(34, 211, 238, 0.12);

  /* Maatvoering */
  --maxw:          1120px;
  --radius:        14px;
  --radius-sm:     9px;

  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Subtiele gloed achter de bovenkant van de pagina */
body::before {
  content: "";
  position: fixed;
  top: -320px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(34, 211, 238, 0.13), transparent 62%);
  pointer-events: none;
  z-index: 0;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  line-height: 1.15;
  letter-spacing: -0.022em;
  margin: 0 0 0.5em;
  font-weight: 700;
}

p { margin: 0 0 1em; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------- navigatie */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(11, 15, 30, 0.78);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
  white-space: nowrap;
}

.nav__brand img {
  height: 30px;
  width: auto;
}
.nav__brand:hover { text-decoration: none; color: var(--accent); }
.nav__brand i { font-style: normal; color: var(--accent); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 500;
}
.nav__links a:hover { color: var(--text); text-decoration: none; }

.nav__cta {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 18px;
  color: var(--text) !important;
}
.nav__cta:hover { border-color: var(--accent); color: var(--accent) !important; }

/* Mobiel menu */
.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 8px 12px;
  font-size: 0.9rem;
  cursor: pointer;
}

/* ------------------------------------------------------------------ knoppen */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn--primary {
  background: var(--accent);
  color: #06121a;
}
.btn--primary:hover { background: #5ce1f5; }

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ------------------------------------------------------------------ secties */

.section { padding: 96px 0; position: relative; z-index: 1; }
.section--alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section__label {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section__title {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin-bottom: 14px;
}

.section__intro {
  color: var(--text-muted);
  max-width: 62ch;
  font-size: 1.06rem;
  margin-bottom: 48px;
}

/* --------------------------------------------------------------------- hero */

.hero {
  padding: 90px 0 80px;
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(34, 211, 238, 0.32);
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  padding: 7px 16px 7px 13px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

.hero__hello {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.hero__name {
  font-size: clamp(2.9rem, 8.5vw, 5.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 0 0 14px;
  line-height: 1.02;
}

.hero__role {
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 26px;
}
.hero__role .sep { color: var(--text-dim); margin: 0 10px; }

.hero__pitch {
  max-width: 64ch;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 36px;
}
.hero__pitch strong { color: var(--text); font-weight: 600; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__extra {
  margin: 22px 0 0;
  font-size: 0.94rem;
  color: var(--text-dim);
}

.hero__extra a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 5px;
  border-bottom: 1px solid rgba(34, 211, 238, 0.35);
}
.hero__extra a:hover { text-decoration: none; border-bottom-color: var(--accent); }

/* Tekst links, portret rechts */
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.55fr);
  gap: 64px;
  align-items: center;
  margin-bottom: 64px;
}

.hero__portrait {
  margin: 0;
  position: relative;
  justify-self: center;
  max-width: 380px;
  width: 100%;
  margin-right: 18px;   /* ruimte voor het accentkader rechts */
}

/* Accentkader dat schuin achter de foto uitsteekt */
.hero__portrait::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid rgba(34, 211, 238, 0.45);
  border-radius: var(--radius);
  pointer-events: none;
}

.hero__portrait img {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 36px;
}

.stat__num {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat__num em { font-style: normal; color: var(--accent); }

.stat__label {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
}

/* ----------------------------------------------------------------- over mij */

.about {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 56px;
  align-items: start;
}

.about__body p { color: var(--text-muted); }
.about__body strong { color: var(--text); font-weight: 600; }

.about__body h3 {
  font-size: 1.15rem;
  margin-top: 34px;
}

.facts {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}

.facts__title {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-warm);
  font-weight: 700;
  margin-bottom: 22px;
}

.facts dl { margin: 0; }

.facts dt {
  font-size: 0.71rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 3px;
}

.facts dd {
  margin: 0 0 20px;
  font-size: 0.97rem;
  color: var(--text);
}
.facts dd:last-of-type { margin-bottom: 0; }

.facts__download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 26px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.facts__download:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

/* ----------------------------------------------------------------- diensten */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 20px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.card:hover {
  border-color: rgba(34, 211, 238, 0.4);
  background: var(--panel-hover);
  transform: translateY(-3px);
}

.card__icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--accent-soft);
  border: 1px solid rgba(34, 211, 238, 0.28);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--accent);
}
.card__icon svg { width: 21px; height: 21px; }

.card h3 { font-size: 1.12rem; margin-bottom: 10px; }

.card p {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin: 0;
}

/* ------------------------------------------------------------- vaardigheden */

.skillgroup { margin-bottom: 40px; }
.skillgroup:last-child { margin-bottom: 0; }

.skillgroup h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.skillgroup p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 68ch;
  margin-bottom: 18px;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pills li {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.89rem;
  color: var(--text-muted);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.pills li:hover { color: var(--text); border-color: var(--accent); }

/* ----------------------------------------------------------------- tijdbalk */

.timeline { position: relative; padding-left: 30px; }

.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), var(--line) 70%, transparent);
}

.tl-item { position: relative; padding-bottom: 44px; }
.tl-item:last-child { padding-bottom: 0; }

.tl-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 7px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
}

.tl-item__period {
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent-warm);
  font-weight: 700;
  margin-bottom: 6px;
}

.tl-item h3 { font-size: 1.15rem; margin-bottom: 2px; }

.tl-item__org {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.tl-item ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 0.96rem;
}
.tl-item ul li { margin-bottom: 6px; }

.tl-item > p {
  color: var(--text-muted);
  font-size: 0.96rem;
  max-width: 70ch;
}

/* ---------------------------------------------------------------- opdrachten */

.work {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 20px;
  transition: border-color 0.2s ease;
}
.work:hover { border-color: rgba(34, 211, 238, 0.4); }
.work:last-child { margin-bottom: 0; }

.work__client {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
}

.work h3 { font-size: 1.24rem; margin-bottom: 12px; }

.work p {
  color: var(--text-muted);
  font-size: 0.99rem;
  max-width: 76ch;
}

.work .pills { margin-top: 18px; }
.work .pills li { font-size: 0.82rem; padding: 6px 13px; }

/* ------------------------------------------------------------------- contact */

.contact {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.contact .section__intro { margin-left: auto; margin-right: auto; }

.contact__methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.contact__region {
  color: var(--text-dim);
  font-size: 0.94rem;
}

/* -------------------------------------------------------------------- footer */

.footer {
  border-top: 1px solid var(--line);
  padding: 44px 0;
  color: var(--text-dim);
  font-size: 0.89rem;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  justify-content: space-between;
  align-items: center;
}

.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer a { color: var(--text-muted); }
.footer a:hover { color: var(--accent); }

/* ------------------------------------------------------------ losse paginas */

.page { padding: 70px 0 90px; max-width: 760px; }
.page h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 10px; }
.page__updated { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 40px; }
.page h2 { font-size: 1.25rem; margin-top: 40px; }
.page p, .page li { color: var(--text-muted); }
.page ul { padding-left: 22px; }
.page li { margin-bottom: 8px; }

/* ---------------------------------------------------------------- responsief */

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 36px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }

  /* Foto eerst, zodat er meteen een gezicht bij de naam hoort */
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 48px;
  }
  .hero__portrait {
    order: -1;
    justify-self: start;
    max-width: 200px;
    margin-right: 12px;
  }
  .hero__portrait::before { inset: 12px -12px -12px 12px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .hero { padding: 60px 0 56px; }

  .nav__toggle { display: block; }

  .nav__links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links li { border-top: 1px solid var(--line); }
  .nav__links a { display: block; padding: 14px 0; font-size: 1rem; }
  .nav__cta { border: 0; padding: 14px 0; }

  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .work, .card, .facts { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
