@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@300;400;500;600;700&display=swap');

/* 字体和排版 */
body {
  font-family: 'Noto Serif SC', serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 图片容器 */
.image-container {
  overflow: hidden;
}

.image-container img {
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-container:hover img {
  transform: scale(1.05);
}

/* 淡入动画 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 1s ease-out forwards;
}

/* 平滑滚动 */
html {
  scroll-behavior: smooth;
}

/* 自定义光标效果 */
.cursor-pointer {
  cursor: pointer;
}

/* 覆盖层样式 */
.hero-overlay {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
}

/* 文字阴影增强可读性 */
.text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* 响应式网格间距 */
.grid-gap {
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-gap {
    gap: 2rem;
  }
}

/* 页面过渡效果 */
.page-transition {
  transition: all 0.3s ease;
}