/* Fonts worden via <link> in header.php ingeladen — sneller dan @import. */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-brand: #797563;
  --color-text: #373737;
  --color-bg: #ffffff;
  --color-beige: #f5f4f0;
  --color-light: #ebebe4;
  --color-input-border: #423f30;
  --color-btn-border: #cf9582;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Raleway', sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* Respecteer voorkeur voor minder beweging — animaties en smooth-scroll uitzetten. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Zichtbare focus-ring voor keyboard-gebruikers (a11y). */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.hamburger:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 3px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Skip link voor toetsenbord-navigatie */
.skip-link {
  position: absolute;
  left: -10000px;
  top: auto;
  background: var(--color-brand);
  color: #fff;
  padding: 10px 20px;
  z-index: 1000;
}
.skip-link:focus {
  left: 10px;
  top: 10px;
}

/* Algemene knop */
.btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  border: 1px solid var(--color-brand);
  color: var(--color-brand);
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background: var(--color-brand);
  color: #fff;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 400;
  color: var(--color-brand);
  text-align: center;
  margin-bottom: 50px;
}

/* ==================== HEADER ==================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08);
}

.logo {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-brand);
  letter-spacing: 0.5px;
}

.logo a {
  color: var(--color-brand);
}

.admin-dot {
  opacity: 0;
  font-size: 14px;
  text-decoration: none;
  padding: 4px;
  transition: opacity 0.3s ease;
}

.logo:hover .admin-dot {
  opacity: 0.3;
}

.admin-dot:hover {
  opacity: 0.7 !important;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 50px;
}

.nav-list a {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--color-brand);
  transition: opacity 0.3s ease;
}

.nav-list a:hover,
.nav-list a.active {
  opacity: 0.7;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--color-brand);
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==================== HERO SLIDER ==================== */
.hero-slider {
  margin-top: 80px;
  width: 100%;
  height: calc(100vh - 180px);
  overflow: hidden;
}

.hero-slider .swiper {
  width: 100%;
  height: 100%;
}

.hero-slider .swiper-slide {
  width: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-beige);
  min-width: 200px;
}

.hero-slider .swiper-slide img {
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  display: block;
}

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
  color: var(--color-bg);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
  opacity: 1;
}

.hero-slider .swiper-button-next::after,
.hero-slider .swiper-button-prev::after {
  font-family: inherit;
  font-size: 0;
  display: block;
  width: 18px;
  height: 18px;
  border-right: 3px solid currentColor;
  border-top: 3px solid currentColor;
  content: '';
}

.hero-slider .swiper-button-next::after {
  transform: rotate(45deg);
  margin-left: -6px;
}

.hero-slider .swiper-button-prev::after {
  transform: rotate(-135deg);
  margin-right: -6px;
}

.hero-slider .swiper-button-next::after,
.hero-slider .swiper-button-prev::after {
  font-size: 30px;
  font-weight: 300;
}

/* ==================== INTRO SECTION ==================== */
.intro-section {
  text-align: center;
  padding: 80px 40px 100px;
  max-width: 900px;
  margin: 0 auto;
}

.intro-subtitle {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--color-brand);
  font-weight: 400;
  margin-bottom: 30px;
}

.intro-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 300;
  color: var(--color-brand);
  line-height: 1.4;
  margin-bottom: 30px;
}

.intro-text {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

/* ==================== ABOUT PAGE ==================== */
.about-section {
  display: flex;
  align-items: stretch;
  min-height: calc(100vh - 180px);
  margin-top: 80px;
  padding: 60px 0;
}

.about-image-wrapper {
  flex: 0 0 50%;
  position: relative;
  z-index: 2;
}

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

.about-content {
  flex: 0 0 55%;
  margin-left: -5%;
  background: var(--color-beige);
  padding: 80px 80px 80px 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.about-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-brand);
  line-height: 1.3;
  margin-bottom: 20px;
}

.about-subtitle {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text);
  margin-bottom: 30px;
  font-weight: 500;
}

.about-text {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.8;
}

.about-text p {
  margin-bottom: 20px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* ==================== CONTACT PAGE ==================== */
.contact-section {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.contact-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contact-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-form-wrapper {
  position: relative;
  z-index: 2;
  background: rgba(50, 48, 40, 0.85);
  padding: 60px 80px;
  max-width: 650px;
  width: 100%;
}

.contact-heading {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 400;
}

.form-group {
  margin-bottom: 30px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  color: var(--color-light);
  text-transform: uppercase;
  letter-spacing: 2.2px;
  margin-bottom: 10px;
}

.form-group label .required {
  color: var(--color-light);
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--color-input-border);
  padding: 12px 15px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-light);
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-brand);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.captcha-group label strong {
  font-weight: 700;
  color: var(--color-btn-border);
  font-size: 16px;
  letter-spacing: 0;
}
.captcha-group input {
  max-width: 120px;
  text-align: center;
  font-size: 18px !important;
  font-weight: 600;
}

