* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background-color: #e1e6da;
  color: #333;
  overflow-x: hidden;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: #a2b18b;
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
}

.logo {
  font-weight: bold;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  transition: opacity 0.3s;
}

.nav-links a:hover,
.nav-links .active {
  opacity: 0.4;
}

/* Hamburger menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
}

.bar {
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 2px;
}

#mobile-menu {
  display: none;
  flex-direction: column;
  align-items: center;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background-color: #a2b18b;
  transition: all 0.3s ease;
  padding: 20px 0;
}

#mobile-menu a {
  color: white;
  text-decoration: none;
  margin: 10px 0;
}

/* Content sections */
main {
  text-align: center;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Home */
.intro {
  max-width: 700px;
  margin: 0 auto;
}

.button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #a2b18b;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.button:hover {
  background-color: #8f9e79;
}

/* Portfolio grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 30px;
  max-width: 2000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.item {
  text-decoration: none;
  color: #333;
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.thumb {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 4px solid #e1e6da;
}

/* Thumbnails per werk */
.thumb1 {
  background-image: url("img/blad\ in\ pot.jpg");
}

.thumb2 {
  background-image: url("img/mockup_flyer_voorkant.png");
}

.thumb3 {
  background-image: url("img/kwast.png");
}

.thumb4 {
  background-image: url("img/why_cards_presentatie_04.png");
}

.thumb5 {
  background-image: url("img/visie.jpg");
}

.thumb6 {
  background-image: url("img/canvasdeco.JPG");
}


/* Contact form */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
  margin: 0 auto;
}

input, textarea, button {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
}

.button {
  display: inline-block;
  background-color: #a2b18b;
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  margin-top: 1rem;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #8e9e79;
}

/* Contactpagina layout */
.contact-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 100px; /* afstand tussen foto en formulier */
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 20px;
  flex-wrap: wrap;
}

.contact-image {
  flex-shrink: 0;
  width: 400px;
}

.contact-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.contact-form-section {
  flex: 1 1 400px;
  text-align: left;
}

.contact-form-section h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.contact-form-section p {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.contact-form-section form {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1000px;
  
}

.contact-form-section input,
.contact-form-section textarea {
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form-section button {
  background-color: #a2b18bad;
  color: white;
  border: none;
  padding: 15px;
  font-size: 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form-section button:hover {
  background-color: #a2b18b;
}

/* Mobielvriendelijk */
@media (max-width: 800px) {
  .contact-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .contact-form-section {
    text-align: center;
  }
}


/* Responsiveness */
@media (max-width: 800px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  #mobile-menu.show {
    display: flex;
  }
}

/* --- Alles iets groter en luchtiger maken --- */

body {
  font-size: 2.2rem;
}

header { /*groene balk*/
  padding: 30px 80px;
}

.logo {  /*mijn naam*/
  font-size: 2.2rem;
  letter-spacing: 3px;
}

.nav-links { /*ruimte tussen menu*/
  gap: 30px;
}

.nav-links a { /*menu*/
  font-size: 2rem;
}

.hamburger {
  width: 34px;
  height: 24px;
}

.bar {
  height: 4px;
}

/* Intro met foto links en tekst rechts */
.intro-content {
  display: flex;
  justify-content: center;
  gap: 200px;
  max-width: 3000px;
  margin: 0 auto;
  padding: 80px 20px;
  flex-wrap: wrap;
}

.intro-image {
  flex-shrink: 0;
  position: relative;
  width: 300px; /* of iets groter als je wilt */
  height: auto;
  margin-left: 100px; /* schuif de foto wat naar links */
}

.intro-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  display: block;
}




.intro-text {
  flex: 1 1 400px;
  text-align: left;
}

@media (max-width: 800px) {
  .intro-content {
    flex-direction: column;
    text-align: center;
  }
  .intro-text {
    text-align: center;
  }
}


/* Hero / hoofdsectie */
main { /*ruimte van boven tot tekst 'Ontwerpen die mens en beleving centraal stellen'*/
  padding-top: 130px;
}

.intro { /*breedte van tekst homepage*/
  max-width: 2000px;
}

.intro h1 { /*Ontwerpen die mens en beleving centraal stellen*/
  font-size: 3rem;
  margin-bottom: 20px;
}

.intro p { /*tekst onder titel*/
  font-size: 1.3rem;
  line-height: 1.8;
}

.button { /*tekst in button*/
  padding: 28px 64px;
  font-size: 1.3rem;
  border-radius: 16px;
}

/* Portfolio grid */
.grid {
  gap: 40px;
  max-width: 1200px;
  padding: 60px 40px;
}

.item {
  border-radius: 12px;
}

.thumb {
  height: 300px;
}

.item h3 {
  font-size: 1.5rem;
  padding: 10px 0;
}

/* Contactformulier */
form {
  gap: 20px;
  max-width: 500px;
}

input, textarea, button {
  padding: 14px;
  font-size: 1rem;
}

button {
  padding: 14px;
  font-size: 1.1rem;
}

/* Footer (indien aanwezig) */
footer {
  font-size: 1.1rem;
  padding: 40px;
}

.hero-image {
  width: 100%;
  margin-top: 40px;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.intro {
  position: relative;
  z-index: 10; /* zorgt dat tekst en knop boven de afbeelding liggen */
}

.intro img,
.hero-image img {
  position: relative;
  z-index: 1;
}

/* --- Werk detail pagina --- */
.werk-detail {
  padding: 150px 60px 80px; /* ruimte vanaf boven ivm header */
  max-width: 1400px;
  margin: 0 auto;
}

.werk-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  flex-wrap: wrap; /* zorgt dat het onder elkaar komt op mobiel */
}

.werk-text {
  flex: 1 1 500px;
  text-align: left;
}

.werk-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.portfolio h1{
  font-size: 3rem;
}

.werk-text p {
  font-size: 1.3rem;
  line-height: 1.7;
}

.werk-image {
  flex: 1 1 500px;
  text-align: right;
}

.werk-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* Responsief voor mobiel */
@media (max-width: 900px) {
  .werk-content {
    flex-direction: column;
    text-align: center;
  }

  .werk-image {
    text-align: center;
  }

  .werk-text {
    text-align: center;
  }

  .werk-text h1 {
    font-size: 2.2rem;
  }

  .werk-text p {
    font-size: 1.3rem;
  }
}

/* --- Scrollbare fotocolom --- */
.werk-image-scroll {
  flex: 1 1 500px;
  max-height: 80vh; /* hoogte van het venster */
  overflow-y: scroll; /* maakt scrollen mogelijk */
  scroll-behavior: smooth;
  padding-right: 10px;
}

.werk-image-scroll::-webkit-scrollbar {
  width: 8px;
}

.werk-image-scroll::-webkit-scrollbar-thumb {
  background-color: #a2b18b;
  border-radius: 4px;
}

.werk-image-scroll img {
  width: 80%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 20px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.werk-image-scroll img:hover {
  transform: scale(1.03);
}

/* Responsief: onder elkaar op mobiel */
@media (max-width: 900px) {
  .werk-content {
    flex-direction: column;
  }

  .werk-image-scroll {
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
  }

  .werk-image-scroll img {
    margin-bottom: 25px;
  }
}

.sound-tip { /*soundscape*/
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(51, 51, 51);
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 2rem;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 999;
}

.sound-tip.show {
  opacity: 1;
}
