/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@300;400;500&display=swap');

/* Header Container */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
max-width: 100vw;       /* never exceed viewport width */
  padding: 15px 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(24,26,32,0.3);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  z-index: 9999;
box-sizing: border-box; /* include padding in width calculation */
}

/* Logo */
.logo {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 20px;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 1px;
}

/* Menu Links */
.nav-links {
   display: flex;
  align-items: center;
  gap: 48px;             /* nice, roomy spacing for cinematic feel */
  margin-left: auto;
  max-width: calc(100vw - 60px);
  box-sizing: border-box;
}

.nav-links a {
  font-family: 'IBM Plex Mono', monospace;
  text-decoration: none;
  color: white;
  font-weight: 300;
  font-size: 16px;
  position: relative;       /* IMPORTANT: needed for underline */
  padding: 8px 0;           /* room for underline animation */
  transition: 0.3s ease;
   /* taller clickable area for elegance */
 
}


/* Hover Line Effect */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: #52BAD5;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}


/* Body & font */
body {
  margin: 0;
  padding: 0;
  font-family: 'IBM Plex Mono', monospace;
  overflow-x: hidden;
}

/* Video fullscreen */
#bg-video {
  position: fixed;        /* blijft op dezelfde plek bij scrollen */
  top: 0;
  left: 0;
  width: 100vw;           /* vul volledige breedte van viewport */
  height: 100vh;          /* vul volledige hoogte van viewport */
  object-fit: cover;      /* snijdt video netjes af zodat hele scherm gevuld is */
  z-index: -1;            /* achter content */
}

/* Overlay boven video */
.video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.3);
  z-index: 0;
}

/* Content boven video */
.content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  padding-top: 40vh;
}

/* Cinematic next page */
.next-page {
  position: fixed;
  top: -100vh;          /* start above viewport */
  left: 50%;
  transform: translateX(-50%) scale(0.8); /* start slightly smaller */
  width: 80vw;
  height: 80vh;
  background-color: #181a20; /* placeholder */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 32px;
  opacity: 0;
  z-index: 10000;
  border-radius: 12px;
  box-shadow: 0 0 50px rgba(0,0,0,0.5);
  transition: all 1s cubic-bezier(0.65, 0, 0.35, 1);
}

.next-page.show {
  top: 50%;
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}
/* Hidden by default */
.hidden {
  display: none;
}

/* Page drop container */
#page-drop {
  position: fixed;
  top: -100%;        /* start above the viewport */
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  max-width: 90vw;
  z-index: 2000;     /* above video and overlay */
  opacity: 0;
  transition: top 1s ease, opacity 1s ease;
}

/* When shown */
#page-drop.show {
  display: block;
  top: 50%;          /* drop to center */
  transform: translate(-50%, -50%);
  opacity: 1;
}

