.project-detail {
    font-family: "SpaceGrotesk", sans-serif;
    padding: 40px 24px;
    max-width: 1000px;
    margin: 0 auto;
    color: #222;
  }
  
.hero {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  flex-wrap: wrap;
}

  
  .hero img {
    max-width: 100%;
    margin-bottom: 32px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }
  
  .hero-text h1 {
    font-family: "Amoria", sans-serif;
    font-size: 2.1rem;
  color: #4B3F72; /* of je accentkleur */
  }
  
  .hero-text p {
    font-size: 1.2rem;
    opacity: 0.85;

  }
  
  .process {
    margin-top: 10px;
  }
  
  .process h2,
  .step h2 {
    font-family: "Amoria", sans-serif;
    font-size: 1.6rem;
    margin-bottom: 24px;
    text-align: center;
  }
  
  .project-intro {
    max-width: 800px;
    margin: 0px auto;
    padding: 0 12px;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: left;
    color: #333;
    font-family: "SpaceGrotesk", sans-serif;
  }
  
  .step {
    background: #fffdfd;
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    
  }

  /* Zorg dat p's in .step links uitgelijnd zijn */
.step p {
  text-align: left;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Optioneel: subtitel styling */
.step h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: left;
}

/* Call to action button styling */
.cta-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #4B3F72; /* donkerblauw van je palette */
  color: #FCFAF5;
  text-decoration: none;
  border-radius: 12px;
  margin-top: 0.5rem;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #FFDAA0; /* iets lichter blauw op hover */
  color: #1F1F1F;
}


  .cta {
    text-align: center;
    margin-top: 40px;
  }
  
  .back-link {
    color: #3e2a6d;
    font-weight: bold;
    text-decoration: none;
  }
  
  .back-link:hover {
    text-decoration: underline;
  }

  .phase-one {
    margin-top: 16px;
    padding: 0 24px;
  }
  
  .phase-one h2 {
    font-size: 1.6rem;
    margin-bottom: 24px;
    text-align: center;
  }
  
  .persona-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
    align-items: center;
  }
  
  .persona-gallery img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  
.wireframe-pair {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1.5rem;
}

.wireframe-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.logo-card-view {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.logo-card {
  background: #FDFDFD;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
  flex: 1 1 120px;
  max-width: 220px;
}

.logo-card img {
  height: 64px;
  display: block;
  margin: 0 auto 0.5rem;
}

.logo-card span {
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
}

.color-box-ehbm {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0;
}

.color-box-ehbm p {
  flex: 1 1 100px;
  padding: 1rem;
  color: white;
  font-weight: bold;
  text-align: center;
  border-radius: 6px;
}


/* Specifieke kleuren per class */
.color-box-ehbm p.main {
  background-color: #062B65;
}

.color-box-ehbm p.second {
  background-color: #0047AB;
}

.color-box-ehbm p.detail {
  background-color: #7FA2D4;
  color: #000; /* donkere tekst want lichte achtergrond */
}

.color-box-ehbm p.grey {
  background-color: #EFF0F1;
  color: #000;
}

.color-box-ehbm p.off-white {
  background-color: #FDFDFD;
  color: #000;
  border: 1px solid #ccc; /* optioneel, omdat wit op wit moeilijk zichtbaar is */
}

.tech-stack {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
  align-items: center;
  flex-wrap: wrap;
}

.tech-stack img {
  height: 40px;
  width: auto;
  transition: transform 0.2s ease;
}

.tech-stack img:hover {
  transform: scale(1.1);
}

  
  @media screen and (min-width: 768px) {
.hero {
  flex-direction: row;
}

    
  .hero img {
    max-width: 50%;
  }

  .hero-text {
    flex: 1;
    margin-left: 40px;
  }

  .step p {
    max-width: 2500px;
    margin: 0 auto 40px auto;
  }

    .hero-text h1 {
      font-size: 2.5rem;
    }
    .persona-gallery {
        flex-direction: row;
        justify-content: center;
      }
    
      .persona-gallery img {
        max-width: 45%;
      }

       .logo-card img {
    height: 72px;
  }

  .logo-card span {
    font-size: 1rem;
  }

  .wireframe-img {
    max-width: 85%;
  }

  }
  

@media screen and (min-width: 1024px) {
.project-detail {
  padding: 60px 32px;
  max-width: 1200px; /* of zelfs 1300px, zolang het niet te breed wordt */
  margin: 0 auto;
}

  .project-intro p {
    max-width: 1500px;
    padding: 0 32px;
    font-size: 1rem;
    line-height: 1.75;
    text-align: left;
    color: #333;
  }

.project-intro p {
  margin-bottom: 1.5rem;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
  max-width: 800px;
}

.hero img {
  max-width: 45%;
  flex-shrink: 0;
}

  .hero-text h1 {
    font-size: 3rem;
    line-height: 1.2;
    text-align: center;
    margin: 0 auto;
  }

  .hero-text p {
    font-size: 1.4rem;
    text-align: center;
    margin: 0 auto;
  }

  .process h2,
  .step h2 {
    font-size: 2rem;
  }

  .step p {
    max-width: 2500px;
    margin: 0 auto 40px auto;
  }

  .persona-gallery {
    flex-direction: row;
    justify-content: center;
    gap: 32px;
  }

  .persona-gallery img {
    max-width: 40%;
  }

  .wireframe-pair {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }

  .wireframe-img {
    max-width: 45%;
  }

  .color-box-ehbm p {
    flex: 1 1 150px;
    font-size: 1.1rem;
  }

  .tech-stack {
    justify-content: center;
  }

  .tech-stack img {
    height: 50px;
  }

  .cta {
    text-align: center;
    margin-top: 60px;
  }

 .logo-card-view {
    gap: 3rem;
  }

  .logo-card {
    max-width: 240px;
  }

  .logo-card img {
    height: 80px;
  }

}