/* ==========================================================================
   Component — Photo Lightbox (native <dialog>)
   ==========================================================================
   Was duplicated in furya/style.css and akustik-isler/style.css (identical
   except for one accent color). Single source, token-driven. JS behavior
   (main.js in each brand folder) is unchanged — both copies were already
   near-identical and are left as-is.
   ========================================================================== */

.lightbox-dialog {
  border: none;
  background: transparent;
  padding: 0;
  max-width: 90vw;
  max-height: 90vh;
  overflow: visible;
  outline: none;
  margin: auto;
}

.lightbox-dialog::backdrop {
  background: rgba(8, 7, 6, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox-content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-content img {
  max-width: 88vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7),
              0 0 0 1px color-mix(in srgb, var(--color-accent) 30%, transparent);
  animation: lightbox-pop var(--duration-base) var(--ease-spring);
  display: block;
}

@keyframes lightbox-pop {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  z-index: 10;
  background: var(--color-surface-dark);
  color: var(--color-on-dark);
  border: 1px solid color-mix(in srgb, var(--color-on-dark) 30%, transparent);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-standard);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.lightbox-close:hover {
  background: var(--color-accent);
  color: var(--color-surface-dark);
  border-color: var(--color-accent);
  transform: scale(1.1);
}
