/* Photo Gallery — Indplas'25 */
.pg-hero {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: center;
  background: linear-gradient(120deg, #091E3E 0%, #0070BB 55%, #2E9B4D 100%);
}

.pg-hero__content {
  position: relative;
  z-index: 1;
  padding: 3rem 0;
  color: #fff;
}

.pg-hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.pg-hero h1 {
  font-family: Rubik, sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 0.5rem;
  color: #fff;
}

.pg-hero p {
  margin: 0;
  max-width: 560px;
  opacity: 0.92;
}

.pg-section {
  padding: 3rem 0 4rem;
  background: #f5f8fb;
}

.pg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.pg-item {
  position: relative;
  display: block;
  border: 0;
  padding: 0;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #091E3E;
  aspect-ratio: 4 / 3;
  box-shadow: 0 8px 24px rgba(9, 30, 62, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.pg-item img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease, filter 0.35s ease;
}

.pg-item__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(9, 30, 62, 0.05) 20%, rgba(9, 30, 62, 0.72) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  color: #fff;
  font-size: 1.5rem;
}

.pg-item:hover,
.pg-item:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 112, 187, 0.28);
  outline: none;
}

.pg-item:hover img,
.pg-item:focus-visible img {
  transform: scale(1.08);
  filter: brightness(1.05);
}

.pg-item:hover .pg-item__overlay,
.pg-item:focus-visible .pg-item__overlay {
  opacity: 1;
}

.pg-credit {
  margin-top: 2rem;
  text-align: center;
  color: #5a6b7d;
  font-size: 0.92rem;
}

.pg-credit a {
  color: #0070BB;
  font-weight: 600;
  text-decoration: none;
}

.pg-credit a:hover {
  text-decoration: underline;
}

/* Lightbox / slider */
.pg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(5, 14, 30, 0.92);
  padding: 1.25rem;
}

.pg-lightbox.is-open {
  display: flex;
}

.pg-lightbox__stage {
  position: relative;
  width: min(1100px, 100%);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.pg-lightbox__img-wrap {
  position: relative;
  width: 100%;
  max-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pg-lightbox__img-wrap img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  user-select: none;
}

.pg-lightbox__counter {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.pg-lightbox__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.15rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
  z-index: 2;
}

.pg-lightbox__btn:hover {
  background: #0070BB;
  transform: translateY(-50%) scale(1.06);
}

.pg-lightbox__prev {
  left: 0.35rem;
}

.pg-lightbox__next {
  right: 0.35rem;
}

.pg-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 3;
  transition: background 0.25s ease;
}

.pg-lightbox__close:hover {
  background: #F9A045;
  color: #091E3E;
}

body.pg-no-scroll {
  overflow: hidden;
}

@media (max-width: 991px) {
  .pg-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .pg-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .pg-lightbox__btn {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .pg-grid {
    grid-template-columns: 1fr;
  }
}
