/* ==========================================================================
   ANIMATIONS & TRANSITION KEYFRAMES
   ========================================================================== */

/* === SCROLL REVEAL (SPARINGLY USED) === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay helpers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* === TAPE STICKER SEAL ANIMATION === */
.tape-sticker {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* === GALLERY MASONRY & LIGHTBOX ANIMATIONS === */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(30, 27, 75, 0.85);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  max-height: 85vh;
  background: var(--color-white);
  border: var(--border-thick);
  border-radius: var(--radius-img);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox-modal.active .lightbox-content {
  transform: scale(1);
}

.lightbox-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: var(--color-gold);
  border: var(--border-thick);
  border-radius: 8px;
  box-shadow: 2px 2px 0 var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--color-text-dark);
  cursor: pointer;
  z-index: 10;
}

.lightbox-close-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ink);
}

/* === FAQ ACCORDION TRANSITIONS === */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-top: 16px;
}
