@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rouge+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Waterfall&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Zain:wght@400;700&display=swap');

:root{
  --base: #A3A38C;
  --base-header: #A3A38C85;
  --light-bg: #D9D9C7;
  --dark-text: #2B2B2B;
  --accent: #8C7B58;
  --highlight: #F9F8F5;
  --bg: #f6f1ec;
  --card: #fff8f3;
  --accent-soft: #c89b78; /* terracotta/soft */
  --text: #2b2b2b;
  --muted: #6b5a4c;
}

*{box-sizing: border-box}

html, body {
  scroll-behavior: smooth;
}

body{
  margin:0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: var(--light-bg);
  color: var(--dark-text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

.site-header{
  display:flex;
  align-items:center;
  justify-content:center;
  background-color: transparent; /* var(--base-header) */
  /* color: var(--dark-text); */
  position: absolute;
  top: 7rem;          /* afstand van bovenkant hero */
  left: 0;
  width: 100%;
  z-index: 10;
  height: 7vh;
  min-height: 50px;
}

h1, h2, h3, h4, h5, h6,
.site-header nav a {
  font-family: 'Zain', sans-serif;
  /* font-family: "Playfair Display", serif; */
  font-weight: bold;
  color: var(--muted);
}

.site-header nav a {
  /* text-transform: uppercase; */
  letter-spacing: 1px;
  color: white;
  text-decoration: none;
  font-weight:700;
  font-size: 2.1rem;
  /* font-family: "Playfair Display", serif; */
  /* font-family: 'Zain', sans-serif; */
  /* font-family: 'Rouge Script', cursive; */
  /* font-family: 'Waterfall', cursive; */
}

.site-header nav a:hover {
  color: var(--dark-text); /* of een hexkleur zoals #F5CBA7 */
  text-decoration: none;   /* eventueel om te voorkomen dat hij underline krijgt */
  transform: scale(1.05);
  transition: color 0.3s ease, transform 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px; /* bepaalt de “centrering” */
  margin-left: 1rem;
  margin-left: 1rem;
  gap: 2rem;
}

/* Logo */
.logo {
  display:flex;
  flex:1;
  justify-content: flex-start;
}

.logo img {
  height: 120%;   /* groter dan de header */
  width: auto;    /* proportioneel houden */
  object-fit: contain;
  margin-top: -10%;   /* logo laat bovenkant spillen */
  margin-bottom: -10%; /* logo laat onderkant spillen */
  position: relative;
  max-height: 20vh;
  min-height: 100px;
}

.main-nav {
  flex: 2;
  display: flex;
  justify-content: center;
  gap: 5rem;
  flex-wrap: nowrap;
  align-items: center;
}

/* Hamburger menu */
.hamburger{
  display:none;
  flex-direction:column;
  justify-content:space-between;
  width:28px;
  height:22px;
  background:transparent;
  border:none;
  cursor:pointer;
  padding:0;
}

.hamburger span{
  display:block;
  height:3px;
  background: white;
  border-radius:2px;
}

.socials-header{
  flex: 0.8;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  align-items: center;
}

.icon{
  display:inline-flex;
  width:36px;
  height:36px;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background-color: var(--accent);
  color: var(--light-bg);
  /* background: transparent; */
  /* border:1px solid rgba(139,94,60,0.12); */
  text-decoration:none;
  transition: all .18s ease;
}
.icon:hover{
  background-color: var(--dark-text);
  transform: translateY(-2px);
}
.svg-icon{ width:18px; height:18px; display:block; }

main section:not(.hero) { 
  padding:3rem 1.25rem; 
  max-width:1200px; 
  margin:0 auto; 
}

/* Hero */
.hero{
  position:relative;
  height:80vh;
  width: 100%;
  overflow:hidden;
}

/* Slideshow container */
.slideshow-container ,
.mySlides {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.mySlides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center; /* <-- dit zorgt dat het beeld vanuit het midden gecropt wordt */
  display: block;
  filter: saturate(.9) contrast(.95);
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* ABOUT ME */
.about-me {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap; /* zorgt dat het op mobiel onder elkaar komt */
}

.about-text {
  flex: 1 1 500px; /* neemt ruimte in, maar minimale breedte 500px */
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.about-image {
  flex: 1 1 400px; /* neemt ruimte in, minimale breedte 400px */
}

.about-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* PORTFOLIO */
.portfolio.full-width {
  width: 100vw;        /* volledige viewport breedte */
  margin-left: calc(-1 * var(--site-padding, 0)); /* optioneel om parent-padding te compenseren */
  max-width: 100%;
  padding: 2rem 1rem;
}

.portfolio .gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 blokken naast elkaar */
  gap: 1rem;
  width: 100%;
}

.portfolio .gallery-item {
  position: relative; /* voor overlay */
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(43,43,43,0.06);
}

.portfolio .gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.portfolio .gallery-item:hover img {
  transform: scale(1.05); /* lichte zoom */
}

.portfolio .gallery-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3); /* lichte fade */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio .gallery-item:hover .overlay {
  opacity: 1;
}

.portfolio .gallery-item .overlay p {
  font-family: 'Zain', sans-serif;
  font-size: 2rem;
  text-align: center;
}

/* PRIJZEN SECTIE */
/* OUTER LAYER = full width achtergrond */
.prijzen-outer {
  background-color: #e7e7d8; /* of gebruik var(--base-header) var(--accent) */
  padding: 5rem 0;
}

.prijzen-outer.full-width {
  width: 100vw;        /* volledige viewport breedte */
  max-width: 100%;
}

/* INNER LAYER = content gecentreerd */
.prijzen-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem; /* ruimte aan de zijkanten */
  color: var(--dark-text);
  text-align: center;
  box-sizing: border-box;
}

.prijzen-intro {
  max-width: 900px;
  margin: 0 auto 3rem auto;
}

.prijzen-intro h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.prijzen-intro p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
}

