@font-face {
  font-family: 'Lekton';
  src: url('../fonts/Lekton-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: white;
  color: #111;
  overflow: hidden;
  /* Voorkomt normale scrollbars */
}

p {
  font-size: 1.4rem;
  line-height: 1.9;
}

.bold {
  font-weight: bold;
  
}

p,
button {
  font-family: 'Lekton', monospace;
}


/* Pagina instellingen */
.page {
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hidden {
  display: none !important;
}

/* Startscherm */
#start {
  background-image: url('../imgs-audio/horizontaal-illustraties/start-scherm.png');
  background-size: cover;
  background-position: center;
}

/* Startscherm centering */
.intro-content {
  text-align: center;
}

.intro-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.nav-buttons button {
  padding: 15px 30px;
  font-size: 1.5rem;
  cursor: pointer;
  background: #ffffff;
  border: 1px solid #111;
  color: #111;
  margin: 35px;
  border-radius: 5px;
  transition: 0.2s ease;
}

.nav-buttons button:hover {
  background: #ffd9d1;
  /* zelfde kleur als actieve dot */
  border-color: #ffd9d1;
}

/* Skip button styling */
.skip-btn {
  padding: 15px 30px;
  font-size: 1rem;
  cursor: pointer;
  background: #ffffff;
  border: 1px solid #111;
  color: #111;
  border-radius: 5px;
  transition: 0.2s ease;
}

.skip-btn:hover {
  background: #ffd9d1;
  border-color: #ffd9d1;
}

/* Green button variant for slide-keuken */
.glow-button-green-keuken {
  background: #ffd9d1;
  animation: button-pulse 1.2s ease-in-out infinite;
  position: absolute;
top: 57.5%;
    left: 24.5%;
  transition: background-color 0.3s ease;
  z-index: 100;
}

.glow-button-green-keuken:hover {
  animation: button-pulse 0.8s ease-in-out infinite;
  background: white;
}

/* Modal video section styles */
.modal-video-section {
  margin: 30px 0;
  padding: 0;
}

.modal-video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: transparent;
  /* placeholder before play */
}

.modal-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.modal-video-container .modal-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.modal-video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid white;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 32px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.modal-video-play-button:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translate(-50%, -50%) scale(1.1);
}

.horizontal-wrapper {
  display: flex;
  flex-wrap: nowrap;
  /* Zorgt dat ze echt naast elkaar blijven staan */
  width: auto;
  /* past zich aan variabele slide-breedtes aan */
  height: 100vh;
  overflow-x: hidden;
  /* JS regelt het scrollen via het muiswiel */
}


.slide {
  flex-shrink: 0;
  /* CRUCIAAL: voorkomt dat slides smaller worden dan 100vw */
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 50px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 82%;
  position: relative;
}

/* Plaatshouders per sectie: vervang url() door eigen illustraties en pas breedtes aan per slide */
.horizontal-wrapper .slide:nth-child(1) {
  background-image: url('../imgs-audio/horizontaal-illustraties/hz-2.png');

}

.horizontal-wrapper .slide:nth-child(2) {
  background-image: url('../imgs-audio/horizontaal-illustraties/hz-3.png');

}

.birds-gif {
    position: absolute;
    top: 15%;
    right: 8%;
    width: 24rem;
    height: auto;
    pointer-events: none;
    z-index: 5;
    rotate: 14deg;
}

.horizontal-wrapper .slide:nth-child(3) {
  background-image: url('../imgs-audio/horizontaal-illustraties/hz-4.png');

}

.horizontal-wrapper .slide:nth-child(4) {
  background-image: url('../imgs-audio/horizontaal-illustraties/hz-5.png');

}

.horizontal-wrapper .slide:nth-child(5) {
  background-image: url('../imgs-audio/horizontaal-illustraties/hz-6.png');

}

.klok-gif {
  position: absolute;
  top: 16%;
  left: 52%;
  width: 9rem;
  height: auto;
  transform: translate(-50%, 0);
  pointer-events: none;
  z-index: 5;
}

.smoke-gif {
  position: absolute;
    top: 34%;
    left: 32%;
  transform: translate(-50%, -50%);
  width: 7rem;
  height: auto;
  pointer-events: none;
  z-index: 5;
}

.cat-gif {
  position: absolute;
  top: 77%;
    left: 17%;
  transform: translate(-50%, -50%);
  width: 19rem;
  height: auto;
  pointer-events: auto;
  z-index: 5;
  cursor: pointer;
}

.butterfly-gif {
    position: absolute;
    top: 16%;
    right: 25%;
    width: 7rem;
    height: auto;
    pointer-events: none;
    z-index: 5;
    rotate: -8deg;
}

.horizontal-wrapper .slide:nth-child(6) {
  background-image: url('../imgs-audio/horizontaal-illustraties/hz-7.png');

}

.horizontal-wrapper .slide:nth-child(7) {
  background-image: url('../imgs-audio/horizontaal-illustraties/hz-8.png');
  width: 100vw;
}

.horizontal-wrapper .slide:nth-child(8) {
  background: #ffffff;

}

.slide .content {
  text-align: center;
  color: #111;
  /* zwarte tekst */
  position: relative;
  z-index: 50;
}

.title-image {
  max-width: 71rem;
}

.return-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.return-button {
  padding: 15px 30px;
  font-size: 1.5rem;
  cursor: pointer;
  background: #ffffff;
  border: none;
  color: #111;
  border-radius: 5px;
  transition: 0.2s ease;
}

.return-button:hover {
  background: #ffd9d1;
  border-color: #ffd9d1;
}

/* Paper texture overlay for scrollytelling */
.paper-texture-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('../imgs-audio/paper-texture.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 10;
  opacity: 0.25;
  mix-blend-mode: multiply;
}

/* Swipe Icon */
.swipe-icon {
  position: fixed;
  bottom: 7rem;
  left: 7rem;
  width: 7rem;
  height: auto;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
  z-index: 150;
}

.swipe-icon.show {
  opacity: 1;
}

/* Navigatie */
.bottom-nav {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 30px;
  background: rgba(0, 0, 0, 0.04);
  /* subtiel licht */
  padding: 20px 40px;
  border-radius: 50px;
  backdrop-filter: blur(6px);
  z-index: 200;
}

.bottom-nav .dot {
  width: 12px;
  height: 12px;
  background: #ffffff;
  /* standaard wit */
  border: 1px solid #e0d7d3;
  /* subtiele rand op licht achtergrond */
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  border: 1px solid black;
}

.bottom-nav .dot:hover {
  transform: scale(2.4);
  background: #ffd9d1;
  /* kleur bij hover */
  box-shadow: 0 0 10px rgba(255, 217, 209, 0.5);
}

.bottom-nav .dot.active {
  background: #ffd9d1 !important;
  /* actieve kleur */
  transform: scale(2.1);
  box-shadow: 0 0 12px rgba(255, 217, 209, 0.6);
}

/* Labels: donker op lichte achtergrond, zichtbaar alleen bij hover op niet-actieve dots */
.bottom-nav .dot::after {
  content: attr(data-label);
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  font-size: 8px;
  color: #111;
  white-space: nowrap;
  transition: 0.18s;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 8px;
}

.bottom-nav .dot:not(.active):hover::after {
  opacity: 1;
}

.bottom-nav .dot.active::after {
  opacity: 0 !important;
}

/* Glowing Button - Base styles */
.glow-button {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  border: 2px solid black;
  cursor: pointer;
  box-shadow: none;
  transition: all 0.2s ease;
}

.glow-button:hover {
  animation: button-pulse 0.8s ease-in-out infinite;
}

.glow-button:active {
  animation: none;
  transform: scale(0.92);
}

/* Pink button variant */
.glow-button-pink {
  background: #ffd9d1;
  animation: button-pulse 1.2s ease-in-out infinite;
  position: absolute;
  top: 52%;
  left: 27%;
  transition: background-color 0.3s ease;
  z-index: 100;
}

