:root {
  --primary: #1f1f1f;       /* donkergrijs/zwart */
  --secondary: #014B8C;     /* staalrood */
  --accent: #377CC1;        /* vlamkleur */
  --bg: #f4f4f4;            /* lichte achtergrond */
  --card-bg: #ffffff;
  --muted: #777;
}

html {
  scroll-behavior: smooth;
}


body {
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--primary);
  margin: 0;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

header {
  background: var(--primary);
  color: #fff;
}

header .brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  background: var(--secondary);
  padding: 15px;
  border-radius: 8px;
}

header h1 {
  margin-bottom: 5px;
}

header .lead {
  color: #ddd;
}

/* Header navigation - gecentreerde knoppen */
header .container nav{
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
  align-items: center;
}

header .container nav a{
  color: #fff;
  text-decoration: none;
  margin: 0;
  padding: 8px 14px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
  font-weight: 700;
  transition: background 0.18s ease, transform 0.12s ease, box-shadow 0.12s ease;
}

header .container nav a:hover,
header .container nav a:focus{
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
  outline: none;
}

/* Actieve knop stijl (duidelijk zichtbaar) */
header .container nav a.active{
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(192,57,43,0.18);
  transform: translateY(-2px);
}

@media(max-width:520px){
  header .container nav a{ padding: 8px 10px; font-size: 0.95rem; }
}

.grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.card {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.card h2 {
  color: var(--secondary);
  margin-bottom: 15px;
}

.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.service {
  background: #f9f9f9;
  padding: 10px;
  border-left: 4px solid var(--secondary);
  border-radius: 4px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.btn {
  display: inline-block;
  background: var(--secondary);
  color: #fff;
  padding: 10px 15px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background: var(--accent);
}

.phone {
  margin-top: 8px;
  font-size: 14px;
}

.muted {
  color: var(--muted);
  font-size: 14px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.portfolio-item {
  background: #eee;
  height: 100px;
  border-radius: 8px;
}

footer {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
}

footer p {
  margin: 4px 0;
  font-size: 0.9rem;
  color: #fff;
}
footer .small {
  color: #ccc;
  font-size: 0.8rem;
}


.small {
  margin-top: 6px;
  font-size: 13px;
}

iframe {
  border: none;
  border-radius: 8px;
}

@media(max-width:900px){
  .grid {
    grid-template-columns: 1fr;
  }
  .services {
    grid-template-columns: 1fr;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

/* Tabs / gallery styles */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px 0;
}

/* Filter buttons used on fotos.html */
.filter-btn{
  background: #f3f3f3;
  color: var(--primary);
  border: 1px solid #e0e0e0;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.18s ease, color 0.18s ease, transform 0.12s ease;
}
.filter-btn:hover{
  background: #e9e9e9;
}
.filter-btn.active{
  background: var(--secondary);
  color: #fff;
  border-color: rgba(0,0,0,0.18);
  box-shadow: 0 6px 18px rgba(192,57,43,0.18);
  transform: translateY(-2px);
}

.tab {
  background: #444;
  color: #fff;
  border: none;
  padding: 10px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.9rem;
}

.tab.active {
  background: var(--secondary);
}

.tab:focus {
  outline: 3px solid rgba(243,156,18,0.25);
}

.tab-panels {
  margin-top: 6px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gallery-grid img.thumb {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  display: block;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.gallery-grid img.thumb:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

@media(max-width:900px){
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid img.thumb {
    height: 120px;
  }
}

@media(max-width:480px){
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .tabs {
    gap: 6px;
  }
  .tab { font-size: 0.8rem; padding: 8px 10px; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: rgba(0,0,0,0.75);
  z-index: 2000;
  padding: 20px;
}
.lightbox[aria-hidden="false"] { display: flex; }
.lightbox-img {
  max-width: calc(100vw - 120px);
  max-height: calc(100vh - 140px);
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}
.lightbox-close {
  position: absolute;
  right: 18px;
  top: 18px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}
.lightbox-caption {
  display: none !important; /* hide captions visually while keeping alt attributes in the HTML for accessibility */
}

/* Lightbox arrows & counter */
.lightbox-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  padding: 12px 14px;
  font-size: 2rem;
  border-radius: 6px;
  cursor: pointer;
  z-index: 2010;
}
.lightbox-prev{ left: 18px; }
.lightbox-next{ right: 18px; }
.lightbox-arrow:hover{ background: rgba(0,0,0,0.6); }

.lightbox-meta{
  margin-top: 12px;
  color: #fff;
  display: flex;
  gap: 12px;
  align-items: center;
}
.lightbox-counter{
  background: rgba(0,0,0,0.4);
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 600;
}

@media(max-width:600px){
  .lightbox-arrow{ padding: 8px 10px; font-size:1.6rem; }
  .lightbox-img{ max-height:70vh; max-width: calc(100vw - 40px); }
}

/* Extra rule for very large screens */
@media(min-width:1400px){
  .lightbox-img{
    max-width: 1200px;
    max-height: calc(100vh - 160px);
  }
}

/* Selection page styles */
.select-thumb-wrapper{
  position: relative;
}
.thumb.selectable{
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}
.thumb.selectable:hover{ transform: translateY(-4px) scale(1.02); }
.thumb.selectable.selected{
  outline: 4px solid rgba(31,31,31,0.12);
  transform: scale(0.98);
  opacity: 0.95;
}
.select-badge{
  position: absolute;
  right: 8px;
  top: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.12s ease, transform 0.12s ease;
}
.thumb.selectable.selected + .select-badge{
  opacity: 1;
  transform: scale(1);
}
.select-badge::after{ content: '\2713'; }


.banner {
  max-width: 1200px;  /* limiet op grote schermen */
  margin: 0 auto;      /* center op grote schermen */
  padding: 0 20px;     /* optionele padding */
}

.banner img {
  width: 100%;
  display: block;
  object-fit: cover;
  height: auto;
}

/* Op kleinere schermen banner full width */
@media (max-width: 900px) {
  .banner {
    max-width: 100%;
    padding: 0;       /* geen extra ruimte aan de zijkanten */
    
  }
}

.contact-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.contact-form button {
  background: var(--secondary);
  color: #fff;
  padding: 12px 22px;
  border-radius: 6px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: var(--accent);
}

.contact-info .card {
  padding: 20px;
  border-radius: 8px;
  background: var(--card-bg);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}

/* Back to top knop */
.back-to-top{
  position: fixed;
  right: 18px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 2200;
}
.back-to-top.show{
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:focus{ outline: 3px solid rgba(243,156,18,0.25); }
