/* Algemene reset en box-sizing */
*, *::before, *::after {
  box-sizing: border-box;
}

/* BODY: mobile first basis */
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: #f9f6f1;
  color: #4a4a4a;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER basis */
header {
  background-color: #d8c3a5;
  color: #2e2e2e;
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header h1 {
  margin: 0 0 1rem 0;
  font-weight: 400;
  font-size: 1.5rem;
}

/* NAVIGATION mobile-first */
/* Mobiel: hamburger zichtbaar, menu verborgen */
nav {
  position: relative;
  z-index: 1100;
}

#menu-toggle {
  display: none;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 25px;
  height: 22px;
  cursor: pointer;
}

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

/* Nav links mobiel: verborgen standaard */
.nav-links {
  display: none;
  flex-direction: column;
  background-color: #a89f91;
  position: fixed;
  top: 65px;
  left: 0;
  width: 100%;
  padding: 1rem 0;
  margin: 0;
  list-style: none;
  z-index: 1050;
}

/* Toon menu als checkbox aangevinkt */
#menu-toggle:checked + .hamburger + .nav-links {
  display: flex;
}

/* Links styling mobiel */
.nav-links li a {
  color: #2e2e2e;
  text-decoration: none;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  display: block;
  text-align: center;
  margin: 0 1rem;
}

.nav-links li a:hover,
.nav-links li a[aria-current="page"] {
  background-color: #8e8d8a;
  color: #fff;
}

/* MAIN content */
main {
  flex: 1;
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* INHOUD box */
.inhoud {
  max-width: 850px;
  margin: 2rem auto;
  padding: 1.8rem 2rem;
  background-color: #ede0d4;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  color: #3e3e3e;
  font-size: 1.1rem;
  line-height: 1.7;
}

.inhoud h1 {
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
  color: #7f5539;
}

.inhoud h2 {
  font-size: 1.8rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #b08968;
  font-weight: 600;
  border-left: 4px solid #d9c1a3;
  padding-left: 0.6rem;
}

/* FORMULIER */
.inhoud form table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 1rem;
}

.inhoud form td {
  vertical-align: middle;
}

.inhoud form label {
  font-weight: 600;
  color: #5c4434;
}

.inhoud form input[type="text"],
.inhoud form input[type="email"],
.inhoud form input[type="tel"],
.inhoud form input[type="date"],
.inhoud form select,
.inhoud form textarea {
  width: 100%;
  padding: 0.4rem 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.inhoud form input[type="text"]:focus,
.inhoud form input[type="email"]:focus,
.inhoud form input[type="tel"]:focus,
.inhoud form input[type="date"]:focus,
.inhoud form select:focus,
.inhoud form textarea:focus {
  border-color: #b08968;
  outline: none;
}

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

/* RATING */
.rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-start;
  gap: 0.3rem;
  font-size: 1.6rem;
  user-select: none;
}

.rating input[type="radio"] {
  display: none;
}

.rating label {
  cursor: pointer;
  color: #ccc;
  transition: color 0.2s ease-in-out;
  line-height: 1;
}

.rating label:hover,
.rating label:hover ~ label {
  color: #ddb892;
}

.rating input[type="radio"]:checked + label,
.rating input[type="radio"]:checked + label ~ label {
  color: #ddb892;
}

/* BUTTONS */
button,
input[type="submit"],
input[type="reset"] {
  background-color: #b08968;
  color: #fff;
  border: none;
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 4px 8px rgba(176, 137, 104, 0.4);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  margin-right: 1rem;
}

button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover {
  background-color: #7f5539;
  box-shadow: 0 6px 12px rgba(127, 85, 57, 0.6);
}

button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus {
  outline: 3px solid #ddb892;
  outline-offset: 2px;
}

/* FOOTER */
.mooie-footer {
  font-size: 0.8rem;
  text-align: center;
  background-color: #a89f91;
  color: #4a3c31;
  padding: 0.8rem 1rem;
  margin-top: 3rem;
  font-weight: 500;
  line-height: 1.4;
}

.mooie-footer-link {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.mooie-footer-link a {
  color: #7f5539;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.mooie-footer-link a:hover,
.mooie-footer-link a:focus {
  color: #b08968;
  outline: none;
  text-decoration: none;
}

/* GALLERY */
.gallery-section {
  margin-top: 2rem;
  margin-bottom: 4rem;
  max-width: 900px;
  padding: 0 1rem;
}

.gallery-section h2 {
  color: #7f5539;
  margin-bottom: 1rem;
  font-weight: 600;
  border-left: 5px solid #d9c1a3;
  padding-left: 0.7rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.gallery-grid picture img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-grid picture img:hover {
  transform: scale(1.05);
}

/* Scroll-up button */
.scroll-up-btn {
  position: fixed;
  bottom: 30px;
  left: 20px;
  background-color: #b08968;
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.5rem;
  z-index: 999;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.scroll-up-btn:hover {
  background-color: #7f5539;
}

/* Kleine schermen extra padding gallery */
@media (max-width: 480px) {
  .gallery-section {
    padding: 0 0.5rem;
    margin-bottom: 3rem;
  }
}

/* GROTERE schermen (DESKTOP vanaf 800px) */
@media (min-width: 800px) {
  /* Nav menu horizontaal, hamburger weg */
  .nav-links {
    display: flex !important;
    flex-direction: row;
    background: none;
    position: static;
    width: auto;
    padding: 0;
    gap: 1.5rem;
  }

  .hamburger {
    display: none;
  }
}