* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background: #f0f0f0;
  color: #222;
}

/* HEADER */
.header {
  background: #3b4a9e;
  color: white;
  text-align: center;
  padding: 18px 20px 10px;
}

.header h1 {
  font-size: 1.8rem;
}

.header p {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-top: 4px;
}

/* MAIN */
main {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
}

/* SECTIONS */
section {
  min-height: 100vh;
  padding: 80px 20px;
}

#home {
  background: #f4f6f8;
}

#over {
  background: #e5e7eb;
}

#contact {
  background: #d1d5db;
}

h2 {
  font-size: 1.2rem;
  margin-bottom: 16px;
}

/* HOME SECTION */
.content {
  position: relative;
}

/* PAGE: grote Flexbox-container met 3 kolommen */
.page {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

/* MIDDENKOLOM */
.content-container {
  flex-grow: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* CARD CONTAINER */
.card-container {
  display: flex;
  justify-content: space-around;
  width: 100%;
  gap: 16px;
  flex-wrap: nowrap;
}

/* IMAGE PLACEHOLDER */
.img-placeholder {
  background: #dde2f0;
  border: 2px dashed #89c;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #667aaa;
  font-size: 0.75rem;
  gap: 6px;
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
}

.img-placeholder:hover {
  background: #c8d0e8;
}

.img-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CARDS */
.card {
  background: white;
  width: 0;
  flex: 1 1 0;
  min-width: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

.card .img-placeholder {
  width: 100%;
  height: 140px;
}

.card h3 {
  margin-bottom: 6px;
}

.card p {
  font-size: 0.78rem;
  color: #555;
}

.card-body {
  padding: 12px;
  flex: 1;
}

.card-body p {
  margin: 10px 0;
}

.btn-leesmeer {
  display: inline-block;
  margin: 10px 12px 12px;
  padding: 9px 14px;
  background: #4f46e5;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn-leesmeer:hover {
  background: #4338ca;
  transform: scale(1.05);
}

/* RECLAMEBLOKKEN */
.reclame {
  background-color: #000563;
  color: white;
  border-radius: 5px;
  padding: 15px;
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: 160px;
}

.reclame h2,
.reclame h3,
.reclame p {
  margin-bottom: 12px;
}

.reclame-afbeelding {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 12px;
}

/* GERICHTE BUTTON CSS - geen algemene button selector */
.reclame button,
form button:not(.btn) {
  background: #4f46e5;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.reclame button:hover,
form button:not(.btn):hover {
  background: #4338ca;
}

/* DETAIL SECTIONS */
.detail-section {
  background: white;
  border-bottom: 1px solid #e5e7eb;
}

.detail-box {
  max-width: 800px;
  background: #f9fafb;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.detail-box p {
  line-height: 1.7;
  margin-bottom: 12px;
}

.back-link {
  display: inline-block;
  margin-top: 15px;
  color: #4f46e5;
  text-decoration: none;
  font-weight: bold;
}

.back-link:hover {
  text-decoration: underline;
}

/* CONTACT FORM - oude CSS aangepast met :not() zodat Bootstrap niet wordt overschreven */
.form-group {
  margin-bottom: 15px;
}

input:not(.form-control):not(.form-check-input),
textarea:not(.form-control) {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-top: 5px;
}

/* HELP BUTTON */
.help-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #444;
  color: white;
  font-size: 1rem;
  border: none;
  cursor: pointer;
}

/* MEDIA QUERY */
@media (width <= 900px) {
  .page {
    flex-direction: column;
  }

  .reclame,
  .content-container {
    width: 100%;
  }

  .card-container {
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 200px;
  }
}

/* Bootstrap footer uitbreiding */

.footer {
  min-height: auto;
}

.footer h2 {
  margin-bottom: 12px;
}

.footer-link {
  color: #d1d5db;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 8px;
}

.footer-link:hover {
  color: white;
  text-decoration: underline;
}

/* Bootstrap contactformulier uitbreiding */

.contact-section {
  min-height: auto;
}

.contact-card {
  border-top: 6px solid #4f46e5;
}

.contact-card .form-label,
.contact-card .form-check-label {
  font-weight: 600;
}

.contact-card .form-control:focus,
.contact-card .form-select:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 0.25rem rgba(79, 70, 229, 0.2);
}

.contact-card .btn-primary {
  background-color: #4f46e5;
  border-color: #4f46e5;
}

.contact-card .btn-primary:hover {
  background-color: #4338ca;
  border-color: #4338ca;
}
/* PHP contactresultaat */

.contact-result-section {
  background: #d1d5db;
  min-height: 100vh;
}

.contact-result-list {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.contact-result-list dt {
  font-weight: 700;
}

.contact-result-list dd {
  margin: 0;
  padding: 12px;
  background: #f9fafb;
  border-radius: 8px;
}
/* VIDEO UITLEGVIDEO */

.uitleg-video {
  max-width: 800px;
  margin-top: 30px;
}

.uitleg-video video {
  display: block;
  border-radius: 12px;
  background: #000;
}