/* =================================
   纯粹风尚 - 全局样式
   ================================= */

/* 重置与基础配置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #1a1a1a;
  --color-secondary: #666;
  --color-light: #f5f5f5;
  --color-accent: #d4b5a5;
  --color-white: #fff;
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--color-primary);
  background: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* 导航栏 */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: center;
  gap: 3rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-link {
  color: var(--color-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--color-primary);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

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

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

.page.active {
  display: block;
}

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

/* 首页 - 轮播区 */
.hero-carousel {
  position: relative;
  height: 90vh;
  overflow: hidden;
}

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

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

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
}

.carousel-indicators {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 10;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.indicator.active {
  background: var(--color-white);
  transform: scale(1.2);
}

/* 季节主题区 */
.season-theme {
  max-width: 1200px;
  margin: 5rem auto;
  padding: 0 2rem;
  text-align: center;
}

.season-theme h2 {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  margin-bottom: 2rem;
  color: var(--color-primary);
}

.season-theme p {
  font-size: 1.1rem;
  line-height: 2;
  color: var(--color-secondary);
  max-width: 800px;
  margin: 0 auto;
}

/* 圆形导航 */
.circle-nav {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 5rem 0;
}

.circle-link {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  transition: var(--transition-smooth);
  background: var(--color-white);
}

.circle-link:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: scale(1.05);
}

/* 设计理念 */
.design-philosophy {
  max-width: 900px;
  margin: 5rem auto;
  padding: 3rem 2rem;
  text-align: center;
  background: var(--color-light);
}

.design-philosophy p {
  font-size: 1.1rem;
  line-height: 2.2;
  color: var(--color-secondary);
  font-style: italic;
}

/* 系列页 - 网格布局 */
.series-grid {
  max-width: 1400px;
  margin: 3rem auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.series-category {
  margin-bottom: 3rem;
}

.series-title {
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--color-primary);
}

.series-description {
  font-size: 0.9rem;
  color: var(--color-secondary);
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.series-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.image-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  border-radius: 2px;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
  padding: 2rem;
}

.image-card:hover .image-overlay {
  opacity: 1;
}

.overlay-text {
  color: var(--color-white);
  font-size: 0.95rem;
  text-align: center;
  line-height: 1.8;
  font-weight: 300;
}

/* 细节页 - 分屏布局 */
.detail-section {
  max-width: 1400px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.detail-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
  align-items: center;
}

.detail-item:nth-child(even) {
  direction: rtl;
}

.detail-item:nth-child(even) > * {
  direction: ltr;
}

.detail-image {
  overflow: hidden;
  border-radius: 2px;
}

.detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.detail-content h3 {
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.detail-content p {
  font-size: 1rem;
  line-height: 2;
  color: var(--color-secondary);
}

/* 页脚 */
.footer {
  text-align: center;
  padding: 3rem 0;
  color: #888;
  font-size: 0.85rem;
  font-weight: 200;
  letter-spacing: 0.15em;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: 5rem;
}

/* 响应式 - 平板 */
@media (max-width: 1024px) {
  .nav-bar {
    padding: 1.2rem 2rem;
    gap: 2rem;
  }

  .circle-nav {
    gap: 2rem;
  }

  .circle-link {
    width: 100px;
    height: 100px;
    font-size: 0.85rem;
  }

  .series-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .detail-item {
    gap: 1.5rem;
  }
}

/* 响应式 - 手机 */
@media (max-width: 768px) {
  .nav-bar {
    padding: 1rem 1.5rem;
    gap: 1.5rem;
  }

  .nav-link {
    font-size: 0.8rem;
  }

  .hero-carousel {
    height: 70vh;
  }

  .season-theme {
    margin: 3rem auto;
    padding: 0 1.5rem;
  }

  .season-theme h2 {
    font-size: 1.8rem;
  }

  .season-theme p {
    font-size: 1rem;
  }

  .circle-nav {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin: 3rem 0;
  }

  .design-philosophy {
    margin: 3rem auto;
    padding: 2rem 1.5rem;
  }

  .design-philosophy p {
    font-size: 1rem;
  }

  .series-grid {
    grid-template-columns: 1fr;
    padding: 0 1.5rem;
  }

  .series-images {
    grid-template-columns: 1fr;
  }

  .detail-section {
    padding: 0 1.5rem;
  }

  .detail-item {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 3rem;
  }

  .detail-item:nth-child(even) {
    direction: ltr;
  }

  .detail-content h3 {
    font-size: 1.5rem;
  }

  .detail-content p {
    font-size: 0.95rem;
  }
}

/* 加载动画 */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-up {
  animation: slideUp 0.8s ease forwards;
}