/* ==========================================================================
   Your Precious Moments | Minimal Luxury Editorial & Smooth Animations
   Aesthetic: High-End British Vogue / Kinfolk / Luxury Wedding Atelier
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400;1,500&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --color-canvas: #FFFFFF;
  --color-warm-bg: #FAF8F5;
  --color-stone-muted: #F5F2EB;
  --color-line: #E8E4DD;
  
  --color-ink: #1C1917;
  --color-ink-muted: #6B6661;
  --color-ink-light: #A8A29E;

  --color-gold: #B89758;
  --color-gold-dark: #8F713B;
  --color-gold-light: #F7F3EB;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-warm-bg);
  color: var(--color-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: #FAF8F5;
}
::-webkit-scrollbar-thumb {
  background: #D8D2C6;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #B89758;
}

.font-serif {
  font-family: var(--font-serif);
}

.font-sans {
  font-family: var(--font-sans);
}

/* ================= HARDWARE-ACCELERATED SCROLL ANIMATIONS ================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

/* Stagger delays */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Scale Reveal for images */
.reveal-scale {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Rotating Stamp Badge Animation */
@keyframes rotateStamp {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.animate-stamp {
  animation: rotateStamp 22s linear infinite;
}
.animate-stamp:hover {
  animation-play-state: paused;
}

/* Subtle image hover zoom */
.media-card {
  overflow: hidden;
  position: relative;
}
.media-card img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}
.media-card:hover img {
  transform: scale(1.04);
}

/* Interactive Card Elevation */
.interactive-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}
.interactive-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -10px rgba(28, 25, 23, 0.08);
  border-color: #D6D0C4;
}

/* Hero Progress Bar */
@keyframes heroProgress {
  0% { width: 0%; }
  100% { width: 100%; }
}
.hero-progress-active {
  animation: heroProgress 5s linear forwards;
}

/* Gallery transitions */
.gallery-item {
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-item.hidden {
  display: none !important;
}

/* Minimal Lightbox */
#lightboxModal {
  transition: opacity 0.3s ease;
}

/* Pitch Drawer */
#pitchDrawer {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
