@font-face {
  font-family: 'Ruddy';
  src: url(font/ruddy/Ruddy-Regular.ttf);
  font-style: normal;
  font-weight: 250;
}

@font-face {
  font-family: 'Ruddy';
  src: url(font/ruddy/Ruddy-Bold.ttf);
  font-style: bold;
  font-weight: 700;
}

@font-face {
  font-family: 'Colfax';
  src: url('font/colfax/Colfax-Regular.otf');
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: 'Colfax';
  src: url('font/colfax/Colfax-RegularItalic.otf');
  font-style: italic;
  font-weight: 400;
}
@font-face {
  font-family: 'Colfax';
  src: url('font/colfax/Colfax-Bold.otf');
  font-style: bold;
  font-weight: 700;
}

/* Kleuren geïnspireerd op het logo */
:root {
  --bg-color:#800263;
  --studio-color: #FFA300;
  --stuiter-color: #1e98b5;
  --accent-color: #FF3B30;
  --text-light: #f4f4f4;
  --text-dark: #323232;
  --background: #e2bf95;

  --background-index: -1;
  --intro-index: 0;
  --bouncy-index: 1;
  --foreground-index: 2;
}



* {
  box-sizing: border-box;
}
html body{
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: 'colfax', sans-serif;
  background-color: var(--background);
  color: var(--text-dark);
  line-height: 1.6;
}
#canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: auto; /* Let JS handle the height */
  z-index: var(--bouncy-index);               /* ensures it's below your content */
  pointer-events: none;     /* allows clicks to go through */
  display: block;
  transform: translateZ(0);
  will-change: transform;

}

header {
  position: relative;
  overflow: hidden;
  height: 50px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  height: 180px;
  width: auto;
}
/* urls dont normally breakup causing layout issues */
a { 
  word-wrap: break-word;
  word-break: break-word;
}
@media (min-width: 768px) {
  .logo {
    height: 180px;
    width: auto;
    padding-right: 10rem;
  }
}
.focus-top {
  object-fit: cover;
  object-position: top;
  width: 100%;
  height: 100%;
}


h3 {
  font-family: 'Ruddy';
}

h1 {
  font-size: 2.5rem;
  margin: 0;
  font-family: 'Ruddy';
}

.studio {
  color: var(--studio-color);
}

.stuiter {
  color: var(--stuiter-color);
}

main {
  max-width: 1000px;
  margin: 0 auto;
  z-index: 0;
}


.intro {
  display: flex;
  flex-direction: row;
  align-items: center;       /* vertically align image and text */
  justify-content: center;   /* horizontally center the items inside */
  gap: 3rem;

  margin-left: auto;
  margin-right: auto;        /* 👈 center the whole section in its container */

  padding-left: 4vw;
  padding-right: 4vw;

  position: relative;
  z-index: var(--intro-index);
  transform: translateY(30%);
}

.intro img.logo {
  margin: 0;
  padding: 0;
  max-width: 350px; /* control image size */
  height: auto;
  display: block;
}
.intro p {
  margin: 0;
  padding: 0;
  max-width: 350px;
/* line-height: 1.4; optional: tighten text */
  
}


@media (max-width: 768px) {
  .intro {
    display: flex;
    align-items: center;
    flex-direction: column;
    flex-wrap:wrap;
    padding: 2rem;
    gap:1rem;
    text-align: left;
    transform: translateY(-5%);
    min-height: 100vh;
  }
  .intro img.logo {
  margin: 0;
  padding: 0;
  max-width: 85vw; /* control image size */
  height: auto;
  display: block;
}
}


.introtext span {
  font-family: 'Ruddy';

}


section {
  margin-bottom: 2rem;
}

h2 {
  color: var(--bg-color);
  margin-bottom: 0.5rem;
  font-family: 'Ruddy';

}

ul {
  list-style-type: circle;
  padding-left: 1.5rem;
}

a {
  color: var(--stuiter-color);
  text-decoration: none;
}

a:hover {
  color: var(--accent-color);
}



footer h2 {
  color: #ccc;
}

/* Menu button styling */
.menu-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 50%;
  background-color: var(--studio-color);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px #32323250;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.bouncy-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 50%;
  background-color: var(--studio-color);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px #32323250;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.bouncy-btn .menu-icon {
  width: 30px;
  height: 30px;
  color: var(--text-light);
}


