/* Global Styles & Tailwind Extensions for Fashion Showcase */

/* Import Fonts: Inter for English, Noto Sans SC for Chinese */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

:root {
  --font-main: 'Inter', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset */
body {
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #ffffff;
  color: #1a1a1a;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #e5e5e5;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a3a3a3;
}

/* Navigation Animation */
.nav-item::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: currentColor;
  transition: width 0.3s var(--ease-out-expo);
}
.nav-item:hover::after {
  width: 100%;
}

/* Image Hover Zoom Effect */
.img-zoom-wrapper {
  overflow: hidden;
}
.img-zoom {
  transition: transform 1.2s var(--ease-out-expo), filter 0.5s ease;
  will-change: transform;
}
.group:hover .img-zoom {
  transform: scale(1.05);
  filter: contrast(1.02);
}

/* Fade In Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out-expo) forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-500 { animation-delay: 0.5s; }

/* Masonry Layout for Gallery */
.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;
}

/* Parallax Effect Utility */
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
@media (hover: none) {
  .parallax-bg { background-attachment: scroll; }
}

/* Content Slot Placeholder */
.content-slot:empty {
  display: none;
}
.content-slot-debug {
  border: 1px dashed #ccc;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.875rem;
  margin: 1rem 0;
}

/* Utility: Hide Scrollbar but allow scroll */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}