/* ===================== Basis & Reset ===================== */
*{box-sizing:border-box}
html,body{margin:0;padding:0;height:100%}
img,video,iframe{max-width:100%;height:auto;display:block}
.container{max-width:1100px;margin:0 auto;padding:20px}

/* ===================== kleuren & variabelen ===================== */
:root{
  --bg-light: #f3f4f5;        /* lichte achtergrond (rustig grijs) */
  --card-light: #ffffff;
  --text-dark: #111111;
  --muted: #666666;
  --accent: #0062cc;
  --header-footer:#2e2f33;
  --shadow: rgba(0,0,0,0.08);
}

/* LIGHT MODE standaard */
html:not(.dark-mode) body{
  background:var(--bg-light);
  color:var(--text-dark);
  font-family: "Poppins", Inter, Arial, sans-serif;
  font-size:16px;
  line-height:1.45;
}

/* DARK MODE basis (optioneel) */
html.dark-mode body{
  background:#111;
  color:#eaeaea;
}

/* ===================== HEADER ===================== */
.main-header{
  background:var(--card-light);
  color:var(--text-dark);
  border-bottom: 3px solid var(--accent);
  box-shadow: 0 6px 18px var(--shadow);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:18px 0;
}

/* LEFT */
.header-left{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.brand-link{display:inline-block}
.logo-img{
  width: 220px;
  height:auto;
  object-fit:contain;
  background:transparent;
  border-radius:0;
  display:block;
}

/* slogan direct onder logo */
.slogan{
  margin:0;
  font-size:15px;
  color:var(--accent);
  font-weight:600;
}

/* RIGHT (desktop only) */
.header-right{ text-align:right; }
.company-name{ margin:0;font-size:20px;font-weight:700; }
.contact-line{ margin:4px 0;color:var(--muted);font-size:14px }
.contact-line a{ color:var(--accent);text-decoration:none }

/* smaller screens hide the desktop-only block */
.desktop-only{ display:block; }

/* ===================== NAVIGATIE ===================== */
.main-nav{ background:var(--accent); }
.nav-list{ list-style:none;margin:0;padding:0; display:flex; gap:8px; justify-content:center; align-items:center; }
.nav-list li a{ display:block; padding:12px 16px; color:#fff; text-decoration:none; font-weight:600; border-radius:8px;}
.nav-list li a:hover, .nav-list li a.active{ background:#004a9a; }

/* ===================== HERO / CONTENT ===================== */
.page-header{ text-align:center; padding:36px 20px; }
.page-header h1{ margin:0 0 10px 0; font-size:2rem; color:var(--text-dark) }
.page-header h2{ margin-top:10px; color:var(--muted); font-weight:500; }

.hero-img{ max-height:260px; width:100%; object-fit:cover; border-radius:10px; margin-top:14px; }

/* diensten cards grid */
.diensten-cards{ display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:18px; margin-top:18px; }
.card{ background:var(--card-light); padding:18px; border-radius:12px; box-shadow:0 6px 18px var(--shadow); }

/* links grid */
.links-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:16px; margin-top:12px; }
.link-btn{ display:block; background:var(--accent); color:white; padding:14px 16px; border-radius:10px; text-align:center; font-weight:700; text-decoration:none }

/* ===================== FOOTER ===================== */
.footer{
  margin-top:40px;
  padding:18px;
  background:var(--header-footer);
  color:white;
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  align-items:center;
  border-radius:8px;
}
.footer-left, .footer-center, .footer-right{ min-width:200px; }
.footer-right p{ margin:4px 0; font-size:14px; color:inherit; }
.footer-right a{ color:#ffd; text-decoration:underline; }

/* social icons next to each other */
.social-icons{ display:flex; gap:12px; align-items:center; margin-top:6px; }
.social-icons img{ width:28px; height:28px; object-fit:cover; display:block; border-radius:6px; }

/* small icons override if older styles set them smaller */
footer img, .footer img{ width:28px !important; height:28px !important; }

/* ===================== SCROLL BUTTON ===================== */
#scrollTopBtn{
  position:fixed;
  bottom:24px;
  right:24px;
  background:var(--accent);
  color:#fff;
  padding:12px 14px;
  border-radius:50%;
  border:none;
  font-size:20px;
  cursor:pointer;
  display:none;
  box-shadow:0 6px 18px rgba(0,0,0,0.35);
}
#scrollTopBtn:hover{ background:#0055a8; }

/* ===================== RESPONSIVE ===================== */

@media (max-width: 900px) {
  .header-inner{ flex-direction:column; align-items:center; text-align:center; gap:8px; }
  .header-left{ align-items:center; }
  .desktop-only{ display:none; } /* hide right contact block on smaller viewports */
  .nav-list{ flex-wrap:wrap; padding:8px 0; }
  .logo-img{ width: 220px; }
  .page-header{ padding:28px 12px; }
  .container{ padding:12px; }
  .footer{ text-align:center; justify-content:center; }
}

@media (max-width: 600px){
  :root{ font-size:15px; }
  .logo-img{ width: 220px; }
  .page-header h1{ font-size:1.4rem; }
  .hero-img{ max-height:180px; }
  .links-grid{ gap:12px; }
}

/* ===================== LIGHT / DARK MODE OVERRIDES (basic) ===================== */
html.dark-mode body{ background:#0f1113; color:#eaeaea; }
html.dark-mode .main-header, html.dark-mode .card, html.dark-mode .footer{ background:#18181b; color:#eaeaea }
html.dark-mode .link-btn{ background:#0b6bd6; }


/* Zorg dat de hero-afbeelding perfect schaalt op mobiel en desktop */
.hero-img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}

/* Op grotere schermen: meer hoogte, mooi breed beeld */
@media (min-width: 768px) {
  .hero-img {
    max-height: 600px;
  }
}

/* Extra groot: maximaal mooi beeld */
@media (min-width: 1200px) {
  .hero-img {
    max-height: 700px;
  }
}


@media(max-width:600px){
  .logo-img{ width:160px; }
}


/* Desktop PDF zichtbaar */
.pdf-desktop { display: block; }

/* Mobiel verborgen */
.pdf-mobile { display: none; }

@media (max-width: 768px) {
  .pdf-desktop { display: none; }
  .pdf-mobile {
    display: block;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 8px;
  }
}


.top-accessibility{position:relative;padding:8px 16px;}
.accessibility-toggle{margin-left:10px;font-size:14px;cursor:pointer;}
.accessibility-menu{position:absolute;top:100%;left:0;background:#fff;padding:12px;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.2);z-index:1000;}
.dark-mode .accessibility-menu{background:#222;color:#fff;}


/* === Conversiegerichte UI === */
.card {
  background: #ffffff;
  border-radius: 14px;
  padding: 2.5rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  margin: 3rem auto;
  max-width: 1100px;
}

.cta-btn {
  display: inline-block;
  padding: 1rem 2.2rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  margin: .5rem;
}

.cta-primary {
  background: #0d6efd;
  color: #fff;
}

.cta-secondary {
  background: #198754;
  color: #fff;
}

.cta-btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}
