/* 
 * 全局样式表 - 纯粹形式 (Pure Form) 时尚展示
 * 遵循极简主义设计原则，适配 Pico.css 
 */

:root {
  /* 核心色板 */
  --color-bg: #fdfdfd;
  --color-text: #1a1a1a;
  --color-text-light: #595959;
  --color-accent: #d2b48c; /* 驼色 Tan */
  --color-border: #e5e5e5;
  
  /* 字体系统 */
  --font-sans: "Helvetica Neue", "Avenir", "Futura", "Source Han Sans CN", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --font-serif: "Playfair Display", "Songti SC", serif; /* 用于引用或特殊标题 */
  
  /* 覆盖 Pico.css 变量 */
  --pico-font-family: var(--font-sans);
  --pico-background-color: var(--color-bg);
  --pico-color: var(--color-text);
  --pico-primary: var(--color-text);
  --pico-primary-background: var(--color-text);
  --pico-primary-hover: #333;
  --pico-primary-underline: var(--color-text);
  --pico-border-radius: 0px; /* 极简直角 */
  --pico-spacing: 2rem;
  --pico-line-height: 1.8;
}

/* --- 基础排版 --- */

body {
  font-weight: 300;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.8rem; margin-top: 3rem; position: relative; display: inline-block; }
h3 { font-size: 1.4rem; }

p {
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  max-width: 70ch;
}

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

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

/* --- 布局辅助 --- */

.container-fluid {
  max-width: 100%;
  padding: 0;
}

.section-padding {
  padding: 6rem 2rem;
}

.text-center { text-align: center; }
.text-right { text-align: right; }

/* 居中内容容器 */
.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* 动态槽位预留 */
.slot-container {
    display: none; /* 默认隐藏，有内容时由JS激活或自行配置 */
}

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

nav.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 3rem;
  background: rgba(253, 253, 253, 0.95);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: all 0.4s ease;
}

nav.navbar.scrolled {
  padding: 1rem 3rem;
  border-bottom: 1px solid var(--color-border);
}

.brand-logo {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.nav-links a {
  font-size: 0.9rem;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}

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

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

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

.hero-slider {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

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

.slide.active {
  opacity: 1;
  z-index: 2;
}

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

.hero-content {
  position: absolute;
  bottom: 15%;
  left: 5%;
  z-index: 10;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  max-width: 600px;
}

.hero-content h2 {
  color: #fff;
  font-size: 3rem;
  margin-bottom: 1rem;
  border: none;
}

.hero-content p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
}

/* 滚动指示器 */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  animation: bounce 2s infinite;
  cursor: pointer;
  color: var(--color-text); /* 根据背景动态调整，这里默认深色，JS可控制 */
}

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

/* --- 图片网格与展示 --- */

.image-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.image-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.image-card figcaption {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--color-text-light);
  text-align: left;
}

/* 不对称网格 (Masonry-ish) */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.masonry-grid .large-item {
  grid-column: span 2;
}

@media (min-width: 768px) {
  .masonry-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .masonry-grid .large-item {
    grid-column: span 2;
  }
  .masonry-grid .tall-item {
    grid-row: span 2;
  }
}

/* --- 理念页特殊样式 --- */

.philosophy-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}

@media (min-width: 992px) {
  .philosophy-section {
    grid-template-columns: 1fr 1.5fr;
  }
  .sticky-content {
    position: sticky;
    top: 6rem;
  }
}

blockquote {
  border-left: 2px solid var(--color-text);
  padding-left: 1.5rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  margin: 2rem 0;
  color: var(--color-text);
  background: transparent;
}

.detail-item {
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 2rem;
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.detail-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  opacity: 0.2;
}

/* --- 动效类 --- */

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

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

footer {
  padding: 3rem 0;
  border-top: 1px solid var(--color-border);
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: 4rem;
  text-align: center;
}

/* --- 响应式微调 --- */

@media (max-width: 768px) {
  nav.navbar {
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-links {
    gap: 1.5rem;
  }
  
  h1 { font-size: 2rem; }
  
  .hero-content h2 { font-size: 2rem; }
  
  .masonry-grid {
    display: flex;
    flex-direction: column;
  }
}