/* 全局重置与基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  overflow-x: hidden;
}

/* 导航栏样式 */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid #e5e5e5;
}

nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 1.5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

nav ul li {
  margin: 0 2rem;
}

nav ul li a {
  text-decoration: none;
  color: #666;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
  position: relative;
}

nav ul li a:hover {
  color: #000;
}

nav ul li a.active {
  color: #000;
}

nav ul li a.active::after {
  content: '';
  position: absolute;
  bottom: -0.3rem;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #000;
}

/* 页脚样式 */
footer {
  text-align: center;
  padding: 3rem 0;
  background-color: #f8f8f8;
  color: #999;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

/* 全屏英雄图样式 */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  margin-top: 4rem;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  margin: 0;
}

/* 精选辑区域样式 */
.featured {
  padding: 5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.featured h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 4rem;
  color: #333;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.featured-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
}

.featured-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s ease;
}

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

.featured-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.featured-item:hover .featured-caption {
  opacity: 1;
}

/* 引语区样式 */
.quote-section {
  padding: 5rem 2rem;
  background-color: #f5f5f5;
  text-align: center;
}

.quote-section p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.8;
  color: #666;
  letter-spacing: 0.05em;
}

/* 衣橱哲学页面样式 */
.wardrobe-header {
  padding: 8rem 2rem 4rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.wardrobe-header h1 {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  color: #333;
}

.wardrobe-header p {
  font-size: 1.1rem;
  color: #666;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.wardrobe-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

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

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

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

.wardrobe-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.wardrobe-text h3 {
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  color: #333;
}

.wardrobe-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: #666;
  letter-spacing: 0.03em;
}

.detail-gallery {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.detail-gallery h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 3rem;
  color: #333;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.detail-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* 光影瞬间页面样式 */
.moments-header {
  padding: 8rem 2rem 4rem;
  text-align: center;
}

.moments-header h1 {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: #333;
}

.moments-gallery {
  max-width: 100%;
}

.moment-item {
  position: relative;
  width: 100%;
  margin-bottom: 0;
}

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

.moment-caption {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.1em;
  font-weight: 300;
}

/* 响应式设计 */
@media (max-width: 768px) {
  nav ul {
    padding: 1rem;
  }

  nav ul li {
    margin: 0 1rem;
  }

  nav ul li a {
    font-size: 0.85rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .featured-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

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

  .detail-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .quote-section p {
    font-size: 1rem;
  }

  .wardrobe-header h1,
  .moments-header h1 {
    font-size: 1.8rem;
  }
}