/* ----------------------------
   GALLERY HERO
----------------------------- */

.page-hero--gallery {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;

  padding: 4.5rem 0;
  color: #f9fafb;
  overflow: hidden;
}

.page-hero--gallery::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(120deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.4)),
    url("/img/zurichsee.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(1.05);
  z-index: -2;
}

.page-hero--gallery::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.3), transparent 55%),
    radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.25), transparent 55%);
  mix-blend-mode: screen;
  opacity: 0.9;
  z-index: -1;
}

.page-hero--gallery .page-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: 360px;
    align-items: center;
  justify-content: center;
  text-align: center;
}

.page-hero--gallery .page-hero__text {
  max-width: 42rem;
}

@media (max-width: 640px) {
  .page-hero--gallery {
    padding: 3.5rem 0 3.25rem;
  }

  .page-hero--gallery .page-hero__inner {
    padding: 0 1.25rem;
  }
}

/* ----------------------------
   GALLERY SECTION
----------------------------- */

.section--gallery {
  background: #020617;
  color: #e5e7eb;
}

.section__head--center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.25rem;
}

/* Project list */

.project-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.project {
  padding: 1.75rem 1.75rem 2rem;
  border-radius: 1.6rem;
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 1));
  box-shadow: 0 1.8rem 4.2rem rgba(0, 0, 0, 0.9);
}

.project__head {
  margin-bottom: 1.3rem;
}

.project__title {
  margin: 0 0 0.35rem;
}

.project__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
}

/* Shots */

.shot {
  position: relative;
  display: block;
  width: 100%;
  min-height: 300px;
  border-radius: 1.3rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184);
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  cursor: zoom-in;
  padding: 0;
  text-align: left;
  transform: translateZ(0);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}



.shot__label {
  position: absolute;
  left: 12px;
  bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.8);
}

.shot:hover,
.shot:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.95);
  border-color: rgba(34, 197, 94, 0.5);
}

/* ----------------------------
   LIGHTBOX
----------------------------- */

.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9990;
  padding: 1.5rem;
}

.gallery-lightbox.is-open {
  display: flex;
}

.gallery-lightbox__img {
  max-width: min(100%, 960px);
  max-height: 85vh;
  border-radius: 1.5rem;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.95);
  object-fit: contain;
}

.gallery-lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.35rem;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.92);
  color: #e5e7eb;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

/* ----------------------------
   RESPONSIVE
----------------------------- */

@media (max-width: 960px) {
  .project {
    padding: 1.5rem 1.25rem 1.75rem;
  }

  .project__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .shot {
    min-height: 200px;
  }
}

@media (max-width: 640px) {

  .project__grid {
    grid-template-columns: minmax(0, 1fr);
  }


  .ba__range {
    width: 70%;
  }
}
