body {
  -webkit-text-size-adjust: 100%;
  background-color: rgba(255, 255, 255, 1);
  margin: 0;
  box-sizing: border-box;
}

header {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.header-background {
  height: 100vh;
  background-image: url("/src/images/achtergrond.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  background-attachment: scroll;
}

/* Fix for iPad and touch devices: disable background-attachment: fixed */
@media (pointer: coarse) {
  .header-background {
    background-attachment: scroll;
  }
}

/* Mobile background positioning fixes */
@media (max-width: 768px) {
  .header-background {
    background-position: center top;
    background-size: cover;
  }
}

@media (max-width: 600px) {
  .header-background {
    background-position: 30% top;
    background-size: auto 100vh;
    min-height: 100vh;
  }
}

@media (max-width: 480px) {
  .header-background {
    background-position: 25% top;
    background-size: auto 110vh;
    min-height: 100vh;
  }
}

@media (max-width: 400px) {
  .header-background {
    background-position: 20% top;
    background-size: auto 120vh;
  }
}

@media (max-width: 360px) {
  .header-background {
    background-position: 15% top;
    background-size: auto 130vh;
  }
}

@media (max-width: 320px) {
  .header-background {
    background-position: 10% top;
    background-size: auto 140vh;
  }
}

.header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: 1;
}

.main-nav {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 4;
}

.navbar {
  margin: 2rem 3rem;
  list-style: none;
  display: flex;
  gap: 2.5rem;
  padding: 1rem 2rem;
}

.navbar li {
  display: inline;
}

.nav-link {
  text-decoration: none;
  color: white;
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-family: "Fjalla One", sans-serif;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.title-container {
  text-align: center;
  position: relative;
}

.site-title {
  font-family: "Fjalla One", sans-serif;
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 400;
  color: white;
  margin: 0;
  line-height: 0.9;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  animation: titleFadeIn 1.5s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.title-line {
  display: block;
  letter-spacing: 0.3em;
  margin: 0.2em 0;
  padding-left: 40rem;
}

.title-underline {
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, white, transparent);
  margin: 2rem auto 0;
  border-radius: 2px;
  animation: underlineFadeIn 2s ease-out 0.5s both;
}

@keyframes titleFadeIn {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.8) rotate(-8deg);
    filter: blur(12px) brightness(1.5);
    letter-spacing: 0.5em;
    text-shadow: 0 8px 40px rgba(0, 0, 0, 0.7);
  }
  40% {
    opacity: 0.7;
    transform: translateY(-10px) scale(1.05) rotate(2deg);
    filter: blur(2px) brightness(1.1);
    letter-spacing: 0.2em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  }
  70% {
    opacity: 1;
    transform: translateY(4px) scale(1.02) rotate(-1deg);
    filter: blur(0.5px) brightness(1);
    letter-spacing: 0.1em;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
    filter: blur(0) brightness(1);
    letter-spacing: normal;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  }
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6em 2em 4em 2em;
  line-height: 1.6;
}

section {
  margin-bottom: 3em;
}

