*{
  margin: 0;
}

/* Color en Fontinstellingen */
body{
  background-color: #f6f4f0;
  color: #1A1A1A;
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  font-size: 16px;
  margin: 0;
  padding: 0;
}

h1, h2, h3{
  letter-spacing: 0.08em;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: #DABD6E;
}

p{
  letter-spacing: 0.08em;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2em;
  color: black;
  padding: 0 1% 0 1%;
  margin-bottom: 30px;
}

.scroll-up{
  text-align: center;
  color: #2F5E4E;
}

#scroll-up-contact{
  margin-top: 25px;
}

/* Einde Color en Fontinstellingen */

/* Einde Color en Fontinstellingen */
#container{
  width: 100%;
}

/*begin nav*/
nav{
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 10px;
}

/* Beginstaat */
#nav-menu{
  display: flex;
  gap: 20px;
  list-style: none;
}

li a{
  text-decoration: none;
}

#hamburger{
  display: none;
  font-size: 32px;
  cursor: pointer;
}
/*Einde nav*/

/*header*/

#logo{
  width: 250px;
}

.slogan,
blockquote{
  width: 90%;
  padding: 0 5% 0 5%;
  font-family: 'Lato', sans-serif;
  font-style: italic;
}

header{
  width: 100%;
  padding: 30px 0 30px 0;
  text-align: center;
  background: linear-gradient(to bottom right, #1a1f2b, #0a3c39);
}

header h1{
  font-size: 2.5em;
  margin-bottom: 10px;
  text-shadow: 0 3px 4px rgba(0,0,0,0.9);
}

header p{
  font-size: 1.2em;
  color: #DABD6E;
  margin-bottom: 30px;
}

.cta{
  text-align: center;
  margin-top: 3em;
}

.cta-button{
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  background-color: #DABD6E;
  color: black;
  text-decoration: none;
  border-radius: 5px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

a{
  color: #2F5E4E;
  text-decoration: none;
}
/*einde header*/


/* Begin main */
main{
  width: 94%;
  padding: 30px 3% 30px 3%;
}

/*CSS index pagina*/

#section-one{
  width: 100%;
  background-color: #f6f4f0;
}
#article-one{
  width: 98%;
  padding: 0 1% 0 1%;
}

#h2-article-one{
  text-align: center;
  color: #2F5E4E;
  margin-bottom: 50px;
}

#image-section-one{
  width: 15%;
  aspect-ratio: 16 / 9;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

#section-two{
  width: 100%;
}

#article-two-left{
  width: 77%;
  padding: 0 1% 0 1%;
  margin: 0 12.5% 0 12.5%;
}

.h2-article-two{
  margin-bottom: 10px;
  color: #2F5E4E;
}

#article-two-right{
  width: 77%;
  padding: 0 1% 0 1%;
  margin: 0 12.5% 0 12.5%;
}

#image-section-two{
  width: 100%;

}

/*Einde CSS index pagina*/


/*CSS diensten pagina*/
#section-diensten-pagina{
  width: 100%;
}

.article-diensten-pagina{
  width: 73%;
  padding: 0 1% 0 1%;
  margin: 0 12.5% 0 12.5%;
}

.h2-diensten-pagina{
  text-align: center;
  margin-bottom: 10px;
  color: #2F5E4E;
}

strong{
  color: green;
  font-style: italic;
  font-weight: bold;
}

.hr-diensten-scheiding{
  border: none;
  border-top: 2px solid #ccc;
  margin: 40px 0;
}
/*Einde CSS diensten pagina*/


/*CSS Formulier pagina*/
#h2-formulier-pagina, #formulier-p{
  text-align: center;
  margin-bottom: 25px;
  color: #2F5E4E;
}

.g-recaptcha{
  margin-top: 25px;
}
/*Einde CSS Formulier pagina*/

/*CSS foto's pagina*/
#carousel-section{
  background-color: #f6f4f0;
  padding: 60px 20px;
  text-align: center;
}

.carousel-title{
  font-family: 'Montserrat', sans-serif;
  font-size: 2em;
  color: #2F5E4E;
  margin-bottom: 30px;
  letter-spacing: 0.08em;
}

