/* ============================================
   DSV Duivenhokken — Stylesheet
   Kleurpalet: Leisteen · Koper · Gebroken wit
   ============================================ */

:root {
  --slate:       #2B3A4A;
  --slate-dark:  #1e2c39;
  --slate-light: #3a4f62;
  --off-white:   #F0EDE8;
  --copper:      #A0653A;
  --wood:        #3E2E20;
  --gray:        #D9D2C5;
  --gray-light:  #e8e3dc;
  --text:        #2B3A4A;
  --text-light:  #5a6e7f;

  --font-serif:  Georgia, 'Times New Roman', serif;
  --font-sans:   'Jost', 'Segoe UI', Arial, sans-serif;

  --max-width:   1100px;
  --section-pad: 96px 24px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text);
  background: var(--off-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== NAVIGATIE ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}
.nav.scrolled {
  background: var(--slate);
  padding: 14px 40px;
  box-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.nav-logo svg { display: block; }
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240,237,232,0.75);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--copper); }
.nav-cta {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--off-white);
  border: 0.75px solid var(--copper);
  padding: 8px 20px;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--copper); color: #fff; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: var(--slate);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Achtergrondvideo */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.55;
}

/* Donkere overlay + subtiel rasterpatroon boven de video */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: rgba(27, 38, 50, 0.84);
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 80px,
      rgba(255,255,255,0.015) 80px,
      rgba(255,255,255,0.015) 81px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 80px,
      rgba(255,255,255,0.015) 80px,
      rgba(255,255,255,0.015) 81px
    );
  pointer-events: none;
}

/* Heroinhoud boven overlay */
.hero-logo,
.hero-tagline,
.hero h1,
.hero-sub,
.hero-cta {
  position: relative;
  z-index: 2;
}
.hero-logo {
  margin-bottom: 52px;
  opacity: 0.95;
}
.hero-tagline {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 400;
  font-style: italic;
  color: var(--off-white);
  line-height: 1.2;
  max-width: 820px;
  margin: 0 auto 28px;
}
.hero-sub {
  font-size: 17px;
  font-weight: 300;
  color: rgba(240,237,232,0.6);
  max-width: 520px;
  margin: 0 auto 48px;
  line-height: 1.8;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--off-white);
  border: 0.75px solid rgba(240,237,232,0.4);
  padding: 14px 32px;
  transition: border-color 0.2s, color 0.2s;
}
.hero-cta:hover { border-color: var(--copper); color: var(--copper); }
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(240,237,232,0.3);
  z-index: 2;
}
.hero-scroll span { width: 1px; height: 40px; background: var(--copper); opacity: 0.5; }

/* ===== KERNWAARDEN STRIP ===== */
.kern {
  background: var(--slate-dark);
  padding: 56px 40px;
}
.kern-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
}
.kern-item {
  background: var(--slate-dark);
  padding: 40px 36px;
  text-align: center;
}
.kern-nr {
  font-family: var(--font-serif);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--copper);
  margin-bottom: 16px;
  display: block;
}
.kern-item h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--off-white);
  margin-bottom: 12px;
}
.kern-item p {
  font-size: 15px;
  color: rgba(240,237,232,0.5);
  line-height: 1.75;
}

/* ===== SECTIES ALGEMEEN ===== */
section { padding: var(--section-pad); }
.container {
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 16px;
  display: block;
}
.section-line {
  width: 40px;
  height: 1px;
  background: var(--copper);
  margin-bottom: 32px;
}

/* ===== HET VERHAAL ===== */
.verhaal { background: var(--off-white); }
.verhaal-grid {
  display: grid;
  grid-template-columns: 320px 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* ===== VERHAAL PORTRET ===== */
.verhaal-portret {
  margin: 0;
}
.verhaal-portret-frame {
  position: relative;
}
.verhaal-portret-frame::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: 10px;
  bottom: -10px;
  border: 1px solid rgba(160,101,58,0.35);
  pointer-events: none;
  z-index: 0;
}
.verhaal-portret-frame img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(15%);
  position: relative;
  z-index: 1;
}
.verhaal-portret figcaption {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--slate);
  letter-spacing: 0.02em;
}
.verhaal-portret figcaption span {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
}
.verhaal-tekst h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.25;
  margin-bottom: 28px;
  color: var(--slate);
}
.verhaal-tekst p {
  font-size: 17px;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.85;
}
.verhaal-quote {
  margin-top: 40px;
  padding: 28px 32px;
  border-left: 2px solid var(--copper);
  background: var(--gray-light);
}
.verhaal-quote p {
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
  color: var(--slate);
  margin: 0;
  line-height: 1.6;
}
.verhaal-tijdlijn {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.tijdlijn-item {
  display: flex;
  gap: 24px;
  padding-bottom: 40px;
  position: relative;
}
.tijdlijn-item:last-child { padding-bottom: 0; }
.tijdlijn-item::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: 0;
  width: 1px;
  background: var(--gray);
}
.tijdlijn-item:last-child::before { display: none; }
.tijdlijn-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--copper);
  background: var(--off-white);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  position: relative;
  z-index: 1;
}
.tijdlijn-dot span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--copper);
  display: block;
}
.tijdlijn-content h4 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--slate);
  margin-bottom: 6px;
}
.tijdlijn-content p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
}
.tijdlijn-jaar {
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--copper);
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

