/* Reno-Vlero Header Styles */
:root {
  --brand-blue: #0a2c63;
}

* { box-sizing: border-box; }
html {
  min-height: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--brand-blue);
  background: #ffffff;
  background-attachment: fixed;
}

.site-header {
  max-width: 1200px;
  margin: 20px auto 40px;
  padding: 0 16px;
  text-align: center;
}

.top-row {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

.brand-wrap { display: block; text-align: center; }
.site-logo {
  display: block;
  width: 80%;
  max-width: 960px;
  height: auto;
  margin: 0 auto;
}
@media (max-width: 480px) {
  .site-logo { width: 95vw; }
}



/* Navigation */
.site-nav { margin-top: 32px; }
.nav-list { 
  list-style: none; 
  padding: 0; 
  margin: 0; 
  display: flex; 
  gap: 18px; 
  justify-content: space-between; 
  align-items: stretch;
  width: 100%;
}
.nav-list > li { flex: 1 1 0; min-width: 0; }
.nav-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 16px 24px;
  background: #ffffff;
  color: #111111;
  text-decoration: none;
  border: 1px solid #e5e7eb;
  border-radius: 12px; /* lichtjes afgerond */
  font-weight: 600;
  font-size: 18px;
  font-family: Arial, Helvetica, sans-serif;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.nav-btn:hover { 
  box-shadow: 0 8px 25px rgba(10,44,99,0.15);
  transform: translateY(-2px);
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background: #f8faff;
}
.nav-list > li:nth-child(1) .nav-btn:hover { border-color: #ff6b6b; color: #ff6b6b; }
.nav-list > li:nth-child(2) .nav-btn:hover { border-color: #1abc9c; color: #1abc9c; }
.nav-list > li:nth-child(3) .nav-btn:hover { border-color: #f5b041; color: #f5b041; }
.nav-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(42,108,230,.35), 0 6px 18px rgba(0,0,0,.12);
}
.nav-btn.active { 
  background: #d7e4f9; /* nog iets donkerder */
  color: #0a2c63; 
  border-color: #b5c6e6;
  box-shadow: 0 6px 16px rgba(10,44,99,.2);
}

@media (max-width: 720px) {
  .top-row { grid-template-columns: 1fr; }
}

/* Footer (double-border box like screenshot) */
.site-footer { margin: 16px auto 12px; padding: 0 16px; max-width: 1200px; }
.footer-wrap { padding: 4px; }
.footer-box { border: 2px solid #d8d8d8; padding: 8px 12px; background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.4fr; grid-template-rows: auto auto auto; column-gap: 24px; row-gap: 6px; align-items: end; }
.footer-grid .cell { color: #333; font-size: 16px; }
.footer-grid .cell .icon { font-size: 16px; margin-right: 6px; }
.footer-grid .cell strong { font-weight: 700; letter-spacing: 1px; }
.footer-grid .cell.phone     { grid-column: 1; grid-row: 1; }
.footer-grid .cell.btw       { grid-column: 1; grid-row: 2; }
.footer-grid .cell.rpr       { grid-column: 1; grid-row: 3; align-self: end; color: #555; font-size: 15px; }
.footer-grid .cell.nav-links { grid-column: 2; grid-row: 1 / 4; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; }
.footer-grid .cell.nav-links a {
  display: block;
  width: 100%;
  text-align: center;
  padding: 6px 14px;
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid var(--brand-blue);
  border-radius: 8px;
  background: transparent;
  transition: background .2s ease, color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.footer-grid .cell.nav-links a:hover {
  background: var(--brand-blue);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(10,44,99,0.35);
}
.footer-grid .cell.email     { grid-column: 3; grid-row: 1; text-align: right; }
.footer-grid .cell.address   { grid-column: 3; grid-row: 2; text-align: right; }
.footer-grid .cell.fortis    { grid-column: 3; grid-row: 3; align-self: end; text-align: right; font-size: 15px; color: #555; }

/* Footer social links */
.footer-social {
  position: relative;
  height: 40px;
  margin-top: 10px;
}
.social-link {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  text-decoration: none;
  color: #333;
}
.footer-social .ig { left: 50%; }
.footer-social .fb { left: 25%; }
.footer-social .google { left: 75%; }
.social-link:hover { color: var(--brand-blue); }
.social-icon {
  display: inline-block;
  width: 36px;
  height: 36px;
  object-fit: contain;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border-radius: 0;
}
.social-link:hover .social-icon { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0,0,0,0.15); }
/* Using local colored SVG assets, no background-image needed */

/* Gallery */
.gallery { max-width: 980px; margin: 20px auto; padding: 0 16px; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.gallery img { width: 100%; height: 180px; object-fit: cover; border: 2px solid var(--brand-blue); image-orientation: from-image; }

/* Extra ruimte onder de galerij-intro tekst zonder margin-collapsing */
.gallery-intro { margin: 0; padding-bottom: 20px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.85); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox .lb-content { display: flex; flex-direction: column; align-items: center; max-width: 92vw; max-height: 90vh; }
.lightbox .lb-img { max-width: 100%; max-height: 80vh; border: 4px solid #fff; box-shadow: 0 10px 30px rgba(0,0,0,.6); background:#111; image-orientation: from-image; opacity: 1; transition: opacity .45s ease, filter .45s ease; will-change: opacity, filter; display: block; }
.lightbox .lb-img.is-fading-out { opacity: .08; filter: blur(1px) saturate(.92); }
.lightbox .lb-img.is-fading-in { opacity: .08; filter: blur(1px) saturate(.95); }
.lightbox .lb-caption { display: block; width: 100%; padding: 10px 20px; background: rgba(10,10,10,0.82); color: rgba(255,255,255,0.93); font-size: 0.92rem; line-height: 1.55; font-weight: 500; text-align: center; border-radius: 0 0 4px 4px; pointer-events: none; box-sizing: border-box; }
.lightbox .lb-caption:empty { display: none; }
.lightbox .lb-counter { position: fixed; left: 0; top: 0; margin: 0; padding: 4px 10px; color: rgba(255,255,255,0.9); font-size: 12px; line-height: 1.2; font-weight: 600; letter-spacing: .02em; text-align: center; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(17,17,17,.55); box-shadow: 0 8px 20px rgba(0,0,0,.28); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); pointer-events: none; z-index: 1002; }
.lightbox .lb-close, .lightbox .lb-prev, .lightbox .lb-next {
  position: absolute; top: 20px; background: #ffffff; color: var(--brand-blue); border: none; font-weight: 800; cursor: pointer; line-height: 1; padding: 6px 12px; font-size: 22px;
}
.lightbox .lb-close { right: 20px; border-radius: 6px; }
.lightbox .lb-prev, .lightbox .lb-next { top: 50%; transform: translateY(-50%); background: #ffffffd9; font-size: 30px; border-radius: 50%; width: 56px; height: 56px; display: grid; place-items: center; box-shadow: 0 2px 10px rgba(0,0,0,.4); }
.lightbox .lb-prev { left: 20px; }
.lightbox .lb-next { right: 20px; }
.lightbox .lb-prev:hover, .lightbox .lb-next:hover { background: #fff; }
.lightbox .lb-close:focus-visible, .lightbox .lb-prev:focus-visible, .lightbox .lb-next:focus-visible { outline: 3px solid #2a6ce6; outline-offset: 2px; }

/* Home intro content */
.home-intro { max-width: 720px; margin: 0 auto 28px; text-align: center; font-size: 18px; line-height: 1.7; font-family: Arial, Helvetica, sans-serif; }
.home-intro .content { display: inline-block; text-align: left; }
.home-intro p { margin: 14px 0; }
.home-intro .bullet-list { 
  list-style: disc; 
  padding-left: 28px; 
  margin: 18px 0; 
}
.home-intro .bullet-list li { margin: 6px 0; }
.home-intro .emph { font-style: italic; margin-top: 14px; }

/* Copyright */
.footer-copyright {
  text-align: center;
  padding: 10px 0 4px;
  font-size: 13px;
  color: #888;
}
.footer-copyright a { color: var(--brand-blue); text-decoration: underline; font-weight: 600; }
.footer-copyright a:hover { color: #0b3580; }


/* Responsive tweaks for mobile */
@media (max-width: 720px) {
  /* Footer responsive fixes */
  .site-footer { margin: 12px 8px 10px; padding: 0 8px; }
  .footer-wrap { border-width: 6px; }
  .footer-grid {
    grid-template-columns: 1fr !important;
    row-gap: 10px;
  }
  .footer-grid .cell { font-size: 15px; }
  .footer-grid .cell.phone,
  .footer-grid .cell.btw,
  .footer-grid .cell.nav-links,
  .footer-grid .cell.email,
  .footer-grid .cell.address,
  .footer-grid .cell.fortis {
    grid-column: 1 !important;
    grid-row: auto !important;
    text-align: left;
    align-self: auto;
  }
  .footer-grid .cell.phone { font-size: 18px; }
  .footer-grid .cell.nav-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
  }
  .footer-grid .cell.nav-links a { width: auto; }
  .footer-social {
    position: static !important;
    height: auto !important;
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-top: 12px;
    padding: 6px 0;
  }
  .social-link {
    position: static !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
  }
  .footer-copyright { font-size: 13px; text-align: center; padding: 0 8px; }

  /* Galerijtitel responsive - fotos.php */
  .gallery-group {
    margin: 0 auto 6px !important;
  }
  .gallery-grid {
    margin-bottom: 14px !important;
  }
  .gallery-group-title {
    font-size: 1.1rem !important;
    margin: 0 0 10px !important;
    letter-spacing: 0.02em !important;
  }
  .gallery-group-title.subgroup {
    font-size: 0.9rem !important;
    padding: 6px 12px !important;
    margin: 0 0 10px !important;
  }
}
