/* Algemene stijl */
body {
  background-color: rgba(0, 0, 0, .9);
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: contain;
  background-blend-mode: lighten;
  font-family: "Segoe UI", sans-serif;
  margin: 0;
  color: #fff;
  padding: 0;
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../design/achtergrond-paddenstoel.jpg') center/cover no-repeat;
  opacity: 0.9; /* pas aan tussen 0.05 en 0.15 */
  z-index: -1;
  pointer-events: none;
}
/* Header & navigatie */
header {
	position: relative;
	background-color: hsl(81, 50%, 18%);
  color: white;
  text-align: center;
  padding: 1rem 0 0;
}
#logo{
	position: absolute;
	top: 10px;
	left: 10px;
}
#logo img{
	border-radius: 8px;
	height: 68px;
}
h1{
	color: #ffe4c4;
	font-size: 26px;
	font-weight: normal;
}
nav {
  margin-top: 0.5rem;
  background: hsl(25, 76%, 4%);
	border-top: 2px solid hsl(25, 76%, 28%);
	border-bottom: 2px solid hsl(25, 76%, 28%);
  padding: 1rem 0 ;
}

nav a {
  color: #ffe4c4;
  text-decoration: none;
  margin: 0 15px;
  transition: 0.3s;
}

nav a:hover, nav a.active {
  color: #ffcc66;
}

