/* 
 * 全局样式表 - 时尚女装视觉体验平台
 * 基于 Pico.css 进行定制，遵循极简、高端、黑白灰设计语言
 */

:root {
  /* --- Pico.css 变量覆盖 (Theme Overrides) --- */
  
  /* 字体系统：现代无衬线体 + 中文黑体 */
  --pico-font-family: "Helvetica Neue", "Avenir", "Helvetica", "Arial", "Microsoft YaHei", "SimHei", sans-serif;
  
  /* 色彩系统：中性色（黑、白、深灰） */
  --pico-primary: #000000;
  --pico-primary-background: #000000;
  --pico-primary-underline: #666666;
  --pico-primary-hover: #333333;
  --pico-primary-focus: rgba(0, 0, 0, 0.125);
  --pico-primary-inverse: #ffffff;
  
  --pico-color: #333333; /* 正文深灰 */
  --pico-background-color: #ffffff;
  --pico-muted-color: #666666;
  --pico-card-background-color: #f8f8f8;
  --pico-card-border-color: transparent;
  
  /* 布局与形状：锐利边角，体现时尚感 */
  --pico-border-radius: 0px; 
  --pico-form-element-spacing-vertical: 0.75rem;
  --pico-form-element-spacing-horizontal: 1rem;
  --pico-block-spacing-vertical: 4rem; /* 增加垂直呼吸感 */
  
  /* --- 自定义变量 --- */
  --nav-height: 80px;
  --img-transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --fade-transition: opacity 0.4s ease;
}

/* --- 全局基础样式 --- */

body {
  font-weight: 300; /* 轻盈字重 */
  letter-spacing: 0.02em;
  padding-top: var(--nav-height); /* 为固定导航留出空间 */
  overflow-x: hidden;
}

/* 标题样式调整 */
h1, h2, h3, h4, h5, h6 {
  color: #000;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase; /* 时尚类通常大写 */
  margin-bottom: 1.5rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.75rem; border-bottom: none; }
h3 { font-size: 1.25rem; }

a {
  text-decoration: none;
  transition: color 0.3s ease;
}

a.contrast:hover {
  text-decoration: none;
  opacity: 0.7;
}

/* 移除 Pico 对 main 的默认过大 padding，由具体 section 控制 */
body > main {
  padding-top: 0;
  padding-bottom: 0;
}

/* --- 导航栏 (Navigation) --- */
nav.container-fluid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
}

nav ul li a {
  color: var(--pico-color);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
}

nav ul li a.active {
  color: #000;
  border-bottom: 1px solid #000;
}

nav strong {
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  color: #000;
}

/* --- 轮播图/首屏区域 (Hero Section) --- */
.hero-section {
  position: relative;
  height: calc(100vh - var(--nav-height));
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

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

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

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  mix-blend-mode: difference; /* 高级感文字混合模式 */
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
  opacity: 0.8;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* --- 图片网格与展示 (Grid & Images) --- */
.fashion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  padding: 4rem 5%;
}

.img-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #f4f4f4; /* 占位色 */
}

.img-card figure {
  margin: 0;
  overflow: hidden;
  position: relative;
  aspect-ratio: 2/3; /* 时尚摄影常用比例 */
}

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

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

.img-card figcaption {
  padding: 1rem 0;
  text-align: center;
  color: var(--pico-muted-color);
  font-size: 0.85rem;
}

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

.img-card:hover .overlay-info {
  opacity: 1;
}

/* --- 季节主题区 (Seasonal) --- */
.seasonal-section {
  padding: 4rem 5%;
  background-color: #fafafa;
}

.season-tabs {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.season-btn {
  background: none;
  border: none;
  color: #999;
  font-size: 1rem;
  cursor: pointer;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}

.season-btn.active, .season-btn:hover {
  color: #000;
  border-bottom-color: #000;
}

/* --- 设计哲学页面 (Philosophy) --- */
.philosophy-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  margin-bottom: 6rem;
}

.philosophy-block.reverse {
  direction: rtl; /* 简单的左右交替布局技巧 */
}

.philosophy-block.reverse .text-content {
  direction: ltr;
}

.text-content {
  padding: 2rem;
}

.text-content h3 {
  margin-bottom: 1rem;
}

.text-content p {
  color: #555;
  line-height: 1.8;
  font-size: 1.05rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.process-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.5s;
}

.process-item:hover img {
  filter: grayscale(0%);
}

.process-item p {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  text-align: center;
  color: #666;
}

/* --- 通用组件 --- */
.section-header {
  text-align: center;
  margin: 4rem 0 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: 2rem;
  letter-spacing: 0.2em;
}

.section-header p {
  font-size: 1rem;
  color: #666;
  font-style: italic;
}

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

/* --- 响应式调整 (Responsive) --- */
@media (max-width: 1024px) {
  .philosophy-block {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
  }
  
  .philosophy-block.reverse {
    direction: ltr;
  }
  
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
  }
  
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  
  .fashion-grid {
    grid-template-columns: 1fr; /* 移动端单列 */
    padding: 2rem 1.5rem;
  }
  
  nav.container-fluid {
    justify-content: center;
    flex-direction: column;
    height: auto;
    padding: 1rem;
  }
  
  nav ul {
    margin-top: 0.5rem;
    display: flex;
    gap: 1rem;
    padding: 0;
  }
  
  nav ul li {
    list-style: none;
    padding: 0;
  }

  /* 汉堡菜单逻辑如果需要JS控制，这里先做简单的平铺适配 */
  
  .hero-content h1 {
    font-size: 1.5rem;
  }
}

/* 实用工具类 */
.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }