/* ================================================= */
/* FONTS */
/* ================================================= */

@font-face {
  font-family: "Velvelyne";
  src: url("./FONT/Velvelyne-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Velvelyne";
  src: url("./FONT/Velvelyne-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JandaScript";
  src: url("./FONT/JandaCelebrationScript.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Mieszkanie9";
  src: url("./FONT/mieszkanie9.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}



/* ================================================= */
/* RESET */
/* ================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Velvelyne", Arial, Helvetica, sans-serif;
  font-size: 27px;
  line-height: 1.2;
  color: #000;
  background: #fff;
  min-height: 100vh;
  padding: 10px 12px;
}


/* ================================================= */
/* HEADER */
/* ================================================= */

header {
  position: fixed;
  top: 5px;
  left: 12px;
  right: 12px; /* 👈 dit ipv width */
  z-index: 10000;
}

.top-nav {
  font-size: 23px;
}

.nav-group{
  display:flex;
  align-items:center;
}

.nav-slash{
  margin:0 1px;
  color:#e83886;
}

.top-nav a {
  text-decoration: none;
  color: #e83886;
  font-weight: 400;
  display: inline-block;
  transition: 
    -webkit-text-stroke 0.2s ease,
    color 0.2s ease;
}

.top-nav a.info-active{
  color:#000;
}

.top-nav a.show-active {
  color: #e83886;
  opacity: 1;
}

/* bestaande hover */
.top-nav a:hover {
  -webkit-text-stroke: 4px #e83886;
  color: transparent;
}


.nav-group:hover .nav-slash.slash-active{
  -webkit-text-stroke: 4px #000;
  color: transparent;
}

/* uitzondering voor show link */
.top-nav a.no-black-hover:hover {
  -webkit-text-stroke: 4px #e83886;
  color: #e83886; /* of gewoon roze zichtbaar */
}

.nav-info.info-active{
  color:#e83886;
}

.nav-slash.slash-active{
  color:#e83886;
}

.nav-slash.slash-active:hover{
  -webkit-text-stroke: 4px #e83886;
  color: transparent;
}

/* slash mee hoveren met info/show */
.nav-group:hover .nav-slash{
  -webkit-text-stroke: 4px #e83886;
  color: transparent;
}

/* niet-actieve link = lichter roze */
.top-nav a.inactive {
  opacity: 0.4;
}



/* ================================================= */
/* MAIN */
/* ================================================= */

main {
  padding-top: 110px;
  width: 100%;
  position: relative;
  z-index: 1;
}

body.show-page main {
  padding-top: 0;
}

.text p {
  margin-bottom: 13px;
}

/* ================================================= */
/* FOOTER */
/* ================================================= */

footer {
  position: fixed;
  bottom: 5px;
  left: 0;
  width: 100%;
  z-index: 100;
}

.contact-footer {
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  font-size: 30px;
}

.contact-footer a {
  text-decoration: none;
  color: #e83886;
  display: inline-block;
  transition: 
    -webkit-text-stroke 0.2s ease,
    color 0.2s ease;
}

.contact-footer a:hover {
  -webkit-text-stroke: 5px #e83886;
  color: transparent;
}


/* ================================================= */
/* SCRIPT NAME (FIXED – NO PSEUDO DUPLICATE) */
/* ================================================= */

.script-name {
  font-family: "Mieszkanie9", cursive;
  font-size: 1.15em;
  line-height: 1;
  display: inline-block;
  color: #000;
  transition: 
    -webkit-text-stroke 0.25s ease,
    color 0.25s ease,
    transform 0.25s cubic-bezier(.34,1.56,.64,1);
}

.script-name:hover {
  color: transparent;
  -webkit-text-stroke: 2px #e83886;
  transform: scale(1.08);
}


/* ================================================= */
/* LOGO FLOAT */
/* ================================================= */

.logo-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.logo-wrapper img {
  width: 100%;
  max-height: 100vh;
  object-fit: contain;
  animation: float 3s ease-in-out infinite;
  pointer-events: auto;
  transition: transform 0.3s ease;
}

@keyframes float {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.logo-wrapper img:hover {
  animation: crazyFloat 1.7s ease-in-out infinite;
}

@keyframes crazyFloat {
  0%   { transform: translate(0px, 0px) rotate(0deg); }
  25%  { transform: translate(-15px, 10px) rotate(-5deg); }
  50%  { transform: translate(15px, -10px) rotate(5deg); }
  75%  { transform: translate(-10px, 5px) rotate(-3deg); }
  100% { transform: translate(0px, 0px) rotate(0deg); }
}

body.logo-hidden .logo-wrapper {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.about-photo {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 500;

  display: flex;
  align-items: center;
  justify-content: center;
}

.about-photo {
  width: 300px;
  height: 300px;
}

.about-photo img {
  position: absolute;
  max-width: 60vw;
  max-height: 60vh;
  width: auto;
  height: auto;

  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-photo img {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* states (welke afbeelding zichtbaar is) */
.about-photo.state-1 #img1 { opacity: 1; }
.about-photo.state-2 #img2 { opacity: 1; }

/* zichtbaar */
.about-photo.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.3) rotate(0deg); /* verschijnt groter en recht */
}


/* ================================================= */
/* HOVER IMAGE */
/* ================================================= */

.hover-name {
  position: relative;
  cursor: pointer;
  display: inline-block;   
  line-height: 1;          
}
.hover-image {
  position: absolute;
  top: -260px;
  left: -40px;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8) rotate(-8deg);
  transition: 
    opacity 0.25s ease,
    transform 0.25s cubic-bezier(.34,1.56,.64,1);
  z-index: 999;
}

.hover-image img {
  width: 260px;
  border-radius: 0px;
}

.hover-name:hover .hover-image {
  opacity: 1;
  transform: scale(1) rotate(4deg); /* 👈 translateY eruit */
}

/* MOBILE TAP SUPPORT */
.hover-name.active .hover-image {
  opacity: 1;
  transform: scale(1) rotate(4deg);
}


/* ================================================= */
/* INTRO CANVAS */
/* ================================================= */

#collisionCanvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

body.intro-active header,
body.intro-active main,
body.intro-active .logo-wrapper,
body.intro-active footer {
  opacity: 0;
}

header,
main,
.logo-wrapper,
footer {
  transition: opacity 0.6s ease;
}


/* ================================================= */
/* TWO PANEL SHOW */
/* ================================================= */

body.show-page {
  padding: 0;
  overflow: hidden;
}

.two-panel-container {
  display: flex;
  width: 100%;
  height: 100vh;
  gap: 0; 
}

.panel {
  flex: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  
  margin: 0; 
}

.panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.4s ease;
}

.panel img.fade,
.fade {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.panel:hover img {
  transform: scale(1.05);
}

.panel:hover {
  filter: brightness(0.95);
}


/* ================================================= */
/* RESPONSIVE */
/* ================================================= */

@media (max-width: 900px) {

  .two-panel-container {
    flex-direction: column;
  }

  .panel {
    height: 50vh;
  }

}

/* ======================================= */
/* CENTER HORIZONTAL ARROW (PIJL)
/* ======================================= */

.cursor-arrow {
  position: fixed;
  top: 0;
  left: 0;
  width: 120px;
  height: 30px;
  pointer-events: none;
  z-index: 999;
  transform: translate(-50%, -50%);
}

.cursor-arrow svg {
  width: 100%;
  height: auto;
}

.cursor-arrow line,
.cursor-arrow polyline {
  stroke: #ffffff;
  stroke-width: 3;
  fill: none;
}

.phone-group {
  display: flex;
  align-items: center;
}

.phone-group a {
  text-decoration: none;
  color: #e83886;
}

.slash {
  margin: 0 6px;
  color: #e83886;
  transition: -webkit-text-stroke 0.2s ease, color 0.2s ease;
}

/* wanneer je over het blok hovert */
.phone-group:hover .slash {
  -webkit-text-stroke: 5px #e83886;
  color: transparent;
}


.image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;
}

.panel:hover .caption {
  opacity: 1;
}

.caption {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);

  font-family:"Velvelyne";
  font-weight: 300;
  font-size: 21px;
  line-height: 0.95;

  color: black;
  background-color: #ffffff;
  padding: 0em 0.1em 0.2em 0.1em;

  white-space: nowrap;

  opacity: 0;
  transition: opacity .25s ease;
}



/* Flash overlay */
.flash-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.3);
  pointer-events: none;
  animation: flashFade 0.15s forwards;
}

@keyframes flashFade {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* Cursor arrow */
.cursor-arrow {
  position: fixed;
  pointer-events: none;
  width: 200px;   /* groter */
  height: 30px;   /* groter */
  z-index: 9999;
  transform: translate(-50%, -50%);
}




/* ===================== */
/* HEART CONTAINER       */
/* ===================== */
.contact-heart {
  position: fixed;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: all 0.1s ease;
}

.contact-heart.active {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  pointer-events: auto;
}

/* ===================== */
/* HEART CONTENT         */
/* ===================== */
.heart-content {
  position: relative;
  display: inline-block;
}

/* ===================== */
/* HEART SHAPE           */
/* ===================== */
.heart-shape {
  position: relative;
  width: 140px;
  height: 140px;
  background: #e83886;
  transform: rotate(-45deg);
}

/* Cirkelvormen */
.heart-shape::before,
.heart-shape::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  background: #e83886;
  border-radius: 50%;
}

.heart-shape::before { top: -70px; left: 0; }
.heart-shape::after  { top: 0; left: 70px; }

/* ===================== */
/* OUTLINE VAN HET HART  */
/* ===================== */
.heart-shape::after {
  border: none; /* achtergrondcirkel blijft */
}

.heart-shape::before-outline {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  top: -70px;
  left: 0;
  border-radius: 50%;
  background: none;
  border: 4px solid white;
  transform: rotate(-45deg);
  z-index: 2;
  pointer-events: none;
}

/* ALTERNATIEF (clip-path) */
.heart-shape-outline {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  border: 4px solid white;
  border-radius: 50% 50% 50% 50%;
  clip-path: polygon(
    50% 0%, 61% 8%, 68% 19%, 68% 32%, 61% 46%, 50% 58%, 39% 46%, 32% 32%, 32% 19%, 39% 8%
  );
  transform: scale(1.5) translate(-15%, 20%);
  z-index: 2;
}

/* ===================== */
/* HEART TEXT            */
/* ===================== */
.heart-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  color: rgb(235, 235, 235);
  font-family: "Velvelyne", sans-serif;
  font-size: 38px;
  text-align: center;
  line-height: 1.2;
  z-index: 3;
}

/* ===================== */
/* CLOSE BUTTON          */
/* ===================== */
.close-heart {
  position: absolute;
  top: -15px;
  right: -15px;
  background: rgb(0, 0, 0);
  color: rgb(255, 255, 255);
  font-size: 22px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
}

/* ================================================= */
/* MOBILE FIXES (PHONE + TABLET) */
/* ================================================= */

@media (max-width: 768px) {

  /* ===================== */
  /* TEXT */
  /* ===================== */
  body {
    font-size: 16px;
    padding: 8px;
  }

  .top-nav {
    font-size: 18px;
  }

  .text p {
    margin-bottom: 10px;
  }

  /* ===================== */
  /* MAIN SPACING */
  /* ===================== */
  main {
    padding-top: 80px;
  }

  /* ===================== */
  /* FOOTER */
  /* ===================== */
  .contact-footer {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 20px;
  }

  .phone-group {
    flex-direction: column;
    gap: 5px;
  }

  .slash {
    display: none;
  }

  /* ===================== */
  /* LOGO */
  /* ===================== */
  .logo-wrapper img {
    max-height: 60vh;
  }

  /* ===================== */
  /* HOVER IMAGE FIX */
  /* ===================== */
  .hover-image {
    top: -180px;
    left: 0;
  }

  .hover-image img {
    width: 180px;
  }

  /* ===================== */
  /* HEART SMALLER */
  /* ===================== */
  .heart-shape {
    width: 100px;
    height: 100px;
  }

  .heart-text {
    font-size: 24px;
  }

}