.fancy-carousel{
  width: 90%;
  max-width: 800px;
  height: 500px;
  margin: auto;
  position: relative;
}

.swiper-slide{
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(42, 85, 72, 0.2);
  transition: transform 0.5s ease;
}

.swiper-slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* Navigatieknoppen */
.swiper-button-next, .swiper-button-prev{
  color: #2F5E4E;
  text-shadow: 0 0 5px #DABD6E;
}

/* Paginering */
.swiper-pagination-bullet{
  background: #DABD6E;
  opacity: 0.6;
}
.swiper-pagination-bullet-active{
  background: #2F5E4E;
  opacity: 1;
}

/*Einde CSS foto's pagina*/

/*CSS blog pagina*/
.section-blog{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(75%, 1fr));
  gap: 2rem;
  padding: 3rem 2rem;
  background-color: #f4f4f4;
}

.blog-article{
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-article:hover{
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.image-blog{
  width: 50%;
  margin: 0 25% 75px 25%;
  height: auto;
  display: block;
  border-bottom: 1px solid #eee;
}

.h2-blog{
  font-size: 1.6rem;
  margin: 1.2rem;
  color: #2F5E4E;
  font-weight: 600;
  text-align: center;
}

.blog-article p{
  padding: 0 1.2rem 1.2rem;
  font-size: 1rem;
  /* color: #2F5E4E; */
  color: black;
  line-height: 1.6;
  margin:  0 25% 0 25%;
}

.link-blog{
  display: inline-block;
  margin: 0 1.2rem 1.5rem;
  color: #0077cc;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.link-blog:hover{
  color: #005fa3;
  text-decoration: underline;
}

.date-blog{
  font-size: 0.9rem;
  color: #888;
  margin:  1rem 1rem 0.5rem;
  font-style: italic;
  text-align: center;
}

/* Dropdown styling */
.dropdown {
  position: relative;
}

/* Zorg dat de dropdown zich binnen het scherm houdt */
.dropdown-content {
  height: 100px;
  overflow-y: auto;   /* Scrollbar is altijd zichtbaar */
  overflow-x: hidden;
  border: 1px solid #DABD6E;
  background-color: white;
  display: none;
  position: absolute;
  top: 25px;
  Left: -70px;
  background-color: #333;
  min-width: 180px;
  z-index: 1000;
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown.open .dropdown-content {
  display: block;
}

/* Voor mobiel: dropdown-items netjes onder elkaar */
.dropdown-content li a {
  display: block;
  padding: 12px;
  color: white;
  text-decoration: none;
  background: linear-gradient(to bottom right, #1a1f2b, #0a3c39);
  border-bottom: 1px solid #555;
}



.dropdown-content li a:hover {
  background-color: #555;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.next-blog {
  margin-top: 30px;
  text-align: right;
}

.next-blog a {
  text-decoration: none;
  font-size: 18px;
  color: #0078D4;
  padding: 10px 15px;
  border: 2px solid #0078D4;
  border-radius: 5px;
  margin: 0 5px;
  transition: background-color 0.3s ease;
}

.next-blog a:hover {
  background-color: #0078D4;
  color: white;
}
/*Einde CSS blog pagina*/


/*CSS contact pagina*/
.contact-page{
  max-width: 75%;
  margin: 0 auto;
  padding: 2em;
  font-family: sans-serif;
  line-height: 1.6;
  background-color: #fff;
  color: #333;
}

.contact-page h2{
  font-size: 2em;
  margin-bottom: 0.5em;
  color: #2F5E4E;
}

.contact-methods h2{
  margin-top: 1.5em;
  font-size: 1.2em;
}

.contact-page a:hover{
  text-decoration: none;
}

.contact-page iframe {
  margin-top: 1em;
  border: 0;
  width: 100%;
  height: 300px;
}
/*Einde CSS contact pagina*/

/* Einde main */

/* CSS voor overlay en popup voor privacy verklaring */
#privacy-overlay{
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#privacy-popup{
  background: #fff;
  padding: 20px;
  max-width: 500px;
  border-radius: 8px;
  box-shadow: 0 0 10px #000;
  text-align: left;
}

#privacy-popup h2{
  margin-top: 0;
}

#privacy-popup button{
  margin-top: 15px;
  padding: 10px 20px;
  background: #0078D7;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#privacy-popup button:hover{
  background: #005fa3;
}

/* CSS voor overlay en popup voor privacy verklaring */

/*CSS formulier*/
#formulier-paragraph {
  text-align: center;
}

