/* =========================================================
   Narhval — workflow automatisatie
   Volgt narhval-brand-guide.md
   ========================================================= */

:root {
  /* Brand */
  --primary:      #014f67;
  --primary-dark: #15526B;
  --teal:         #008080;
  --accent:       #feb098;
  --accent-hover: #fda084;
  --cream:        #fffbf0;
  --white:        #ffffff;
  --text-dark:    #1a1a1a;
  --text-light:   #666666;
  --text-on-dark: #F5E6D3;
  --border:       #e0e0e0;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);

  --radius-btn: 8px;
  --radius-card: 12px;
  --radius-lg: 16px;

  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--primary); text-decoration: none; transition: color .3s ease; }
a:hover { color: var(--teal); }

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

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--primary);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Wordmark logo (small) — narhval. */
.brand {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 26px;
  color: #fff;
  letter-spacing: 0.005em;
}
.brand .dot { color: var(--accent); }
.brand:hover { color: #fff; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  display: inline-block;
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #fff;
  text-transform: uppercase;
  border-radius: 6px;
  transition: color .3s ease, background .3s ease;
}
.nav a:hover { color: var(--accent); background: rgba(255,255,255,0.04); }

.lang-toggle {
  margin-left: 12px;
  display: inline-flex;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  overflow: hidden;
  background: transparent;
}
.lang-toggle button {
  appearance: none; border: 0; background: transparent;
  padding: 6px 12px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.75);
  cursor: pointer;
  transition: all .3s ease;
}
.lang-toggle button.is-active {
  background: var(--accent);
  color: var(--text-dark);
}

.menu-toggle {
  display: none;
  appearance: none;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  width: 40px; height: 40px;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  width: 18px; height: 2px; background: #fff;
}
.menu-toggle span { top: 50%; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

/* ---------- Hero (image background + translucent overlay) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background-color: var(--primary);
  background-image:
    linear-gradient(90deg, rgba(1,79,103,0.55) 0%, rgba(1,79,103,0.25) 55%, rgba(1,79,103,0.05) 100%),
    url("../images/hero-background.jpg");
  background-size: cover;
  background-position: center;
  padding: 130px 0 110px;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 100% 100%, rgba(0,128,128,0.18) 0%, transparent 55%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 560px) 1fr;
  gap: 32px;
  align-items: center;
}

.hero-copy {
  background: rgba(1, 79, 103, 0.55);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}
.hero-visual { display: none; }

.hero-logo {
  display: block;
  width: 260px;
  max-width: 60%;
  margin: 0 0 28px;
  filter: drop-shadow(0 6px 24px rgba(0,0,0,0.18));
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  color: #fff;
}

.hero .lead {
  font-weight: 300;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-on-dark);
  max-width: 540px;
  margin: 0 0 32px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--text-dark);
  border: 0;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: all .3s ease;
  box-shadow: 0 6px 20px rgba(254,176,152,0.25);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(254,176,152,0.35);
}
.btn-primary::after { content: "→"; transition: transform .3s ease; }
.btn-primary:hover::after { transform: translateX(3px); }

.hero-visual {
  display: flex;
  justify-content: center;
}

/* ---------- Section primitives ---------- */
section { padding: 96px 0; }

.eyebrow {
  display: block;
  text-align: center;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.005em;
  text-align: center;
  margin: 0 0 18px;
  color: var(--primary);
}

.section-rule {
  width: 64px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 0 auto 40px;
}

.bg-white { background: var(--white); }
.bg-cream { background: var(--cream); }

/* ---------- Wat we doen ---------- */
.what-we-do .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.what-we-do .copy h2 { text-align: left; margin-bottom: 14px; }
.what-we-do .copy .section-rule { margin: 0 0 26px; }
.what-we-do .copy .eyebrow { text-align: left; }
.what-we-do .copy p {
  color: var(--text-light);
  font-size: 17px;
  line-height: 1.75;
  margin: 0 0 18px;
}

/* ---------- Expertise grid ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card .num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 28px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 14px;
}

.card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  color: var(--primary);
  margin: 0 0 12px;
}

.card p {
  margin: 0;
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- Vision ---------- */
.vision {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--teal) 100%);
}
.vision::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(254,176,152,0.12) 0%, transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(0,128,128,0.18) 0%, transparent 55%);
  pointer-events: none;
}
.vision .container { position: relative; }
.vision .eyebrow { color: var(--accent); }
.vision .section-title { color: #fff; }
.vision .section-rule { background: var(--accent); }

.vision-intro {
  max-width: 820px;
  margin: 0 auto 56px;
  text-align: center;
  color: var(--text-on-dark);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.75;
}
.vision-intro p + p { margin-top: 16px; }

.values-title {
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 24px;
  color: #fff;
  margin: 0 0 28px;
}

.values {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.value {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-card);
  padding: 24px 22px;
  transition: transform .3s ease, background .3s ease;
}
.value:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.10);
}
.value h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin: 0 0 10px;
}
.value p {
  margin: 0;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-on-dark);
}

