/* 极简现代主义时尚女装网站 - 全局样式 */
:root {
  --bg-color: #FAFAFA;
  --text-color: #333333;
  --accent-color: #8C7B6B;
  --light-accent: #D4C9BE;
  --transition: all 0.3s ease;
}

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

body {
  font-family: "Source Han Sans CN", "思源黑体", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Source Han Serif CN", "思源宋体", serif;
  font-weight: 500;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 导航栏 */
.navbar {
  padding: 20px 0;
  position: sticky;
  top: 0;
  background-color: rgba(250, 250, 250, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid rgba(140, 123, 107, 0.1);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.nav-links a {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-color);
  position: relative;
  padding: 5px 0;
}

.nav-links a:hover {
  color: var(--accent-color);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition);
}

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

/* 轮播图 */
.hero-slider {
  position: relative;
  height: 80vh;
  overflow: hidden;
}

.slider-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slider-item.active {
  opacity: 1;
}

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

.slider-caption {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  font-size: 24px;
  font-weight: 500;
}

/* 内容区域 */
.content-section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
  color: var(--accent-color);
}

.section-text {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 18px;
  line-height: 1.8;
  text-align: center;
}

/* 特色展示区 */
.features {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.feature-item {
  text-align: center;
  max-width: 250px;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background-color: var(--light-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--accent-color);
}

.feature-title {
  font-size: 20px;
  margin-bottom: 10px;
}

/* 系列展示 */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.collection-item {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
}

.collection-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.collection-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  height: 200px;
}

.collection-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.collection-item:hover .collection-image {
  transform: scale(1.03);
}

.collection-title {
  padding: 20px;
  font-size: 24px;
  text-align: center;
}

.collection-description {
  padding: 0 20px 20px;
  font-size: 16px;
  line-height: 1.7;
}

/* 设计理念 */
.philosophy-content {
  max-width: 800px;
  margin: 0 auto;
}

.principles {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 40px 0;
}

.principle-item {
  padding: 30px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.principle-title {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--accent-color);
}

/* 按钮 */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--accent-color);
  color: white;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 500;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background-color: var(--text-color);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
}

.btn-outline:hover {
  background-color: var(--accent-color);
  color: white;
}

/* 页脚 */
.footer {
  text-align: center;
  padding: 30px 0;
  color: var(--text-color);
  font-size: 16px;
  border-top: 1px solid rgba(140, 123, 107, 0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .hero-slider {
    height: 70vh;
  }
  
  .slider-caption {
    bottom: 60px;
    font-size: 20px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .features {
    gap: 20px;
  }
  
  .feature-item {
    max-width: 100%;
  }
  
  .collections-grid {
    grid-template-columns: 1fr;
  }
  
  .nav-links {
    gap: 15px;
  }
  
  .nav-links a {
    font-size: 16px;
  }
}

/* 动效 */
.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 图片占位符 */
.placeholder {
  background-color: var(--light-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 14px;
}