/* ------------------------------
   Algemene opmaak
   ------------------------------ */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  background-color: #f7f9fc;
  color: #333;
  line-height: 1.6;
}

/* ------------------------------
   Kop en navigatie
   ------------------------------ */
header {
  background: linear-gradient(90deg, #004080, #0078d7);
  color: white;
  text-align: center;
  padding: 25px 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

header h1 {
  margin-bottom: 10px;
  font-size: 2rem;
  letter-spacing: 1px;
}

nav {
  margin-top: 10px;
}

nav a {
  color: white;
  margin: 0 12px;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: #ffd700;
}

/* ------------------------------
   Pagina-inhoud
   ------------------------------ */
main {
  padding: 30px;
  max-width: 900px;
  margin: 30px auto;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

main img {
  border-radius: 12px;
  margin-bottom: 20px;
}

/* ------------------------------
   Voettekst
   ------------------------------ */
footer {
  background: #004080;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: 40px;
  font-size: 0.9rem;
}

/* ------------------------------
   Toeristenpagina - andere layout
   ------------------------------ */
body.tourist {
  background-image: url('https://upload.wikimedia.org/wikipedia/commons/1/1f/St_Janskathedraal.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  color: #fff;
}

body.tourist main {
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ------------------------------
   Bedrijvenpagina - andere layout
   ------------------------------ */
body.bedrijven {
  background-color: #e0f7fa;
}

body.bedrijven main {
  background-color: #ffffff;
  border-left: 5px solid #0097a7;
}

/* ------------------------------
   Interactieve elementen
   ------------------------------ */
input[type="text"] {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  width: 70%;
  margin-right: 10px;
}

button {
  padding: 10px 15px;
  border: none;
  background-color: #0078d7;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #005fa3;
}

/* ------------------------------
   Extra stijl voor lijsten
   ------------------------------ */
ul {
  list-style: square;
  padding-left: 20px;
}

li {
  margin-bottom: 8px;
}

/* ------------------------------
   Responsieve weergave
   ------------------------------ */
@media (max-width: 600px) {
  nav a {
    display: block;
    margin: 8px 0;
  }

  main {
    margin: 15px;
    padding: 20px;
  }
}
