/* 整体容器样式 */
.park-container {
  padding: 40px 0;
  position: relative;
}

/* 主标题样式 */
.park-main-title {
  color: #2E7D32;
  font-size: 36px;
  margin-bottom: 15px;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
  letter-spacing: 2px;
}

.park-subtitle {
  color: #1565C0;
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 300;
}

.park-divider {
  width: 60%;
  margin: 30px auto;
  border-top: 2px solid #2E7D32;
  position: relative;
}

.park-divider::before,
.park-divider::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background: #2E7D32;
  top: -7px;
  transform: rotate(45deg);
}

.park-divider::before {
  left: -6px;
}

.park-divider::after {
  right: -6px;
}

/* 各部分通用样式 */
.park-section {
  padding: 50px 0;
  border-bottom: 1px solid #e3f2fd;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
}

.park-section:last-child {
  border-bottom: none;
}

/* 标题样式 */
.section-title {
  color: #2E7D32;
  font-size: 30px;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  font-weight: bold;
}

.section-title:after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #2E7D32;
  margin: 15px auto;
}

/* 图片容器样式 */
.park-image-container {
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e3f2fd;
}

.park-image {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.park-image:hover {
  transform: scale(1.03);
}

.image-caption {
  background: rgba(46, 125, 50, 0.8);
  color: #fff;
  padding: 10px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 14px;
}

/* 内容样式 */
.park-content {
  padding: 20px;
  position: relative;
}

.park-content h3 {
  color: #2E7D32;
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: bold;
  border-left: 4px solid #2E7D32;
  padding-left: 15px;
}

.park-content p {
  color: #37474F;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 15px;
  text-align: justify;
}

/* 特色列表样式 */
.park-features {
  background: #f1f8e9;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
  border-left: 4px solid #2E7D32;
}

.park-features h4 {
  color: #2E7D32;
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: bold;
}

.park-features ul {
  padding-left: 0;
  list-style-type: none;
}

.park-features li {
  margin-bottom: 12px;
  color: #37474F;
  line-height: 1.6;
  display: flex;
  align-items: center;
}

.feature-icon {
  color: #2E7D32;
  margin-right: 10px;
  display: inline-block;
  width: 24px;
}

/* 景点展示样式 */
.park-attractions {
  margin-top: 40px;
}

.attraction-item {
  margin-bottom: 30px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.attraction-item:hover {
  transform: translateY(-5px);
}

.attraction-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.attraction-item h4 {
  color: #2E7D32;
  font-size: 18px;
  margin: 15px;
  font-weight: bold;
}

.attraction-item p {
  color: #37474F;
  font-size: 14px;
  line-height: 1.6;
  margin: 15px;
}

/* 视频容器样式 */
.park-video-section {
  margin-top: 40px;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 比例 */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background: #fff;
  border: 1px solid #e3f2fd;
}

.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f8e9;
  color: #2E7D32;
  font-size: 18px;
}

/* 生态保护部分样式 */
.conservation-content {
  background: #f1f8e9;
  padding: 30px;
  border-radius: 8px;
  margin-top: 20px;
  position: relative;
  border: 1px solid #c8e6c9;
}

.conservation-content p {
  color: #37474F;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 15px;
  text-align: justify;
}

.eco-tips {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  margin-top: 30px;
  border-left: 4px solid #1565C0;
}

.eco-tips h4 {
  color: #1565C0;
  font-size: 18px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.eco-tips h4 i {
  margin-right: 10px;
}

.eco-tips ul {
  padding-left: 20px;
  list-style-type: none;
}

.eco-tips li {
  color: #37474F;
  margin-bottom: 10px;
  position: relative;
}

.eco-tips li:before {
  content: '•';
  color: #1565C0;
  position: absolute;
  left: -15px;
}

/* 动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 确保每个部分依次显示 */
#foding {
  animation-delay: 0.2s;
}

#yuanyang {
  animation-delay: 0.4s;
}

#conservation {
  animation-delay: 0.6s;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .park-main-title {
    font-size: 28px;
  }

  .park-subtitle {
    font-size: 16px;
  }

  .section-title {
    font-size: 24px;
  }

  .park-content h3 {
    font-size: 20px;
  }

  .park-content p {
    font-size: 14px;
  }

  .park-section {
    padding: 30px 0;
  }

  .park-divider {
    width: 80%;
  }

  .park-features {
    padding: 15px;
  }

  .attraction-item {
    margin-bottom: 20px;
  }

  .attraction-item img {
    height: 150px;
  }
}

/* 打印样式优化 */
@media print {
  .park-container {
    padding: 0;
    background: none;
  }

  .park-section {
    page-break-inside: avoid;
    opacity: 1;
    transform: none;
    animation: none;
  }

  .video-container {
    display: none;
  }

  .park-image-container,
  .park-features,
  .conservation-content,
  .eco-tips {
    box-shadow: none;
    border: 1px solid #000;
  }

  .image-caption {
    background: #fff;
    color: #000;
    border-top: 1px solid #000;
  }
}