/* 
 * 全局样式文件 - 现代时尚服装展示网站
 * 遵循现代、简约、高端的设计风格
 * 适配响应式布局
 */

:root {
  /* 核心色彩方案 */
  --bg-color: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --accent-gold: #d4af37; /* 香槟金 */
  --accent-rose: #b76e79; /* 玫瑰金 */
  --bg-secondary: #f9f9f9; /* 极浅灰 */
  --bg-earth: #f0ebe5; /* 柔和大地色 */

  /* 字体设置 */
  --font-main: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  
  /* 间距与布局 */
  --spacing-unit: 1rem;
  --container-width: 1200px;
  --header-height: 80px;
  
  /* 动画 */
  --transition-smooth: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- 全局重置与基础样式 (覆盖/补充 Water.css) --- */

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-primary);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%; /* 强制覆盖 Water.css 可能的 max-width 限制 */
}

/* 移除 Water.css 对 body 的默认 padding，由各 section 自行控制 */
body > header, body > main, body > footer {
  padding: 0; 
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-top: 0;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-bottom: 2rem; text-align: center; text-transform: uppercase; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }

p {
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* --- 布局容器 --- */

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5rem 0;
}

/* --- 导航栏 --- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

.site-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 3rem;
}

.site-nav a {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  position: relative;
  padding-bottom: 5px;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--text-primary);
  transition: width 0.3s ease;
}

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

/* --- 首页：全屏轮播 --- */

.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  padding: 0; /* 全屏不需要padding */
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9); /* 稍微压暗以突出文字 */
}

.hero-content {
  position: absolute;
  z-index: 10;
  text-align: center;
  color: #fff;
  mix-blend-mode: difference; /* 确保在任何背景下可见 */
  pointer-events: none;
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
  color: #f0f0f0;
  font-size: 1.2rem;
  letter-spacing: 0.2em;
}

/* --- 首页：精选系列 (Grid Layout) --- */

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.collection-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/4;
}

.collection-card img {
  width: 100%;
  height: 100%;
  transition: var(--transition-smooth);
}

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

.collection-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  color: #fff;
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition-smooth);
}

.collection-card:hover .collection-info {
  transform: translateY(0);
  opacity: 1;
}

/* --- 时尚宣言 --- */
.manifesto-section {
  background-color: var(--bg-earth);
  text-align: center;
  padding: 6rem 2rem;
}

.manifesto-text {
  font-size: 1.5rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  font-family: serif; /* 使用衬线体增加优雅感 */
  font-style: italic;
  color: var(--text-primary);
}

/* --- 系列展示页面 --- */

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

.category-header {
  margin-bottom: 3rem;
  text-align: center;
}

.category-desc {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* 交错布局 */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.detail-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.detail-text p {
  margin-left: 0; /* 左对齐 */
}

/* --- 时尚理念页面 --- */

.philosophy-hero {
  height: 60vh;
  background-color: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
}

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

.story-item img {
  width: 100%;
  aspect-ratio: 4/5;
  margin-bottom: 1rem;
}

.material-section {
  background-color: #fafafa;
  border-top: 1px solid #eee;
}

/* --- 页脚 --- */

.site-footer {
  text-align: center;
  padding: 3rem 0;
  border-top: 1px solid #eaeaea;
  font-size: 0.8rem;
  color: #999;
  margin-top: auto;
}

/* --- 响应式适配 --- */

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  
  .site-nav ul {
    gap: 1.5rem;
    font-size: 0.8rem;
  }
  
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .story-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-content h2 {
    font-size: 2rem;
  }
  
  section {
    padding: 3rem 0;
  }
}

/* --- 辅助类 --- */
.text-gold { color: var(--accent-gold); }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* 槽位占位符，用于未来扩展，不可见 */
[data-slot] {
  display: contents;
}