.menu-btn:hover {
  transform: scale(1.01);
  background-color: var(--studio-color);
  box-shadow: 0 6px 20px #3232327d;
}

.bouncy-btn:hover {
  transform: scale(1.01);
  background-color: var(--studio-color);
  box-shadow: 0 6px 20px #3232327d;
}


.menu-btn:active {
  transform: scale(0.95);
}

.bouncy-btn:active {
  transform: scale(0.95);
}

.menu-icon {
  width: 24px;
  height: 24px;
  color: var(--text-light);
}

/* Side menu styling */
.side-menu {
  position: fixed;
  top: 0;
  right: -401px; /* slightly more off screen for collision weirdness to stop */
  width: 400px;
  height: 100vh;
  background-color: var(--text-light);
  box-shadow: -5px 0 15px #32323222;
  transition: right 0.3s ease;
  z-index: 2000;
  padding-top: 1rem;
  padding-left: 2rem;
  padding-right: 2rem;
  box-sizing: border-box;
}

/* #bouncyOverlay.menu-overlay.active {
  display: block;
} */

.foto {
  /* width: 60%; */
  /* border-radius: 10px; */
  /* margin-bottom: 1rem; */
}




#faceSphereContainer {
   cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 200px;
  margin: 0 auto;           /* ← centers it horizontally */
}

@media (max-width: 768px) {
  #faceSphereContainer {
    width: 175px;
    height: 175px;
  }
}

/* Social media links styling */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
 
}

.social-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.social-link.instagram {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(244, 244, 244, 0.1);
  
  border-radius: 19px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(244, 244, 244, 0.2);
  transition: all 0.3s ease;
  color:var(--stuiter-color);
}

.social-link.instagram:hover, .social-link.linkedin:hover {
  /* background: rgba(255, 255, 255, 0.2); */
  transform: translateY(-2px);
  color:var(--stuiter-color);
   /* border: 1px solid rgba(72, 148, 176, 0.2); */
}

.social-link.linkedin {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(244, 244, 244, 0.1);
  border-radius: 19px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(244, 244, 244, 0.2);
  transition: all 0.3s ease;
  color:var(--stuiter-color);
}



.side-menu.open {
  right: 0;
}

.close-menu-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
  line-height: 1;
  transition: color 0.3s ease;
}

.close-menu-btn:hover {
  color: var(--accent-color);
}

.menu-content {
  margin-top: 0px;
}
.menu-content p {
  font-size: clamp(0.8rem, 2vw, 0.9rem);

}

.menu-content h3 {
  color: var(--bg-color);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.menu-content ul {
  list-style: none;
  padding: 0;
}

.menu-content li {
  margin-bottom: 1rem;
}

.menu-content a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 1.1rem;
  padding: 0.5rem 0;
  display: block;
  transition: color 0.3s ease;
}

.menu-content a:hover {
  color: var(--bg-color);
}

/* Menu overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
 
.menu-overlay.active {
  opacity: 1;
    pointer-events: auto;
  visibility: visible;
}

.bouncy-menu {
  position: fixed;
  top: 0;
  left: -201px; /* slightly more off screen for collision weirdness to stop */
  width: 200px;
  height: 100vh;
  background-color: var(--text-light);
  box-shadow: -5px 0 15px #32323222;
  transition: left 0.3s ease;
  z-index: 2000;
  padding-top: 1rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  box-sizing: border-box;
}


.bouncy-menu.open {
  left: 0;
}

.bouncy-menu label {
  display: block;
  font-size: 0.95rem;
}

.bouncy-menu select,
.bouncy-menu input[type="checkbox"] {
  margin-top: 0.3rem;
  width: 100%;
  padding: 0.2rem;
  border-radius: 10px;
  border: none;
  font-size: 0.9rem;
  background-color: #ffffff;
  color: #333;
}

.slider-wrapper {
  position: relative;
  height: 48px;
  border-radius: 30px;
  background-color: #e0e0e0;
  margin-bottom: 0rem;
  overflow: hidden;
}

/* Fill layer behind thumb */
.slider-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: var(--accent-color);
  border-radius: inherit;
  z-index: 1;
  pointer-events: none;
  transition: width 0.3s ease;
  
}

