body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  color: #2c3e50;
  background-color: #f7f9fa;
  overflow-y: scroll;

  /* Dwingt een verticale scrollbar af */
}

header {
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #085293;
}

/* header {
    text-align: center;
    padding: 1em;
    /* background-color: #004b8d; 
    color: white;
}  */
/* header .logo {
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0 auto 1em auto;
} */

nav {
  background: #e0e0e0;
  padding: 1rem;
  position: relative;
}

/* .menu-icon {
  display: none;
  font-size: 2.5rem;
  cursor: pointer;
  user-select: none;
  position: absolute;
  top: 0rem;
  left: 1rem;
} */



.menu-icon img {
  display: none;
  width: 3em;  /* pas aan naar wens */
  height: auto;
  cursor: pointer;

}



nav .nav-links {
  text-align: center;
}

nav .nav-links a {
  margin: 0 1rem;
  color: #085293;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
}

#menu-toggle {
  display: none;
}

/* 📱 Mobile styles */
@media (max-width: 768px) {
  .menu-icon img {
    display: block;
  }



  .nav-links {
    display: none;
    flex-direction: column;
    text-align: left;
    background: #e0e0e0;
    padding: 0em;
    margin-top: 0rem;
  }

  #menu-toggle:checked + .menu-icon + .nav-links {
    display: flex;
  }

  .nav-links a {
    margin: 0.2rem 0;
    padding: 0.4rem;
    font-size: 20px;
  }

/* nav .nav-links a {
  margin: 0 1rem;
  color: #085293;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
} */


  .home-icon {
    width: 28px;
    height: auto;
    vertical-align: bottom;
  }

.photo-grid {

  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));

}

}

nav a {
  margin: 0 1rem;
  text-decoration: none;
  font-weight: bold;
}

section {
  padding: 0.5rem 0.5rem;
  max-width: 1000px;
  margin: auto;
}

footer {
  background: #085293;
  color: white;
  text-align: center;
  padding: 1rem;
}

/* form {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

form label {
  display: block;
  margin: 0.5rem 0 0.2rem;
}

form input,
form textarea,
form select {
  width: 100%;
  padding: 0.6rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

form button {
  background-color: #0077b6;
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}

form button:hover {
  background-color: #005f87;
} */

.success-message {
  background: #d4edda;
  color: #155724;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid #c3e6cb;
  border-radius: 5px;
}

h1,
h2 {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #023e8a;
}

.apparaat-fotos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.apparaat-fotos img {
  max-width: 300px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.home-icon {
  width: 28px;
  height: auto;
  vertical-align: bottom;
}

p {
  text-align: center;
  margin-top: 0.2em;
  margin-bottom: 1em;
  line-height: 1.7em;

}

#spinner {
  display: none;
  margin-top: 1em;
  margin: 20px auto;
  width: 50px;
  height: 50px;
  border: 6px solid #f3f3f3;
  border-top: 6px solid #3498db;
  border-radius: 50%;
  animation: spin 3s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#result {
  margin-top: 1em;
  font-family: sans-serif;
}

.logo-wrapper {
  height: 60%;
  max-width: 40%; /* pas aan naar wens */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  clip-path: inset(0% 0% 0% 0%);
}

.logo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin: 0;
  padding: 0;
}

/* Container */
#contactSection {
  max-width: 600px;
  margin: 2em auto;
  background: #fff;
  padding: 2em;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  /* font-family: Arial, sans-serif; */
  color: #333;
}

/* Kop */
h2 {
  text-align: center;
  margin-bottom: 0.2em;
}

/* Labels */
#contactSection label {
  display: block;
  margin-bottom: 0.3em;
  font-weight: 600;
}

/* Inputs, selects, textarea */
#contactSection input[type="text"],
#contactSection input[type="email"],
#contactSection input[type="tel"],
#contactSection input[type="date"],
#contactSection select,
#contactSection textarea {
  width: 100%;
  padding: 0.5em 0.7em;
  margin-bottom: 1.2em;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

#contactSection textarea {
  resize: vertical;
  min-height: 80px;
}

/* Focus styling */
#contactSection input:focus,
#contactSection select:focus,
#contactSection textarea:focus {
  border-color: #007bff;
  outline: none;
}


/* Result */
#result {
  margin-top: 1em;
  font-weight: 600;
  text-align: center;
}

/* Button */
#submitBtn {
  width: 100%;
  background-color: #007bff;
  color: white;
  border: none;
  padding: 0.85em;
  font-size: 1.1em;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#submitBtn:hover,
#submitBtn:focus {
  background-color: #0056b3;
  outline: none;
}

/* Responsive (optioneel) */
/* @media (max-width: 400px) {
  #contactSection {
    padding: 1em;
  }
} */


.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1em;
}

.photo-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.photo-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}