/* ===== HOKKEN / PRODUCTEN ===== */
.hokken { background: var(--gray-light); padding: var(--section-pad); }
.hokken-intro {
  max-width: 600px;
  margin-bottom: 64px;
}
.hokken-intro h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 400;
  font-style: italic;
  color: var(--slate);
  margin-bottom: 16px;
  line-height: 1.3;
}
.hokken-intro p {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.85;
}
.hokken-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.hokken-grid .hok-card:last-child {
  padding: 40px;
}
.hok-card {
  background: var(--off-white);
  padding: 40px 32px;
  position: relative;
  transition: background 0.2s;
}
.hok-card:hover { background: #fff; }
.hok-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px;
  height: 0;
  background: var(--copper);
  transition: height 0.3s ease;
}
.hok-card:hover::before { height: 100%; }
.hok-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
}
.hok-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--slate);
  margin-bottom: 12px;
}
.hok-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}
.hok-detail {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper);
}

/* ===== NICO ADVISEUR ===== */
/* ===== FAQ ===== */
.faq { background: var(--off-white); }
.faq-header { max-width: 600px; margin-bottom: 56px; }
.faq-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  font-style: italic;
  color: var(--slate);
  line-height: 1.3;
}
.faq-lijst { max-width: 800px; }
.faq-item {
  border-bottom: 1px solid var(--gray);
}
.faq-item:first-child { border-top: 1px solid var(--gray); }
.faq-vraag {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: none;
  border: none;
  padding: 22px 0;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  color: var(--slate);
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}
.faq-vraag:hover { color: var(--copper); }
.faq-icoon {
  flex-shrink: 0;
  color: var(--copper);
  transition: transform 0.3s ease;
}
.faq-item.open .faq-icoon { transform: rotate(45deg); }
.faq-antwoord {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq-item.open .faq-antwoord { grid-template-rows: 1fr; }
.faq-antwoord > p {
  overflow: hidden;
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.85;
  padding-bottom: 22px;
}

/* ===== PORTFOLIO ===== */
.portfolio { background: var(--off-white); }
.portfolio-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}
.portfolio-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  font-style: italic;
  color: var(--slate);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.portfolio-item {
  aspect-ratio: 4/3;
  background: var(--gray);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.portfolio-item { background: var(--slate); }
.portfolio-item::after {
  content: attr(data-label);
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px 20px 18px;
  background: linear-gradient(transparent, rgba(27,40,53,0.85));
  font-size: 12px;
  color: rgba(240,237,232,0.85);
  letter-spacing: 0.05em;
  opacity: 0;
  transition: opacity 0.3s;
}
.portfolio-item:hover::after { opacity: 1; }
.portfolio-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.04) contrast(1.06) saturate(1.08);
  transition: transform 0.4s ease, filter 0.4s ease;
}
.portfolio-item:hover img {
  transform: scale(1.04);
  filter: brightness(1.08) contrast(1.06) saturate(1.12);
}

/* ===== CONTACT ===== */
.contact { background: var(--gray-light); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contact-info h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  font-style: italic;
  color: var(--slate);
  margin-bottom: 24px;
  line-height: 1.3;
}
.contact-info p {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 40px;
}
.contact-gegevens {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-gegeven {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-gegeven-label {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
  min-width: 72px;
  padding-top: 2px;
}
.contact-gegeven-value {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.6;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--off-white);
  border: 1px solid var(--gray);
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
  appearance: none;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--copper);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-submit {
  background: var(--slate);
  color: var(--off-white);
  border: none;
  padding: 16px 36px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-submit:hover { background: var(--copper); }

/* ===== FOOTER ===== */
.footer {
  background: var(--slate-dark);
  padding: 48px 40px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-copy {
  font-size: 11px;
  color: rgba(240,237,232,0.3);
  letter-spacing: 0.05em;
}
.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.footer-links a {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240,237,232,0.3);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--copper); }
.footer-pp {
  font-size: 11px;
  color: rgba(240,237,232,0.25);
  text-align: right;
  line-height: 1.7;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  :root { --section-pad: 64px 24px; }

  .nav { padding: 16px 24px; }
  .nav.scrolled { padding: 12px 24px; }
  .nav-links { display: none; }

  .verhaal-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .verhaal-foto { grid-column: 1 / -1; max-width: 280px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  .kern-inner { grid-template-columns: 1fr; }
  .hokken-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }

  .portfolio-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-pp { text-align: left; }
}

@media (max-width: 580px) {
  .hokken-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .verhaal-grid { grid-template-columns: 1fr; }
  .verhaal-foto { max-width: 100%; }
  .hero h1 { font-size: 32px; }
  /* Video uitschakelen op mobiel — foto als vaste achtergrond */
  .hero-video { display: none; }
  .hero { background: var(--slate) url('Pigeon_Animation_Video_A_pigeon_in_mid-flight_with_its_wings_JbZyIPtO.png') center/cover no-repeat; }
}

/* Op langzame verbindingen of als gebruiker beweging uitzet */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}
