/*  ALGEMEEN  */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", Arial, sans-serif;
}

body {
  background-color: #f7faff;
  color: #222;
  line-height: 1.6;
}

/*  HEADER  */
.site-header {
  background-color: #0b4a8b;
  color: white;
  padding: 2rem 1rem;
  text-align: center;
}

.site-header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.site-header p {
  font-size: 1rem;
  color: #d7e6ff;
}

/*  NAVIGATIE  */
.top-nav {
  margin-top: 1rem;
}

.top-nav a {
  color: #fff;
  background-color: #1565c0;
  padding: 0.5rem 1rem;
  margin: 0.25rem;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.3s;
}

.top-nav a:hover {
  background-color: #64b5f6;
}

.top-nav button {
  color: #fff;
  background-color: #1565c0;
  padding: 0.5rem 1rem;
  margin: 0.25rem;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.3s;
}

.top-nav button:hover {
  background-color: #64b5f6;
}


/*  SECTIES  */
.deel {
  padding: 2rem 1rem;
  max-width: 1000px;
  margin: 0 auto;
  border-bottom: 2px solid #e0e0e0;
}

.deel h2 {
  color: #0b4a8b;
  margin-bottom: 0.5rem;
}

.deel .intro {
  font-style: italic;
  color: #444;
  margin-bottom: 1rem;
}

/*  TERMEN GRID  */
.terms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.term {
  background-color: #e3f2fd;
  border: 2px solid #90caf9;
  border-radius: 10px;
  padding: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  color: #0b4a8b;
}

.term:hover {
  background-color: #bbdefb;
  transform: scale(1.03);
}

/*  FOOTER MET UITLEG  */
.explain-footer {
  background-color: #0b4a8b;
  color: white;
  padding: 2rem 1rem;
  margin-top: 2rem;
}

.explain-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.explain-container h3 {
  font-size: 1.3rem;
  color: #bbdefb;
}

.explain-container h4 {
  font-size: 1.5rem;
  margin-top: 0.5rem;
  color: #fff;
}

.explain-container p {
  margin-top: 0.75rem;
  font-size: 1rem;
  background-color: #1565c0;
  padding: 1rem;
  border-radius: 10px;
}

/*  RESPONSIVE  */
@media (max-width: 600px) {
  .top-nav a {
    display: inline-block;
    margin: 0.25rem 0.15rem;
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
  }

  .term {
    font-size: 0.9rem;
    padding: 0.5rem;
  }

  .explain-container p {
    font-size: 0.95rem;
  }
}

.button_terug {
    /* Reset standaard browser styles */
    background:#1565c0;    /* Blauwe achtergrond */
    color: #fff;               /* Witte tekst */
    border: none;              /* Geen standaard rand */
    outline: none;             /* Geen outline bij focus */
    
    /* Vormgeving */
    padding: 12px 18px;        /* Binnenruimte */
    font-size: 16px;           /* Tekstgrootte */
    font-weight: bold;         /* Tekst dikker */
    border-radius: 8px;        /* Ronde hoeken */
    cursor: pointer;           /* Pointer cursor bij hover */
    
    /* Schaduw en animatie */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* Hover effect */
.button_terug:hover {
    background: #2980b9;       /* Donkerder blauw */
    transform: translateY(-2px); /* Licht omhoog */
    box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}

/* Actief effect bij klikken */
.button_terug:active {
    transform: translateY(0);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Focus effect (optioneel, voor toegankelijkheid) */
.button_terug:focus {
    outline: 2px solid #2980b9; /* lichte blauwe outline */
    outline-offset: 2px;
}
/* === PROJECT DETAILS PAGINA === */

.project-details {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.project-header h1 {
  font-size: 2.2rem;
  color: var(--accent-color, #0078d7);
  margin-bottom: 0.5rem;
}

.project-header p {
  font-size: 1rem;
  color: #444;
  line-height: 1.5;
}

.project-content h2 {
  font-size: 1.5rem;
  color: var(--accent-color, #0078d7);
  border-bottom: 2px solid var(--accent-color, #0078d7);
  padding-bottom: 0.4rem;
  margin-top: 2rem;
}

.project-content p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin: 1rem 0;
}

.project-content ul {
  margin-left: 1.5rem;
  line-height: 1.7;
}

.project-buttons {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  background-color: var(--accent-color, #0078d7);
  color: white;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.button:hover {
  background-color: #005fa3;
  transform: translateY(-2px);
}

/* Responsiviteit */
@media (max-width: 768px) {
  .project-details {
    padding: 1.5rem;
  }

  .project-buttons {
    flex-direction: column;
  }

  .button {
    width: 100%;
    text-align: center;
  }
}
