body{

    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    margin: 0;
    padding:0;
}

/* Algemene fix voor box-sizing */
* {
  box-sizing: border-box;
}

/* Navigatiebalk */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #475023;
  z-index: 1000;
  overflow-x: hidden; /* voorkomt horizontaal scrollen op mobiel */
}

/* Navigatie lijst */
nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* laat items op volgende regel springen bij kleine schermen */
  gap: 3em;
  padding-top: 1.5em;
  padding-bottom: 1.5em;
  margin: 0;
}

/* Verwijder standaard opmaak */
ul li {
  list-style: none;
}

/* Navigatielinks */
nav a {
  text-decoration: none;
  color: white;
  position: relative;
  padding-top: 2em;
  font-weight: bold;
  transition: color 0.3s ease;
}

/* Animatielijn onder tekst */
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0%;
  background-color: white;
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a:focus::after {
  width: 100%;
}

/* Actieve link markering */
nav a.active::after {
  width: 100%;
}

/* Responsive aanpassing voor kleinere schermen */
@media (max-width: 600px) {
  nav ul {
    gap: 1.5em;
  }

  nav a {
    font-size: 0.9em;
  }
}


/* index start */

.header-section {
  height: 82vh;
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* Donkere overlay op de achtergrondafbeelding */
.overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* Pas transparantie aan indien nodig */
  z-index: 1;
}

/* Gecentreerde content bovenop afbeelding */
.circle-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  padding: 2em;
  max-width: 80%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2em;
  animation: fadeIn 0.5s ease-out forwards;
  opacity: 0;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 30px));
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.hero-title {
  font-size: 2em;
  margin: 0.5em 0;
}

.hero-subtitle {
  font-size: 1.2em;
  margin-bottom: 1em;
}

.logo2foto {
  width: 320px;
  height: auto;
  margin-bottom: 0.5em;
}

.plantfoto-right {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  transform: scaleX(-1);
}

@media (max-width: 768px) {
  .circle-content {
    max-width: 100%;
    padding: 1em;
    gap: 1em;
  }

  .logo2foto {
    width: 80%;
    max-width: 200px;
  }

  .hero-title,
  .hero-subtitle {
    font-size: 1.5em;
    text-align: center;
  }
}

.text{
    text-decoration: none;
    color: white;
    padding: 1em;
    background-color: #6e9819;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.text:hover{
    background-color: #5c7e14;
}

article{
    padding: 2em;
    margin-top: 1.5em;
}

.intro-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    row-gap: 1.5em;
}

/* Beginpositie (onzichtbaar en lager op de pagina) */
.icon-text-container {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 1.5em;
    max-width: 300px;
    flex: 1 1 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    /* opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out; */
}

/* Zodra de animatie geactiveerd wordt */
.icon-text-container.animate {
    opacity: 1;
    transform: translateY(0);
}

.icoon {
    width: 50px;  /* Pas de grootte van de iconen aan naar wens */
    height: auto;
    object-fit: contain;
    margin-bottom: 10px;
}

.text-container p {
    text-align: center;
    font-size: 16px;
    line-height: 1.5;
    max-width: 300px;
}

/* Media query voor kleinere schermen zoals mobiele telefoons */
@media (max-width: 768px) {
    .icoon {
        width: 40px;  /* Pas de grootte aan voor kleinere schermen */
        height: 40px;
    }

    .text-container p {
        font-size: 14px;
    }
}

/* Media query voor grote schermen zoals desktop */
@media (min-width: 1024px) {
    .icoon {
        width: 60px;  /* Vergroot de iconen op grotere schermen */
        height: 60px;
    }

    .text-container p {
        font-size: 18px;
    }
}


.slider-container {
    width: 95vw;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 50px auto;
}
.slider-wrapper {
    display: flex;
    overflow: hidden;
    width: 100%;
}
.slider {
    display: flex;
    width: max-content;
}
.slider-track {
    display: flex;
    width: max-content;
    animation: scroll 28s linear infinite;
}
.slider-bottom .slider-track {
    animation: scroll-reverse 28s linear infinite;
}
.slider img {
    width: 200px;
    height: 150px;
    margin: 5px;
    object-fit: cover;
    border-radius: 10px;
}
@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-20%); }
}
@keyframes scroll-reverse {
    from { transform: translateX(-20%); }
    to { transform: translateX(0); }
}

footer {
    padding: 20px;
    background-color: #f1f1f1;  /* Voeg een achtergrondkleur toe voor de footer */
    text-align: center;
}

.footer-container, .socials-container {
    display: flex;
    justify-content: center; /* Zorgt ervoor dat de inhoud in het midden wordt uitgelijnd */
    align-items: center;
    gap: 15px;  /* Geeft ruimte tussen de afbeeldingen */
    flex-wrap: wrap;  /* Zorgt ervoor dat de inhoud niet buiten het scherm komt op kleinere schermen */
}