/* Text on top of slider */
.slider-label {
  position: relative;
  /* transform: translateY(5px); */
  left: 0;
  width: 100%;
  text-align: center;
  line-height: 35px;
  z-index: 3;
  font-weight: bold;
  color: black;
  font-family: 'colfax-regular', sans-serif;;
  margin-bottom: 0.7rem;
}
/* Actual slider */
.styled-slider {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  z-index: 2;
  width: 100%;
  height: 48px;
  background: transparent;
  margin: 0;
}

/* WebKit Thumb */
.styled-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 36px;
  height: 36px;
  background: var(--studio-color);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
  margin-top: 6px;
  cursor: pointer;
}

/* WebKit Track */
.styled-slider::-webkit-slider-runnable-track {
  height: 48px;
  background: transparent;
  border-radius: 30px;
}

/* Firefox Thumb */
.styled-slider::-moz-range-thumb {
  width: 36px;
  height: 36px;
  background: var(--studio-color);
  border-radius: 50%;
  border: 3px solid white;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

/* Firefox Track */
.styled-slider::-moz-range-track {
  height: 48px;
  background: transparent;
  border-radius: 30px;
}

.bouncy-menu input[type="range"] {
  accent-color: var(--accent-color);
}

.bouncy-menu #chaosButton
{
  margin-top: 1rem;
}

/* .bouncy-menu #chaosButton,
.bouncy-menu #clearButton,
.bouncy-menu #resetButton {
  background: linear-gradient(45deg, var(--studio-color), var(--accent-color));
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 163, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
  margin-bottom: 1rem;

} */

.bouncy-menu #chaosButton,
.bouncy-menu #clearButton,
.bouncy-menu #resetButton {
  padding: 0.8rem 1.5rem;
  /* background-color: var(--accent-color); */
  border: 2px solid var(--accent-color);
  background: rgba(244, 244, 244, 0.85);
  backdrop-filter: blur(10px);
  color: var(--stuiter-color);
  color: var(--accent-color);
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  width: 100%;
  font-weight: bold;
}
.bouncy-menu #chaosButton:hover,
.bouncy-menu #clearButton:hover,
.bouncy-menu #resetButton:hover {
  background-color: var(--accent-color);
  color: var(--text-light)
}


#patternSelectOption,
#collisionToggleOption,
/* .bouncy-menu #clearButton, */
.bouncy-menu #boostLabel {

  display: none;
}

#gravityValue ,
#bouncinessValue,
#boostValue,
#sizeValue {
  display: none;
}



/* Scroll arrow styling */
.scroll-arrow {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 50%;
  background-color: var(--studio-color);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--foreground-index);
  /* animation: stuiterBounce 1.5s infinite; */
  /* animation-timing-function: linear; */
}
/* hide on desktop cause its unnecesary */
  @media (min-width: 769px) {
  .scroll-arrow {
    display: none;
  }
}

.scroll-arrow:hover {
  animation: none;
  transform: scale(1.1);
  background-color: var(--studio-color);
  box-shadow: 0 6px 20px #3232327d;
}

.scroll-arrow:active {
  transform: scale(0.95);
}

.arrow-icon {
  width: 24px;
  height: 24px;
  color: var(--text-light);
}

@keyframes stuiterBounce {
  0% {
    transform: translateY(0px) scaleY(1);
    animation-timing-function: ease-out;
  }
  10% {
    transform: translateY(-10px) scaleY(1.1);
    animation-timing-function: ease-in;
  }
  20% {
    transform: translateY(-30px) scaleY(0.9);
    animation-timing-function: ease-out;
  }
  30% {
    transform: translateY(-40px) scaleY(1.05);
    animation-timing-function: ease-in;
  }
  40% {
    transform: translateY(-50px) scaleY(0.95);
    animation-timing-function: ease-out;
  }
  50% {
    transform: translateY(-40px) scaleY(1.02);
    animation-timing-function: ease-in;
  }
  60% {
    transform: translateY(-30px) scaleY(0.98);
    animation-timing-function: ease-out;
  }
  70% {
    transform: translateY(-15px) scaleY(1.01);
    animation-timing-function: ease-in;
  }
  80% {
    transform: translateY(-10px) scaleY(0.99);
    animation-timing-function: ease-out;
  }
  90% {
    transform: translateY(-5px) scaleY(1.005);
    animation-timing-function: ease-in;
  }
  100% {
    transform: translateY(0px) scaleY(1);
    animation-timing-function: ease-out;
  }
}

