/* BASIS */
body {
  background-color: #582f0e;
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  text-align: center;
  color: #b0bcc7;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  color: #b0bcc7;
  margin: 1.5rem 0 0.5rem 0;
}

p {
  color: #b0bcc7;
  line-height: 1.6;
  max-width: 600px;
  margin: 0.5rem auto;
}

ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 2px solid #b0bcc7;
  position: relative;
}

.logo {
  width: 120px;
  height: auto;
}

header h1 {
  margin: 0;
  font-size: 2rem;
  text-align: center;
  flex-grow: 1;
}

/* NAVIGATIE */
.navigatie {
  text-align: center;
}

/* Desktop menu */
.navigatie ul {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.navigatie a {
  color: #b0bcc7;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.navigatie a:hover {
  color: #ccc;
}

.navigatie a.active {
  color: #f8e3c5;
}

/* Hamburger trigger (klikbaar) */
.nav-icon {
  cursor: pointer;
  display: none; /* pas zichtbaar op mobiel */
}

/* Hamburger icon */
.hamburger {
  width: 28px;
  height: 3px;
  background-color: #b0bcc7;
  position: relative;
  border-radius: 3px;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 3px;
  background-color: #b0bcc7;
  left: 0;
  border-radius: 3px;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

/* MAIN */
main {
  max-width: 900px;
  margin: 30px auto;
  text-align: center;
  padding: 0 1rem;
}

section {
  border-radius: 50px;
  padding: 20px;
  margin-bottom: 35px;
}

/* GRID + CARDS */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background-color: #3b1e08;
  color: #b0bcc7;
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid #b0bcc7;
}

/* Project afbeeldingen: vervangt inline styles */
.project-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

/* EXTRA COMPONENTS */
.Schermafbeelding {
  border: 3px solid #b0bcc7;
  border-radius: 60px;
  padding: 10px;
}

.contact-info {
  margin: 1rem auto;
  color: #b0bcc7;
  text-align: center;
  font-size: 1.1rem;
}

.contact-info li {
  margin: 0.5rem 0;
}

.social-links {
  margin-top: 2rem;
  text-align: center;
}

.social-links h3 {
  color: #b0bcc7;
  margin-bottom: 1rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0.5rem;
  background-color: #582f0e;
  color: white;
  border: 2px solid white;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.social-btn:hover {
  transform: scale(1.05);
}

.instagram:hover {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

.facebook:hover {
  background-color: #1877f2;
}

.social-icon {
  width: 24px;
  height: 24px;
  margin-right: 0.5rem;
}

.graduaat-link {
  color: #b0bcc7;
  font-weight: bold;
  text-decoration: none;
  border-bottom: 2px solid #b0bcc7;
}

.cv-link {
  margin-top: 2rem;
}

.btn {
  display: inline-block;
  background-color: #b0bcc7;
  color: #582f0e;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #f8e3c5;
  color: #3b1e08;
}

/* CONTACT FORM */
.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  max-width: 600px;
  padding: 0.75rem;
  margin: 0.25rem auto 1rem auto;
  border-radius: 10px;
  border: 1px solid #b0bcc7;
  background-color: #582f0e;
  color: #b0bcc7;
  display: block;
}

.contact-form button {
  background-color: #b0bcc7;
  color: #582f0e;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background-color: #f8e3c5;
  color: #3b1e08;
}

/* FOOTER */
footer {
  background-color: #3b1e08;
  color: #b0bcc7;
  padding: 1rem;
  margin: 3rem auto 0 auto;
  font-size: 0.9rem;
  border-radius: 50px;
  max-width: 900px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 1rem;
  }

  .logo {
    margin-bottom: 0.5rem;
  }

  header h1 {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 600px) {
  /* Toon hamburger en verberg menu standaard */
  .nav-icon {
    display: block;
    margin: 10px auto;
  }

  /* BELANGRIJK: dit is jouw #myLinks die JS togglet */
  #myLinks {
    display: none;
    flex-direction: column;
    gap: 0;
    margin-top: 0.5rem;
  }

  /* Als JS display op block zet, moet het er netjes uitzien */
  #myLinks li {
    margin: 0.5rem 0;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
