/* ALGEMENE STIJLEN */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #1e1e1e;
  color: #fff;
  box-sizing: border-box;
}

/*header {
  background-color: #000;
  padding: 2rem;
  text-align: center;
}*/

/*AANPASSING 11/09/2025*/

/* HEADER MET BANNER EN OVERLAY */
header {
  position: relative;
  background-image: url('bannerv1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /*height: 300px;*/

  min-height: 400px; /* minimaal 300px, kan groter worden */
  padding: 4rem 2rem 2rem; /* boven, zijkanten, onder */
  
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  /*padding: 2rem;*/
  text-align: center;
}

header .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

/* NAVIGATIEBAR (OVER HEADER) */
nav {
  /*position: absolute;*/

  position: static;
  margin-top: 1rem;/* ruimte boven de nav */
  background-color: rgba(17, 17, 17, 0.85);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  max-width: 900px;
  width: 100%;
  z-index: 2;
  
  /* zodat het boven overlay komt */
  /*top: 250px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #111;
  padding: 1rem 2rem;
  max-width: 900px;
  width: 90%;
  border-radius: 8px;
  z-index: 3;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);*/
}
#menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #e6a743;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1001;
}

header h1,
header p {
  position: relative;
  z-index: 2;
  margin: 0;
}

header h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #e6a743;
}

header p {
  font-size: clamp(1rem, 2.5vw, 2rem);
}

/* EINDE AANPASSINGEN*/

/* NAVIGATIE */
/*nav {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background-color: #111;
  padding: 1rem;
}*/

/*#menu-toggle {
  display: none; /* standaard verborgen, verschijnt via media query 
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #e6a743;
  cursor: pointer;
  position: absolute;
  right: 1rem;
}*/

