/* Fade-in animatie */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Algemene instellingen */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: url("schilderijen/witte_achtergrond_met_blueprint_watermerk.png") no-repeat center center fixed;
  background-size: cover;
  color: #333;
}

/* Header styling */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 20px 40px;
  background-color: #22211ea4;
  border-bottom: 1px solid #33333351;
}

/* Logo en titel */
.logo-title {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.logo {
  height: 90px;
  width: 90px;
  border-radius: 50%;
  object-fit: cover;
}

.title-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.title-text .main {
  font-family: 'Great Vibes', cursive;
  font-size: 2.4rem;
  color: #fff;
}

.title-text .mainZoe {
  font-family: 'Great Vibes', cursive;
  font-size: 1.4rem;
  color: #ccc;
  margin-top: 5px;
}

/* Navigatie rechts */
.nav-links {
  display: flex;
  gap: 25px;
  flex: 1;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.nav-links a {
  color: #eee;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: lightgreen;
}

/* Taalwissel gecentreerd */
.language-switcher {
  display: flex;
  gap: 10px;
  margin-left: 1000px;
}

.language-switcher button {
  background-color: whitesmoke;
  color: #000;
  border: none;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.language-switcher button:hover {
  background-color: lightgreen;
}

/* Gallerij */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  padding: 40px;
  max-width: 1200px;
  margin: auto;
}

.painting {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.painting img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.painting:hover img {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  z-index: 2;
  position: relative;
}

.info {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: #e1eae7;
  text-align: center;
  padding: 10px 0;
  font-size: 1.2rem;
}
/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background-color: #22211ea4;
  border-top: 1px solid #33333351;
  color: #ccc;
}

/* Content blokken */
.content {
  max-width: 800px;
  margin: 60px auto;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  font-size: 1.1rem;
  color: #222;
}

.content h2 {
  font-family: 'Great Vibes', cursive;
  font-size: 2.2rem;
  margin-bottom: 20px;
}

/* Contact formulier */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.contact-form button {
  background-color: lightgreen;
  color: black;
  font-weight: bold;
  padding: 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: lightgreen;
}

/* Over ons */
.over-ons-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 60px auto;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
}

.text-blok {
  flex: 1 1 400px;
  font-size: 1.1rem;
  color: #222;
}

.text-blok h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  font-family: 'Great Vibes', cursive;
  color: #111;
}

.foto-blok {
  flex: 1 1 300px;
  text-align: center;
}

.foto-blok img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  object-fit: cover;
  transition: transform 0.3s ease;
}

.foto-blok img:hover {
  transform: scale(1.03);
}

/* Bestelformulier */
.bestel-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

.bestel-form input,
.bestel-form textarea,
.bestel-form select {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.bestel-form select option[disabled] {
  color: #999;
  font-style: italic;
}

.bestel-form button {
  background-color: lightgreen;
  color: black;
  font-weight: bold;
  padding: 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.bestel-form button:hover {
  background-color: lightgreen;
}

/* Voorbeelden onder bestelform */
.voorbeeld-galerij {
  margin-top: 50px;
}

.voorbeeld-galerij h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.mini-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.mini-gallery img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

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

.header-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
}

.schilderij-detail {
  max-width: 800px;
  margin: 60px auto;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.schilderij-detail img {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 20px;
}

.bestel-knop {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #b2e5b2;
  color: #083b08;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.bestel-knop:hover {
  background-color: #a0d9a0;
  transform: translateY(-2px);
}

/* Paginatie */
.pagination {
  text-align: center;
  margin: 40px 0;
}

.pagination button {
  background-color: #d3f0d3;
  border: none;
  color: #083b08;
  font-weight: bold;
  margin: 0 6px;
  padding: 10px 16px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.pagination button:hover {
  background-color: #bde7bd;
  transform: translateY(-2px);
}

.pagination button.active {
  background-color: #a3d9a3;
  color: white;
}

/* ✅ Mobiele optimalisaties */
@media (max-width: 768px) {
  .gallery {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .language-switcher {
    margin-left: 0;
    justify-content: center;
    flex-wrap: wrap;
  }

  .site-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logo-title {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .title-text .main {
    font-size: 1.8rem;
    text-align: center;
  }

  .title-text .mainZoe {
    font-size: 1rem;
  }

  .content {
    margin: 30px 10px;
    padding: 20px;
    font-size: 1rem;
  }

  footer {
    padding: 15px;
    font-size: 0.9rem;
  }

  .pagination button {
    padding: 8px 12px;
    font-size: 0.9rem;
    margin: 4px;
  }

  .bestel-knop {
    padding: 10px 20px;
    font-size: 1rem;
  }

  .over-ons-container {
    flex-direction: column;
    padding: 20px;
  }

  .text-blok,
  .foto-blok {
    flex: 1 1 100%;
    text-align: center;
  }

  .text-blok h2 {
    font-size: 1.6rem;
  }

  .foto-blok img {
    width: 90%;
    max-width: 350px;
  }
}

/* Extra stijl voor professioneel formulier */
.bestel-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bestel-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bestel-form fieldset.form-group {
  background: #f8f9f9;
  padding: 20px;
  border-radius: 12px;
  margin-top: 10px;
}

.bestel-form input,
.bestel-form select,
.bestel-form textarea {
  padding: 10px 14px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
  max-width: 600px;
}

.bestel-form legend {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 10px;
}

.bestel-form button {
  background-color: #92d392;
  border: none;
  color: #083b08;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 14px 20px;
  border-radius: 8px;
  cursor: pointer;
  width: fit-content;
  align-self: flex-start;
  transition: background-color 0.2s ease;
}

.bestel-form button:hover {
  background-color: #7dc77d;
}

.privacy-wrapper {
  display: flex;
  justify-content: flex-start;
}

.privacy-checkbox {
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  line-height: 1.4;
  max-width: 100%;
  white-space: normal;
}
.privacy-checkbox input[type="checkbox"] {
  margin: 0;
  transform: translateY(1px);
}





