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

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

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #333333;
  background-color: #FFFFFF;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* 导航栏 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.logo {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #333333;
  letter-spacing: 2px;
}

.nav-menu {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-menu a {
  color: #666666;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 300;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: #D4AF37;
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  color: #D4AF37;
}

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

.nav-menu a.active {
  color: #D4AF37;
}

/* 汉堡菜单 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: #333333;
  transition: all 0.3s ease;
}

/* 首屏区域 */
.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.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;
  filter: brightness(0.85);
}

.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #FFFFFF;
  z-index: 10;
}

.hero-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 3.5rem;
  font-weight: 500;
  letter-spacing: 8px;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 4px;
  opacity: 0.9;
}

.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  cursor: pointer;
  z-index: 10;
}

.scroll-indicator::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 10px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
  animation: scroll-down 2s infinite;
}

@keyframes scroll-down {
  0%, 100% { opacity: 0; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(10px); }
}

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

.section-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 2.5rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 4rem;
  color: #333333;
  letter-spacing: 4px;
}

/* 三列布局 */
.three-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 6rem;
}

.column-item {
  text-align: center;
}

.column-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  margin-bottom: 1.5rem;
  transition: transform 0.4s ease;
}

.column-item:hover .column-image {
  transform: scale(1.05);
}

.column-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: #333333;
  letter-spacing: 2px;
}

.column-text {
  font-size: 0.95rem;
  color: #666666;
  line-height: 1.8;
  font-weight: 300;
}

/* 精选系列预览 */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.featured-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

.featured-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.featured-item:hover img {
  transform: scale(1.1);
}

.featured-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.featured-item:hover .featured-overlay {
  opacity: 1;
}

.featured-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.8rem;
  color: #FFFFFF;
  margin-bottom: 1rem;
  letter-spacing: 3px;
}

.explore-btn {
  padding: 0.8rem 2rem;
  background: transparent;
  border: 1px solid #FFFFFF;
  color: #FFFFFF;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 2px;
}

.explore-btn:hover {
  background: #D4AF37;
  border-color: #D4AF37;
}

/* 页面特定样式 */
.page-hero {
  position: relative;
  height: 70vh;
  overflow: hidden;
  margin-top: 80px;
}

.page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #FFFFFF;
}

.page-hero-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: 6px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* 左右布局 */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}

.split-image {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.split-content h3 {
  font-family: 'Noto Serif SC', serif;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 2rem;
  color: #333333;
  letter-spacing: 3px;
}

.split-content p {
  font-size: 1rem;
  color: #666666;
  line-height: 2;
  margin-bottom: 1rem;
  font-weight: 300;
}

/* 网格展示 */
.grid-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 6rem;
}

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

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

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

.grid-caption {
  margin-top: 1rem;
  font-size: 1rem;
  color: #666666;
  text-align: center;
  font-weight: 300;
}

/* 页脚 */
.footer {
  background: #F5F5F5;
  padding: 3rem 5%;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-text {
  font-size: 0.9rem;
  color: #666666;
  font-weight: 300;
}

.footer-copyright {
  font-size: 0.9rem;
  color: #666666;
  letter-spacing: 1px;
}

.footer-note {
  font-size: 0.75rem;
  color: #999999;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .three-columns,
  .featured-grid,
  .grid-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero-title {
    font-size: 2.5rem;
  }

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

@media (max-width: 768px) {
  .navbar {
    padding: 1rem 5%;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: 6rem 2rem;
    gap: 2rem;
    transition: right 0.3s ease;
  }

  .nav-menu.active {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
  }

  .three-columns,
  .featured-grid,
  .grid-showcase {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2rem;
    letter-spacing: 4px;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

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

  .page-hero-title {
    font-size: 2rem;
  }

  .content-section {
    padding: 4rem 5%;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* 图片懒加载效果 */
img {
  opacity: 0;
  transition: opacity 0.6s ease;
}

img.loaded {
  opacity: 1;
}

/* 滚动动画 */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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