@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;600&display=swap');

  * {
    box-sizing: border-box;
    scroll-behavior: smooth;
  }
  body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
    scroll-padding-top: 80px;
  }
  header {
    background-color: #111;
    position: fixed;
    width: 100%;
    top: 0; left: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.9);
  }
  nav {
    max-width: 1024px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
  }
  nav .logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: #63dafb;
    letter-spacing: 1.3px;
    cursor: default;
    user-select: none;
  }
  nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
  }
  nav ul li a,
  nav ul li button {
    background: transparent;
    border: none;
    color: #cbd5e1;
    font-weight: 600;
    font-size: 1rem;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  nav ul li a:hover,
  nav ul li a:focus,
  nav ul li button:hover,
  nav ul li button:focus {
    color: #0a84ff;
    background-color: rgba(10, 132, 255, 0.15);
    outline: none;
  }
  main {
    max-width: 1024px;
    margin: 100px auto 60px;
    padding: 0 20px;
  }
  h1, h2 {
    margin-bottom: 20px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.8px;
  }
  #projects {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
    gap: 30px;
  }
  .project-card {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 25px 20px;
    box-shadow: 0 0 25px rgba(10,132,255,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding-top: 30px;
    padding-bottom: 30px;
    border: 1.5px solid #232a3a;
    background: linear-gradient(135deg, #181c24 70%, #0a84ff0d 100%);
  }
  .project-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 10px 35px rgba(10,132,255,0.7);
  }
  .project-card h3 {
    margin-top: 0;
    color: #0a84ff;
    font-weight: 700;
    font-size: 1.4rem;
  }
  .project-card p {
    color: #b0b9c1;
    margin-top: 10px;
    font-size: 1rem;
    flex-grow: 1;
  }
  .project-card a {
    margin-top: 20px;
    color: #0a84ff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
    align-self: flex-start;
  }
  .project-card a:hover,
  .project-card a:focus {
    border-color: #0a84ff;
    outline: none;
  }
  .project-image {
    width: 100%;
    max-width: 180px;
    height: 120px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(10,132,255,0.10), 0 1.5px 6px rgba(0,0,0,0.10);
    margin: 0 auto 18px auto;
    display: block;
    background: #222;
    transition: transform 0.25s cubic-bezier(.4,2,.6,1), box-shadow 0.25s;
  }
  .project-card:hover .project-image {
    transform: scale(1.04) rotate(-1deg);
    box-shadow: 0 8px 32px rgba(10,132,255,0.18), 0 3px 12px rgba(0,0,0,0.13);
  }
  /* Custom Logo Styles */
.custom-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 1.2px;
  color: #0a84ff;
  user-select: none;
  margin-right: 2rem;
}
.sword-logo {
  width: 48px;
  height: 48px;
  display: block;
  background: #181c24;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(10,132,255,0.10);
  transition: box-shadow 0.3s;
}
.logo-text {
  background: linear-gradient(90deg, #0a84ff 60%, #63dafb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* Zwaarden animatie */
.sword {
  transform-origin: 27px 12px;
  transition: transform 0.5s cubic-bezier(.4,2,.6,1);
}
.sword-left {
  transform: rotate(-20deg);
}
.sword-right {
  transform: rotate(20deg);
}
.custom-logo:hover .sword-left,
.custom-logo:focus .sword-left {
  transform: rotate(-60deg);
}
.custom-logo:hover .sword-right,
.custom-logo:focus .sword-right {
  transform: rotate(60deg);
}
/* Hamburger menu styles */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
  margin-left: 8px;
}
.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 4px 0;
  background: #0a84ff;
  border-radius: 2px;
  transition: 0.3s;
}
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  nav ul {
    position: absolute;
    top: 64px;
    right: 16px;
    background: #181c24;
    flex-direction: column;
    gap: 0;
    width: 180px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(10,132,255,0.13);
    padding: 12px 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: all 0.3s;
    z-index: 1001;
  }
  nav ul.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  nav ul li {
    width: 100%;
    text-align: left;
  }
  nav ul li a {
    width: 100%;
    display: block;
    padding: 12px 24px;
    font-size: 1.1rem;
  }
  /* Hamburger animatie */
  .nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}
/* Responsive adjustments */
@media (max-width: 768px) {
    nav {
      padding: 0.5rem 1rem;
    }
    nav ul {
      gap: 1rem;
    }
    main {
      margin: 90px auto 50px;
      padding: 0 15px;
    }
    #projects {
      grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
      gap: 24px;
    }
  }
  @media (max-width: 480px) {
    nav ul {
      flex-wrap: wrap;
      justify-content: center;
    }
    nav ul li a,
    nav ul li button {
      padding: 10px 12px;
      font-size: 0.95rem;
    }
    .custom-logo {
    margin-bottom: 0.5rem;
  }
}
/* Project categorieën navigatie */
.project-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.project-nav-btn {
  padding: 12px 24px;
  background: rgba(10,132,255,0.08);
  color: #0a84ff;
  border: 2px solid rgba(10,132,255,0.15);
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.project-nav-btn:hover,
.project-nav-btn.active {
  background: #0a84ff;
  color: #fff;
  border-color: #0a84ff;
}

/* Project badges */
.project-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 10;
}

.school-badge {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.personal-badge {
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.project-card {
  position: relative;
}

/* Filter functionaliteit */
.project-card.hidden {
  display: none;
}

/* Language toggle styling - standaard verborgen */
.language-toggle {
  display: none; /* Standaard verborgen */
  gap: 4px;
  margin-left: auto;
  margin-right: 1rem;
}
.language-toggle.show {
  display: flex; /* Alleen zichtbaar met .show class */
}
.lang-btn {
  padding: 6px 12px;
  background: rgba(10,132,255,0.08);
  color: #0a84ff;
  border: 1px solid rgba(10,132,255,0.15);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}
.lang-btn.active,
.lang-btn:hover {
  background: #0a84ff;
  color: #fff;
}
@media (max-width: 768px) {
  .language-toggle {
    margin-right: 0.5rem;
  }
}