.footer-container img, .socials-container img {
    width: 50px;       /* Stel een standaard breedte in voor de afbeeldingen */
    height: auto;      /* Zorgt ervoor dat de hoogte in verhouding tot de breedte blijft */
    max-width: 100%;   /* Zorg ervoor dat de afbeelding niet groter wordt dan de container */
    object-fit: contain; /* Zorgt ervoor dat de afbeelding zijn verhoudingen behoudt */
}

/* Responsieve aanpassing voor kleinere schermen (bijv. telefoons) */
@media (max-width: 768px) {
    .footer-container img, .socials-container img {
        width: 40px; /* Maak de afbeeldingen kleiner op kleinere schermen */
    }
}

/* Voor grotere schermen, zoals desktops */
@media (min-width: 1024px) {
    .footer-container img, .socials-container img {
        width: 60px; /* Maak de afbeeldingen groter op grotere schermen */
    }
}

@media (max-width: 750px) {
    .icon-text-container {
        min-width: 80%;

    }
}

/* diensten */

/* Headercontainer met achtergrondfoto en overlay */
.container.bloemen2 {
    position: relative;
    height: 70vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .container.bloemen2 img.plantfoto {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(60%);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
  }
  
  .container.bloemen2 .overlay {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 2em;
  }
  
  .overlay-title {
    font-size: 2.5em;
    color: #ffffff;
    margin-bottom: 0.3em;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
  }
  
  .overlay-subtext {
    font-size: 1.2em;
    color: #e4e4e4;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }
  
  /* Diensten-stijl */

  .diensten-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5em;
    padding: 5em 2em;
    background-color:white;
  }
  
  .dienst-card {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .dienst-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  }
  
  .card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
  }
  
  .dienst-card:hover .card-image img {
    transform: scale(1.05);
  }
  
  .card-content {
    padding: 1.5em;
    display: flex;
    flex-direction: column;
    gap: 1em;
    text-align: left;
  }
  
  .card-content h3 {
    color: #475023;
    font-size: 1.3em;
    margin: 0;
  }
  
  .card-content p {
    font-size: 0.95em;
    color: #333;
    line-height: 1.5;
    margin: 0;
  }
  
  .card-content .text {
    align-self: flex-start;
    margin-top: auto;
    padding: 0.5em 1.2em;
    background-color: #6e9819;
    color: white;
    text-decoration: none;
    font-size: 0.9em;
    border-radius: 30px;
    transition: background-color 0.3s ease;
  }
  
  .card-content .text:hover {
    background-color: #3a3e1c;
  }

  .fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }

/* contact */
.contact-section {
    padding: 3em 1em;
    background-color: #f8f8f8;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-section h2 {
    color: #475023;
    font-size: 2em;
    margin-bottom: 1em;
    margin-top: 2.5em;
}

.contact-form {
    background-color: #ffffff;
    padding: 2em;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.contact-form label {
    font-weight: bold;
    color: #475023;
}

.contact-form input,
.contact-form textarea {
    padding: 0.8em;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1em;
    width: 100%;
    box-sizing: border-box;
}

.contact-form button {
    background-color: #6e9819;
    color: white;
    padding: 0.8em 1em;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #5c7e14;
}

.scroll-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  
  .scroll-up.animate {
    opacity: 1;
    transform: translateY(0);
  }

/* team */
.team-body {
  background-color: #f4f5f0;
  font-family: 'Trebuchet MS', sans-serif;
  margin: 0;
  padding-top: 100px;
}

.team-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4em 2em;
  margin-top: 4em;
  text-align: center;
}

.team-title {
  color: #475023;
    font-size: 2em;
    margin-bottom: 1em;
    margin-top: 2.5em;
}

.owner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  padding: 2em;
  gap: 2em;
  max-width: 800px;
  margin: 0 auto;
}

.owner-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #475023;
}

.owner-info h2 {
  font-size: 1.8em;
  color: #475023;
  margin: 0.2em 0;
}

.functie {
  font-weight: bold;
  color: #777;
  margin-bottom: 1em;
}

.owner-info p {
  font-size: 1em;
  color: #333;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Fade-in animatie */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (min-width: 700px) {
  .owner-card {
    flex-direction: row;
    text-align: left;
  }

  .owner-info {
    flex: 1;
    padding-left: 2em;
  }
}

/* Gallerij */
.galerij-section {
  padding: 4em 2em;
  background-color: #f6f6f6;
}

.galerij-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* meerdere per rij */
  gap: 1.5em;
  max-width: 1200px;
  margin: 0 auto;
}

.galerij-foto {
  width: 100%;
  aspect-ratio: 4 / 3;           /* Zorgt voor gelijke hoogte-breedte verhouding */
  object-fit: cover;             /* Snijdt netjes af als formaten verschillen */
  border-radius: 1em;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.galerij-foto:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}


/* Lightbox-styling */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  margin-top: 67.5px;
  max-width: 90%;
  max-height: 80%;
  border-radius: 1em;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.lightbox-close {
  position: absolute;
  top: 2%;
  right: 4%;
  font-size: 2em;
  color: white;
  cursor: pointer;
}


/* Fade-in effect */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
