/* Custom CSS Stylesheet & Design Tokens for Ci Studio */

@layer utilities {
  .font-serif {
    font-family: 'Cormorant Garamond', Georgia, serif;
  }
  .font-sans {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  }
}

/* Custom Scrollbar for Luxury Dark Aesthetic */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #0d0e11;
}
::-webkit-scrollbar-thumb {
  background: #252830;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #d4af37;
}

/* Masonry Grid Layout Utilities */
.masonry-grid {
  column-count: 1;
  column-gap: 1.5rem;
}

@media (min-width: 640px) {
  .masonry-grid {
    column-count: 2;
  }
}

@media (min-width: 1024px) {
  .masonry-grid {
    column-count: 3;
  }
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
}

/* Skeleton Shimmer Loading Animation */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.skeleton-shimmer {
  background: linear-gradient(90deg, #181a20 25%, #252830 50%, #181a20 75%);
  background-size: 200% 100%;
  animation: shimmer 1.8s infinite;
}

/* Clean Image Lazy Loading & Smooth Fade-in */
.img-lazy {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease-in-out, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Touch Gesture & Lightbox Animations */
.lightbox-fade-enter {
  animation: fadeIn 0.25s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

/* Hide scrollbars during modal open */
body.modal-open {
  overflow: hidden;
}