/* ---------- Contact ---------- */
.contact .container {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: start;
}

.contact-info .eyebrow { text-align: left; }
.contact-info h2 { text-align: left; margin: 0 0 14px; }
.contact-info .section-rule { margin: 0 0 24px; }
.contact-info p {
  color: var(--text-light);
  font-size: 17px;
  margin: 0 0 18px;
}
.contact-info .info-list {
  list-style: none;
  padding: 0; margin: 0;
}
.contact-info .info-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
}
.contact-info .info-list li:last-child { border-bottom: 0; }
.contact-info .info-list .label {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--teal);
  min-width: 80px;
}
.contact-info .info-list a { color: var(--primary); font-weight: 600; }
.contact-info .info-list a:hover { color: var(--teal); }

form.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
form.contact-form .field { display: flex; flex-direction: column; gap: 6px; }
form.contact-form .field.full { grid-column: 1 / -1; }
form.contact-form label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}
form.contact-form input,
form.contact-form textarea {
  appearance: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 12px 14px;
  font: inherit; font-size: 15px;
  color: var(--text-dark);
  background: var(--cream);
  transition: all .3s ease;
}
form.contact-form input:focus,
form.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(1,79,103,0.12);
}
form.contact-form textarea { min-height: 130px; resize: vertical; }
form.contact-form button {
  grid-column: 1 / -1;
  justify-self: start;
}
.form-status {
  grid-column: 1 / -1;
  font-size: 14px;
  color: var(--teal);
  min-height: 18px;
}

/* ---------- Image placeholders ---------- */
.placeholder {
  position: relative;
  width: 100%;
  border-radius: var(--radius-card);
  background:
    repeating-linear-gradient(135deg,
      rgba(1,79,103,0.05) 0 12px,
      rgba(1,79,103,0.10) 12px 24px),
    var(--cream);
  border: 1px dashed rgba(1,79,103,0.35);
  display: grid; place-items: center;
  color: var(--primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 18px;
}
.placeholder.aspect-3-2 { aspect-ratio: 3 / 2; }
.placeholder.aspect-4-3 { aspect-ratio: 4 / 3; }
.placeholder small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--teal);
  margin-top: 6px;
}

/* hero placeholder variant on dark bg */
.hero .placeholder {
  background:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,0.06) 0 12px,
      rgba(255,255,255,0.12) 12px 24px),
    rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.35);
  color: var(--text-on-dark);
}
.hero .placeholder small { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary);
  color: var(--text-on-dark);
  padding: 56px 0 28px;
}
.site-footer .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.site-footer .footer-brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 32px;
  color: #fff;
  margin: 0 0 12px;
}
.site-footer .footer-brand .dot { color: var(--accent); }
.site-footer .footer-tagline {
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  margin: 0;
}
.site-footer h5 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; font-size: 14px; }
.site-footer a { color: var(--text-on-dark); }
.site-footer a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  letter-spacing: 0.06em;
}
.footer-bottom .back-to-top {
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--accent);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { padding: 96px 0 80px; min-height: 480px; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-copy { padding: 32px 28px; }
  .what-we-do .container,
  .contact .container { grid-template-columns: 1fr; gap: 36px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .site-footer .container { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  section { padding: 72px 0; }
}
@media (max-width: 640px) {
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav { display: none; }
  .nav.is-open {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--primary);
    padding: 8px 16px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav.is-open a { padding: 12px 8px; }
  .lang-toggle { margin: 8px 0 0; align-self: flex-start; }
  .grid-3 { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  form.contact-form { grid-template-columns: 1fr; padding: 24px; }
}
