.gallery-section {
  width: 100%;
  padding: 100px 48px;
}

/* ---------- Header ---------- */
.gallery-header {
  text-align: center;
  margin-bottom: 56px;
}

.gallery-eyebrow {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c9a14a;
  margin: 0 0 14px;
}

.gallery-title {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 40px;
  font-weight: 700;
  color: #c9a14a;
  margin: 0 0 20px;
}

.gallery-line {
  display: inline-block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c9a14a, transparent);
}

/* ---------- Grid ---------- */
.gallery-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  animation: itemIn 0.5s ease forwards;
}

@keyframes itemIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item::after {
  content: '+';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 300;
  color: #ffffff;
  background: rgba(14, 14, 14, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* ---------- Actions ---------- */
.gallery-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}

.btn-outline-dark {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: transparent;
  color: #0e0e0e;
  border: 1px solid #0e0e0e;
  padding: 14px 32px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.25s ease;
}

.btn-outline-dark:hover {
  background: #0e0e0e;
  color: #e2c275;
  transform: translateY(-2px);
}

/* ---------- Modal ---------- */

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  margin-top: 80px;
  align-items: center;
  justify-content: center;
}

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

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.92);
}

.modal-image-wrap {
  position: relative;
  z-index: 2;
  max-width: 80vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-image {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: scale(0.95);
  animation: modalImgIn 0.3s ease forwards;
}

@keyframes modalImgIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 28px;
  right: 36px;
  z-index: 3;
  font-size: 34px;
  color: #ffffff;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #e2c275;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  font-size: 40px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease;
}

.modal-nav:hover {
  background: #e2c275;
  color: #0e0e0e;
}

.modal-prev {
  left: 36px;
}

.modal-next {
  right: 36px;
}

.modal-counter {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-section {
    padding: 72px 24px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .modal-nav {
    width: 42px;
    height: 42px;
    font-size: 28px;
  }

  .modal-prev { left: 12px; }
  .modal-next { right: 12px; }
}