.submit-btn {
  display: block;
  margin: 10px auto 0;
  background: transparent;
  border: 1px solid var(--color-btn-border);
  color: var(--color-light);
  font-family: var(--font-heading);
  font-size: 14px;
  padding: 14px 40px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: var(--color-btn-border);
  color: #fff;
}

.form-status {
  text-align: center;
  margin-top: 20px;
  font-family: var(--font-body);
  font-size: 14px;
}

.form-status.success {
  color: #a8d5a2;
}

.form-status.error {
  color: var(--color-btn-border);
}

/* ==================== TESTIMONIALS ==================== */
.testimonials-section {
  background: var(--color-beige);
  padding: 80px 40px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.testimonial {
  background: #fff;
  padding: 30px;
  border-left: 3px solid var(--color-btn-border);
}
.testimonial p {
  font-style: italic;
  margin-bottom: 15px;
  line-height: 1.7;
}
.testimonial cite {
  font-size: 13px;
  color: var(--color-brand);
  font-style: normal;
}
.testimonials-note {
  text-align: center;
  margin-top: 30px;
  font-size: 12px;
  color: #666;
}
.testimonials-note code {
  background: rgba(0,0,0,0.05);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 12px;
}

/* ==================== PORTFOLIO ==================== */
.portfolio-section {
  margin-top: 80px;
  padding: 60px 40px 80px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}
.portfolio-header {
  text-align: center;
  margin-bottom: 50px;
}
.portfolio-header h1 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 300;
  color: var(--color-brand);
  margin-bottom: 15px;
}
.portfolio-header p {
  color: var(--color-text);
  margin-bottom: 30px;
}
.portfolio-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
.portfolio-filter a {
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--color-brand);
  letter-spacing: 1px;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}
.portfolio-filter a.active,
.portfolio-filter a:hover {
  border-bottom-color: var(--color-btn-border);
}
/* Masonry-layout via CSS columns: elke foto behoudt z'n natuurlijke
   verhouding, portretfoto's worden niet bijgesneden tot landscape. */
.portfolio-grid {
  column-count: 3;
  column-gap: 15px;
}
.portfolio-item {
  display: block;
  overflow: hidden;
  margin: 0 0 15px;
  break-inside: avoid;
  background: var(--color-beige);
}
.portfolio-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}
.portfolio-item:hover img {
  transform: scale(1.03);
}
.portfolio-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--color-brand);
}

/* ==================== SERVICES ==================== */
.services-section {
  margin-top: 80px;
  padding: 60px 40px 80px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.services-header {
  text-align: center;
  margin-bottom: 60px;
}
.services-header h1 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 300;
  color: var(--color-brand);
  margin-bottom: 15px;
}
.placeholder-note {
  font-size: 13px;
  color: #666;
  margin-top: 10px;
}
.placeholder-note code {
  background: rgba(0,0,0,0.05);
  padding: 2px 6px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}
.service-card {
  background: var(--color-beige);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
}
.service-card h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--color-brand);
  margin-bottom: 15px;
}
.service-desc {
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.7;
}
.service-card ul {
  list-style: none;
  margin-bottom: 25px;
  font-size: 14px;
  flex: 1;
}
.service-card li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}
.service-card li::before {
  content: '•';
  color: var(--color-btn-border);
  position: absolute;
  left: 0;
  font-weight: bold;
}
.service-price {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-brand);
  margin-bottom: 20px;
  font-weight: 500;
}
.services-faq {
  max-width: 800px;
  margin: 0 auto;
}
.services-faq h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--color-brand);
  text-align: center;
  margin-bottom: 30px;
  font-weight: 400;
}
.services-faq details {
  border-bottom: 1px solid #e5e3dd;
  padding: 18px 0;
}
.services-faq summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--color-brand);
}
.services-faq details p {
  padding: 15px 0 5px;
  font-size: 14px;
  line-height: 1.7;
}

