/* Sarash Apparel — Enhancement layer (non-invasive) */
html { scroll-behavior: smooth; }

*:focus-visible {
  outline: 2px solid var(--color-primary, #0b6b63);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Sticky header elevation when scrolled */
header {
  transition: box-shadow .25s ease, backdrop-filter .25s ease, background-color .25s ease;
}
body.scrolled header {
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  backdrop-filter: blur(10px);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Floating quick-contact dock */
.quick-contact {
  position: fixed;
  right: clamp(0.85rem, 2vw, 1.5rem);
  bottom: clamp(0.85rem, 2vw, 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  z-index: 999;
}
.quick-contact a, .back-to-top {
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: var(--color-primary, #0b6b63);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  border: none;
  cursor: pointer;
}
.quick-contact a:hover, .back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.22);
}
.quick-contact a.email { background: var(--color-accent, #1f4e4a); }
.quick-contact svg { width: 22px; height: 22px; fill: currentColor; }

.back-to-top {
  opacity: 0; pointer-events: none;
  transform: translateY(10px);
  background: rgba(20,20,20,0.85);
}
body.scrolled .back-to-top {
  opacity: 1; pointer-events: auto; transform: none;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(8,12,12,0.92);
  display: none;
  align-items: center; justify-content: center;
  z-index: 9999; padding: 1rem;
  animation: lb-fade .25s ease;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(96vw, 1400px);
  max-height: 92vh;
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(255,255,255,0.12);
  color: #fff; border: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: 999px;
  font-size: 1.4rem; line-height: 1;
}
.lightbox-close:hover { background: rgba(255,255,255,0.22); }
@keyframes lb-fade { from { opacity: 0 } to { opacity: 1 } }

.gallery-slide, .gallery img { cursor: zoom-in; }