form {
  background: #ffffff;
  padding: 25px 5% 25px 5%;
  border-radius: 8px;
  width: 50%;
  margin-left: 20%;
  margin-right: 20%;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

label{
  display: block;
  margin-top: 15px;
  font-weight: bold;
  color: #34495E;
}

input[type="text"], input[type="tel"], select, textarea{
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 4px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

input[type="text"]:focus, input[type="tel"]:focus, select:focus{
  border-color: #3498db;
  outline: none;
}

input, textarea, select{
  font-size: 16px;
}

small{
  font-size: 12px;
  color: #7f8c8d;
}

button{
  margin-top: 25px;
  background-color: #3498db;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
}

button:hover{
  background-color: #2980b9;
}

#reactie{
  text-align: center;
  margin-top: 20px;
  font-weight: bold;
  color: #2F5E4E;
}
/*Einde CSS formulier*/

/* Begin footer */
footer{
  width: 100%;
  background: linear-gradient(to bottom right, #1a1f2b, #0a3c39);
}

#footer-section{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-article{
  width: 31%;
  color: #DABD6E;
}

#copyright-tekst{
  text-align: center;
  padding-top: 50px;
}

#copyright-tekst p{
  font-size: 12px;
  color: grey;
}

#image-footer, #footer-logo{
  width: 20%;
  margin: 25px 40%;
}

/* Einde footer */

/* media query's voor de allerkleinste schermpjes*/
@media screen and (max-width: 390px){

}
/* Einde media query's voor de allerkleinste schermpjes*/

/* begin standaard media query's*/
@media screen and (max-width: 700px){
  #nav-menu{
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
    right: 10px;
    top: 60px;
    background-color: #f6f4f0;
    padding: 10px;
    border: 1px solid #E9D079;
  }

  #nav-menu.show{
    display: flex;
  }

  #hamburger{
    display: block;
  }

  header h1{
    font-size: 1.2em;
  }

  form{
    width: 80%;
    margin-left: 5%;
    margin-right: 5%;
    box-shadow: 0 0 0 rgba(0,0,0,0.0);
  }

  #image-section-one{
    width: 50%;
  }

  .footer-article{
    width: 100%;
  }

  #copyright-tekst{
    padding-top: 10px;
  }

  #privacy-popup{
   padding: 15px;
   font-size: 8px;
   max-height: 50vh;
   width: 75%;
   overflow-y: auto;
 }

 #privacy-popup button{
   font-size: 16px;
   width: 100%;
   box-sizing: border-box;
 }

 .fancy-carousel{
   height: 300px;
 }

 .carousel-title{
   font-size: 1.6em;
 }

 .swiper-slide{
   box-shadow: 0 0 10px rgba(42, 85, 72, 0.1);
 }

 .dropdown-content {
    position: static;
    width: 100%;
  }

  .dropdown-content li a {
    font-size: 1rem;
    padding: 10px;
  }

  .blog-article p{
    width: 94%;
    padding:  0 2% 0 2%;
    margin:  0 1% 25px 1%;
  }

  .image-blog{
    width: 96%;
    margin: 0 2% 75px 2%;
  }
}

@media screen and (min-width: 701px) and (max-width: 800px){

  #image-section-one{
    width: 30%;
  }

  #privacy-popup{
   padding: 15px;
   font-size: 8px;
   max-height: 50vh;
   width: 75%;
   overflow-y: auto;
 }

 #privacy-popup button{
   font-size: 16px;
   width: 100%;
   box-sizing: border-box;
 }

 .blog-article p{
   margin:  0 10% 0 10%;
 }
}

@media screen and (min-width: 801px) and (max-width: 1300px){
  #privacy-popup{
   padding: 15px;
   font-size: 8px;
   max-height: 50vh;
   width: 75%;
   overflow-y: auto;
 }

 #privacy-popup button{
   font-size: 16px;
   width: 100%;
   box-sizing: border-box;
 }
}

/* Einde media queries */