h1 {
  font-size: 4rem;
  text-align: center;
  margin: 0;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bio-title {
  font-size: 4.5rem;
  margin-bottom: 1em;
  letter-spacing: 0.2em;
  font-weight: 400;
  font-family: "Fjalla One", sans-serif;
  color: #2c2c2c;
  position: relative;
  text-transform: uppercase;
  margin-left: -10rem;
}

.bio-title h2::after {
  content: "";
  position: absolute;
  bottom: -0.3em;
  left: 0;
  width: 35rem;
  height: 4px;
  background: linear-gradient(90deg, #2c2c2c, #666, transparent);
  border-radius: 2px;
}

p {
  font-size: 1em;
  margin-bottom: 1em;
  text-align: justify;
  font-family: "source sans pro", sans-serif;
  color: #444;
  position: relative;
  padding-left: 0;
  transition: all 0.3s ease;
}

strong {
  font-weight: 600;
  color: #1a1a1a;
  font-family: "Fjalla One", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9em;
  position: relative;
}

.bio-section {
  margin-bottom: 4em;
  padding: 4em 0;
  position: relative;
}

.bio-container {
  display: flex;
  gap: 6em;
  align-items: flex-start;
  position: relative;
}

.bio-image-left {
  flex: 0 0 450px;
  width: 450px;
  position: relative;
}

.bio-image-left img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: 5all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 17em;
}

.bio-text-right {
  flex: 1;
  line-height: 1.8;
  padding-left: 2em;
}

.site-footer {
  padding: 2rem 0;
  margin-top: 4rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.footer-left p,
.footer-right p {
  margin: 0;
  font-size: 0.9rem;
  color: #2c2c2c;
  font-family: "source sans pro", sans-serif;
}

.footer-right a {
  color: #2c2c2c;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-right a:hover {
  color: #1a1a1a;
  text-decoration: underline;
}

.social-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-link {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #2c2c2c;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-link svg {
  width: 16px;
  height: 16px;
}

.portfolio-section {
  margin-bottom: 4em;
  padding: 4em 0 2em 0;
  border-radius: 12px;
  position: relative;
}

.portfolio-title {
  font-size: 4.5rem;
  margin-bottom: 1em;
  letter-spacing: 0.2em;
  font-family: "Fjalla One", sans-serif;
  color: #2c2c2c;
  text-transform: uppercase;
  text-align: center;
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: #2c2c2c;
  color: #fff;
  font-family: "Fjalla One", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-radius: 25px;
  padding: 0.7rem 1.8rem;
  margin: 0.2rem 0;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(44, 44, 44, 0.07);
  transition: background 0.25s, color 0.25s, transform 0.2s;
  outline: none;
}

.filter-btn:hover,
.filter-btn:focus {
  background: #444;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}

.filter-btn.active {
  background: #1a1a1a;
  color: #fff;
  box-shadow: 0 4px 15px rgba(26, 26, 26, 0.3);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  min-height: 300px;
  position: relative;
  align-items: stretch;
}

.portfolio-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 420px; /* genoeg ruimte voor tekst */
}

.portfolio-item-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.portfolio-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
  background-color: #f5f5f5;
}

.portfolio-item img[src*="data:image/svg"] {
  object-fit: contain;
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.portfolio-item-content {
  padding: 1.5rem;
  position: relative;
  padding-bottom: 2.8rem; /* Extra space for category label */
}

.portfolio-item h3 {
  font-family: "Fjalla One", sans-serif;
  font-size: 1.3rem;
  color: #2c2c2c;
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.portfolio-item:hover h3 {
  color: #1a1a1a;
}

.portfolio-item p {
  color: #666;
  font-size: 0.95rem;
  margin: 0 0 1rem 0;
  text-align: left;
  line-height: 1.5;
  padding-left: 0;
}

.portfolio-item ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.portfolio-item li {
  color: #666;
  font-size: 0.95rem;
  margin: 0.3rem 0;
  text-align: left;
  line-height: 1.5;
  padding-left: 0;
  font-family: "Fjalla One", sans-serif;
  letter-spacing: 0.05em;
  font-weight: 400;
}
.portfolio-item .category {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  display: inline-block;
  background: #2c2c2c;
  color: white;
  font-size: 0.8rem;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-family: "Fjalla One", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.3s ease, box-shadow 0.3s;
  box-shadow: 0 2px 8px rgba(44,44,44,0.08);
  z-index: 2;
  pointer-events: none;
}
.portfolio-item {
  position: relative;
}

.portfolio-item:hover .category {
  background: #1a1a1a;
}

.portfolio-item.fade-out {
  opacity: 0 !important;
  transform: translateY(-30px) scale(0.9) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.contact-section {
  padding: 6rem 0 4rem;
  border-top: 1px solid #e5e5e5;
  width: 100%;
  overflow-x: hidden;
  background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
  position: relative;
}

.contact-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 0 2rem;
}

.contact-title {
  font-size: clamp(3rem, 8vw, 5rem);
  font-family: "Fjalla One", sans-serif;
  font-weight: 400;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: #2c2c2c;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  word-break: break-word;
  max-width: 100%;
  position: relative;
}

.contact-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3rem;
  font-family: "source sans pro", sans-serif;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding-left: 0;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.8rem;
  font-family: "Fjalla One", sans-serif;
  color: #2c2c2c;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1.5rem 3rem;
  border: 2px solid #2c2c2c;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  background: white;
}

.contact-email::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(44, 44, 44, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.contact-email:hover::before {
  left: 100%;
}

.contact-email:hover {
  background: #2c2c2c;
  color: white;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(44, 44, 44, 0.2);
}

.email-text {
  transition: transform 0.3s ease;
}

.email-arrow {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  font-weight: normal;
}

.contact-email:hover .email-arrow {
  transform: translateX(8px);
}

.contact-email:hover .email-text {
  transform: translateX(-4px);
}

/* Responsive styles for contact section */
@media (max-width: 1024px) {
  .contact-section {
    padding: 5rem 0 3rem;
  }

  .contact-title {
    font-size: clamp(2.5rem, 7vw, 4rem);
  }

  .contact-email {
    font-size: 1.5rem;
    padding: 1.2rem 2.5rem;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 4rem 0 3rem;
  }

  .contact-content {
    padding: 0 1.5rem;
  }

  .contact-title {
    font-size: clamp(2rem, 6vw, 3rem);
    margin-bottom: 1rem;
  }

  .contact-divider {
    width: 80px;
    margin-bottom: 1.5rem;
  }

  .contact-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
  }

  .contact-email {
    font-size: 1.3rem;
    padding: 1rem 2rem;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .contact-email:hover .email-text {
    transform: translateY(-2px);
  }

  .contact-email:hover .email-arrow {
    transform: translateY(4px) rotate(90deg);
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 3rem 0 2rem;
  }

  .contact-content {
    padding: 0 1rem;
  }

  .contact-title {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    letter-spacing: 0.1em;
  }

  .contact-divider {
    width: 60px;
    height: 2px;
  }

  .contact-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .contact-email {
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
    border-radius: 40px;
  }
}

@media (max-width: 360px) {
  .contact-title {
    font-size: clamp(1.2rem, 4vw, 2rem);
  }

  .contact-email {
    font-size: 1rem;
    padding: 0.7rem 1.2rem;
  }
}

@media (max-width: 768px) {
  .portfolio-section {
    padding: 3em 0 1.5em 0;
  }
  .portfolio-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
  }
  .portfolio-title::after {
    width: 60px;
    height: 2px;
  }
  .portfolio-filters {
    gap: 1rem;
  }
  .filter-btn {
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
  }

  .portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    min-height: 250px;
  }

  .portfolio-item:hover {
    transform: translateY(-4px) scale(1.01);
  }
}

@media (max-width: 480px) {
  .portfolio-section {
    padding: 2em 0 1em 0;
    border-radius: 8px;
  }
  .portfolio-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }
  .portfolio-title::after {
    width: 40px;
    height: 2px;
  }
  .portfolio-filters {
    gap: 0.5rem;
  }
  .filter-btn {
    font-size: 0.8rem;
    padding: 0.5rem 0.8rem;
    border-radius: 18px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    min-height: 200px;
  }

  .portfolio-item:hover {
    transform: translateY(-2px) scale(1);
  }
}

