.category-section {
    display: flex;
    flex-wrap: wrap;
    height: 100vh;
  }
  
  .category-card {
    flex: 1 1 50%;
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .overlay {
    background: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 2rem;
    transition: background 0.3s ease;
  }
  
  .category-card:hover .overlay {
    background: rgba(0, 0, 0, 0.6);
  }
  
  .overlay h2 {
    font-size: 2.2rem;
    letter-spacing: 1px;
    font-family: 'Cormorant', serif;
    margin-bottom: 1rem;
  }
  
  .category-btn {
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
    border: 1px solid white;
    padding: 0.5rem 1.2rem;
    transition: all 0.3s ease;
  }
  
  .category-btn:hover {
    background: white;
    color: black;
  }
  
  /* 📱 Responsive voor mobiel */
  @media (max-width: 768px) {
    .category-section {
      flex-direction: column;
      height: auto;
    }
  
    .category-card {
      flex: 1 1 100%;
      height: 50vh;
    }
  }

  
.overlay {
  position: absolute; 
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 2rem;
  transition: background 0.3s ease;
}
  