.glow-button-pink-1 {
  background: #ffd9d1;
  animation: button-pulse 1.2s ease-in-out infinite;
  position: absolute;
    top: 36%;
    left: 19%;
  transition: background-color 0.3s ease;
  z-index: 100;
}

.glow-button-pink:hover {
  animation: button-pulse 0.8s ease-in-out infinite;
  background: white;
}

/* Pink button variant for slide-was */
.glow-button-pink-was {
  background: #ffd9d1;
  animation: button-pulse 1.2s ease-in-out infinite;
  position: absolute;
  top: 55%;
  left: 20%;
  transition: background-color 0.3s ease;
  z-index: 100;
}

.glow-button-pink-was:hover {
  animation: button-pulse 0.8s ease-in-out infinite;
  background: white;
}

@keyframes button-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 217, 209, 0.7);
  }

  50% {
    transform: scale(1.15);
    box-shadow: 0 0 0 15px rgba(255, 217, 209, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 217, 209, 0);
  }
}

/* Green button variant */
.glow-button-green {
  background: #ffd9d1;
  animation: button-pulse 1.2s ease-in-out infinite;
  margin-right: 4rem;
  margin-top: -2rem;
  transition: background-color 0.3s ease;
}

.glow-button-green:hover {
  animation: button-pulse 0.8s ease-in-out infinite;
  background: white;
}

/* Green button variant for slide-studeerkamer */
.glow-button-green-studeerkamer {
  background: #ffd9d1;
  animation: button-pulse 1.2s ease-in-out infinite;
  position: absolute;
  top: 48%;
  left: 59%;
  transition: background-color 0.3s ease;
  z-index: 100;
}

.glow-button-green-studeerkamer:hover {
  animation: button-pulse 0.8s ease-in-out infinite;
  background: white;
}

/* Music notes GIF animation */
.music-notes-animation {
  position: absolute;
  top: 43%;
  left: 57%;
  pointer-events: none;
  z-index: 101;
  max-width: 8rem;
  height: auto;
  margin-left: -12rem;
  margin-top: -7rem;
  rotate: -10deg;
}

/* Pink button variant for slide-studeerkamer */
.glow-button-pink-studeerkamer {
  background: #ffd9d1;
  animation: button-pulse 1.2s ease-in-out infinite;
  position: absolute;
  top: 29%;
  right: 45%;
  transition: background-color 0.3s ease;
  z-index: 100;
}

.glow-button-pink-studeerkamer:hover {
  animation: button-pulse 0.8s ease-in-out infinite;
  background: white;
}

@keyframes button-pulse-green {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(162, 230, 198, 0.7);
  }

  50% {
    transform: scale(1.15);
    box-shadow: 0 0 0 15px rgba(162, 230, 198, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(162, 230, 198, 0);
  }
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal.hidden {
  display: none;
}

/* Video Modal */
.modal-video {
  align-items: flex-start;
}

.modal-video .modal-video-content {
  position: relative;
  height: 90vh;
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
  z-index: 1001;
  width: 98%;
  max-width: 80%;
  max-height: 90vh;
  margin-top: 2vh;
}

.modal-video-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  border-radius: 12px;
  background: transparent;
  top: 0;
  left: 0;
}

.modal-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.restart-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  transition: transform 0.3s ease;
  cursor: pointer;
  display: none;
  z-index: 10;
}

.restart-icon:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.modal-video-wrapper.video-restart-active {
  background: #000;
}

.modal-video-wrapper.video-restart-active .restart-icon {
  display: block;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show .modal-overlay {
  opacity: 1;
}

.modal-content {
  position: relative;
  background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.7)), url('../imgs-audio/paper-texture.png');
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  width: 98%;
  max-width: 80%;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  border: 1px solid #e6e6e6;
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.modal-swipe-icon {
  position: absolute;
  left: -8rem;
  top: 50%;
  transform: translateY(-50%);
  width: 7rem;
  height: auto;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
  z-index: 1001;
}

.modal.show .modal-swipe-icon {
  opacity: 1;
}

