@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600&display=swap');

:root {
  --accent: #53B1C0;
  --gap: 20px;
}

/* Basis */
.seppio-gallery-wrapper {
  width: 100%;
  max-width: 2200px;
  margin: 0 auto;
  padding: 40px 60px;
  box-sizing: border-box;
  font-family: "Be Vietnam Pro", sans-serif;
}

/* Filterbalk */
.seppio-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.seppio-filter-bar .filter-btn {
  background: #111;
  color: #fff;
  border: 1px solid #333;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 15px;
  cursor: pointer;
  font-family: "Be Vietnam Pro", sans-serif;
  transition: background .3s, transform .15s;
}
.seppio-filter-bar .filter-btn:hover {
  background: #222;
  transform: translateY(-1px);
}
.seppio-filter-bar .filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
}

/* Grid */
.seppio-gallery-grid {
  position: relative;
  width: 100%;
  margin: 0 auto;
  transition: height 0.5s ease;
}
.seppio-item {
  position: absolute;
  opacity: 0;
  transform: scale(0.95) translateY(15px);
  transition: transform .6s cubic-bezier(.25,1,.3,1), opacity .6s ease;
  width: calc(10% - var(--gap));
  margin-bottom: var(--gap);
  overflow: hidden;
  border-radius: 8px;
}
@media (max-width: 2000px) { .seppio-item { width: calc(12.5% - var(--gap)); } }
@media (max-width: 1600px) { .seppio-item { width: calc(16.66% - var(--gap)); } }
@media (max-width: 1200px) { .seppio-item { width: calc(25% - var(--gap)); } }
@media (max-width: 900px)  { .seppio-item { width: calc(33.33% - var(--gap)); } }
@media (max-width: 600px)  { .seppio-item { width: calc(50% - var(--gap)); } }
.seppio-item.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.seppio-item a {
  display: block;
  position: relative;
}
.seppio-item img {
  width: 100%;
  border-radius: 8px;
  display: block;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.seppio-item:hover img {
  transform: scale(1.04);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

/* Overlay */
.seppio-overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background: rgba(0,0,0,0.65);
  color: #fff;
  padding: 10px 12px;
  font-size: 15px;
  font-family: "Be Vietnam Pro", sans-serif;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  border-radius: 0 0 8px 8px;
}
.seppio-item:hover .seppio-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* GLightbox fix */
.glightbox-container {
  background: rgba(0,0,0,0.5)!important;
}
.glightbox-container .gclose {
  background: var(--accent)!important;
  border-radius: 50%;
  width: 42px!important;
  height: 42px!important;
  display: flex!important;
  align-items: center!important;
  justify-content: center!important;
}
.glightbox-container .gclose svg {
  fill: #fff!important;
  width: 20px!important;
  height: 20px!important;
}

/* Lees meer */
.gslide-title { display: none!important; }
.gslide-desc {
  background: rgba(0,0,0,0.8)!important;
  color: #fff!important;
  font-family: "Be Vietnam Pro", sans-serif!important;
  font-size: 15px!important;
  padding: 10px 16px!important;
  border-top: 1px solid rgba(255,255,255,0.2);
  max-height: 100px!important;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.gslide-desc.expanded {
  max-height: 33vh!important;
  overflow-y: auto;
}
.glightbox-expand {
  position: absolute;
  bottom: 6px;
  right: 14px;
  z-index: 99;
  border: none;
  background: transparent;
  color: #fff;
  font-family: "Be Vietnam Pro", sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-align: right;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.3s ease;
}
.glightbox-expand:hover {
  color: var(--accent);
}
.glightbox-expand .arrow {
  font-size: 12px;
  margin-left: 6px;
}
.gslide-desc.expanded::-webkit-scrollbar { width: 6px; }
.gslide-desc.expanded::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.4);
  border-radius: 3px;
}