/* Projects section styling */
.projects-section {
  min-height: 100vh;
  background-color: var(--text-light);
  padding: 4rem 0;
  margin-bottom: 0;
}

.projects-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;

  /* place it in the foreground */
  position: relative;
  z-index: var(--foreground-index);
}

.projects-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--bg-color);
  margin-bottom: 3rem;
}

/* Filter buttons styling */
.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  
}

.filter-btn {
  padding: 0.8rem 1.1rem;
  border: 2px solid var(--stuiter-color);
  background: rgba(244, 244, 244, 0.85);
  backdrop-filter: blur(10px);
  color: var(--stuiter-color);
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 1rem;
  font-weight: 700;
}

.filter-btn:hover {
  background-color: var(--stuiter-color);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(128, 2, 99, 0.3);
}

.filter-btn.active {
  background-color: var(--stuiter-color);
  color: var(--text-light);
}

/* Projects grid styling */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
  /* background-color: white; */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  z-index: var(--foreground-index);
  will-change: transform;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.project-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
    background-color: var(--bg-color);

}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}


.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-info {
  padding: 1.5rem;
  font-weight: 100;
  border: none;
  flex-grow: 1;
}

.project-info h3 {
  color: var(--bg-color);
  font-size: 1.3rem;
    font-weight: 100;

  margin-bottom: 0.5rem;
}

.project-info p {
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.project-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 1rem;
}

.tag {
  background-color: var(--accent-color);
  font-weight: bold;
  color: white;
  padding-top: 0.4rem;
  padding-bottom: 0.2rem;
  padding-left: 0.8rem;
  padding-right: 0.8rem;
  text-align: center;
  border-radius: 9999px; /*rounds it off */
  font-size: 0.8rem;
}


/* Project details styling */
.project-details {
  max-height: 0;
  overflow: hidden;
  /* opacity: 1; */
  background-color: #ededed5d;
  transform: translateY(10px);
  padding: 0;
  transition: max-height 0.5s ease, opacity 0.5s ease, transform 0.5s ease, padding 0.5s ease;
}


.project-details.open {
  max-height: none;
  padding: 2rem;
}

.project-details-content {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  will-change: opacity, transform;
}
.project-details-content a {
  padding:0;
}

.project-details.open .project-details-content {
  opacity: 1;
  transform: translateY(0);
}

.project-details h3 {
  color: var(--bg-color);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.project-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.project-details-text h4 {
  color: var(--bg-color);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  margin-top: 1.5rem;
}

.project-details-text h4:first-child {
  margin-top: 0;
}

.project-details-text p {
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.project-details-text ul {
  color: var(--text-dark);
  padding-left: 1.5rem;
}

.project-details-text li {
  margin-bottom: 0.3rem;
}



.img-wrapper {
    max-width: 100%;
  overflow: hidden;
  border-radius: 10px;
  display: block;


}

.img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.img-wrapper img:hover {
  transform: scale(1.1); /* consistent zoom from center */
}

@media (max-width: 600px) {
  .gallery3 img {
    height: auto;
    max-height: 150px;
    object-fit: contain;
  }
}




.close-details-btn {
  background-color: var(--accent-color);
  color: var(--studio-color);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: block;
  margin: 0 auto;
}

.close-details-btn:hover {
  background-color: var(--bg-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(128, 2, 99, 0.3);
}

.project-card.details-open {
  grid-column: 1 / -1;
  transition: all 0.4s ease;
    transition: transform 0.4s ease;
}


/* Project dropdown styling */
.project-dropdown-section {
  /* margin-top: 1rem; */
  /* padding-top: 1rem; */
}

.dropdown-toggle {
  width: 100%;
  background: var(--stuiter-color);
  color: white;
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}



.dropdown-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.dropdown-arrow {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.dropdown-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 0 0 12px 12px;
  /* margin-top: -2px; */
}

.project-dropdown-section.active .dropdown-content {
  /* padding: 1.5rem; */
  border: 2px solid var(--stuiter-color);
  border-top: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding-bottom: 1.5rem;
   padding-left: 1.5rem;
   padding-right:1.5rem;
}

.project-dropdown-section.active .dropdown-toggle {
  border-radius: 12px 12px 0px 0px;
  box-shadow: none;
}

.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.dropdown-grid.two-column-70-30 {
  grid-template-columns: 70% 30%;
}

.dropdown-column h5 {
  color: var(--bg-color);
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
  /* padding-bottom: 0.3rem; */
}


.dropdown-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown-column li {
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(128, 2, 99, 0.1);
  font-size: 0.95rem;
}

.dropdown-column li:last-child {
  border-bottom: none;
}

/* Responsive dropdown */
@media (max-width: 768px) {
  .dropdown-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .dropdown-grid.two-column-70-30 {
    grid-template-columns: 1fr;
  }
  
  .dropdown-toggle {
    font-size: 1rem;
    padding: 0.8rem 1rem;
  }
}



/* footer {
  position: relative;
  background-color: var(--bg-color);
   color: white;

    margin: 0;
z-index: var(--background-index); 
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
    pointer-events: auto;
    z-index: var(--foreground-index);
} */

.footer-wrapper {
  position: relative;
  overflow: hidden;
  text-align: center;
  font-size: 0.9rem;
}

.footer-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-color);
  z-index: var(--background-index);
  pointer-events: none; /* just in case */
}

.footer-content {
  position: relative;
  z-index: var(--foreground-index);
  color: white;
  padding: 1rem;
  pointer-events: auto;
}


footer h2 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  margin-top: 0;
}

