@font-face {
    font-family: 'Ragenik';
    src: url('Ragenik-1GBlv.woff');
}
  
@font-face {
    font-family: 'Itim';
    src: url('Itim-Regular.woff');
}
  
@font-face {
    font-family: 'Urbanist';
    src: url('Urbanist-VariableFont_wght.woff');
}

body {
    /* background-image: url("img/patroon.svg"); */
    margin: 0;
    padding: 0;
    font-family: 'Urbanist';
    font-size: 18px;
    color: #403F3E;
}
h1{
    font-family: 'Ragenik';
    font-size: 28px;
    color: #403F3E;
    text-align: center;
}
h2{
    font-family: 'itim';
    font-size: 20px;
    color: #403F3E;
}
h3{
    font-family: 'Urbanist';
    font-size: 16px;
    color: #403F3E;
}
a{
    font-family: 'Itim';
    text-decoration: none;
    color:#D2B2D5;
}

p{
    font-family: 'Urbanist';
    font-size: 18px;
    color: #403F3E;
    line-height: 1.25;
    font-weight: 500;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  background: #FFF7F0;
}
.nav a {
  margin-left: 1rem;
  color: #333;
  text-decoration: none;
}
.logo {
   max-width: 40px;
   margin-bottom: -15px;
   margin-top: -20px;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column; 
  align-items: center;    
  justify-content: center;
  text-align: center;    
  background-image: url("img/patroon.svg");
  padding: 8rem 2rem;
}
.hero-img img {
  max-width: 300px; 
  height: auto;
  border-radius: 10px;
  margin-bottom: 1rem; 
}
.hero-text {
  max-width: 600px; 
}
.hero-text h1 {
  font-size: 2rem;
}
.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: #D2B2D5;
  color: white;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.btn:hover {
  background-color: #b48db9;
}

/* Three blocks */
.three-blocks-section {
  background: #D2B2D5;
  width: 100%;
}
.three-blocks-wrapper {
  max-width: 1290px; 
  margin: 0 auto;
  display: flex;
  flex-direction: column; 
  padding: 3rem 2rem; 
}
.three-blocks-title {
  font-size: 2rem;
  color: #403F3E;
  text-align: start;
  margin-bottom: 1rem; 
}
.three-blocks {
  display: flex;
  justify-content: space-around; 
  gap: 1rem;
}
.block {
  text-align: center;
  background: #cdede9d2;
  padding: 20px;
  border-radius: 8px;
}
.block-img img {
  max-width: 200px;
  border-radius: 8px;
  width: 100%;
  height: 100%;
}

/* About */

.about-wrapper {
  background: #FFF7F0;
  background-image: url("img/patroon.svg");
  background-repeat: repeat; 
  background-position: center;
  width: 100%;
}
.about {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 3rem 2rem;
  max-width: 1290px;
  margin: 0 auto;
}
.about-img {
  flex: 1 1 2%;           
  display: flex;
  justify-content: center;
  box-sizing: border-box;   
  max-width: 100%;          
  margin: 0;             
  padding: 0;            
}
.about-text {
  flex: 0 0 50%; 
  padding-right: 2rem;
}

.about-img img {
  max-width: 100%;
  width: 400px;
  border-radius: 8px;
}

@media screen and (max-width: 850px) {
  .about {
    flex-direction: column;    
    align-items: center;       
    padding: 2rem 1rem;
  }

  .about-text {
    flex: 1 1 100%;
    padding-right: 0;
    text-align: center;          
    margin-bottom: 1.5rem;
  }

  .about-img {
    flex: 1 1 100%;
    justify-content: center;     
  }

  .about-img img {
    width: 80%;                  
    max-width: 300px;         
    height: auto;               
  }
}

/* Work */
.work-blocks-section {
  background: linear-gradient(to right, #C4E1DE, #94cdc8);
  width: 100%;
}
.work-blocks-wrapper {
  max-width: 1290px; 
  margin: 0 auto;
  display: flex;
  flex-direction: column; 
  padding: 3rem 2rem; 
}
.work-blocks-title {
  font-size: 2rem;
  color: #403F3E;
  text-align: start;
  margin-bottom: 1rem; 
}
.work-blocks {
  display: flex;
  justify-content: space-around; 
  gap: 1rem;
  flex-wrap: wrap; 
}
.work {
  text-align: center;
  background: #FFF7F0;
  padding: 20px;
  border-radius: 8px;
  flex: 1 1 200px; 
  max-width: 250px;
  margin: 10px auto;
}
.work-img {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1 / 1; 
  overflow: hidden;
  margin: 0 auto 10px auto;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.work-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; 
  border-radius: 8px;
}

/* POP UP WORK */
.modal {
  display: none; 
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6);
  overflow-y: auto; 
}

.modal-content {
  background: #FFF7F0;
  padding: 20px;
  border-radius: 8px;
  max-width: 90%; /* past zich aan schermbreedte aan */
  width: 600px;
  margin: 5% auto;
  text-align: center;
}

.modal-images {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* afbeeldingen gaan onder elkaar op smalle schermen */
  gap: 20px;
  margin-bottom: 20px;
}

.modal-images img {
  width: auto;
  height: auto;
  max-width: 45%; /* maximaal naast elkaar 2 afbeeldingen */
  max-height: 60vh; /* maximaal 60% van viewport hoogte */
  border-radius: 8px;
  object-fit: contain;
}
.modal-year {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 1rem;
}

.close {
  float: right;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobiele weergave */
@media screen and (max-width: 600px) {
  .modal-content {
    width: 90%;
    padding: 15px;
    position: relative; /* nodig voor absolute positioning van close */
  }

  .close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    cursor: pointer;
  }

  .modal-images {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .modal-images img {
    max-width: 100%;
    height: auto;
    max-height: 50vh;
  }

  #modalDescription {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .modal-content h2 {
    font-size: 1.2rem;
  }
}

/* Contact */
.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* background: #FBE6ED; */
  background-image: url("img/patroon.svg");
  padding: 3rem 2rem;
}
.contact-img {
  flex: 1 1 1%;           
  display: flex;
  justify-content: center;
  box-sizing: border-box;   
  max-width: 100%;          
  margin: 0;             
  padding: 0;  
}
.contact-text {
  flex: 1;
  padding: 1rem;
}
.contact-img img {
  border-radius: 8px;
  max-width: 300px;
  width: 100%;
}
.contact-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: #D2B2D5;
  color: white;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.contact-btn:hover {
  background-color: #b48db9;
}


/* Footer */
.footer {
  background-color: #FFF7F0; /* Pas aan naar wens */
  padding: 20px 0;
  text-align: center;
}

/* .footer .icons h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
} */

.footer .icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px; 
  flex-wrap: wrap; 
}

.footer .icons a img {
  width: 40px;      
  max-width: 10vw;   
  height: auto;
  transition: transform 0.3s;
}

.footer .icons a img:hover {
  transform: scale(1.2); 
}