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

:root {
  --primary-dark: #2C2C2C;
  --primary-light: #F5F5F5;
  --primary-medium: #8A8A8A;
  --font-chinese: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-chinese);
  background-color: var(--primary-light);
  color: var(--primary-dark);
  line-height: 1.6;
}

/* 导航栏样式 */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-dark);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

/* 轮播图样式 */
.carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 图片悬停效果 */
.hover-image {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.hover-image:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* 图标分区样式 */
.feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
  fill: var(--primary-dark);
  transition: fill 0.3s ease;
}

.feature-card:hover .feature-icon {
  fill: var(--primary-medium);
}

/* 本季精选网格 */
.grid-seasonal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.grid-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.grid-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* 页面切换效果 */
.page-transition {
  animation: fadeIn 0.5s ease-in-out;
}

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

/* 经典系列样式 */
.classic-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 4rem 2rem;
}

.wardrobe-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.outfit-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.outfit-card:hover {
  transform: translateY(-5px);
}

/* 都市风尚样式 */
.urban-asymmetric {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  padding: 4rem 2rem;
}

.color-narrative {
  background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
  padding: 3rem;
  border-radius: 12px;
}

/* 穿搭艺术样式 */
.article-card {
  background: white;
  margin-bottom: 3rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.article-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.detail-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: white;
  padding: 1rem;
}

/* 关于我们样式 */
.about-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 6rem 2rem;
  text-align: center;
}

.quote {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 3rem;
  font-style: italic;
  color: var(--primary-medium);
}

/* 页脚样式 */
footer {
  text-align: center;
  padding: 2rem;
  color: var(--primary-medium);
  font-size: 0.9rem;
}

/* 返回顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary-dark);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-medium);
  transform: translateY(-3px);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .classic-section,
  .urban-asymmetric {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .wardrobe-grid {
    grid-template-columns: 1fr;
  }

  .grid-seasonal {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .detail-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .about-container {
    padding: 3rem 1rem;
  }

  .quote {
    font-size: 1.5rem;
  }

  .navbar {
    padding: 1rem;
  }
}

/* 加载动画 */
.loading {
  opacity: 0;
  animation: loadIn 0.8s ease forwards;
}

@keyframes loadIn {
  to {
    opacity: 1;
  }
}

/* 视差滚动效果 */
.parallax {
  transform: translateZ(0);
  will-change: transform;
}

/* 按钮样式 */
.btn-primary {
  background: var(--primary-dark);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-chinese);
}

.btn-primary:hover {
  background: var(--primary-medium);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}