@media (max-width: 1024px) {
  .header-background {
    background-attachment: scroll;
  }

  .navbar {
    margin: 1.5rem 2rem;
    padding: 0.8rem 1.5rem;
    gap: 2rem;
  }

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

  .site-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
  }

  .title-line {
    padding-left: 20rem;
  }

  main {
    max-width: 1000px;
    padding: 5em 2em 3em 2em;
  }

  .bio-container {
    gap: 4em;
  }

  .bio-image-left {
    flex: 0 0 380px;
    width: 380px;
  }

  h2 {
    font-size: 3.8rem;
  }

  h2::after {
    width: 100px;
  }

  p {
    font-size: 1.15rem;
  }

  p:first-of-type {
    font-size: 1.25rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    margin: 1rem;
    padding: 0.6rem 1.2rem;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-link {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
  }

  .site-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
  }

  .title-line {
    padding-left: 0;
    text-align: center;
    letter-spacing: 0.2em;
  }

  main {
    padding: 4em 1.5em 3em 1.5em;
  }

  .bio-section {
    padding: 3em 0;
  }

  .bio-container {
    gap: 3em;
  }

  .bio-text-right {
    padding-left: 0;
  }

  h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1.8em;
  }

  h2::after {
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
  }

  p {
    font-size: 1.1rem;
    text-align: left;
    margin-bottom: 1.8em;
  }

  p:first-of-type {
    font-size: 1.2rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    padding: 0 1.5rem;
  }

  .footer-left,
  .footer-right {
    order: 2;
  }

  .footer-center {
    order: 1;
  }

  .footer-left p,
  .footer-right p {
    font-size: 0.8rem;
  }
}

