/* 全局样式文件，定义新中式留白美学和动画效果 */

/* 基础设置 */
body {
  font-family: 'Source Han Serif CN', serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* 导航栏样式 */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* 页面标题 */
.page-title {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 2rem;
  text-align: center;
}

/* 图片区样式 */
.image-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.image-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.image-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

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

.image-caption {
  padding: 1rem;
  background-color: #fff;
  text-align: center;
  font-size: 0.9rem;
  color: #555;
}

/* 材质诗篇页面专用样式 */
.material-section {
  max-width: 900px;
  margin: 0 auto 4rem;
  padding: 2rem;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.material-image {
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}

.material-description {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: center;
  color: #444;
}

/* 穿着意境页面专用样式 */
.mood-masonry {
  column-count: 2;
  column-gap: 2rem;
  margin-bottom: 3rem;
}

.mood-item {
  break-inside: avoid;
  margin-bottom: 2rem;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.mood-item img {
  width: 100%;
  height: auto;
  display: block;
}

.mood-keyword {
  padding: 1rem;
  background: #fff;
  text-align: center;
  font-size: 1rem;
  color: #555;
}

/* 首页主图样式 */
.hero-section {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-text {
  text-align: center;
  color: #fff;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  max-width: 600px;
}

.hero-text p {
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 1px;
}

.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
  40% {transform: translateY(-20px);}
  60% {transform: translateY(-10px);}
}

/* 页脚样式 */
footer {
  padding: 1.5rem;
  text-align: center;
  color: #999;
  font-size: 0.9rem;
  border-top: 1px solid #eee;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .page-title {
    font-size: 2rem;
  }
  
  .image-grid {
    grid-template-columns: 1fr;
  }
  
  .mood-masonry {
    column-count: 1;
  }
  
  .hero-text p {
    font-size: 1rem;
  }
}