/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@300;400;500&display=swap');
@font-face {
    font-family: 'Brittany';
    src: url('../fonts/brittany.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* 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: 'Brittany';
  font-size: 20px;
  font-weight: 400;
  color: #e60023;
  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: #ffffff;
  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 */
 
}


/* 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;
}

.form-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
/* ============================================
   MOBILE RESPONSIVE (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
  
  /* HEADER */
  header {
    padding: 6px 10px;       /* tighter padding */
  }

  /* LOGO */
  .logo {
    font-size: 14px;         /* smaller logo */
  }

  /* NAV LINKS */
  .nav-links {
    gap: 8px;                /* smaller gap between links */
    flex-wrap: nowrap;        /* force all links on one line */
    overflow-x: auto;         /* allow horizontal scroll if still needed */
    -webkit-overflow-scrolling: touch; /* smooth scroll on mobile */
  }

  .nav-links a {
    font-size: 12px;          /* smaller link text */
    padding: 4px 2px;         /* reduce padding */
  }

  /* CONTENT SPACING */
  .content {
    padding-top: 20vh;        /* slightly smaller top padding */
    font-size: 15px;
  }

  /* CINEMATIC BOXES */
  .next-page {
    width: 95vw;
    height: 65vh;
    font-size: 18px;
  }

  /* PAGE DROP */
  #page-drop {
    max-width: 95vw;
  }

  /* FORM FIX */
  .form-container {
    margin-top: 15px;
    padding: 0 8px;
    flex-direction: column;
  }

/* Video wrapper – full viewport, hides overflow */
.video-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;   /* hides anything outside container */
  z-index: -1;
}

/* Video inside wrapper */
#bg-video {
  position: absolute;
  top: 0;
  left: 0px;       /* move 100px to the left so it looks like shifted right */
  width: calc(100vw + 100px);  /* expand width to cover hidden area */
  height: 100vh;
  object-fit: cover;
}

}

