/* =========================================
   PARLOR PAGE — DARK GALLERY LAYOUT
   ========================================= */

.parlor-page {
  background: #181a1f;
  padding: 40px 0 60px;
}

/* Wrap matches your global layout */
.parlor-page .fx-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Prevent header overlapping the parlor page */
.parlor-page {
  padding-top: 120px; /* matches your sticky header height */
}

/* ==========================
   PREMIUM PARLOR PAGE HEADING
   ========================== */

.parlor-head {
  text-align: center;
  margin-bottom: 32px;
  animation: fadeSlideUp .9s ease-out forwards;
  opacity: 0;
}

/* Title with gold gradient + glow */
.parlor-title {
  font-size: 40px;
  font-weight: 800;
  margin: 0;
  background: linear-gradient(90deg, #fff, #ffe7b8 45%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
}

/* Subtitle styling */
.parlor-sub {
  margin-top: 6px;
  font-size: 16px;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  text-transform: uppercase;
  animation: fadeIn .9s ease-out .2s forwards;
  opacity: 0;
}

/* Line */
.parlor-line {
  width: 120px;
  height: 2px;
  margin: 18px auto 28px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border: 0;
  opacity: 0;
  animation: fadeIn .9s ease-out .4s forwards;
}

/* ==========================
   Animations
   ========================== */

@keyframes fadeSlideUp {
  0% { opacity: 0; transform: translateY(22px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* Mobile tweaks */
@media (max-width: 600px) {
  .parlor-title {
    font-size: 32px;
  }
  .parlor-line {
    width: 90px;
  }
}

/* ==========================
   GALLERY GRID
   ========================== */
.parlor-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

/* Full width on phone */
@media (max-width: 680px) {
  .parlor-gallery {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* each item container */
.parlor-img {
  background: #101116;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
}

/* hover lift effect */
.parlor-img:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0,0,0,.45);
}

/* smooth image style */
.parlor-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  opacity: 1 !important;   /* FIX */
  transform: scale(1);     /* FIX */
}


/* fade-in animation */
.parlor-img img.is-loaded {
  opacity: 1;
  transform: scale(1);
}

/* Tighter mobile spacing */
@media (max-width: 500px) {
  .parlor-line {
    width: 60%;
  }
  .parlor-title {
    font-size: 28px;
  }
}

/* ==========================
   PREMIUM IMAGE STYLES
   ========================== */

.parlor-img {
  background: #101116;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0,0,0,.4);
  cursor: zoom-in;
  transition: transform .3s ease, box-shadow .3s ease;
}

.parlor-img:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 22px 50px rgba(0,0,0,.55);
}

/* Fade-in lazy load */
.parlor-photo {
  width: 100%;
  display: block;
  border-radius: 10px;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity .6s ease, transform .6s ease;
}

.parlor-photo.loaded {
  opacity: 1;
  transform: scale(1);
}

/* ==========================
   LIGHTBOX
   ========================== */

.parlor-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  z-index: 9999;
}

.parlor-lightbox img {
  max-width: 95%;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.8);
}

.lb-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 44px;
  color: #fff;
  cursor: pointer;
  transition: opacity .2s ease;
}

.lb-close:hover {
  opacity: .7;
}

@media (max-width: 600px) {
  .parlor-lightbox {
    padding: 20px;
  }
  .lb-close {
    top: 10px;
    right: 20px;
    font-size: 32px;
  }
}
