/* 使用 pico.css 作为基础，仅添加必要自定义样式 */
:root {
  --pico-font-family: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  --pico-background-color: #ffffff;
  --pico-color: #333333;
  --pico-muted-color: #777777;
  --pico-muted-border-color: #e0e0e0;
  --pico-primary: #555555;
  --pico-secondary: #888888;
}

/* 全局重置与基础设置 */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: var(--pico-background-color);
  color: var(--pico-color);
}

/* 导航栏固定顶部 */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid var(--pico-muted-border-color);
  padding: 0.8rem 1rem;
}

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

header nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
}

header nav a {
  text-decoration: none;
  color: var(--pico-color);
  font-weight: 500;
  transition: color 0.2s ease;
}

header nav a:hover,
header nav a.active {
  color: var(--pico-primary);
  border-bottom: 2px solid var(--pico-primary);
}

/* Logo 占位符 */
.logo-placeholder {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #d4c1ec, #a6b1e1);
  border-radius: 4px;
}

/* 主内容区域留出导航栏空间 */
main {
  margin-top: 70px;
}

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

.carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.carousel img:hover {
  transform: scale(1.02);
}

/* 欢迎文案 */
.hero-text {
  text-align: center;
  padding: 2rem 1rem;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.8;
}

/* 特色区域网格 */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-item {
  text-align: center;
  padding: 1.5rem;
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: #f5f5f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--pico-primary);
}

/* 探索区块 */
.explore-section {
  padding: 3rem 1rem;
  text-align: center;
}

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

.explore-card {
  position: relative;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.explore-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.explore-card:hover img {
  transform: scale(1.05);
}

.explore-card .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 1.5rem;
  text-align: center;
}

/* 系列精选页面 */
.collection-section {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.collection-item {
  margin-bottom: 4rem;
}

.collection-hero {
  width: 100%;
  height: 500px;
  margin: 2rem 0;
  border-radius: 8px;
  overflow: hidden;
}

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

.collection-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.collection-detail-img {
  height: 200px;
  border-radius: 4px;
  overflow: hidden;
}

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

/* 美学解读页面 */
.aesthetic-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 4rem 0;
  align-items: center;
}

.aesthetic-image {
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
}

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

/* 响应式调整 */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    gap: 1rem;
  }
  
  header nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .aesthetic-item {
    grid-template-columns: 1fr;
  }
  
  .aesthetic-image {
    height: 300px;
  }
  
  .collection-hero {
    height: 300px;
  }
}

/* 页脚 */
footer {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--pico-muted-color);
  border-top: 1px solid var(--pico-muted-border-color);
  margin-top: 2rem;
}