@media (max-width: 600px) {
  .navbar {
    margin: 0.8rem;
    padding: 0.5rem 1rem;
    gap: 1rem;
    border-radius: 30px;
  }

  .nav-link {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    letter-spacing: 0.1em;
  }

  .site-title {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  }

  .title-underline {
    width: 60px;
    height: 2px;
    margin: 1.5rem auto 0;
  }

  main {
    padding: 3em 1.2em 2em 1.2em;
  }

  .bio-container {
    gap: 2em;
  }

  .bio-image-left {
    max-width: 350px;
  }

  h2 {
    font-size: 2.5rem;
  }

  p {
    font-size: 1rem;
  }

  p:first-of-type {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .header-overlay {
    background: linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 0.2) 50%,
      rgba(0, 0, 0, 0.5) 100%
    );
  }

  .nav-link {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    text-align: center;
  }

  .site-title {
    font-size: clamp(1.2rem, 3vw, 2rem);
    line-height: 1.1;
  }

  .bio-section {
    padding: 2em 0;
  }

  h2 {
    font-size: 2rem;
    margin-bottom: 1.5em;
  }

  h2::after {
    width: 60px;
    height: 3px;
  }

  p {
    font-size: 0.95rem;
    margin-bottom: 1.5em;
  }

  p:first-of-type {
    font-size: 1.05rem;
  }

  .footer-content {
    gap: 1rem;
    padding: 0 1rem;
  }

  .social-link {
    width: 28px;
    height: 28px;
  }

  .social-link svg {
    width: 14px;
    height: 14px;
  }

  .footer-left p,
  .footer-right p {
    font-size: 0.75rem;
  }
}

@media (max-width: 360px) {
  .navbar {
    padding: 0.3rem 0.6rem;
    gap: 0.6rem;
  }

  .nav-link {
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
  }

  .site-title {
    font-size: clamp(1rem, 2.5vw, 1.8rem);
  }

  .title-underline {
    width: 50px;
    height: 2px;
    margin: 1rem auto 0;
  }

  main {
    padding: 2em 0.8em 1em 0.8em;
  }

  .bio-image-left {
    max-width: 280px;
  }

  h2 {
    font-size: 1.1rem;
  }

  p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
}

@media (max-width: 320px) {
  .site-title {
    font-size: clamp(0.9rem, 2vw, 1.5rem);
  }

  main {
    padding: 1.5em 0.6em 0.8em 0.6em;
  }

  .bio-image-left {
    max-width: 260px;
  }

  h2 {
    font-size: 1rem;
  }

  p {
    font-size: 0.8rem;
    margin-bottom: 1em;
  }
}

/* Bio Section Responsive Styles */
@media (max-width: 1200px) {
  .bio-container {
    gap: 4em;
  }

  .bio-image-left {
    flex: 0 0 400px;
    width: 400px;
  }

  .bio-image-left img {
    margin-top: 15em;
  }

  .bio-title {
    font-size: 4rem;
    margin-left: -8rem;
  }

  .bio-title h2::after {
    width: 30rem;
  }
}