/* ==================== LEGAL / 404 ==================== */
.legal-section {
  max-width: 800px;
  margin: 80px auto 60px;
  padding: 40px;
}
.legal-section h1 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 300;
  color: var(--color-brand);
  margin-bottom: 10px;
}
.legal-section h2 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  color: var(--color-brand);
  margin: 30px 0 12px;
}
.legal-section p,
.legal-section ul {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 12px;
}
.legal-section ul {
  padding-left: 25px;
}
.legal-section a {
  color: var(--color-brand);
  text-decoration: underline;
}
.legal-meta {
  color: #666;
  font-size: 13px;
  margin-bottom: 30px;
}
.error-section {
  margin-top: 80px;
  padding: 100px 40px;
  text-align: center;
}
.error-section h1 {
  font-family: var(--font-heading);
  font-size: 96px;
  color: var(--color-brand);
  font-weight: 300;
}
.error-section p {
  margin: 15px 0;
}

/* ==================== FOOTER ==================== */
.site-footer {
  background: var(--color-beige);
  padding: 60px 40px 30px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}
.footer-col strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--color-brand);
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 15px;
  font-weight: 500;
}
.footer-col p {
  margin-bottom: 6px;
  font-size: 14px;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  padding: 4px 0;
}
.footer-col a:hover {
  color: var(--color-brand);
  text-decoration: underline;
}
.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid #d8d6cf;
  text-align: center;
  font-size: 12px;
  color: #666;
}

/* About contact block */
.about-contact {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #d8d6cf;
  font-size: 14px;
}
.about-contact a {
  color: var(--color-brand);
  text-decoration: underline;
}

/* Honeypot — verbergen voor mensen, beschikbaar voor bots */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Social icon in nav */
.nav-list .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}
.nav-list .social-icon svg {
  display: block;
}

/* ==================== COOKIE BANNER ==================== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 600px;
  margin: 0 auto;
  background: var(--color-brand);
  color: #fff;
  padding: 20px 25px;
  z-index: 200;
  box-shadow: 0 5px 30px rgba(0,0,0,0.15);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner a {
  color: #fff;
  text-decoration: underline;
}
.cookie-inner {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-btn {
  align-self: flex-start;
  padding: 8px 20px;
  background: #fff;
  color: var(--color-brand);
  border: none;
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.cookie-btn:hover { opacity: 0.85; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .about-section {
    flex-direction: column;
  }

  .about-image-wrapper {
    flex: none;
    height: 50vh;
  }

  .about-content {
    flex: none;
    margin-left: 0;
    padding: 50px 40px;
  }

  .about-title {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 15px 20px;
  }

  .hamburger {
    display: flex;
  }

  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transition: right 0.4s ease;
  }

  .nav-list.open {
    right: 0;
  }

  .nav-list a {
    font-size: 20px;
  }

  .hero-slider {
    height: 60vh;
    margin-top: 60px;
  }

  .intro-section {
    padding: 50px 20px 60px;
  }

  .intro-title {
    font-size: 24px;
  }

  .about-section {
    margin-top: 60px;
    padding: 0;
  }

  .about-image-wrapper {
    height: 40vh;
  }

  .about-content {
    padding: 40px 20px;
  }

  .contact-section {
    margin-top: 60px;
    padding: 40px 15px;
  }

  .contact-form-wrapper {
    padding: 40px 25px;
  }

  .contact-heading {
    font-size: 16px;
  }

  .portfolio-section,
  .services-section {
    padding: 40px 20px;
    margin-top: 60px;
  }
  .portfolio-grid {
    column-count: 2;
    column-gap: 8px;
  }
  .portfolio-item { margin-bottom: 8px; }
  .portfolio-filter {
    gap: 18px;
  }
  .testimonials-section {
    padding: 50px 20px;
  }
  .site-footer {
    padding: 40px 20px 20px;
  }
}

@media (max-width: 480px) {
  .portfolio-grid {
    column-count: 1;
  }
}

/* ==================== LIGHTBOX ==================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.lightbox-img.loaded {
  opacity: 1;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 1001;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 1;
}

.lightbox-close {
  top: 20px;
  right: 25px;
  font-size: 40px;
  line-height: 1;
  padding: 5px 10px;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  padding: 20px 15px;
}

.lightbox-prev {
  left: 10px;
}

.lightbox-next {
  right: 10px;
}

@media (max-width: 768px) {
  .lightbox-prev,
  .lightbox-next {
    font-size: 36px;
    padding: 15px 10px;
  }

  .lightbox-close {
    font-size: 32px;
    top: 10px;
    right: 15px;
  }
}

/* ==================== PUBLIC ALBUMS ==================== */
.albums-home-section {
  padding: 80px 40px;
  background: var(--color-bg);
}