/* Hero sectie */
.hero {
  background-image: url('../design/cover.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  color: #ffe4c4;
  text-align: center;
  height: calc(100vh - 120px); 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-shadow: 0 0 3px #000;
  padding: 0 20px;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
	font-weight: normal;
}
.hero h2,
.hero p {
	font-weight: normal;
  opacity: 0;
  animation: fadeInText 1.4s ease forwards;
  animation-delay: .3s;
}

@keyframes fadeInText {
  from {
    opacity: 0;
    transform: translateY(-150px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Intro / tekst */
main {
  padding: 30px 20px;
  max-width: 1400px;
  margin: auto;
}
main h2{
  color: #ffcc66;
	font-weight: normal;
}

.intro-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 50px 20px;
  background-color: hsla(0, 0%, 0%, .8); /* lichte herfsttint */
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  max-width: 1200px;
  margin: 130px auto;
}
.columns{
	width:100%;
	padding: 300px 0;
	background: url(../fotos/paddenstoelen/paddenstoel-lightpainting-3.jpg) fixed;
}
.home-sections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin: 60px auto;
  max-width: 1200px;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .home-sections {
    grid-template-columns: 1fr; /* op mobiel: 1 kolom */
  }
}
.section-box {
  background: hsla(0, 0%, 0%, .8);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
}

.section-box h3 {
  color: #ffcc66; /* warme herfstkleur */
  margin-bottom: 10px;
	font-weight: normal;
	font-size: 24px;
	margin: 0;
}

.section-box p {
  color: #ddd;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
	border: 1px solid #ffcc66;
  color: #ffcc66;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  transition: background 0.3s;
	margin-top: 20px;
}

.btn:hover {
  background: #ffcc66;
  color: #000;
}

.contact {
  padding: 50px 20px;
  background-color:  hsla(0, 0%, 0%, .8); /* lichte herfsttint */
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  max-width: 1200px;
  margin: 50px auto;
	text-align: center;
}
.contact h2{
  color: #ffcc66;
  font-size: 1.5rem;
	font-weight: normal;
}

.intro-text {
  flex: 1 1 400px;
  min-width: 300px;
}

.intro-text h2 {
	font-size: normal;
  color: #ffcc66; /* warme herfstkleur voor de titel */
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.intro-text p {
  line-height: 1.7;
  margin-bottom: 15px;
  color: #ddd;
}

.intro-image {
  flex: 1 1 400px;
  min-width: 300px;
  text-align: center;
}

.intro-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  display: block;
}

.about-section {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  padding: 50px 20px;
  background-color: hsla(0, 0%, 0%, .8);
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  max-width: 1200px;
  margin: 50px auto;
}

.about-text {
  flex: 1 1 500px;
  min-width: 300px;
  color: #ddd;
}

.about-text h2 {
  color: #ffcc66;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.about-text p {
  line-height: 1.7;
  margin-bottom: 15px;
}

.about-text ul {
  list-style-type: disc;
  padding-left: 20px;
}

.about-text li {
  margin-bottom: 8px;
}

.about-image {
  flex: 1 1 400px;
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.caption::first-letter {
    text-transform: uppercase;
}
/* Responsive */
@media (max-width: 768px) {
  .about-section {
    flex-direction: column;
    padding: 30px 15px;
  }

  .about-image img {
    max-width: 100%;
  }
}

/* Responsive voor mobiel */
@media (max-width: 768px) {
  .intro-block {
    flex-direction: column;
    padding: 30px 15px;
  }

  .intro-text, .intro-image {
    min-width: 100%;
  }
}


/* Galerie */
.gallery {
  column-count: 3;              /* aantal kolommen (pas aan per scherm) */
  column-gap: 16px;             /* ruimte tussen kolommen */
  margin-top: 20px;
  display: block;
  width: 100%;
}

.gallery img {
  cursor: pointer;
  width: 100%;
  margin-bottom: 16px;          /* ruimte tussen foto's in dezelfde kolom */
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: transform 0.3s;
  display: block;            /* voorkomt witte lijnen */
	border: 1px solid #333;
}

.gallery img:hover {
  transform: scale(1.03);
}


/* Sluitknop */
.close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* Vorige/volgende knoppen */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 16px;
  color: #fff;
  font-weight: bold;
  font-size: 30px;
  user-select: none;
  border: none;
  background: transparent;
  transform: translateY(-50%);
}

.prev:hover, .next:hover {
  color: #ffcc66;
}

.prev { left: 20px; }
.next { right: 20px; }


/* Responsive */
@media (max-width: 600px) {
  .prev, .next {
    font-size: 24px;
    padding: 12px;
  }
}


/* Contactformulier */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 500px;  
	margin: 0 auto;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
}

.contact-form button {
	border: 1px solid #ffcc66;
  background-color: #000;
  color: #ffcc66;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
}

.contact-form button:hover {
  color: #000;
  background-color: #ffcc66;
}

/* Footer */
footer {
	width: 100%;
  	background-color: hsl(25, 76%, 4%);
  	color: #f5deb3;
  	text-align: center;
  	padding: 15px 0;
}

/* Responsive */
@media (max-width: 768px) and (min-width: 490px){
	.gallery { 
  	  	column-count: 2; 
	}
  	header{
    	padding-top: 10px;
  	}
  	header h1 {
		margin: 0;
    	font-size: 1.4rem;
	  	text-align: center;
  	}

  .hero {
  	height: calc(100vh - 100px);
  }

  .hero h2 {
    font-size: 1.4rem;
  }
	#logo{
		top: 6px;
	}
	#logo img{
		height: 40px;
	}
	/*
	#logo{
		position: relative;
	}
	#logo img{
		margin-left: -25px;
		height: 60px;
	}*/
}
@media (max-width: 490px){
	.gallery { 
  	  	column-count: 1; 
	}
  	header{
    	padding-top: 0;
  	}
  	header h1 {
		margin: 0;
    	font-size: 1.4rem;
	  	text-align: center;
  	}

  .hero {
  	height: calc(100vh - 150px);
  }

  .hero h2 {
    font-size: 1.6rem;
  }
	
	#logo{
		position: relative;
	}
	#logo img{
		margin-left: -25px;
		height: 40px;
	}
}
/* slide function */
#lightbox { 
  display: none; 
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox-inner {
  position: relative;
  width: 100%;
  max-width: 1200px; /* iets ruimer voor desktop */
  display: flex;
  justify-content: center;
}

/* wrapper met slides naast elkaar */
.slide-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 85vh; /* iets groter */
  display: flex;
  align-items: center;
}

/* elke slide vult de wrapper */
.slide {
  min-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  will-change: transform;
  box-sizing: border-box;
}

/* afbeelding: basisinstelling voor mobiel */
.slide img {
  max-width: 90%;
  max-height: 70vh;
  display: block;
	border-radius: 15px;
	border: 1px solid #333;
}

/* caption */
.caption {
  margin-top: 12px;
  color: #fff;
  text-align: center;
  font-size: 14px;
  max-width: 90%;
  word-wrap: break-word;
}

/* pijlen en sluitknop */
.controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.controls button {
  pointer-events: auto;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  padding: 10px;
  cursor: pointer;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
	z-index: 999;
}

/* 🔹 Desktop: grotere weergave */
@media (min-width: 768px) {
  .slide-wrapper {
    height: 90vh;
  }
  .slide img {
    max-width: 95%;
    max-height: 85vh;
  }
  .caption {
    font-size: 16px;
    max-width: 80%;
  }
}

/* 🔹 Zeer grote schermen (optioneel) */
@media (min-width: 1200px) {
  .slide img {
    max-width: 80%; /* iets smaller voor esthetiek */
    max-height: 85vh;
  }
}
