/*
Theme Name: Pixelbooth Theme
Author: Pixelbooth
Version: 1.0
Description: Pixelbooth landingpage theme
*/

/* WhatsApp floating button */
.wa-float{
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.wa-float svg{
  width: 28px;
  height: 28px;
  fill: #000;
}

.wa-float:hover{
  filter: brightness(1.05);
}

/* Zorg dat menu altijd erboven zit */
header{
  position: relative;
  z-index: 10000;
}

/* =========================
   IMPRESSIE / GALERIJ
   ========================= */

.gallery{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

/* Foto’s & video’s altijd gelijk en klein */
.gallery img,
.gallery video{
  width: 100%;
  height: 160px;          /* ← DIT voorkomt megagrote foto’s */
  object-fit: cover;
  display: block;

  border-radius: 14px;
  border: 1px solid rgba(190,151,89,.25);
  background: #000;
}

/* Desktop iets groter, maar gecontroleerd */
@media (min-width: 900px){
  .gallery img,
  .gallery video{
    height: 190px;
  }
}



.social-inline{
  display:flex;
  gap:14px;
  margin-top:16px;
  align-items:center;
}

.social-icon{
  width:34px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#fff; /* bepaalt de icoonkleur */
}

.social-icon svg{
  width:100%;
  height:100%;
  fill:currentColor;
  display:block;
  filter: drop-shadow(0 0 10px rgba(255,255,255,.55));
}

.social-icon:hover svg{
  filter: drop-shadow(0 0 14px rgba(255,255,255,.75));
}






/* ===== Galerij ===== */
.gallery{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.gallery img{
  width:100%;
  height:160px;        /* formaat thumbnails */
  object-fit:cover;
  display:block;
  border-radius:14px;
  border:1px solid rgba(190,151,89,.18);
  background:#070707;
}

/* desktop iets groter */
@media (min-width: 900px){
  .gallery img{ height: 190px; }
}

/* ===== Lightbox ===== */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 24px;              /* desktop marge */
}

/* Desktop & tablet */
.lightbox img{
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 16px;
  border: 1px solid rgba(190,151,89,.25);
  background: #000;
}

/* Sluitknop */
.lightboxClose{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(190,151,89,.25);
  background: rgba(0,0,0,.6);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

/* ===== MOBIEL: echt fullscreen ===== */
@media (max-width: 600px){
  .lightbox{
    padding: 0;               /* geen marge */
  }

  .lightbox img{
    width: 100vw;
    height: 100vh;
    max-width: none;
    max-height: none;
    object-fit: contain;      /* hele foto zichtbaar */
    border-radius: 0;
    border: none;
  }

  .lightboxClose{
    top: 10px;
    right: 10px;
  }
}


/* Hero slider */
.heroVisual{
  position: relative;
  overflow: hidden;
}

.heroVisual img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: heroSlide 15s infinite;
}

/* timing per foto */
.heroVisual img:nth-child(1){ animation-delay: 0s; }
.heroVisual img:nth-child(2){ animation-delay: 5s; }
.heroVisual img:nth-child(3){ animation-delay: 10s; }

@keyframes heroSlide{
  0%{opacity:0}
  10%{opacity:1}
  30%{opacity:1}
  40%{opacity:0}
  100%{opacity:0}
}


/* WPForms foutmeldingen */
.wpforms-error{
  color:#ff4d4f !important;
  font-weight:900;
}
.wpforms-has-error input,
.wpforms-has-error textarea,
.wpforms-has-error select{
  border-color:#ff4d4f !important;
  box-shadow:0 0 0 1px rgba(255,77,79,.45);
}