footer p {
  /* margin-bottom: 1rem; */
  /* z-index: 10; */
  opacity: 0.8;
}

footer a {
  color:var(--studio-color)
}


.scroll-up-wrapper {
  width: 100%;
  display: flex;
  justify-content: center; /* align to the left */
  /* padding-left: 48.5%;          spacing from the left edge */
  margin-top: 2rem;
  position: absolute;
  z-index: 9;
}

.scroll-up-arrow {
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 50%;
  background-color: var(--studio-color);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}


.scroll-up-arrow:hover {
  animation: none;
  transform: scale(1.1);
  background-color: var(--studio-color);
  box-shadow: 0 6px 20px #3232327d;
}

.scroll-up-arrow .arrow-icon {
  width: 24px;
  height: 24px;
  color: var(--text-light);
}



.gallery3 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  overflow-y: auto;
}

.gallery3 img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  overflow: hidden;
  transition: transform 0.3s ease;
  cursor: pointer;
  border-radius: 10px;
}

.gallery3 iframe {
  border-radius: 10px;
}



/* Fade in animation
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
} */
.image-modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);

  /* Flexbox styles stay here, but won't apply unless .show is added */
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

.image-modal.show {
  display: flex; /* Only show modal when .show is added */
}

.modal-content {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  width: auto;
  height: auto;
}
.modal-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: none;
  margin: 0 auto;
  align-self: center;
}

.modal-video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}



#imageModal img,
#imageModal iframe {
  max-width: 90%;
  max-height: 80vh;
  display: none;
  margin: auto;
}

#imageModal.show img,
#imageModal.show iframe {
  display: block;
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 25px;
  color: white;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}

.modal-close:hover {
  color: #ccc;
}

.modal-nav {
  position: absolute;
  top: 50%;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 1001;
}

.modal-nav.prev {
  left: 20px;
}

.modal-nav.next {
  right: 20px;
}



@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}


