/* 全局样式定义 */
:root {
  --color-primary: #000000;
  --color-secondary: #666666;
  --color-accent: #f5f5f5;
  --color-text: #333333;
  --font-family: "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
}

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

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--color-text);
  background-color: #ffffff;
}

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

nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 1.5rem 0;
  gap: 3rem;
}

nav a {
  text-decoration: none;
  color: var(--color-text);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: opacity 0.3s ease;
}

nav a:hover {
  opacity: 0.6;
}

/* 主内容区域 */
main {
  margin-top: 70px;
  min-height: calc(100vh - 110px);
}

/* 英雄区域 */
.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
}

.hero-content {
  position: relative;
  text-align: center;
  color: white;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 3px;
  margin-bottom: 1rem;
}

/* 最新系列预览 */
.latest-collection {
  padding: 5rem 2rem;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 3rem;
  letter-spacing: 1px;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.preview-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.preview-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.preview-item:hover img {
  transform: scale(1.05);
}

.preview-item h3 {
  margin-top: 1rem;
  font-weight: 300;
  font-size: 1.1rem;
}

/* 系列页面 */
.category-filter {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  border-bottom: 1px solid #eee;
}

.filter-btn {
  background: none;
  border: none;
  font-family: var(--font-family);
  font-size: 1rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.filter-btn.active {
  border-bottom-color: var(--color-primary);
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  padding: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.collection-item {
  position: relative;
  overflow: hidden;
  background: var(--color-accent);
}

.collection-item img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 1.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.collection-item:hover .item-overlay {
  transform: translateY(0);
}

.collection-item:hover img {
  transform: scale(1.05);
}

/* 型录页面 */
.look-section {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 4rem 2rem;
}

.look-image {
  flex: 1;
  padding: 2rem;
}

.look-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.look-content {
  flex: 1;
  padding: 2rem;
  max-width: 500px;
}

.look-content h2 {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 2rem;
  letter-spacing: 1px;
}

.look-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: var(--color-secondary);
}

.item-list {
  list-style: none;
}

.item-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

.item-list a {
  color: var(--color-text);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.item-list a:hover {
  opacity: 0.6;
}

/* 理念页面 */
.philosophy {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.philosophy-hero {
  margin-bottom: 4rem;
}

.philosophy-hero img {
  width: 100%;
  height: auto;
}

.philosophy-section {
  margin-bottom: 4rem;
}

.philosophy-section h2 {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 2rem;
  letter-spacing: 1px;
}

.philosophy-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
}

/* 页脚 */
footer {
  text-align: center;
  padding: 2rem;
  background: var(--color-accent);
  color: var(--color-secondary);
}

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

  nav a {
    font-size: 0.9rem;
  }

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

  .section-title {
    font-size: 1.5rem;
  }

  .category-filter {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .collection-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
  }

  .look-section {
    flex-direction: column;
    padding: 2rem 1rem;
  }

  .look-image,
  .look-content {
    width: 100%;
    padding: 1rem;
  }

  .look-content h2 {
    font-size: 2rem;
  }

  .philosophy {
    padding: 2rem 1rem;
  }

  .philosophy-section h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .preview-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .hero h1 {
    font-size: 1.5rem;
    letter-spacing: 1px;
  }
}

/* 动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.8s ease-out;
}

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