.albums-home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.albums-home-card {
  display: block;
  text-decoration: none;
  color: var(--color-text);
  transition: transform 0.3s ease;
}

.albums-home-card:hover {
  transform: translateY(-4px);
}

.albums-home-card-cover {
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--color-beige);
}

.albums-home-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Bij portretten: behoud het bovenste deel van de foto (waar bij sport
     het gezicht meestal zit) in plaats van het midden te tonen. */
  object-position: center 25%;
  transition: transform 0.4s ease;
}

.albums-home-card:hover img {
  transform: scale(1.04);
}

.albums-home-card-info {
  padding: 12px 0;
  text-align: center;
}

.albums-home-card-info strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 16px;
  color: var(--color-brand);
}

.albums-home-card-info span {
  font-size: 13px;
  color: #999;
}

.album-public-section {
  margin-top: 80px;
  padding: 60px 40px 120px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.album-public-header {
  text-align: center;
  margin-bottom: 40px;
}

.album-public-header h1 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 300;
  color: var(--color-brand);
  margin-bottom: 10px;
}

.album-public-header p {
  color: var(--color-text);
  margin-bottom: 5px;
}

.album-back-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--color-brand);
  text-decoration: none;
}

.album-back-link:hover {
  text-decoration: underline;
}

.album-public-empty {
  text-align: center;
  color: #999;
  margin-top: 40px;
}

.album-public-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.album-public-card {
  display: block;
  text-decoration: none;
  color: var(--color-text);
  transition: transform 0.3s ease;
}

.album-public-card:hover {
  transform: translateY(-4px);
}

.album-public-cover {
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--color-beige);
}

.album-public-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Bij portretten: top-25% laten zien zodat het gezicht niet wordt
     afgesneden (sportfoto's hebben het hoofd typisch in de bovenhelft). */
  object-position: center 25%;
  transition: transform 0.4s ease;
}

.album-public-card:hover img {
  transform: scale(1.04);
}

.album-public-card-info {
  padding: 12px 0;
  text-align: center;
}

.album-public-card-info strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 16px;
  color: var(--color-brand);
}

.album-public-card-info span {
  font-size: 13px;
  color: #999;
}

.album-public-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.album-public-photo {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--color-beige);
  cursor: pointer;
}

.album-public-photo img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
  -webkit-user-drag: none;
}

.album-public-photo:hover img {
  transform: scale(1.03);
}

.album-public-cta {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1rem;
  color: var(--color-text-muted, #666);
}
.album-public-cta .btn-primary {
  margin-left: 12px;
  vertical-align: middle;
}

.album-public-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.album-public-lightbox[hidden] { display: none; }

@media (max-width: 768px) {
  .albums-home-section {
    padding: 60px 15px;
  }
  .album-public-section {
    padding: 40px 15px 120px;
    margin-top: 60px;
  }
  .album-public-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
  }
}

/* ==================== CLIENT GALLERY ==================== */
.klant-section {
  margin-top: 80px;
  padding: 60px 40px 120px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.klant-message {
  text-align: center;
  max-width: 500px;
  margin: 60px auto;
}

.klant-message h1 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 300;
  color: var(--color-brand);
  margin-bottom: 15px;
}

.klant-message p {
  margin-bottom: 20px;
  line-height: 1.7;
}

.klant-code-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 30px;
}

.klant-code-form input {
  padding: 12px 20px;
  border: 1px solid var(--color-brand);
  font-family: var(--font-body);
  font-size: 16px;
  text-align: center;
  letter-spacing: 2px;
  width: 220px;
  outline: none;
}

.klant-code-form input:focus {
  border-color: var(--color-btn-border);
}

.klant-header {
  text-align: center;
  margin-bottom: 40px;
}

.klant-header h1 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 300;
  color: var(--color-brand);
  margin-bottom: 10px;
}

.klant-header p {
  color: var(--color-text);
  margin-bottom: 5px;
}

.klant-counter {
  margin-top: 10px;
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--color-brand);
  font-weight: 500;
}

.klant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.klant-photo {
  position: relative;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.klant-photo-wrap {
  position: relative;
  overflow: hidden;
  background: var(--color-beige);
}

.klant-photo-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
  -webkit-user-drag: none;
}

.klant-photo:hover .klant-photo-wrap img {
  transform: scale(1.03);
}

.klant-photo-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.klant-photo-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: transparent; /* vinkje standaard onzichtbaar — alleen tonen bij selectie */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
  z-index: 3;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}

