/* =========================================================
   gallery.css – luxe fotopagina / sfeerimpressie
   Pagina-specifieke stylesheet voor dinnershow-fotos*.html
   Aanbevolen beeldformaat:
   - thumbnails K: 800 x 600 px (4:3)
   - grote fancybox foto's G: 1600 x 1200 px (4:3)
   ========================================================= */

:root{
  --photo-bg: #0b0b0b;
  --photo-panel: rgba(13,13,13,.92);
  --photo-panel-soft: rgba(255,255,255,.035);
  --photo-text: rgba(255,255,255,.92);
  --photo-muted: rgba(255,255,255,.72);
  --photo-gold: #c8a96a;
  --photo-gold-2: #e3d3a3;
  --photo-line: rgba(200,169,106,.24);
  --photo-line-strong: rgba(200,169,106,.46);
  --photo-radius: 22px;
  --photo-radius-card: 18px;
  --photo-shadow: 0 18px 45px rgba(0,0,0,.38);
  --photo-shadow-card: 0 14px 34px rgba(0,0,0,.32);
}

.photo-showcase{
  position: relative;
  margin: 34px 0 74px;
  color: var(--photo-text);
  font-family: var(--ds-font-body);
}

.photo-showcase__panel{
  position: relative;
  overflow: hidden;
  padding: 30px 30px 28px;
  border: 1px solid var(--photo-line);
  border-radius: var(--photo-radius);
  background:
    radial-gradient(circle at 50% 0%, rgba(200,169,106,.12), transparent 34%),
    linear-gradient(180deg, rgba(18,18,18,.96), rgba(7,7,7,.96));
  box-shadow: var(--photo-shadow);
}

.photo-showcase__panel::before{
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 560px;
  max-width: 72%;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(to right, transparent, rgba(227,211,163,.75), transparent);
  pointer-events: none;
}

.photo-showcase__intro{
  max-width: 760px;
  margin: 0 auto 26px;
  text-align: center;
}

.photo-showcase__kicker{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--photo-gold-2);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.photo-showcase__kicker::before,
.photo-showcase__kicker::after{
  content: "";
  width: 30px;
  height: 1px;
  background: rgba(200,169,106,.62);
}

.photo-showcase__intro h2{
  margin: 0;
  color: #fff;
  font-family: var(--ds-font-heading);
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.photo-showcase__intro p{
  max-width: 660px;
  margin: 14px auto 0;
  color: var(--photo-muted);
  font-size: 16px;
  line-height: 1.65;
}

.photo-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.photo-card{
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 0;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--photo-radius-card);
  background: #080808;
  box-shadow: var(--photo-shadow-card);
  isolation: isolate;
  transform: translateZ(0);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.photo-card--featured{
  grid-column: span 2;
}

.photo-card img{
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  background: #050505;
  filter: brightness(.86) contrast(1.08) saturate(1.04);
  transform: scale(1.01);
  transition: transform .45s ease, filter .45s ease;
}

.photo-card--featured img{
  aspect-ratio: 8 / 5;
}

.photo-card::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 0%, rgba(227,211,163,.18), transparent 38%),
    linear-gradient(180deg, transparent 40%, rgba(0,0,0,.92));
  opacity: .7;
  transition: opacity .32s ease;
  pointer-events: none;
}

.photo-card__overlay{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 12px;
  align-items: end;
  padding: 18px;
  color: #fff;
}

.photo-card__eyebrow{
  grid-column: 1;
  color: var(--photo-gold-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .92;
}

.photo-card__title{
  grid-column: 1;
  color: #fff;
  font-family: var(--ds-font-heading);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.12;
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
}

.photo-card__zoom{
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #111;
  background: linear-gradient(135deg, #f1d8a0 0%, #d6b36a 52%, #b98c3f 100%);
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
  transition: transform .28s ease, filter .28s ease;
}

.photo-card:hover,
.photo-card:focus{
  transform: translateY(-4px);
  border-color: var(--photo-line-strong);
  box-shadow: 0 22px 52px rgba(0,0,0,.46), 0 0 22px rgba(200,169,106,.10);
  outline: none;
}

.photo-card:hover img,
.photo-card:focus img{
  transform: scale(1.07);
  filter: brightness(.72) contrast(1.12) saturate(1.12);
}

.photo-card:hover::before,
.photo-card:focus::before{
  opacity: .98;
}

.photo-card:hover .photo-card__zoom,
.photo-card:focus .photo-card__zoom{
  transform: translateY(-2px) scale(1.04);
  filter: brightness(1.05);
}

.photo-showcase__bottom{
  margin-top: 24px;
}

.photo-pager{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.07);
}

.photo-pager__pages{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.photo-pager a,
.photo-pager span{
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
  transition: transform .22s ease, background .22s ease, border-color .22s ease, color .22s ease;
}

.photo-pager__nav{
  padding: 0 18px;
  border: 1px solid rgba(200,169,106,.35);
  color: var(--photo-gold-2);
  background: rgba(0,0,0,.20);
}

.photo-pager__page{
  width: 40px;
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.035);
}

.photo-pager a:hover{
  transform: translateY(-1px);
  border-color: rgba(227,211,163,.62);
  color: #fff;
  background: rgba(200,169,106,.13);
}

.photo-pager__page.is-active{
  color: #111;
  border-color: transparent;
  background: linear-gradient(135deg, #f1d8a0 0%, #d6b36a 52%, #b98c3f 100%);
}

.photo-pager .is-disabled{
  opacity: .38;
  cursor: default;
}

/* Backwards compatibility: oude gallery classes blijven onschadelijk */
.rock_main_gallery{ margin: 34px 0 74px; }
.main_gallery_item{ margin-bottom: 18px; }

@media (max-width: 991px){
  .photo-showcase{
    margin: 28px 0 62px;
  }

  .photo-showcase__panel{
    padding: 24px 22px 24px;
  }

  .photo-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .photo-card--featured{
    grid-column: span 2;
  }
}

@media (max-width: 767px){
  .photo-showcase{
    margin: 20px 0 50px;
  }

  .photo-showcase__panel{
    padding: 18px 14px 18px;
    border-radius: 18px;
  }

  .photo-showcase__kicker{
    font-size: 10px;
    letter-spacing: .14em;
  }

  .photo-showcase__kicker::before,
  .photo-showcase__kicker::after{
    width: 20px;
  }

  .photo-showcase__intro{
    margin-bottom: 18px;
  }

  .photo-showcase__intro h2{
    font-size: 30px;
  }

  .photo-showcase__intro p{
    font-size: 14px;
    line-height: 1.6;
  }

  .photo-grid{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .photo-card--featured{
    grid-column: span 1;
  }

  .photo-card img,
  .photo-card--featured img{
    aspect-ratio: 4 / 3;
  }

  .photo-card__overlay{
    padding: 15px;
  }

  .photo-card__title{
    font-size: 21px;
  }

  .photo-card__zoom{
    width: 40px;
    height: 40px;
  }

  .photo-pager{
    gap: 10px;
  }

  .photo-pager__nav{
    width: 100%;
    padding: 0 14px;
  }
}

/* =========================================================
   UNIFIED PAGE OVERRIDES - fotogalerij
   ========================================================= */
.photo-showcase{
  color: var(--ds-text);
  font-family: var(--ds-font-body);
}

.photo-showcase__intro h2,
.photo-card__title{
  color: #fff !important;
  font-family: var(--ds-font-heading) !important;
}

.photo-showcase__intro p,
.photo-card__meta{
  color: var(--ds-muted) !important;
}
