.gallery-page {
  background: #f6f3ed;
}

.inner-hero-gallery {
  background: url("../images/gallery/gallery-decor.png") center/cover no-repeat;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #eadfce;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  transition: 0.35s ease;
  cursor: pointer;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-categories {
  background: #151515;
}

.gallery-categories article {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 12px;
  padding: 22px;
  height: 100%;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.gallery-categories article:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.58);
}

.gallery-categories h4 {
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: 22px;
}

.gallery-categories p {
  color: #d7d7d7;
  margin: 0;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 1060;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.gallery-lightbox.open {
  display: flex;
}

.gallery-lightbox img {
  max-width: min(1100px, 86vw);
  max-height: 82vh;
  border-radius: 12px;
}

.gallery-nav,
.gallery-close {
  position: absolute;
  border: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transition: background 0.25s ease;
}

.gallery-nav:hover,
.gallery-close:hover {
  background: rgba(212, 175, 55, 0.42);
}

.gallery-nav.prev {
  left: 28px;
}

.gallery-nav.next {
  right: 28px;
}

.gallery-close {
  top: 24px;
  right: 24px;
}
