html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

body {
    overflow-x: hidden;
}

body::-webkit-scrollbar {
  width: 15px;
}

body::-webkit-scrollbar-track {
  background: #161616;
}

body::-webkit-scrollbar-thumb {
  background-color: #3a3a3a;
}

/* Thumb hover */
body::-webkit-scrollbar-thumb:hover {
  background-color: #cfcfcf;
}

/* Navigatie */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 65px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.navbar a {
    font-family: "Exo",
        sans-serif;
    font-weight: 300;
    letter-spacing: 3px;
    color: white;
    text-decoration: none;
    font-size: 15px;
}

.navbar h1 {
        font-family: "Exo",
        sans-serif;
    font-weight: 700;
    letter-spacing: 3px;
    color: white;
    text-decoration: none;
    font-size: 15px;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

/* Hero */
.hero {
    height: 75vh;
    background-color: black;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.hero-content {
    max-width: 75%;
    z-index: 1;
}

.hero h2 {
    font-family: "Exo", sans-serif;
    font-weight: 700;
    letter-spacing: 5px;
    font-size: 3.5rem;
    margin-top: 150px;
}

.hero p {
    margin-bottom: 20px;
    font-family: "Exo", sans-serif;
    font-weight: 200;
    letter-spacing: 3px;
    font-size: 1.5rem;
}

.toggle-btn {
    background-color: transparent;
    padding: 10px 20px;
    cursor: pointer;
    font-family: "Exo",
        sans-serif;
    font-size: 1rem;
    margin: 30px auto;
    display: block;
    transition: 0.3s;
}

.toggle-btn:hover {
    color: white;
}

.toggle-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.4s ease;
  opacity: 0;
  color: rgb(255, 255, 255);
}

.toggle-content.active {
  max-height: 1000px; /* genoeg ruimte voor je tekst of afbeeldingen */
  opacity: 1;
}

.toggle-button {
  display: inline-block;
  background: none;
  border: none;
  font-family: "Exo",sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 1rem; 
  color: #484848;
  transition: color 0.3s ease;
}

.toggle-button:hover {
  color: #666;
}

.project-content {
    display: flex;
    flex-direction: column;
    gap: 70px;
    background-color: rgb(0, 0, 0);
    padding-left: 20%;
    padding-right: 20%;
}

.project-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.project-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    flex: 1 1 200px;
}

.project-item img {
    width: 100%;
    object-fit: cover;
    cursor: zoom-in;
}

.video-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 60px;
  color: white;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s ease;
  padding-left: 12px;
  padding-bottom: 5px;
}

.play-button.hidden {
  opacity: 0;
  pointer-events: none;
}

.project-item .text {
    color: white;
    text-align: center;
}

.project-item .text h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.project-item .text p {
    font-size: 1.2rem;
    line-height: 1.5;
    letter-spacing: 1.5px;
}

.project-beschr {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    color: white;
}

.project-beschr h1 {
    flex: 1;
    font-family: "Exo", sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 1.5rem;
    text-align: left;
}

.project-beschr .text {
    flex: 3;
    font-family: "Exo", sans-serif;
    font-weight: 300;
    letter-spacing: 1.5px;
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
}

.arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  margin-left: 5px;
}

.arrow.rotate {
  transform: rotate(180deg);
}


.hidden {
    display: none;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: zoom-in;
}

.lightbox img.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.lightbox:hover img.lightbox-img {
    transform: scale(1.05);
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    font-weight: bold;
    color: black;
    cursor: pointer;
}


.below {
    height: 20vh;
    background: #000000;
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    color: rgb(255, 255, 255);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: "Exo",
        sans-serif;
    font-size: 50px;
    opacity: 0.8;
    transition: opacity 0.2s, transform 0.2s;
    z-index: 1000;
}

.scroll-top:hover {
    opacity: 1;
    transform: scale(1.05);
}

html {
    scroll-behavior: smooth;
}