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

body {
  font-family: Arial, sans-serif;
  background: #f4f6f8;
}

.header {
  background: #4f46e5;
  color: white;
  padding: 20px;
  text-align: center;
}

.header p {
  margin-top: 8px;
}

section {
  padding: 60px 20px;
  min-height: 100vh;
}

#home {
  background: #f4f6f8;
}

#over {
  background: #e5e7eb;
}

#contact {
  background: #d1d5db;
}

.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);
}

h2 {
  margin-bottom: 20px;
}

.content {
  position: relative;
}

.page {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

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

.card-container {
  display: flex;
  justify-content: space-around;
  width: 100%;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  background: white;
  width: 260px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 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 {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-body {
  padding: 15px;
}

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

.btn-leesmeer {
  display: inline-block;
  margin-top: 10px;
  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);
}

.reclame {
  background-color: #000563;
  color: white;
  border-radius: 5px;
  padding: 15px;
  flex-grow: 1;
  flex-basis: 220px;
  margin: 0 1%;
}

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

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

.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;
}

.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;
}

.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;
}

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

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

/* 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;
}


.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;
}
.uitleg-video {
  max-width: 800px;
  margin-top: 30px;
}

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