@media (max-width: 1024px) {
  .bio-container {
    gap: 3em;
  }

  .bio-image-left {
    flex: 0 0 350px;
    width: 350px;
  }

  .bio-image-left img {
    margin-top: 12em;
  }

  .bio-title {
    font-size: 3.5rem;
    margin-left: -6rem;
  }

  .bio-title h2::after {
    width: 25rem;
  }

  .bio-text-right {
    padding-left: 1.5em;
  }
}

@media (max-width: 900px) {
  .bio-container {
    flex-direction: column;
    gap: 3em;
    align-items: center;
  }

  .bio-image-left {
    flex: none;
    width: 100%;
    max-width: 400px;
    order: 2;
  }

  .bio-image-left img {
    margin-top: 0;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
  }

  .bio-text-right {
    order: 1;
    padding-left: 0;
    width: 100%;
  }

  .bio-title {
    font-size: 3.5rem;
    margin-left: 0;
    text-align: center;
    margin-bottom: 1.5em;
  }

  .bio-title h2::after {
    left: 50%;
    transform: translateX(-50%);
    width: 20rem;
  }
}

@media (max-width: 768px) {
  .bio-section {
    padding: 3em 0;
    margin-bottom: 3em;
  }

  .bio-container {
    gap: 2.5em;
  }

  .bio-image-left {
    max-width: 350px;
  }

  .bio-title {
    font-size: 3rem;
    letter-spacing: 0.15em;
    margin-bottom: 1.2em;
  }

  .bio-title h2::after {
    width: 15rem;
    height: 3px;
  }

  .bio-text-right p {
    font-size: 1.05rem !important;
    margin-bottom: 1.5em;
    text-align: left;
    line-height: 1.7;
  }
}

@media (max-width: 600px) {
  .bio-section {
    padding: 2.5em 0;
  }

  .bio-container {
    gap: 2em;
  }

  .bio-image-left {
    max-width: 300px;
  }

  .bio-title {
    font-size: 2.5rem;
    letter-spacing: 0.1em;
  }

  .bio-title h2::after {
    width: 12rem;
  }

  .bio-text-right p {
    font-size: 1rem !important;
    margin-bottom: 1.3em;
  }
}

@media (max-width: 480px) {
  .bio-section {
    padding: 2em 0;
    margin-bottom: 2.5em;
  }

  .bio-container {
    gap: 1.5em;
  }

  .bio-image-left {
    max-width: 280px;
  }

  .bio-image-left img {
    border-radius: 6px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  }

  .bio-title {
    font-size: 2rem;
    letter-spacing: 0.08em;
    margin-bottom: 1em;
  }

  .bio-title h2::after {
    width: 8rem;
    height: 2px;
  }

  .bio-text-right p {
    font-size: 0.95rem !important;
    margin-bottom: 1.2em;
    line-height: 1.6;
  }
}

@media (max-width: 400px) {
  .bio-section {
    padding: 1.5em 0;
  }

  .bio-container {
    gap: 1.2em;
  }

  .bio-image-left {
    max-width: 250px;
  }

  .bio-title {
    font-size: 1.8rem;
    letter-spacing: 0.05em;
  }

  .bio-title h2::after {
    width: 6rem;
  }

  .bio-text-right p {
    font-size: 0.9rem !important;
    margin-bottom: 1.1em;
  }
}

@media (max-width: 360px) {
  .bio-section {
    padding: 1.2em 0;
  }

  .bio-image-left {
    max-width: 220px;
  }

  .bio-title {
    font-size: 1.6rem;
  }

  .bio-title h2::after {
    width: 5rem;
    height: 2px;
  }

  .bio-text-right p {
    font-size: 0.85rem !important;
    line-height: 1.5;
  }
}

@media (max-width: 320px) {
  .bio-section {
    padding: 1em 0;
    margin-bottom: 2em;
  }

  .bio-container {
    gap: 1em;
  }

  .bio-image-left {
    max-width: 200px;
  }

  .bio-title {
    font-size: 1.4rem;
    letter-spacing: 0.03em;
  }

  .bio-title h2::after {
    width: 4rem;
  }

  .bio-text-right p {
    font-size: 0.8rem !important;
    margin-bottom: 1em;
  }
}