.nav-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.nav-links a {
  color: #e6a743;
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-links a:hover {
  color: #ffd366; /* lichtere goudkleur */
  text-shadow: 0 0 5px #e6a743; /* lichte glow */
}

/* SECTIES */
main {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}

section {
  background-color: #292d2d;
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

h2 {
  color: #e6a743;
  border-bottom: 2px solid #e6a743;
  padding-bottom: 0.5rem;
  margin-top: 0;
}

section p,
section ul {
  line-height: 1.5;
  margin: 0.5rem 0 0 0;
}

/* CARDS VOOR VAARDIGHEDEN EN PROJECTEN */
.card {
  background: #333;
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

/* FORMULIER ELEMENTEN */
input[type="text"],
button {
  padding: 0.5rem;
  font-size: 1rem;
  margin-top: 0.5rem;
}

button {
  background-color: #e6a743;
  border: none;
  color: #000;
  cursor: pointer;
  font-weight: 600;
  margin-left: 0.5rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #c9952f;
}

/* CV DOWNLOAD KNOP */
.btn-download {
  display: inline-block;
  background-color: #e6a743;
  color: #000 !important;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 700;
  margin: 1rem;
  box-shadow: 0 0  15px rgba(230, 167, 67, 0.5);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* PDF VIEWER */
.cv-viewer {
  margin-top: 1rem;
  background: #333;
  border-radius: 8px;
  overflow: hidden;
  padding: 1rem;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 2rem;
  background-color: #000;
  color: #aaa;
}

/* RESPONSIVE NAVIGATIE */
@media (max-width: 768px) {
  
    header {
    height: 120px;
  }
  
  #menu-toggle {
    display: block;
    position: absolute;
    top: 0rem;
    right: 0rem;
    z-index: 11;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    background: #292d2d;
    position: absolute;
    top: 60px;
    right: 0;
    left: 0;
    padding: 1rem 0;
    border-radius: 0 0 8px 8px;
    z-index: 999;
  }

  .nav-links.show {
    display: flex;
  }

  nav {
    /*justify-content: space-between;*/
    /*position: fixed; /* Blijft bovenaan */
    /*position: relative;*/
    position: fixed;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    padding: 0.5rem 1rem;
    background-color: transparent; /* voorkomt donkere bar */
    box-shadow: none;
    z-index: 1000;
    
  }

  nav a {
    display: block;
    margin: 0.5rem 0;
  }

  main {
    padding: 0 1rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .cv-viewer embed {
    height: 400px;
  }
}
/*.btn-download {
  display: inline-block;
  background-color: #e6a743;
  color: #000;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 700;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
}*/

.btn-download:hover {
  background-color: #ffc34d;
  color: #000;
  box-shadow: background-color 0.3s ease, box-shadow 0.3s ease
}
a {
  color: #e6a743; /* je goudkleur */
  text-decoration: none;
}

a:visited {
  color: #e6a743; /* zorgt dat het niet paars wordt */
}

a:hover {
  text-decoration: underline;
  color: #ffc34d; 
}
.contact-info i {
  color: #e6a743;
  margin-right: 0.5rem;
}
/* PROJECT KAARTEN - AANPASSINGEN */
.project-container {
  position: relative;
  max-height: 720px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1rem;
  padding: 1rem;
}

.project-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 620px;
  /*overflow-y: visible;*/
  overflow-y: auto;
  scroll-behavior: smooth;
  width: 100%;
  padding-right: 0.5rem;
}

.project-card {
  background-color: #333;
  border-left: 6px solid #e6a743;
  border-radius: 8px;
  padding: 1rem;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative; /* nodig voor z-index */
  z-index: 1;
}

.project-card:hover {
  transform: scale(1.02);
  box-shadow: 0 0 15px rgba(230, 167, 67, 0.5);
  z-index: 10;
}

.project-card h3 {
  margin: 0 0 0.5rem 0;
  color: #e6a743;
  font-size: 1.2rem;
}

.project-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.scroll-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: #e6a743;
  cursor: pointer;
  transition: transform 0.2s;
  z-index: 2;
}

.scroll-btn:hover {
  transform: scale(1.2);
}

.scroll-btn.up {
  margin-bottom: 0.5rem;
}

.scroll-btn.down {
  margin-top: 0.5rem;
}

/* RESPONSIVE AANPASSINGEN VOOR PROJECTKAARTEN */
@media (max-width: 768px) {
  .project-container {
    max-height: 100%;
  }

  .project-cards {
    max-height: none;
  }

  .project-card {
    font-size: 0.95rem;
  }

    .cv-viewer {
    display: none;
  }
}
.project-cards {
  scrollbar-width: thin;
  scrollbar-color: #555 #222;
}

.project-cards::-webkit-scrollbar {
  width: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-cards:hover::-webkit-scrollbar {
  opacity: 1;
}

.cta-button {
  position: relative;
  z-index: 2;
  display: inline-block;
  margin: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: #e6a743;
  color: #000 !important;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 0 15px rgba(230, 167, 67, 0.5);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  background-color: #ffc34d;
  box-shadow: 0 0 25px rgba(255, 195, 77, 0.7);
}

/* CSS */
footer {
  position: relative;
  height: 200px;
  background-color: #000;
  overflow: hidden;
}

canvas {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.footer-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding-top: 4rem;
}

.tech-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px; /* ruimte tussen de icoontjes */
  justify-content: center; /* centreren binnen het vak */
  align-items: center;
  padding: 1rem 0;
}

.tech-icons img {
  width: 40px; /* pas aan voor grotere/kleinere icons */
  height: auto;
  transition: transform 0.2s ease-in-out;
}

.tech-icons img:hover {
  transform: scale(1.1); /* optioneel: kleine hover-animatie */
}

/* Overlay styling */
.overlay-tijdlijn {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  overflow-y: auto;
}

.overlay-content {
  max-width: 800px;
  margin: 4rem auto;
  background-color: #292d2d;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(230, 167, 67, 0.5);
  color: #fff;
  position: relative;
}

.sluit-knop {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  background: none;
  border: none;
  color: #e6a743;
  cursor: pointer;
}

/* Overlay styling */
.overlay-tijdlijn {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  overflow-y: auto;
}

.overlay-content {
  max-width: 800px;
  margin: 4rem auto;
  background-color: #292d2d;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(230, 167, 67, 0.5);
  color: #fff;
  position: relative;
}

.sluit-knop {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  background: none;
  border: none;
  color: #e6a743;
  cursor: pointer;
}


/* Tijdlijn container */
.tijdlijn {
  position: relative;
  margin-left: 40px; /* ruimte voor lijn en bolletjes */
  padding-left: 0px;
  /*border-left: 4px solid #e6a743; /* verticale lijn */
  border-left: none; /* weg met container lijn */
}

/* Tijdlijn items */
.tijdlijn-item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 1.5rem; /* ruimte tussen bolletje en tekst */
}

/* Bolletje op de lijn */
.tijdlijn-item::before {
  content: '';
  position: absolute;
  left: -8px; /* bolletje precies op de lijn */
  top: 0.4rem;
  width: 16px;
  height: 16px;
  background-color: #e6a743;
  border-radius: 50%;
  box-shadow: 0 0 8px #e6a743;
  z-index: 1;
}

/* Jaar label */
.tijdlijn-item .jaar {
  font-weight: bold;
  color: #e6a743;
  margin-bottom: 0.3rem;
  display: block;
}

/* Laatste item geen extra marge onder */
.tijdlijn-item.laatste {
  margin-bottom: 0;
}

/* Specifieke dashed lijn tussen 2025 en 2026 */
/* We maken hier de verticale lijn onder 2025 gestreept */
/* Daarom verwijderen we de volle lijn die door de container loopt */
/* En maken we een dashed lijn als een pseudo element onder 2025 */

.tijdlijn-item.dashed {
  /* Verwijder volle lijn door padding container */
  border-left: none;
  /* Voeg een gestreepte lijn als pseudo-element */
  position: relative;
}

.tijdlijn-item.dashed::after {
  content: '';
  position: absolute;
  top: 100%; /* onder het item */
  left: -4px; /* op lijnpositie */
  width: 0;
  height: 2.5rem; /* afstand tot volgend item */
  border-left: 4px dashed #e6a743;
  z-index: 0;
}

/* Zorg dat laatste item geen lijn meer heeft */
.tijdlijn-item.laatste {
  border-left: none !important;
}


/* Verticale lijn per item (behalve laatste) */
.tijdlijn-item:not(.laatste)::after {
  content: '';
  position: absolute;
  top: 0.4rem; /* net onder bolletje */
  left: -2px;  /* lijn op ongeveer zelfde plek als bolletje */
  width: 0;
  height: calc(100% - -3rem);
  border-left: 4px solid #e6a743;
  z-index: 0;
}

/* Specifieke aanpassing: dashed lijn onder .dashed item */
.tijdlijn-item.dashed::after {
  border-left-style: dashed;  /* alleen stijl aanpassen */
}

.last-modified {
  font-size: 0.9em;
  color: #fff;
  text-align: center;
  margin-top: 2rem;
}

/* STYLING VOOR DE RANKINGLIST / HIGHSCORES */
.ranking-section {
  background-color: #292d2d;
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.ranking-section h2 {
  color: #e6a743;
  border-bottom: 2px solid #e6a743;
  padding-bottom: 0.5rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

#ranking-list {
  padding-left: 0;
  list-style: none;
  margin-top: 1rem;
}

.ranking-item {
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
  gap: 1rem;
  border-bottom: 1px solid #444;
  flex-wrap: wrap;
}

.ranking-item .rank {
  width: 60px;
  font-weight: bold;
  color: #e6a743;
  flex-shrink: 0;
}

.ranking-item .name {
  flex: 1;
  font-weight: 500;
  color: #fff;
}

.ranking-item .turns {
  width: 110px;
  text-align: right;
  font-weight: 600;
  color: #fff;
}

.ranking-item .date {
  width: 100px;
  text-align: right;
  font-size: 0.85rem;
  color: #aaa;
}

.ranking-item:nth-child(1) {
  background-color: rgba(255, 215, 0, 0.1);
}
.ranking-item:nth-child(2) {
  background-color: rgba(192, 192, 192, 0.1);
}
.ranking-item:nth-child(3) {
  background-color: rgba(205, 127, 50, 0.1);
}

/* COOKIE BANNER STYLING */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #0d131f;
  color: #e6a743;
  padding: 15px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.6);
}

