/* Reset de pagina */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #a9baa9;
	line-height: 1.6;
	text-align: center;
}

body a{
	text-decoration: none;
	color: black;
}

body a:hover{
	color: white;
}

body h1 {
	font-size: clamp(2.5rem, 2vw + 2rem, 4rem);
}

body h2 {
	font-size: clamp(1.5rem, 1.25vw + 1.25rem, 2.5rem);
}

body h3 {
	font-size: clamp(1.25rem, 0.75vw + 0.8rem, 1.5rem);
}

body h5 {
	font-size: clamp(1rem, 0.60vw + 0.6rem, 1.125rem);
}

body p {
	font-size: clamp(1rem, 0.95vw + 0.25rem, 1.125rem);
}

body p5 {
	font-size: clamp(0.75rem, 0.95vw + 0.25rem, 1.125rem);
}

html {
  scroll-behavior: smooth;
}

/*Header*/
header {
    padding: 20px;
    text-align: center;
}

header img {
	width: 100%;
	height: auto;
}

/*Navigation*/
nav {
    position: sticky;
	top: 0;
	text-align: center;
	background: #a9baa9;
	padding: 10px 0;
	z-index:1000;
}

nav a {
    margin: 0 15px;
}

nav a.active {
	text-decoration: underline;
}

/* DESKTOP – verberg mobile menu onderdelen */
.hamburger {
display: none;
}


#menu-toggle,
#dropdown-toggle {
display: none;
}

/* Dropdown wrapper */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown menu zelf */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;

  background: #a9baa9;
  min-width: 200px;
  text-align: left;
  z-index: 2000;
}

/* Links in dropdown */
.dropdown-menu a {
  display: block;
  padding: 10px 15px;
  color: black;
  text-decoration: none;
}

/* Hover effecten */
.dropdown-menu a:hover {
  color: white;
}

/* Dropdown zichtbaar bij hover */
.dropdown:hover .dropdown-menu {
  display: block;
}

/*Main part*/
main {
    padding: 20px;
}

/*Home*/
.home h1 {
	color: black;
	text-align: right;
}

.home h2 {
	color: black;
	text-align: left;
	padding: 15px;
}

.home img {
	width: 100%;
	object-fit: cover;
	aspect-ratio: 5/2;
	z-index:999;
}

.home_gallery img{
	width: 80%;
	height: auto;
	border-radius: 6px;
	object-fit: cover;
	aspect-ratio: 4/3;
}


/*Over*/
.over_gallery {
	display: grid;
	grid-template-columns: repeat(2,1fr);
	gap: 0px;
	padding: 0px;
} 

.over_item {
	text-align: center;
	padding: 30px;
}


.over_item img {
	width: 100%;
	height: auto;
	object-fit: cover;
	aspect-ratio: 4/3;
}

.over_itemportrait img {
	width: 60%;
	height: auto;
	object-fit: cover;
	aspect-ratio: 3/4;
}

.over_item4 img{
	width: 100%;
	height: auto;
	object-fit: cover;
	aspect-ratio: 4/3;
}

/* Gallery*/
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(250px, 1fr));
  gap: 25px;
  padding: 40px;
}

.item {
	padding: 10px;
}

.portrait{
	padding: 10px;
}

.square{
	padding: 10px;
}

.item img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.item img:hover{
	transform: scale(1.75);
	z-index:1000;
}
.portrait img:hover{
	transform: scale(1.75);
	z-index:1000;
}
.square img:hover{
	transform: scale(1.75);
	z-index:1000;
}

.portrait img {
	width: 60%;
	height: auto;
	border-radius: 6px;
	object-fit: cover;
	aspect-ratio: 3/4;
}

.square img {
	width: 80%;
	height: auto;
	border-radius: 6px;
	object-fit: cover;
	aspect-ratio: 1/1;
}



