/* 全局样式 - 极简主义服装展示网站 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@100;300;400;500&display=swap');

/* 设计令牌 */
:root {
  --primary-beige: #F5F2ED;
  --primary-gray: #9CA3AF;
  --primary-oatmeal: #F8F4E6;
  --dark-gray: #374151;
  --accent-green: #869A7A;
  --accent-blue: #8FA3B8;
  --accent-rose: #D8B5A4;
  --text-primary: #1F2937;
  --text-secondary: #6B7280;
  --border-light: #E5E7EB;
  --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* 基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--primary-beige);
  overflow-x: hidden;
}

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

/* 导航栏样式 */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 2rem;
  background: transparent;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-green);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* 页面容器 */
.page-container {
  min-height: 100vh;
  padding-top: 80px;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

/* 轮播图样式 */
.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 100;
  letter-spacing: 4px;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 2px;
  opacity: 0.9;
}

/* 快速导航按钮 */
.quick-nav {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 3rem;
  z-index: 3;
}

.nav-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.nav-circle:hover {
  transform: scale(1.1);
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.nav-circle svg {
  width: 32px;
  height: 32px;
  stroke: var(--text-primary);
  stroke-width: 1.5;
}

/* 系列页面样式 */
.category-nav {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-light);
}

.category-list {
  display: flex;
  justify-content: center;
  gap: 3rem;
  list-style: none;
}

.category-item {
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  position: relative;
}

.category-item.active,
.category-item:hover {
  color: var(--text-primary);
}

.category-item.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background-color: var(--accent-green);
}

/* 瀑布流布局 */
.masonry-grid {
  columns: 4;
  column-gap: 1.5rem;
  padding: 3rem 0;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.masonry-item:hover {
  transform: translateY(-5px);
}

.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.masonry-item:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.item-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--text-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.masonry-item:hover .item-label {
  opacity: 1;
}

/* 故事页面样式 */
.story-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.story-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.story-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.story-content {
  text-align: center;
  color: white;
  padding: 2rem;
  max-width: 800px;
}

.story-title {
  font-size: 2.5rem;
  font-weight: 100;
  letter-spacing: 3px;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: slideUp 1s ease 0.5s forwards;
}

.story-description {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0;
  animation: slideUp 1s ease 0.7s forwards;
}

/* 视觉页面样式 */
.visual-container {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.visual-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.visual-bg video,
.visual-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
}

/* 页脚样式 */
footer {
  margin-top: 5rem;
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid var(--border-light);
  background-color: var(--primary-oatmeal);
}

footer p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

/* 动画定义 */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .masonry-grid {
    columns: 3;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .category-list {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
  }
  
  .nav-links {
    gap: 1.5rem;
  }
  
  .nav-link {
    font-size: 0.85rem;
  }
  
  .masonry-grid {
    columns: 2;
    column-gap: 1rem;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .quick-nav {
    gap: 2rem;
  }
  
  .nav-circle {
    width: 60px;
    height: 60px;
  }
  
  .category-list {
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  
  .story-title {
    font-size: 2rem;
  }
  
  .story-description {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .nav-links {
    gap: 1rem;
  }
  
  .nav-link {
    font-size: 0.8rem;
  }
  
  .masonry-grid {
    columns: 1;
    padding: 1.5rem 0;
  }
  
  .hero-title {
    font-size: 1.8rem;
    letter-spacing: 2px;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }
  
  .quick-nav {
    gap: 1.5rem;
  }
  
  .nav-circle {
    width: 50px;
    height: 50px;
  }
  
  .nav-circle svg {
    width: 24px;
    height: 24px;
  }
  
  .category-list {
    gap: 1rem;
  }
  
  .story-title {
    font-size: 1.6rem;
  }
}