/* Event Section Styling */
.event-section {
  margin-bottom: 4em;
  padding: 4em 0;
  position: relative;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 16px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
}

.event-title {
  font-size: 4.5rem;
  margin-bottom: 1.5em;
  letter-spacing: 0.2em;
  font-weight: 400;
  font-family: "Fjalla One", sans-serif;
  color: #2c2c2c;
  position: relative;
  text-transform: uppercase;
  text-align: center;
}

.event-details {
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(44, 44, 44, 0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.event-details::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #2c2c2c, #666);
}

.event-content {
  flex: 1;
  min-width: 0;
}

.event-image-container {
  flex: 0 0 350px;
  width: 350px;
}

.event-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-image:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.event-details p {
  font-family: "source sans pro", sans-serif;
  font-size: 1.1rem;
  color: #555;
  margin: 1.2rem 0;
  line-height: 1.6;
  text-align: left;
  padding-left: 0;
  transition: color 0.3s ease;
}

.event-details p:hover {
  color: #333;
}

.event-details strong {
  font-family: "Fjalla One", sans-serif;
  font-weight: 400;
  color: #2c2c2c;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1rem;
  margin-right: 0.5rem;
}

.event-details a {
  color: #2c2c2c;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.event-details a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #2c2c2c;
  transition: width 0.3s ease;
}

.event-details a:hover {
  color: #1a1a1a;
}

.event-details a:hover::after {
  width: 100%;
}

/* Event Section Responsive Styles - Optimized */
@media (max-width: 1200px) {
  .event-section {
    padding: 3.5em 1em;
    margin-bottom: 3.5em;
  }

  .event-title {
    font-size: 4rem;
    margin-bottom: 1.3em;
    letter-spacing: 0.18em;
  }

  .event-details {
    max-width: 900px;
    padding: 2.8rem;
    gap: 2.5rem;
  }

  .event-image-container {
    flex: 0 0 320px;
    width: 320px;
  }

  .event-image {
    height: 260px;
  }

  .event-details p {
    font-size: 1.05rem;
  }
}

@media (max-width: 1024px) {
  .event-section {
    padding: 3em 1em;
    margin-bottom: 3em;
    border-radius: 14px;
  }

  .event-title {
    font-size: 3.5rem;
    margin-bottom: 1.2em;
    letter-spacing: 0.15em;
  }

  .event-details {
    max-width: 800px;
    padding: 2.5rem;
    border-radius: 14px;
    gap: 2rem;
  }

  .event-image-container {
    flex: 0 0 280px;
    width: 280px;
  }

  .event-image {
    height: 240px;
    border-radius: 10px;
  }

  .event-details p {
    font-size: 1rem;
    margin: 1.1rem 0;
  }
}

@media (max-width: 900px) {
  .event-section {
    padding: 2.5em 1em;
    border-radius: 12px;
  }

  .event-title {
    font-size: 3rem;
    letter-spacing: 0.12em;
    margin-bottom: 1.1em;
  }

  .event-details {
    max-width: 90%;
    padding: 2.2rem;
    flex-direction: column;
    gap: 2rem;
  }

  .event-image-container {
    flex: none;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .event-image {
    height: 240px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .event-section {
    padding: 2em 1em;
    margin-bottom: 2.5em;
    border-radius: 10px;
  }

  .event-title {
    font-size: 2.5rem;
    letter-spacing: 0.1em;
    margin-bottom: 1em;
  }

  .event-details {
    max-width: 95%;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    margin: 0 auto;
    gap: 1.5rem;
  }

  .event-image-container {
    max-width: 350px;
  }

  .event-image {
    height: 220px;
    border-radius: 8px;
  }

  .event-details p {
    font-size: 0.95rem;
    margin: 1rem 0;
    line-height: 1.7;
  }

  .event-details strong {
    font-size: 0.95rem;
  }
}

@media (max-width: 600px) {
  .event-section {
    padding: 1.8em 0.8em;
    margin-bottom: 2em;
  }

  .event-title {
    font-size: 2rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.9em;
  }

  .event-details {
    max-width: 100%;
    padding: 1.8rem 1.2rem;
    border-radius: 10px;
    gap: 1.2rem;
  }

  .event-image-container {
    max-width: 300px;
  }

  .event-image {
    height: 200px;
  }

  .event-details p {
    font-size: 0.9rem;
    margin: 0.9rem 0;
  }
}

@media (max-width: 480px) {
  .event-section {
    padding: 1.5em 0.5em;
    margin-bottom: 1.8em;
    border-radius: 8px;
  }

  .event-title {
    font-size: 1.8rem;
    letter-spacing: 0.06em;
    margin-bottom: 0.8em;
  }

  .event-details {
    max-width: 100%;
    padding: 1.5rem 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    gap: 1rem;
  }

  .event-image-container {
    max-width: 280px;
  }

  .event-image {
    height: 180px;
    border-radius: 6px;
  }

  .event-details::before {
    height: 3px;
  }

  .event-details p {
    font-size: 0.85rem;
    margin: 0.8rem 0;
    line-height: 1.6;
  }

  .event-details strong {
    font-size: 0.85rem;
    margin-right: 0.3rem;
  }
}

@media (max-width: 400px) {
  .event-section {
    padding: 1.2em 0.3em;
    margin-bottom: 1.5em;
  }

  .event-title {
    font-size: 1.6rem;
    letter-spacing: 0.04em;
    margin-bottom: 0.7em;
  }

  .event-details {
    padding: 1.2rem 0.8rem;
    border-radius: 6px;
    gap: 0.8rem;
  }

  .event-image-container {
    max-width: 250px;
  }

  .event-image {
    height: 160px;
  }

  .event-details p {
    font-size: 0.8rem;
    margin: 0.7rem 0;
  }

  .event-details strong {
    font-size: 0.8rem;
  }
}

@media (max-width: 360px) {
  .event-section {
    padding: 1em 0.2em;
    margin-bottom: 1.2em;
  }

  .event-title {
    font-size: 1.4rem;
    letter-spacing: 0.03em;
    margin-bottom: 0.6em;
  }

  .event-details {
    padding: 1rem 0.6rem;
    border-radius: 5px;
    gap: 0.6rem;
  }

  .event-image-container {
    max-width: 220px;
  }

  .event-image {
    height: 140px;
    border-radius: 4px;
  }

  .event-details::before {
    height: 2px;
  }

  .event-details p {
    font-size: 0.75rem;
    margin: 0.6rem 0;
    line-height: 1.5;
  }

  .event-details strong {
    font-size: 0.75rem;
  }
}

@media (max-width: 320px) {
  .event-section {
    padding: 0.8em 0.1em;
    margin-bottom: 1em;
  }

  .event-title {
    font-size: 1.2rem;
    letter-spacing: 0.02em;
    margin-bottom: 0.5em;
  }

  .event-details {
    padding: 0.8rem 0.5rem;
    border-radius: 4px;
    gap: 0.5rem;
  }

  .event-image-container {
    max-width: 200px;
  }

  .event-image {
    height: 120px;
    border-radius: 3px;
  }

  .event-details p {
    font-size: 0.7rem;
    margin: 0.5rem 0;
  }

  .event-details strong {
    font-size: 0.7rem;
    margin-right: 0.2rem;
  }
}

/* Audio player styling - aangepast voor site stijl */
.audio-section {
  margin-bottom: 3em;
  padding: 2em 0;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
  position: relative;
}

/* Audio section styling within portfolio items */
.portfolio-item .audio-section {
  margin: 1.5rem 0 0 0;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  border-top: 1px solid rgba(44, 44, 44, 0.06);
}

.portfolio-item .audio-section h4 {
  margin: 0 0 1rem 0;
  color: #2c2c2c;
  font-size: 1.1rem;
  font-family: "Fjalla One", sans-serif;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-item .audio-player {
  width: 100%;
  height: 40px;
  outline: none;
  transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item .audio-player:focus {
  box-shadow: 0 4px 16px rgba(44, 44, 44, 0.12);
}

.audio-section h4 {
  margin: 0 0 1em 0;
  color: #2c2c2c;
  font-size: 1.3rem;
  font-family: "Fjalla One", sans-serif;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.audio-player {
  width: 100%;
  height: 44px;
  outline: none;
  transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.audio-player::-webkit-media-controls-panel {
  background-color: rgba(255, 255, 255, 0.15);
}

.audio-player::-webkit-media-controls-play-button,
.audio-player::-webkit-media-controls-pause-button {
  background-color: #2c2c2c;
  border-radius: 50%;
}

.audio-player::-webkit-media-controls-timeline {
  background-color: rgba(44, 44, 44, 0.08);
  border-radius: 2px;
}

.audio-player::-webkit-media-controls-current-time-display,
.audio-player::-webkit-media-controls-time-remaining-display {
  color: #2c2c2c;
  font-family: "source sans pro", sans-serif;
  font-size: 1rem;
  text-shadow: none;
}

/* Responsive audio player */
@media (max-width: 768px) {
  .audio-section {
    padding: 1.5em 0;
    border-radius: 8px;
  }

  .portfolio-item .audio-section {
    margin: 1.2rem 0 0 0;
    padding: 1.2rem;
    border-radius: 6px;
  }

  .portfolio-item .audio-section h4 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }

  .portfolio-item .audio-player {
    height: 36px;
    border-radius: 5px;
  }

  .audio-section h4 {
    font-size: 1.1rem;
  }
  .audio-player {
    height: 38px;
    border-radius: 6px;
  }
}

@media (max-width: 480px) {
  .audio-section {
    padding: 1em 0;
    border-radius: 6px;
  }

  .portfolio-item .audio-section {
    margin: 1rem 0 0 0;
    padding: 1rem;
    border-radius: 5px;
  }

  .portfolio-item .audio-section h4 {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
  }

  .portfolio-item .audio-player {
    height: 32px;
    border-radius: 4px;
  }

  .audio-section h4 {
    font-size: 1rem;
  }
  .audio-player {
    height: 32px;
    border-radius: 5px;
  }
}

/* PDF Viewer Styling */
.pdf-viewer-container {
  grid-column: 1 / -1;
  max-width: 100%;
  margin: 0 auto;
  width: 100%;
  min-height: 1000px;
}

.pdf-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: #f8fafc;
  border-bottom: 1px solid rgba(44, 44, 44, 0.08);
  border-radius: 12px 12px 0 0;
}

.pdf-header h3 {
  margin: 0;
  font-family: "Fjalla One", sans-serif;
  font-size: 1.4rem;
  color: #2c2c2c;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pdf-controls {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.pdf-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: #2c2c2c;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-family: "Fjalla One", sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}


.pdf-viewer {
  width: 100%;
  height: 800px;
  background: #fff;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
  position: relative;
}

.pdf-viewer iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.pdf-viewer p {
  padding: 2rem;
  text-align: center;
  color: #666;
  font-family: "source sans pro", sans-serif;
  margin: 0;
}

.pdf-viewer a {
  color: #2c2c2c;
  text-decoration: none;
  font-weight: 600;
}

.pdf-viewer a:hover {
  text-decoration: underline;
}

/* PDF Viewer Responsive Styles */
@media (max-width: 1024px) {
  .pdf-viewer {
    height: 700px;
  }

  .pdf-header {
    padding: 1.2rem;
  }

  .pdf-header h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .pdf-viewer {
    height: 600px;
  }

  .pdf-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding: 1rem;
  }

  .pdf-header h3 {
    font-size: 1.1rem;
  }

  .pdf-download-btn {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .pdf-viewer {
    height: 500px;
  }

  .pdf-header {
    padding: 0.8rem;
  }

  .pdf-header h3 {
    font-size: 1rem;
  }

  .pdf-download-btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}

@media (max-width: 360px) {
  .pdf-viewer {
    height: 400px;
  }

  .pdf-header h3 {
    font-size: 0.9rem;
  }
}
