* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
html,
body {
  overflow-x: hidden;
}
body {
  background: #0a0a0a;
  color: white;
}

/* NAVBAR */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: #0d0d0d;
  position: fixed; /* verander 'relative' naar 'fixed' */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

.nav-logo img {
  height: 70px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #9d4edd;
}

.nav-btn {
  background: linear-gradient(90deg, #6c63ff, #9d4edd);
  color: white;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: opacity 0.2s;
}

.nav-btn:hover {
  opacity: 0.85;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: 0.3s;
}

/* HERO */
.hero {
  position: relative;
  height: 70vh;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #1a1a1a; /* Match dit met de kleur van je carousel-section */
  margin: 0;
  padding: 0;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 125%;
  object-fit: cover;
  z-index: 0;
  display: block;
  
}


.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}

.hero h2 {
  font-size: 48px; /* Reduced from 64px */
  font-weight: 700;
  line-height: 1.2;
}

.hero span {
  background: linear-gradient(90deg, #6c63ff, #9d4edd);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  margin: 20px 0;
  color: #bbb;
  font-size: 16px; /* Adjust the font size for better readability */
}
@media (max-width: 768px) {
  .hero-sectie {
    height: 300px; /* Hier maak je de foto lager op mobiel */
  }
}

/* BUTTON */
.btn {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(90deg, #6c63ff, #9d4edd);
  border-radius: 30px;
  text-decoration: none;
  color: white;
  transition: 0.3s;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 15px;
}

.btn:hover {
  transform: scale(1.05);
}

/* MARQUEE */
.marquee-wrapper {
  background: linear-gradient(90deg, #6c63ff, #9d4edd);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  margin-top: -1px; 
    position: relative;
    z-index: 10;
}

.marquee-track {
  display: inline-block;
  animation: marquee 18s linear infinite;
}

.marquee-wrapper.reverse .marquee-track {
  animation: marquee-reverse 18s linear infinite;
}

.marquee-track span {
  font-size: 15px;
  font-weight: 500;
  color: white;
  letter-spacing: 0.05em;
  padding: 0 2rem;
}

.marquee-track .sep {
  color: rgba(255, 255, 255, 0.5);
  padding: 0;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-25%);
  }
}

@keyframes marquee-reverse {
  0% {
    transform: translateX(-25%);
  }
  100% {
    transform: translateX(0);
  }
}

/* CAROUSEL */
.carousel-section {
  background: #1a1a1a;
  padding: 40px 10px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative; /* verwijder de -20px */
  margin-top: -10px;
  z-index: 5;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: auto;
  padding: 40px 0; /* Increased height */
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 28px; /* Increased font size */
  width: 48px; /* Increased size of arrows */
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.arrow:hover {
  background: rgba(255, 255, 255, 0.2);
}
.arrow.left {
  left: 0;
}
.arrow.right {
  right: 0;
}

.cards-stage {
  position: relative;
  margin: 0 auto;
  width: 350px; /* Increased width */
  height: 500px; /* Increased height */
}

.card {
  position: absolute;
  width: 280px; /* Increased width of cards */
  height: 460px; /* Increased height of cards */
  border-radius: 18px;
  overflow: hidden;
  top: 50%;
  left: 50%;
  cursor: pointer;
  transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  will-change: transform;
}   

.card-overlay-bottom {
  position: absolute;
  bottom: 0; /* Adjusted position for the overlay */
  left: 0;
  right: 0;
  background: linear-gradient(90deg, #6c63ff, #9d4edd);
  color: white;
  font-weight: 700;
  font-size: 16px; /* Increased font size */
  text-align: center;
  padding: 14px 12px; /* Increased padding */
  border-radius: 0 0 18px 18px;
}

.btn-bottom {
  margin-top: 32px;
  background: rgba(80, 80, 80, 0.6);
  color: white;
  border: none;
  border-radius: 999px;
  padding: 14px 36px;
  font-size: 16px; /* Increased font size */
  cursor: pointer;
  text-decoration: none;
}

.btn-bottom:hover {
  background: rgba(100, 100, 100, 0.7);
}
@media (max-width: 768px) {
  .carousel-wrapper {
    height: 420px;
  }

  .cards-stage {
    width: 220px;
    height: 340px;
    margin-bottom: 20px;
  }

  .card {
    width: 200px;
    height: 320px;
  }

  .arrow {
    display: none; /* knoppen weg op telefoon */
  }
}

/* POPUP */
#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.popup-inner {
  position: relative;
  width: 360px;
  max-width: 90vw;
}

#popup-video {
  width: 100%;
  border-radius: 18px;
  display: block;
}

#close-btn {
  position: absolute;
  top: -16px;
  right: -16px;
  background: linear-gradient(90deg, #6c63ff, #9d4edd);
  border: none;
  color: white;
  font-size: 20px;
  font-weight: 700;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
}

/* CTA */
.cta-sectie {
  background: linear-gradient(135deg, #6c63ff, #c850c0);
  padding: 90px 20px;
  text-align: center;
}

.cta-titel {
  color: white;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 50px;
}

/* layout */
.cta-wrapper {
  display: flex;
  gap: 40px;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

/* glass cards */
.contact-kader,
.contact-form {
  flex: 1;
  min-width: 320px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  padding: 30px;
  color: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* contact items */
.contact-kader {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-divider {
  width: 70%;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
  margin: 14px 0;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
}

.contact-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.7);
}

.contact-waarde {
  font-size: 15px;
  font-weight: 500;
  color: white;
}

/* FORM styling (belangrijkste upgrade) */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  padding: 12px 14px;
  border-radius: 12px;
  outline: none;
  transition: 0.25s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.6);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #9d4edd;
  box-shadow: 0 0 0 3px rgba(157, 78, 221, 0.25);
}

/* button match met rest site */
.contact-form button {
  background: linear-gradient(90deg, #6c63ff, #9d4edd);
  border: none;
  color: white;
  padding: 12px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}

.contact-form button:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 30px 20px;
  color: #bbb;
  font-size: 14px;
}

.footer-links {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.footer-links a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #9d4edd;
}
.footer-links span {
  color: #444;
}

/* ========================
   TABLET
======================== */
@media (max-width: 900px) {
  .hero h2 {
    font-size: 44px;
  }
  .nav-links {
    gap: 20px;
  }
  .carousel-wrapper {
    height: 400px;
  }
  .card {
    width: 170px;
    height: 300px;
  }
}

/* ========================
   MOBIEL
======================== */
@media (max-width: 768px) {
  /* Navbar */
  .navbar {
    padding: 14px 20px;
    flex-wrap: wrap;
  }

  .nav-logo img {
    height: 50px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: static;
    transform: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    background: #0d0d0d;
    padding: 10px 0 16px;
    order: 3;
  }

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

  .nav-links li {
    text-align: center;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-links a {
    font-size: 16px;
  }

  /* Verberg knop in navbar op mobiel */
  .navbar > .btn {
    display: none;
  }

  /* Hero */
  .hero {
    height: 100svh;
  }
  .hero h2 {
    font-size: 30px;
    line-height: 1.3;
  }
  .hero p {
    font-size: 13px;
  }
  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  /* Marquee */
  .marquee-track span {
    font-size: 13px;
    padding: 0 1rem;
  }

  /* Carousel */
  .carousel-section {
    padding: 40px 10px 60px;
    min-height: auto;
  }
  .carousel-wrapper {
    height: 320px;
  }
  .cards-stage {
    width: 160px;
    height: 280px;
  }
  .card {
    width: 130px;
    height: 230px;
  }
  .card-overlay-top {
    font-size: 10px;
    padding: 3px 8px;
  }
  .card-overlay-bottom {
    font-size: 10px;
    padding: 7px 5px;
  }
  .arrow {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  /* CTA */
  .cta-titel {
    font-size: 20px;
    padding: 0 10px;
  }
  .contact-kader {
    padding: 20px;
    max-width: 100%;
  }
  .contact-waarde {
    font-size: 14px;
  }
}

@media (max-width: 400px) {
  .hero h2 {
    font-size: 24px;
  }
  .card {
    width: 110px;
    height: 200px;
  }
  .cards-stage {
    width: 140px;
    height: 250px;
  }
}
