/* === BASISINSTELLINGEN === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
}

/* === HEADER EN NAVIGATIE === */
header {
    background-color: #000;
    padding: 2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
    flex-wrap: wrap;
}

.logo img {
    height: 80px;
    max-width: 100%;
}

.logo-home img {
    max-height: 100px;
    max-height: 200px;
    max-width: 100%;
}

/* NAV LINKS */
nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #888;
}

/* === MAIN === */
main {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

main h1 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #fff;
    display: inline-block;
    padding-bottom: 0.5rem;
}

main p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* === PROJECTKAARTEN === */
.project-card {
    background-color: #111;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.project-card a {
    color: inherit;
    text-decoration: none;
}

.project-thumb {
    width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid #444;
    margin-bottom: 1.5rem;
}

.project-info h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.project-info p {
    font-size: 1rem;
    color: #ccc;
}

/* === FORMULIEREN === */
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

input, textarea {
    padding: 1rem;
    border: none;
    border-radius: 4px;
    background-color: #111;
    color: #fff;
}

input:focus, textarea:focus {
    outline: 2px solid #555;
}

button {
    background-color: #fff;
    color: #000;
    font-weight: bold;
    padding: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

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

/* === FOOTER === */
footer {
    text-align: center;
    padding: 1rem;
    background-color: #111;
    color: #aaa;
    font-size: 0.9rem;
    border-top: 1px solid #333;
    margin-top: 3rem;
    bottom: 0;
    left: 0;
    width: 100%;
    position: fixed;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
    }

    .logo img,
    .logo-home img {
        height: 100px;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    main {
        padding: 2rem 1rem;
    }
}
.project-detail {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem;
  text-align: center;
}
.project-detail h1 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  border-bottom: 2px solid #fff;
  display: inline-block;
  padding-bottom: 0.3rem;
}
.project-detail .subtitle {
  font-size: 1.1rem;
  color: #eee;
  margin-bottom: 2.5rem;
}
.image-center {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.image-center img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 32px rgba(0,0,0,0.25);
  border: 1px solid #333;
  background: #111;
  max-height: 600px;
}
@media (max-width: 1200px) {
  .project-detail {
    max-width: 99vw;
    padding: 1rem 0.3rem;
  }
  .image-center img {
    max-height: 300px;
  }
}
.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
}

.project-card-overlay {
  position: relative;
  width: 340px;
  min-width: 260px;
  max-width: 370px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,0.19);
  background: #111;
  transition: box-shadow 0.3s;
  margin-bottom: 2rem;
}
.project-card-overlay a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.project-thumb {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: opacity 0.35s;
}

.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
  background: rgba(0,0,0,0.2); /* optioneel, voor wat donkerder overlay */
}

.overlay-text {
  color: #fff;
  text-align: center;
  padding: 1.5rem;
  background: rgba(0,0,0,0.70);
  border-radius: 8px;
  opacity: 0.95;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.overlay-text h2 {
  font-size: 1.22rem;
  font-weight: bold;
  margin-bottom: 0.7rem;
  color: #fff;
}
.overlay-text p {
  font-size: 1rem;
  color: #eee;
  margin-bottom: 0;
}

/* --- Hover effect: --- */
.project-card-overlay:hover .project-thumb,
.project-card-overlay:focus-within .project-thumb {
  opacity: 0.3;
}
.project-card-overlay:hover .overlay,
.project-card-overlay:focus-within .overlay {
  opacity: 1;
  pointer-events: auto;
}
.project-card-overlay:active {
  box-shadow: 0 8px 32px rgba(0,0,0,0.30);
}

/* Responsive */
@media (max-width: 900px) {
  .project-list {
    flex-direction: column;
    align-items: center;
  }
  .project-card-overlay {
    width: 98vw;
    max-width: 99vw;
  }
  .project-thumb {
    height: 38vw;
    min-height: 180px;
    max-height: 320px;
  }
}
/* Sticky Nav styles */
#sticky-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  background: rgba(0,0,0,0.96);
  border-bottom: 1px solid #222;
  z-index: 9999;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0.7rem 2.5rem 0.7rem 2.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.13);
  transition: transform 0.22s cubic-bezier(.32,1.01,.52,1.02);
  transform: translateY(-100%);
}
#sticky-nav.show {
  transform: translateY(0);
}
#sticky-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
#sticky-nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s;
  font-size: 1rem;
}
#sticky-nav ul li a:hover,
#sticky-nav ul li a.active {
  color: #42cfff;
}
@media (max-width: 768px) {
  #sticky-nav {
    padding: 0.6rem 1rem 0.6rem 1rem;
    font-size: 0.95rem;
  }
  #sticky-nav ul {
    gap: 1rem;
  }
}