/* Responsive styling */
@media (max-width: 600px) {
  .logo-container {
    flex-direction: column;
    align-items: flex-start;
  }

  h1 {
    font-size: 2rem;
  }

  .bouncer {
    display: none; /* optioneel op mobiel verbergen */
  }

  /* Smaller menu button on mobile */
  .menu-btn {
    width: 50px;
    height: 50px;
    top: 15px;
    right: 15px;
  }
    .bouncy-btn {
    width: 50px;
    height: 50px;
    top: 15px;
    left: 15px;
  }

  .menu-icon {
    width: 20px;
    height: 20px;
  }

  /* Side menu adjustments for mobile */
  .side-menu {
    width: 280px;
    right: -281px;
    padding-top: 1rem;
    padding-left: 1.5rem;
     padding-right: 1.5rem;
  }

  .menu-content {
    margin-top: 2rem;
  }

  .menu-content h3 {
    margin-top: 0rem;
    font-size: 1.3rem;
  }

  .menu-content a {
    font-size: 1rem;
  }

  /* Social links adjustments for mobile */
  .social-links {
    gap: 0.6rem;
  }

  .social-link {
    padding: 0.4rem;
    font-size: 0.9rem;
  }

  .social-icon {
    width: 18px;
    height: 18px;
  }

  /* Scroll arrow adjustments for mobile */
  .scroll-arrow {
    width: 50px;
    height: 50px;
    bottom: 20px;
    left: 20px;
  }

  .scroll-up-wrapper {
    margin-top: 4.7rem;
  }

  footer {
    margin-top: 2rem;
    /* margin-bottom: -1rem; */
   
   
  }
  footer p {
     padding-left: 1rem;
     padding-right: 1rem;
    padding-bottom: 0.5rem;
  }

  .arrow-icon {
    width: 20px;
    height: 20px;
  }

  /* Projects section adjustments for mobile */
  .projects-section {
    padding: 2rem 0;
  }

  .projects-container {
    padding: 0 1rem;
  }

  .projects-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .filter-buttons {
    gap: 0.5rem;
    margin-bottom: 2rem;
  }

  .filter-btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .project-card {
    margin: 0 0.5rem;
  }

  .project-info {
    padding: 1rem;
  }

  .project-info h3 {
    font-size: 1.1rem;
  }

  .project-info p {
    font-size: 0.9rem;
  }

  /* Project details responsive adjustments */
  .project-details.open {
    padding: 1.5rem;
  }

  .project-details-grid {
    padding: 0.5rem;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .project-details h3 {
    font-size: 1.3rem;
  }

  .project-details-text h4 {
    font-size: 1rem;
  }

  .close-details-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }

  /* Gallery3 responsive adjustments */
  .gallery3 {
    grid-template-columns: 1fr;
    /* max-height: 250px; */

  }

  .gallery3 img {
    /* height: 100px; */
    /* margin: 0.5rem 0; */
  }

  /* Footer responsive adjustments */
  footer h2 {
    font-size: 1.2rem;
  }

  .scroll-up-arrow {
    width: 45px;
    height: 45px;
    top: 0.5em;
    left: 0.5em;
    background-color: var(--studio-color);

  }

  .scroll-up-arrow .arrow-icon {
    width: 20px;
    height: 20px;
  }
}

/* Contact Section Styles */
.contact-section {
  padding: 4rem 2rem;
  background: linear-gradient(180deg, var(--background-color) 0%, var(--bg-color) 100%);
  color: var(--text-dark);
  margin: 0;
}

.contact-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
    position:relative;
  z-index: var(--foreground-index);
}

.contact-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--stuiter-color);
}

.contact-intro {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.contact-form {
  background: rgba(244, 244, 244, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 3rem;
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(244, 244, 244, 0.2);

}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: var(--bg-color);
  font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-dark);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--stuiter-color);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 0 3px rgba(255, 163, 0, 0.2);
  transform: translateY(-2px);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
  opacity: 0.8;
}

.submit-btn {
  padding: 0.8rem 1.5rem;
  background-color: var(--studio-color);
  color: var(--text-light);
  border: var(--studio-color);
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.submit-btn:hover {
  padding: 0.8rem 1.5rem;
  border: 2px solid var(--studio-color);
  background: rgba(244, 244, 244, 0.7);
  backdrop-filter: blur(10px);
  color: var(--studio-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(128, 2, 99, 0.3);
}

.submit-btn:active {
  background-color: var(--studio-color);
  color: rgba(244, 244, 244, 0.85);
  transform: translateY(0);
}

.send-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.submit-btn:hover .send-icon {
  transform: translateX(3px);
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(244, 244, 244, 0.1);
  padding: 1rem 1.5rem;
  border-radius: 19px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(244, 244, 244, 0.2);
  transition: all 0.3s ease;
}

.contact-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.contact-icon {
  width: 20px;
  height: 20px;
  color: var(--studio-color);
}

.contact-item span {
  font-weight: 500;
  color: var(--text-light);
}

/* Contact form responsive design */
@media (max-width: 768px) {
  .contact-section {
    padding: 3rem 1rem;
  }
  
  .contact-section h2 {
    font-size: 2rem;
  }
  
  .contact-intro {
    font-size: 1rem;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  .contact-info {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .contact-item {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}
