/* =========================================
   beTobe – Salón / Gallery Page
   ========================================= */

/* Hero */
.salon-hero {
  background: var(--dark);
  padding: 140px 0 64px;
  text-align: center;
}

.salon-hero__title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--white);
  margin-bottom: 8px;
}

.salon-hero__subtitle {
  font-size: 1.05rem;
  color: var(--text-on-dark);
}

.salon-hero .section__label {
  color: var(--pink);
}

/* Combined dark content section */
.salon-content {
  padding-top: 0;
}

.salon-video__wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: 70vh;
  margin-bottom: 80px;
}

.salon-video__player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.salon-gallery__header {
  margin-bottom: 48px;
}

.salon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.salon-grid__item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.salon-grid__item--wide {
  grid-column: span 2;
}

.salon-grid__item--tall {
  grid-row: span 2;
  aspect-ratio: 3 / 5;
}

.salon-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.salon-grid__item:hover img {
  transform: scale(1.04);
}

/* Lightbox overlay */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-lg);
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }

/* Responsive */
@media (max-width: 1024px) {
  .salon-grid { grid-template-columns: repeat(2, 1fr); }
  .salon-grid__item--wide { grid-column: span 2; }
}

@media (max-width: 768px) {
  .salon-hero { padding: 120px 0 48px; }
  .salon-video { margin-top: -20px; }
  .salon-video__wrap { border-radius: var(--radius-lg); }
  .salon-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .salon-grid__item { border-radius: var(--radius); }
  .salon-grid__item--wide { grid-column: span 1; }
  .salon-grid__item--tall { grid-row: span 1; aspect-ratio: 4/3; }
}
