/* ── GALLERY PAGE ── */
.page-gallery { background: #080808; }

.page-gallery .navbar {
  background: rgba(8,8,8,0.95);
  border-bottom: 1px solid #1a1a1a;
}
.page-gallery .navbar .logo,
.page-gallery .nav-links a { color: #f0ece0; }
.page-gallery .nav-links a:hover,
.page-gallery .nav-links a.active { color: #c9a84c; }
.page-gallery .logo-o { border-color: #f0ece0; }
.page-gallery .btn-contact { background: #f0ece0 !important; color: #0a0a0a !important; }
.page-gallery .btn-contact:hover { background: #c9a84c !important; }

/* ── PAGE HEADER ── */
.gallery-header {
  text-align: center;
  padding: 11rem 4% 5rem 4%;
  border-bottom: 1px solid #141414;
}
.gallery-header-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 1.2rem;
}
.gallery-header-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4rem, 9vw, 8rem);
  font-weight: 300;
  color: #f0ece0;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 2rem;
}
.gallery-header-desc {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.85;
}

/* ── GALLERY LIST ── */
.gallery-list {
  padding: 4rem 3%;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* ── GALLERY ITEM — image left, details right ── */
.gallery-item {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border: 1px solid #141414;
  border-radius: 4px;
  transition: background 0.4s;
  overflow: hidden;
}

.gallery-item:hover { background: #0c0c0c; }

/* ── IMAGE (left) ── */
.gi-image {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #050505;
  min-height: 600px;
  order: 1;
}

/* ── DETAILS (right) ── */
.gi-details {
  padding: 5rem 6%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.2rem;
  border-left: 1px solid #141414;
  order: 2;
}

.gi-number {
  font-size: 0.7rem;
  color: #444;
  letter-spacing: 0.15em;
}

.gi-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 400;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* Meta table */
.gi-meta { display: flex; flex-direction: column; }

.gi-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0;
  border-top: 1px solid #1e1e1e;
  gap: 1rem;
}
.gi-meta-row:last-child { border-bottom: 1px solid #1e1e1e; }

.gi-meta-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #555;
  white-space: nowrap;
}

.gi-meta-value {
  font-size: 0.92rem;
  color: #ffffff;
  font-weight: 300;
  text-align: right;
}

/* Price row */
.gi-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: #c9a84c;
  letter-spacing: 0.02em;
  text-align: right;
}

/* View button */
.gi-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: none;
  border: 1px solid #2a2a2a;
  color: #888;
  padding: 0.8rem 1.8rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, gap 0.3s;
  font-family: 'DM Sans', sans-serif;
  width: fit-content;
  margin-top: 0.5rem;
}
.gi-view-btn:hover {
  border-color: #c9a84c;
  color: #c9a84c;
  gap: 1rem;
}

/* ── IMAGE fill ── */
.gi-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.8s ease, filter 0.4s;
  filter: brightness(0.9);
  position: absolute;
  inset: 0;
}
.gi-image:hover img {
  transform: scale(1.04);
  filter: brightness(1);
}
.gi-image-hint {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 2;
}
.gi-image:hover .gi-image-hint {
  opacity: 1;
  transform: translateY(0);
}

.page-gallery .logo-img { height: 30px; }
.page-gallery .navbar { padding: 3.4rem 4%; }
@media(max-width:900px){
  .page-gallery .nav-toggle span { background: #f0ece0; }
  .page-gallery .nav-links {
    background: #0a0a0a;
  }
  .page-gallery .nav-links a { color: #f0ece0 !important; }
  .page-gallery .nav-links .btn-contact {
    background: #f0ece0 !important;
    color: #0a0a0a !important;
  }
}
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.96);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  max-width: 90vw;
  max-height: 90vh;
}
.lightbox-inner img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 2px;
}
.lightbox-inner p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: #666;
  font-style: italic;
  letter-spacing: 0.05em;
}
.lightbox-close {
  position: fixed;
  top: 1.8rem;
  right: 1.8rem;
  background: none;
  border: 1px solid #2a2a2a;
  color: #666;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: border-color 0.3s, color 0.3s;
}
.lightbox-close:hover { border-color: #f0ece0; color: #f0ece0; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .gallery-item { grid-template-columns: 1fr; }
  .gi-details { padding: 3rem 5%; border-right: none; }
  .gi-image { min-height: 380px; position: relative; }
  .gi-image img { position: absolute; }
}