/* 全局样式文件 - 风尚艺境 By HAISNAP */

/* 导入字体 */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* CSS变量 - 配色方案 */
:root {
  --color-bg-primary: #FAFAFA;
  --color-bg-secondary: #FFFFFF;
  --color-text-primary: #2C2C2C;
  --color-text-secondary: #666666;
  --color-accent: #B0A48B;
  --color-overlay: rgba(0, 0, 0, 0.3);
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --font-title: 'Playfair Display', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

/* 全局重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* 导航栏样式 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(250, 250, 250, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.navbar-brand {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text-primary);
  text-decoration: none;
  letter-spacing: 2px;
}

.navbar-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.navbar-link {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-weight: 400;
  font-size: 0.95rem;
  position: relative;
  transition: var(--transition-smooth);
}

.navbar-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: var(--transition-smooth);
}

.navbar-link:hover {
  color: var(--color-text-primary);
}

.navbar-link:hover::after {
  width: 100%;
}

/* 页脚样式 */
.footer {
  padding: 2rem;
  text-align: center;
  background: var(--color-bg-secondary);
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  margin-top: 4rem;
}

/* 图片通用样式 */
img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* 渐进式图片加载 */
.img-loading {
  filter: blur(10px);
  transition: filter 0.6s ease;
}

.img-loaded {
  filter: blur(0);
}

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

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

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

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

.carousel-caption {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-title);
  font-size: 3rem;
  color: #FFFFFF;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  letter-spacing: 4px;
}

/* 快速导览区 */
.quick-nav {
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-card {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.nav-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

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

.nav-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: #FFFFFF;
}

.nav-card-title {
  font-family: var(--font-title);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

.nav-card-subtitle {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* 系列展示网格 */
.series-grid {
  padding: 6rem 2rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1600px;
  margin: 0 auto;
}

.series-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--color-bg-secondary);
}

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

.series-item:hover .series-main-image {
  opacity: 0.3;
}

.series-aux-images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  gap: 0.5rem;
  padding: 1rem;
  opacity: 0;
  transition: var(--transition-smooth);
}

.series-item:hover .series-aux-images {
  opacity: 1;
}

.series-aux-image {
  flex: 1;
  object-fit: cover;
  border-radius: 2px;
}

/* 细节展示模块 */
.detail-section {
  padding: 6rem 2rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.detail-module {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 4rem;
}

.detail-module:nth-child(even) {
  flex-direction: row-reverse;
}

.detail-image {
  flex: 1.5;
  max-width: 60%;
  height: auto;
  border-radius: 2px;
}

.detail-text {
  flex: 1;
  padding: 2rem;
}

.detail-title {
  font-family: var(--font-title);
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--color-text-primary);
  letter-spacing: 2px;
}

.detail-description {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

/* 全屏背景模块 */
.fullscreen-module {
  position: relative;
  width: 100%;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.fullscreen-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.fullscreen-quote {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 3rem;
  text-align: center;
  color: #FFFFFF;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
  border-radius: 2px;
}

.fullscreen-quote-text {
  font-family: var(--font-title);
  font-size: 2rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

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

/* 响应式布局 */
@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
  }
  
  .navbar-menu {
    gap: 1rem;
  }
  
  .navbar-link {
    font-size: 0.85rem;
  }
  
  .carousel-caption {
    font-size: 2rem;
  }
  
  .quick-nav {
    grid-template-columns: 1fr;
    padding: 2rem 1rem;
  }
  
  .detail-module {
    flex-direction: column !important;
    gap: 1.5rem;
  }
  
  .detail-image {
    max-width: 100%;
  }
  
  .detail-title {
    font-size: 1.5rem;
  }
  
  .fullscreen-quote-text {
    font-size: 1.5rem;
  }
  
  .series-grid {
    padding: 4rem 1rem 1rem;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .navbar-brand {
    font-size: 1.2rem;
  }
  
  .carousel-caption {
    font-size: 1.5rem;
  }
  
  .nav-card-title {
    font-size: 1.4rem;
  }
}