.cookie-banner a {
  color: #e6a743;
  text-decoration: underline;
  margin: 0 4px;
}

.cookie-buttons {
  margin-top: 10px;
}

/* Cookie banner knoppen in jouw stijl */
.cookie-btn {
  background-color: #e6a743;
  color: #0d131f;
  border: none;
  padding: 8px 15px;
  margin: 0 5px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: background-color 0.3s ease;
}

.cookie-btn:hover {
  background-color: #c9952f;
}

.cookie-btn.secondary {
  background-color: transparent;
  border: 2px solid #e6a743;
  color: #e6a743;
}

.cookie-btn.secondary:hover {
  background-color: #292d2d;
}


/* CONTACTFORMULIER STIJLEN */
#contactForm {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

#contactForm label {
  font-weight: 600;
  color: #e6a743;
}

#contactForm input[type="text"],
#contactForm input[type="email"],
#contactForm textarea {
  padding: 0.75rem;
  background-color: #1e1e1e;
  border: 1px solid #555;
  border-radius: 6px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  resize: vertical;
}

#contactForm input:focus,
#contactForm textarea:focus {
  border-color: #e6a743;
  outline: none;
  box-shadow: 0 0 5px rgba(230, 167, 67, 0.6);
}

#contactForm button {
  align-self: flex-start;
  background-color: #e6a743;
  color: #000;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#contactForm button:hover {
  background-color: #c9952f;
}

.contact-info {
  margin-top: 2rem;
}

.contact-info p {
  margin: 0.5rem 0;
  color: #ccc;
  display: flex;
  align-items: center;
}

.contact-info i {
  color: #e6a743;
  margin-right: 0.5rem;
}

