
/* Top navigatie */
.topnav {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
}

.topnav .logo {
  font-weight: bold;
  font-size: 1.2rem;
  color: #333;
}

.menu-toggle {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  display: none;
}

.topnav .dropdown {
  position: relative;
  display: inline-block;
}

.topnav .dropdown > a {
  display: inline-block;
  padding: 10px;
  text-decoration: none;
}

.topnav .submenu {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
  z-index: 1;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.topnav .submenu a {
  display: block;
  padding: 10px;
  color: #333;
  text-decoration: none;
}

.topnav .submenu a:hover {
  background-color: #f1f1f1;
}

.topnav .dropdown:hover .submenu {
  display: block;
}



.menu-link:hover .menu-icon {
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}









.menu-link {
  padding: 10px 0;
}


.menu-link, .menu-links a {
  display: flex;
  align-items: center;
  padding: 6px 0;
  color: #333;
  text-decoration: none;
  font-weight: bold;
}

.menu-link:hover, .menu-links a:hover {
  background-color: #ff6600;
  color: white;
  border-radius: 6px;
}


.menu-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
}

.menu-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-links a.logout {
  background: #f44336;
  color: white;
  border-radius: 6px;
}

.menu-links a.logout:hover {
  background: #d32f2f;
}

/* Mobiele weergave */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .menu-links {
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: white;
    padding: 10px 20px;
    display: none;
  }

  .menu-links.active {
    display: flex;
  }

  .card {
    padding: 20px;
  }

  .card h2 {
    font-size: 1.3rem;
  }

  .card p {
    font-size: 0.95rem;
  }
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #f4f6f8;
  color: #333;
}

/* Header met overlay */
header {
  position: relative;
  width: 100%;
  height: 300px;
  background: url('https://lamconnect.nl/images/risco-elegant-header1.jpg') center center / cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  z-index: 1;
}

header img {
  max-height: 100%;
  width: 100%;
  z-index: 2;
  position: relative;
}

header p {
  font-size: 1.2rem;
  margin-top: 10px;
  color: #666;
}

.main-image {
  text-align: center;
  margin: 40px auto;
}

.main-image img {
  max-width: 90%;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* Cards */


.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 20px;
  margin: 20px auto;
  max-width: 800px;
  text-align: center;
  font-size: 18px;
}

.card img {
  width: 100%;         /* afbeelding vult de kaart */
  height: auto;        /* behoudt verhouding */
  display: block;
  margin: 0 auto 20px;
  border-radius: 10px;
  max-height: 90vh;    /* zorgt dat hij op mobiel niet het hele scherm overneemt */
  object-fit: contain;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}


.card h2 {
  margin: 10px 0;
  font-size: 1.5rem;
  color: #f0501a;
}

.card p {
  font-size: 1rem;
  color: #666;
  line-height: 1.5;
}

.card a {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: #ff6600;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

.card.card-whatsapp {
  max-width: 480px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

/* Footer */
footer {
  position: relative;
  width: 100%;
  margin-top: 40px;
  border-top: 1px solid #ddd;
  overflow: hidden;
  background: none;
  text-align: center;
  color: #333;
  font-size: 1rem;
}

.footer-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3; /* maak afbeelding lichter */
}

.footer-inner {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}






footer * {
  position: relative;
  z-index: 2;
}

footer a {
  color: #222; /* bijna zwart, hoge leesbaarheid */
  font-weight: 600;
  text-decoration: underline;
}



footer a:hover {
  text-decoration: underline;
}



.footer-inner a:hover {
  text-decoration: underline;
}

/* Footer reviews */
.footer-reviews {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.footer-reviews h3 {
  color: #f0501a;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.footer-reviews .review-item {
  background-color: #fff;
  padding: 10px 20px;
  margin: 10px auto;
  border-radius: 6px;
  max-width: 600px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  text-align: left;
  color: #000;
}

.footer-reviews .review-item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-reviews .review-link {
  display: inline-block;
  margin-top: 10px;
  color: #f0501a;
  font-weight: bold;
  text-decoration: none;
}

.footer-reviews .review-link:hover {
  text-decoration: underline;
}






/* WhatsApp lijst */
.nummer-lijst {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nummer-item {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 6px 10px;
  margin-bottom: 6px;
}

.nummer-tekst {
  flex-grow: 1;
  font-size: 14px;
  color: #333;
}

.verwijder-knop {
  background: none;
  border: none;
  color: #999;
  font-size: 14px;
  padding: 2px 4px;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
  border-radius: 0;
  line-height: 1;
  display: inline-block;
}

.verwijder-knop:hover {
  color: #e65100;
}

.tijdlijn-horizontaal {
  padding: 2em 1em;
  text-align: center;
  background: #fff;
  max-width: 100%;
  overflow-x: auto;
}

.timeline-horizontal {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 2em;
  padding: 1em 0;
}

.event {
  flex: 0 0 auto;
  width: 180px;
  background: #f3f3f3;
  border-top: 4px solid #ff8000;
  border-radius: 8px;
  padding: 1em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.jaar {
  font-weight: bold;
  color: #ff8000;
  font-size: 1.2em;
  margin-bottom: 0.5em;
}

.beschrijving {
  font-size: 0.95em;
  color: #333;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
}

.logo img {
  height: 40px;
  display: block;
}

.partner-logo {
  height: 30px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.partner-logo:hover {
  opacity: 1;
}

.main-logo {
  height: 40px;
}


.form-row {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.form-row label {
  width: 160px; /* labelbreedte */
  font-weight: bold;
}

.form-row input,
.form-row select,
.form-row textarea {
  flex: 1;
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
}


.container img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}



.error-container {
  text-align: center;
  padding: 40px 20px;
  max-width: 800px;
  margin: 0 auto;
  font-family: 'Inter', sans-serif;
}

.error-container img {
  width: 80vw;           /* neemt 80% van schermbreedte */
  max-width: 400px;      /* maar nooit groter dan 400px */
  height: auto;
  margin-bottom: 20px;
  display: inline-block;
}


.error-container a {
  color: #0077cc;
  text-decoration: underline;
}
/* ====== MENU LAYOUT ====== */
nav.topnav { position: relative; }
#menuLinks { display: flex; gap: 14px; }

/* Submenu basis */
.dropdown { position: relative; }
.dropdown .submenu { display: none; }

/* Desktop: hover toont submenu */
@media (min-width: 768px) {
  #menuLinks { display: flex; }
  .dropdown .submenu {
    position: absolute;
    top: 100%; left: 0;
    min-width: 220px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    border-radius: 10px;
    padding: 8px 0;
    z-index: 1000;
  }
  .dropdown:hover > .submenu { display: block; }
}

/* Mobiel: menu inklapbaar + klikken om submenu te openen */
@media (max-width: 767px) {
  #menuLinks { display: none; flex-direction: column; }
  #menuLinks.open { display: block; }

  .dropdown .submenu { display: none; padding-left: 10px; }
  .dropdown.open > .submenu { display: block; }
}