.modal.show .modal-content {
  transform: scale(1);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: 6px solid #f9abab;
  font-size: 29px;
  cursor: pointer;
  color: #ffa7a7;
  z-index: 1001;
  transition: 0.2s ease;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-weight: bold;
  margin-right: 1.7rem;
  margin-top: 1.7rem;
}

.modal-video .modal-close {
  right: 40px;
  margin-right: 0;
}

.modal-close:hover {
  background: #ffc4b8;
}

.modal-bottom-close-container {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}

.modal-close-bottom {
  position: relative;
  top: auto;
  right: auto;
  margin: 0;
}

.modal-body {
  overflow-y: auto;
  flex: 1;
}

.modal-body h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #111;
}

.modal-body p {
  font-size: 1.25rem;
  line-height: 1.9;
  margin-bottom: 15px;
  color: #333;
}

.modal-body h4 {
  font-size: 1.2rem;
  margin-top: 25px;
  margin-bottom: 12px;
  color: #111;
}

.modal-body .highlight-box {
  background: #ffd9d1;
  padding: 25px;
  border-radius: 8px;
  margin: 25px 0;
  border-left: 4px solid #ffb3a3;
}

.modal-body .highlight-box p {
  margin-bottom: 10px;
  color: #222;
  font-weight: 500;
}

.modal-body .chart-info {
  background: #f5f5f5;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
  text-align: center;
  font-size: 0.95rem;
  color: #666;
}

.modal-body .stat {
  display: inline-block;
  margin: 0 20px;
  padding: 15px;
  background: white;
  border-radius: 5px;
  border: 1px solid #e6e6e6;
}

/* Scrollbar styling for modal */
.modal-body::-webkit-scrollbar {
  width: 6px;
}

.modal-body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: #ffd9d1;
  border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: #ffb3a3;
}

/* Modal image styles */
.modal-hero-image {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.modal-content-image {
  max-width: 35rem;
  border-radius: 8px;
  object-fit: cover;
}

/* Image with text overlay container */
.modal-image-with-overlay {
  position: relative;
  margin-bottom: 30px;
}

.modal-image-with-overlay img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.modal-image-text-overlay-top-right {
  position: absolute;
  top: 8rem;
  right: 11rem;
  background: rgba(255, 200, 190);
  width: 38rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  font-size: 2rem;
  padding: 3rem;
}

.modal-image-text-overlay-bottom-left {
  position: absolute;
  bottom: 8rem;
  left: 11rem;
  background: rgba(255, 200, 190);
  width: 32rem;

  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  font-size: 2rem;
  padding: 3rem;
}


/* Modal layout containers */
.modal-one-column {
  margin-bottom: -20px;
  align-items: center;
  padding: 11% 10%;
}

.modal-two-column {
    display: flex;
    gap: 9%;
    margin-bottom: 30px;
    align-items: center;
    padding: 11% 10%;
}



.modal-column {
  flex: 1;
}

.modal-text-meta {
  margin: 10px 0;
  font-size: 0.9rem;
  color: #666;
}

.modal-text-main {
  margin-top: 20px;
}

/* Modal image-text combination (image left, text box right) */
.modal-image-text-row {
  display: flex;
  gap: 20px;
  margin: 25px 0;
  align-items: flex-start;
}

.modal-side-image {
  width: 45%;
  border-radius: 8px;
  object-fit: cover;
}

/* Responsive design for screens smaller than 1500px */
.resolution-message {
  display: none;
  font-size: 1.8rem;
  text-align: center;
  padding: 40px;
  color: #111;
}

@media (max-width: 1499px) {
  .start-button {
    display: none !important;
  }

  .resolution-message {
    display: block;
  }

.title-image {
    max-width: 100%;
}

  .resolution-message p {
    font-size: 1.8rem;
    line-height: 1.6;
    font-family: 'Lekton', monospace;
  }
}

/* Audio indicator styling */
.modal-image-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.audio-indicator {
position: absolute;
    bottom: 48px;
    left: 48px;
    width: 74px;
    height: auto;
    z-index: 10;
    animation: audio-blink 2.3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes audio-blink {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}