/* GRID LAYOUT */
.prijzen-lijst {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 kolommen */
  gap: 2.5rem;
  max-width: 1200px; /* voorkomt dat het te breed uitloopt */
  margin: 0 auto;
  text-align: left;
}

/* PRIJS ITEMS */
.prijs-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}


.prijs-item p {
  font-size: 0.95rem;
  color: var(--dark-text);
  margin: 0.5rem 0 1rem;
  line-height: 1.5;
}

.prijs-item h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
  text-align: center;
}

.prijs-item ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.prijs-item ul li {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
}

/* PRIJS LABEL */
.prijs-item .prijs {
  text-align: center;
  font-size: 1.6rem;
  font-weight: bold;
  background-color: var(--base);
  color: var(--muted);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  width: fit-content;
  margin: 0 auto;
}

/* ADDONS */
.addons {
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.1);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.addons h3 {
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.addons ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.addons li {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--dark-text);
}

/* BOEK NU */
.booking-section {
  padding: 5rem 2rem;
  background: var(--light-bg);
  color: var(--dark-text);
  display: flex;
  justify-content: center;
  overflow-x: hidden; /* voorkomt uitloop */
}

.booking-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  width: 100%;
  align-items: stretch;
  box-sizing: border-box;
  margin: 0 auto;
}

.booking-form {
  flex: 1 1 500px;
}

.booking-form h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.booking-form form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-group.full-width {
  flex-direction: column;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--muted);
  padding: 0.75rem 0;
  font-size: 1rem;
  color: var(--dark-text);
  width: 100%;
  transition: border-color 0.3s ease;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.booking-form textarea {
  min-height: 100px;
  resize: vertical;
}

.booking-form button {
  align-self: flex-start;
  background: var(--accent);
  color: white;
  border: none;
  padding: 0.9rem 2.2rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.booking-form button:hover {
  background: var(--dark-text);
  transform: translateY(-2px);
}

.booking-image {
  flex: 1 1 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.booking-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* border-radius: 8px; */
}


/* Popup */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.popup-content {
  background: var(--highlight);
  color: var(--dark-text);
  padding: 2rem 3rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.popup-content p {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.popup-content button {
  background: var(--accent);
  color: white;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.popup-content button:hover {
  background: var(--dark-text);
}

/* FOOTER */
.site-footer {
  width: 100%;
  background-color: var(--base-header); /* dezelfde als de header */
  color: var(--accent);
  padding: 2rem 4vw;
  display: flex;
  justify-content: center; /* center de inner container */
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  gap: 2rem;
}

.footer-logo img {
  height: 19vh;
  width: auto;
  object-fit: contain;
}

.footer-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.footer-info p {
  margin: 0;
  line-height: 1.4;
}
.footer-info p a {
  color: var(--accent);
}

/* BACK TO TOP BUTTON */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: none;      /* standaard verborgen */
  background-color: var(--accent);
  color: var(--light-bg);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  z-index: 100;
  transition: opacity 0.3s ease;
}

#back-to-top:hover {
  background-color: var(--highlight);
}

.full-width {
  max-width: none;
  margin: 0;
  padding: 2rem 2rem;
  width: 100vw;
}

/* responsiveness */
@media (max-width:720px){
  .hamburger{ display:flex; }
  .main-nav{
    position:absolute;
    top:64px; /* onder header */
    right:0;
    background:var(--bg);
    width:200px;
    flex-direction:column;
    align-items:flex-start;
    padding:1rem;
    gap:0.75rem;
    display:none;
    box-shadow:0 4px 12px rgba(0,0,0,0.15);
    border-radius:0 0 0 8px;
  }
  .main-nav.open{ display:flex; }
  .main-nav{ display:none; }
  .hero-overlay h2{ font-size:1.4rem; }
  .portfolio img{ height:180px; }
  .about-text {
    order: 2;
  }
  .about-image {
    order: 1;
  }
  .boek-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .portfolio .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .prijzen-lijst {
    grid-template-columns: repeat(2, 1fr);
  }
  .site-header nav a {
    font-size: 1.8rem;
  }
  .main-nav {
    gap: 2rem;
  }
}
@media (max-width: 850px) {
  .site-header nav a {
    font-size: 1.5rem;
  }
  .main-nav {
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .portfolio .gallery {
    grid-template-columns: 1fr;
  }
  .prijzen-lijst {
    grid-template-columns: 1fr;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .booking-container {
    grid-template-columns: 1fr;
  }

  .booking-image {
    order: -1;
  }
}