/*Pop-up*/
pop-up {
	.container {
		display: flex;
		flex-wrap: wrap;
		gap: 20px;
		padding: 40px;
		background-color: #a9baa9;
	}

	.image-gallery {
		flex: 1 1 45%;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.main-image {
		position: relative;
		width: 100%;
		max-width: 500px;
	}

	.main-image img {
		width: 100%;
		height: auto;
		border: 4px solid #ccc;
		border-radius: 4px;
	}

	.nav-arrows {
		position: absolute;
		top: 45%;
		width: 100%;
		display: flex;
		justify-content: space-between;
		pointer-events: none;
	}

	.arrow {
		background-color: rgba(200, 200, 200, 0.7);
		border: none;
		font-size: 2rem;
		cursor: pointer;
		pointer-events: all;
		padding: 8px 16px;
		border-radius: 50%;
		transition: background-color 0.3s ease;
	}

	.arrow:hover {
		background-color: rgba(100, 100, 100, 0.8);
		color: white;
	}

	.thumbnail-row {
		display: flex;
		gap: 10px;
		margin-top: 15px;
		flex-wrap: wrap;
		justify-content: center;
	}

	.thumbnail {
		width: 80px;
		height: 60px;
		object-fit: cover;
		cursor: pointer;
		border: 2px solid #666;
		transition: transform 0.2s;
	}

	.thumbnail:hover {
		transform: scale(1.1);
		border-color: black;
	}

	.text-content {
		flex: 1 1 45%;
		padding: 20px;
		background-color: #d8e3d8;
		border-radius: 10px;
		text-align: center;
	}
}	
/*Contact*/
.contact_gallery {
	display: grid;
	grid-template-columns: repeat(2,1fr);
	gap: 0px;
	padding: 0px;
} 

.contact_itemL {
	text-align: left;
	padding: 25px;
}

.contact_item img {
	width: 100%;
	height: auto;
	object-fit: cover;
	aspect-ratio: 5/3;
}

/*Footer*/

footer {
    background: #a9baa9;
    color: black;
    text-align: center;
    padding: 10px;
}

/* ===============================
   MOBILE STYLES (max 768px)
   =============================== */

@media (max-width: 768px) {

  /* ---------- Algemene layout ---------- */
  body {
    text-align: center;
  }

  header {
    padding: 15px;
  }

  main {
    padding: 15px;
  }

  /* ---------- Navigatie ---------- */

  nav {
    position: sticky;
    top: 0;
    background: #a9baa9;
    z-index: 2000;
  }

  /* hamburger knop */
  .hamburger {
    display: block;
    font-size: 2rem;
    cursor: pointer;
    margin: 10px auto;
  }

  /* checkbox verbergen */
  #menu-toggle,
  #dropdown-toggle {
    display: none;
  }

  /* menu standaard dicht */
  .nav-links {
    display: none;
    flex-direction: column;
  }

  /* menu open bij klik */
  #menu-toggle:checked ~ .nav-links {
    display: flex;
  }

  nav a,
  .dropdown label {
    display: block;
    margin: 10px 0;
    cursor: pointer;
  }

  /* dropdown */
  .dropdown-menu {
    display: none;
    position: static;
    text-align: center;
  }

  #dropdown-toggle:checked ~ .dropdown-menu {
    display: block;
  }

  /* hover uitschakelen */
  .dropdown:hover .dropdown-menu {
    display: none;
  }

  /* ---------- Home ---------- */
  .home h1,
  .home h2 {
    text-align: center;
  }

  .home img {
    aspect-ratio: auto;
  }

  .home_gallery img {
    width: 100%;
  }

  /* ---------- Over ---------- */
  .over_gallery {
    grid-template-columns: 1fr;
  }

  .over_item {
    padding: 15px;
  }

  /* ---------- Gallery ---------- */
  .gallery {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }

  .item img,
  .portrait img,
  .square img {
    width: 100%;
  }

  /* hover zoom uit op mobiel */
  .item img:hover,
  .portrait img:hover,
  .square img:hover {
    transform: none;
  }

  /* ---------- Contact ---------- */
  .contact_gallery {
    grid-template-columns: 1fr;
  }

  .contact_itemL {
    text-align: center;
    padding: 15px;
  }

}
