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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: #FAFAFA;
  color: #333333;
  line-height: 1.8;
  overflow-x: hidden;
}

/* 导航栏样式 */
.nav-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(250, 250, 250, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(232, 232, 232, 0.5);
}

.nav-logo {
  font-size: 24px;
  font-weight: 500;
  color: #2C2C2C;
  text-decoration: none;
  letter-spacing: 2px;
}

.nav-menu {
  display: flex;
  gap: 40px;
}

.nav-link {
  font-size: 18px;
  color: #666666;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #2C2C2C;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #2C2C2C;
  transition: width 0.3s ease;
}

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

/* 主内容区域 */
.main-content {
  margin-top: 80px;
}

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

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

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

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

.slider-caption {
  position: absolute;
  bottom: 80px;
  right: 80px;
  background-color: rgba(44, 44, 44, 0.7);
  color: #FAFAFA;
  padding: 20px 40px;
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 3px;
}

.slider-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
}

.slider-btn {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(250, 250, 250, 0.5);
  background-color: rgba(44, 44, 44, 0.3);
  color: #FAFAFA;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-btn:hover {
  background-color: rgba(44, 44, 44, 0.7);
}

/* 内容区域通用样式 */
.section {
  padding: 100px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-size: 36px;
  font-weight: 500;
  color: #2C2C2C;
  margin-bottom: 60px;
  text-align: center;
  letter-spacing: 3px;
}

.section-subtitle {
  font-size: 24px;
  font-weight: 400;
  color: #666666;
  margin-bottom: 40px;
  letter-spacing: 2px;
}

/* 网格布局 */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.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-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(44, 44, 44, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.grid-item:hover .grid-item-overlay {
  background-color: rgba(44, 44, 44, 0.3);
}

.grid-item-text {
  font-size: 20px;
  color: #FAFAFA;
  letter-spacing: 2px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.grid-item:hover .grid-item-text {
  opacity: 1;
}

/* 不对称网格布局 */
.asymmetric-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(2, 400px);
  gap: 20px;
}

.asymmetric-item:first-child {
  grid-row: 1 / 3;
}

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

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

/* 文字内容区域 */
.text-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 20px;
}

.text-large {
  font-size: 24px;
  font-weight: 300;
  color: #2C2C2C;
  line-height: 2;
  letter-spacing: 2px;
}

/* 左右交替布局 */
.alternate-section {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
}

.alternate-section:nth-child(even) {
  flex-direction: row-reverse;
}

.alternate-text {
  flex: 1;
}

.alternate-image {
  flex: 1;
}

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

/* 列表样式 */
.style-list {
  list-style: none;
  margin: 40px 0;
}

.style-list li {
  font-size: 18px;
  color: #666666;
  margin-bottom: 20px;
  padding-left: 30px;
  position: relative;
}

.style-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #B76E79;
}

/* 时间轴样式 */
.timeline {
  position: relative;
  padding-left: 60px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: #E8E8E8;
}

.timeline-item {
  margin-bottom: 80px;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -47px;
  top: 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #B76E79;
}

.timeline-title {
  font-size: 20px;
  font-weight: 500;
  color: #2C2C2C;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.timeline-desc {
  font-size: 16px;
  color: #666666;
  line-height: 1.8;
  margin-bottom: 20px;
}

.timeline-image img {
  width: 100%;
  max-width: 600px;
  height: 400px;
  object-fit: cover;
}

/* 页脚样式 */
.footer {
  text-align: center;
  padding: 60px 20px;
  color: #999999;
  font-size: 14px;
  font-weight: 300;
}

/* 返回顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  background-color: rgba(44, 44, 44, 0.7);
  color: #FAFAFA;
  border: none;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
}

.back-to-top:hover {
  background-color: rgba(44, 44, 44, 0.9);
}

/* 渐变背景 */
.gradient-bg {
  background: linear-gradient(180deg, #E8E8E8 0%, #FAFAFA 100%);
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .nav-container {
    padding: 20px 40px;
  }
  
  .section {
    padding: 80px 40px;
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .asymmetric-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  
  .asymmetric-item:first-child {
    grid-row: auto;
  }
  
  .alternate-section {
    flex-direction: column !important;
    gap: 40px;
  }
  
  .slider-caption {
    font-size: 24px;
    bottom: 60px;
    right: 40px;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 15px 20px;
  }
  
  .nav-menu {
    gap: 20px;
  }
  
  .nav-link {
    font-size: 16px;
  }
  
  .section {
    padding: 60px 20px;
  }
  
  .section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .grid-item img {
    height: 400px;
  }
  
  .slider-caption {
    font-size: 20px;
    bottom: 40px;
    right: 20px;
    padding: 15px 30px;
  }
  
  .timeline {
    padding-left: 40px;
  }
  
  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: 20px;
    right: 20px;
  }
}

/* 加载动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease;
}

/* 图片懒加载占位 */
img[loading="lazy"] {
  background-color: #E8E8E8;
}