/* 全局样式 - 极简时尚女装网站 */

/* 自定义CSS变量 */
:root {
  --color-bg: #FFFFFF;
  --color-text: #333333;
  --color-accent-pink: #E07A5F;
  --color-accent-blue: #7FB3D5;
  --color-light-gray: #F8F8F8;
  --transition-smooth: all 0.3s ease;
}

/* 重置与基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.8;
  font-weight: 300;
  overflow-x: hidden;
}

/* 导航栏样式 */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(51, 51, 51, 0.05);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  padding: 0 2rem;
}

.nav-link {
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: var(--color-text);
  text-decoration: none;
  position: relative;
  padding-bottom: 0.3rem;
  transition: var(--transition-smooth);
}

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

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

.nav-link.active {
  font-weight: 500;
}

/* 页面主体 */
main {
  margin-top: 80px;
}

/* 全屏区域 */
.fullscreen-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* 轮播容器 */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

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

.slide.active {
  opacity: 1;
}

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

.slide-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 10;
  width: 90%;
  max-width: 800px;
}

.slide-caption h2 {
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* 滑动指示器 */
.slider-indicators {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 20;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.indicator.active {
  background-color: white;
  transform: scale(1.3);
}

/* 内容区域 */
.content-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 8rem 2rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  text-align: center;
  font-size: 1rem;
  color: #666;
  margin-bottom: 5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* 网格布局 */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.grid-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.grid-item img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.grid-item-info {
  padding: 1.5rem 0;
  text-align: center;
}

.grid-item-title {
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.grid-item-desc {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

/* 模态弹窗 */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  overflow-y: auto;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: white;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 3rem;
  margin: 2rem;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--color-text);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  color: var(--color-accent-pink);
}

.modal-images {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.modal-images img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.modal-description {
  line-height: 1.8;
  color: #555;
}

/* 卡片样式 */
.card {
  position: relative;
  overflow: hidden;
  margin-bottom: 3rem;
  cursor: pointer;
}

.card-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem;
  color: white;
}

.card-title {
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.card-quote {
  font-size: 1rem;
  opacity: 0.9;
}

/* 页脚 */
footer {
  text-align: center;
  padding: 3rem 2rem;
  border-top: 1px solid rgba(51, 51, 51, 0.05);
  font-size: 0.9rem;
  color: #666;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .nav-container {
    gap: 2rem;
    padding: 0 1rem;
  }

  .nav-link {
    font-size: 0.85rem;
  }

  .slide-caption h2 {
    font-size: 2rem;
  }

  .content-section {
    padding: 4rem 1.5rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .grid-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .grid-item img {
    height: 400px;
  }

  .modal-content {
    padding: 2rem;
  }

  .card-overlay {
    padding: 2rem;
  }

  .card-title {
    font-size: 1.3rem;
  }
}

/* 加载动画 */
.fade-in {
  animation: fadeIn 0.8s ease-in;
}

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

/* 滚动平滑 */
html {
  scroll-behavior: smooth;
}