/* =========================
   BASE
========================= */
body {
  margin: 0;
  background: #000;
  font-family: 'Inter', sans-serif;
  color: #fff;
}

/* =========================
   PAGE WRAPPER
========================= */
.photo-project {
  padding: 6rem 3rem 4rem;
}

.project-title {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 3rem;
  color: rgba(255,255,255,0.6);

  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================
   CONTACT SHEET
========================= */
.contact-sheet {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.contact-sheet img {
  width: 100%;
  height: auto;
  display: block;
  background: #111;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.contact-sheet img:hover {
  transform: scale(1.03);
}

/* =========================
   LIGHTBOX
========================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;

  opacity: 0;
  transition: opacity 0.35s ease;
}

.lightbox.is-open {
  display: flex;
  opacity: 1;
}

.lightbox-inner {
  text-align: center;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-inner img {
  max-width: 100%;
  max-height: 80vh;
  margin: 0 auto 1rem;
  display: block;

  transform: scale(0.96);
  opacity: 0;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.lightbox.is-open .lightbox-inner img {
  transform: scale(1);
  opacity: 1;
}

#lightbox-caption {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* =========================
   LIGHTBOX ARROWS
========================= */
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 2rem;
  cursor: pointer;
  padding: 1rem;
  z-index: 1001;
  transition: color 0.2s ease;
}

.lightbox-arrow:hover {
  color: #fff;
}

.lightbox-arrow.left {
  left: 2rem;
}

.lightbox-arrow.right {
  right: 2rem;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
  .contact-sheet {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
  }
}

@media (max-width: 768px) {
  .photo-project {
    padding: 5rem 1.5rem 3rem;
  }

  .contact-sheet {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

/* keep arrows visible on mobile */
@media (max-width: 600px) {
  .lightbox-arrow {
    opacity: 0.6;
  }
}