.klant-photo-check:hover {
  transform: scale(1.1);
  background: rgba(0, 0, 0, 0.6);
  /* geen color — vinkje blijft verborgen tot daadwerkelijk geselecteerd */
}

.klant-photo.selected .klant-photo-check {
  background: var(--color-brand);
  border-color: #fff;
  color: #fff; /* vinkje wordt zichtbaar zodra foto geselecteerd is */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.klant-photo.selected .klant-photo-wrap {
  box-shadow: inset 0 0 0 3px var(--color-brand);
}

.klant-photo-num {
  display: block;
  text-align: center;
  font-size: 11px;
  color: var(--color-brand);
  margin-top: 4px;
  font-family: var(--font-heading);
}

.klant-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.klant-lightbox[hidden] { display: none; }

.klant-lb-content {
  position: relative;
  max-width: 90vw;
  max-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-user-select: none;
  user-select: none;
}

.klant-lb-content img {
  max-width: 90vw;
  max-height: 78vh;
  object-fit: contain;
  -webkit-user-drag: none;
  pointer-events: none;
}

.klant-lb-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.klant-lb-close,
.klant-lb-prev,
.klant-lb-next {
  position: absolute;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 1001;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.klant-lb-close:hover,
.klant-lb-prev:hover,
.klant-lb-next:hover { opacity: 1; }

.klant-lb-close {
  top: 20px;
  right: 25px;
  font-size: 40px;
  line-height: 1;
  padding: 5px 10px;
}

.klant-lb-prev,
.klant-lb-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  padding: 20px 15px;
}

.klant-lb-prev { left: 10px; }
.klant-lb-next { right: 10px; }

.klant-lb-bottom {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 15px;
  z-index: 1001;
}

.klant-lb-bottom span {
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-heading);
  font-size: 14px;
}

.klant-lb-select {
  padding: 8px 24px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.klant-lb-select:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.klant-lb-select.is-selected {
  background: var(--color-brand);
  border-color: var(--color-brand);
}

.klant-submit-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--color-light);
  padding: 14px 40px;
  text-align: center;
  z-index: 50;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  transition: opacity 0.2s ease;
}

.klant-submit-bar[hidden] { display: none; }

.klant-submit-bar.is-empty {
  background: rgba(245, 244, 240, 0.96);
}
.klant-submit-bar.is-empty .btn-primary {
  background: var(--color-light, #d0cec6);
  color: var(--color-muted, #807d72);
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.85;
}

/* Info-banner bovenaan een album — sluitbare tip */
.klant-info-banner {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-light, #d0cec6);
  border-left: 4px solid var(--color-brand);
  border-radius: 6px;
  padding: 14px 44px 14px 18px;
  margin: 0 auto 20px;
  max-width: 900px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text, #2a2a2a);
}
.klant-info-banner strong { font-weight: 600; }
.klant-info-banner-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-brand);
  color: #fff;
  text-align: center;
  line-height: 22px;
  font-weight: 700;
  margin-right: 8px;
  vertical-align: -5px;
  font-size: 13px;
}
.klant-info-banner-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--color-muted, #807d72);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.15s;
}
.klant-info-banner-close:hover {
  background: var(--color-light, #d0cec6);
  color: var(--color-text);
}
.klant-info-banner[hidden] { display: none; }

.klant-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.klant-modal[hidden] { display: none; }

.klant-modal-inner {
  background: #fff;
  padding: 40px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.klant-modal-inner h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--color-brand);
  margin-bottom: 10px;
  font-weight: 400;
}

.klant-modal-inner p {
  margin-bottom: 20px;
}

.klant-modal-inner .form-group label {
  color: var(--color-text);
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
}

.klant-modal-inner .form-group input,
.klant-modal-inner .form-group textarea {
  background: #fff;
  color: var(--color-text);
  border-color: var(--color-light);
}

.klant-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}

.btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  border: 1px solid var(--color-light);
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: var(--color-brand);
}

@media (max-width: 768px) {
  .klant-section {
    padding: 40px 15px 120px;
    margin-top: 60px;
  }
  .klant-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
  }
  .klant-code-form {
    flex-direction: column;
    align-items: center;
  }
  .klant-modal-inner {
    padding: 25px 20px;
  }
  .klant-modal-actions {
    flex-direction: column;
  }
  .klant-lb-prev,
  .klant-lb-next {
    font-size: 36px;
    padding: 15px 10px;
  }
  .klant-lb-close {
    font-size: 32px;
    top: 10px;
    right: 15px;
  }
}
