:root {
  --primary: #2c6e49;
  --secondary: #4c956c;
  --accent: #d68c45;
  --light: #f8f9fa;
  --dark: #212529;
  --gray: #6c757d;
  --light-gray: #e9ecef;
  --dark-gray: #495057;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  font-family: "Noto Sans SC", sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: #fafafa;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 页面头部 */
/* .page-header {
                 background: linear-gradient(135deg, rgba(44, 110, 73, 0.9) 0%, rgba(76, 149, 108, 0.9) 100%),
                     url('https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
                 padding: 120px 0 80px;
                 text-align: center;
                 color: white;
             } */

.page-header h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-header p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
}

/* 产品分类导航 */
.category-nav {
  background-color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 80px;
  z-index: 999;
}

.category-links {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 15px 0;
}

.category-links li {
  margin: 0 15px;
}

.category-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 30px;
  transition: var(--transition);
}

.category-links a:hover,
.category-links a.active {
  background-color: var(--primary);
  color: white;
}

/* 产品分类 */
.product-category {
  padding: 100px 0;
  background-color: white;
}

.category-header {
  text-align: center;
  margin-bottom: 60px;
}

.category-header h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.category-header h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--accent);
  border-radius: 2px;
}

.category-description {
  max-width: 800px;
  margin: 40px auto 0;
  color: var(--gray);
  font-size: 1.1rem;
  line-height: 1.8;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 40px;
}

.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--light-gray);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
}

.product-image {
  height: 280px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-name {
  font-size: 1.6rem;
  color: var(--secondary);
  margin-bottom: 15px;
  font-weight: 600;
}

.product-description {
  margin-bottom: 20px;
  flex-grow: 1;
  color: var(--dark-gray);
  line-height: 1.8;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.feature-tag {
  background-color: rgba(214, 140, 69, 0.1);
  color: var(--accent);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
}

.product-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 700;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
}

/* 页脚 */
.footer {
  background: linear-gradient(to right, #1a3a27, #2c6e49);
  color: rgba(255, 255, 255, 0.85);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col {
  padding: 20px;
}

.footer-col h3 {
  color: white;
  font-size: 1.4rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--accent);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

.contact-info {
  list-style: none;
}

.contact-info li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.contact-info i {
  margin-right: 12px;
  color: var(--accent);
  font-size: 1.2rem;
  min-width: 24px;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 18px;
  transition: var(--transition);
}

.footer-social a:hover {
  background-color: var(--accent);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2.5rem;
  }

  .page-header p {
    font-size: 1.1rem;
  }

  .nav-links {
    display: none;
  }

  .category-links {
    overflow-x: auto;
    justify-content: flex-start;
    padding: 15px 10px;
    white-space: nowrap;
  }

  .category-links li {
    margin: 0 8px;
  }

  .product-category {
    padding: 60px 0;
  }

  .category-header h2 {
    font-size: 2rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* 案例筛选 */
.case-filter {
  background-color: white;
  padding: 50px 0;
}

.filter-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.filter-title {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 30px;
}

.filter-options {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 25px;
  border: 2px solid var(--light-gray);
  border-radius: 30px;
  background-color: white;
  color: var(--dark);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

.search-box {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.search-box input {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid var(--light-gray);
  border-radius: 50px;
  font-size: 1rem;
  padding-left: 50px;
  transition: var(--transition);
}

.search-box input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(44, 110, 73, 0.2);
}

.search-box i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray);
  font-size: 1.2rem;
}

/* 案例展示 */
.projects-section {
  padding: 80px 0;
  background-color: white;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--accent);
  border-radius: 2px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 40px;
}

.project-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--light-gray);
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
}

.project-image {
  height: 300px;
  overflow: hidden;
  position: relative;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--accent);
  color: white;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 2;
}

.project-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.project-name {
  font-size: 1.6rem;
  color: var(--secondary);
  margin-bottom: 15px;
  font-weight: 600;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.meta-item {
  display: flex;
  align-items: center;
  color: var(--dark-gray);
}

.meta-item i {
  color: var(--accent);
  margin-right: 8px;
  font-size: 1.1rem;
}

.project-description {
  margin-bottom: 25px;
  flex-grow: 1;
  color: var(--dark-gray);
  line-height: 1.8;
}

.project-stats {
  display: flex;
  justify-content: space-between;
  background-color: rgba(214, 140, 69, 0.1);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 25px;
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-value {
  font-size: 1.8rem;
  color: var(--accent);
  font-weight: 700;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--dark-gray);
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  text-align: center;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
}

/* 案例详情弹窗 */
.project-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.project-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: white;
  border-radius: 12px;
  width: 90%;
  max-width: 1000px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 40px;
  transform: translateY(30px);
  transition: transform 0.5s ease;
}

.project-modal.active .modal-content {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.close-modal:hover {
  background-color: var(--primary);
  color: white;
}

.modal-header {
  margin-bottom: 30px;
}

.modal-title {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.modal-subtitle {
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.modal-image {
  height: 450px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 30px;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.modal-description {
  line-height: 1.8;
  color: var(--dark-gray);
  margin-bottom: 30px;
}

.modal-features {
  margin-bottom: 30px;
}

.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.feature-list i {
  color: var(--accent);
  margin-right: 10px;
  margin-top: 5px;
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  height: 200px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.project-testimonial {
  background-color: rgba(44, 110, 73, 0.05);
  border-left: 4px solid var(--accent);
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.8;
  color: var(--dark-gray);
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary);
}

/* 响应式设计 */
@media (max-width: 992px) {
  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }

  .modal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2.5rem;
  }

  .page-header p {
    font-size: 1.1rem;
  }

  .nav-links {
    display: none;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .modal-content {
    padding: 20px;
  }

  .modal-title {
    font-size: 1.8rem;
  }

  .modal-image {
    height: 300px;
  }
}

.mobile-menu-btn {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--dark);
}

/* 下拉菜单样式 */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 5px;
  overflow: hidden;
}

.dropdown-content a {
  color: var(--dark);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: var(--transition);
}

.dropdown-content a:hover {
  background-color: var(--primary);
  color: white;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* 英雄区域样式 */
.hero {
  height: 100vh;
  background: linear-gradient(
    135deg,
    rgba(44, 110, 73, 0.85) 0%,
    rgba(76, 149, 108, 0.85) 100%
  );
  display: flex;
  align-items: center;
  color: white;
  padding-top: 70px;
  position: relative;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 1s ease;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  padding: 14px 35px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1.1rem;
  margin: 0 10px;
}

.btn-primary {
  background-color: var(--accent);
  color: white;
}

.btn-primary:hover {
  background-color: #c77c3a;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background-color: white;
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* 关于区域样式 */
.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--accent);
  border-radius: 2px;
}

.section-title p {
  color: var(--gray);
  max-width: 700px;
  margin: 20px auto 0;
  font-size: 1.1rem;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 1.8rem;
  color: var(--secondary);
  margin-bottom: 20px;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.feature {
  display: flex;
}

.feature-icon {
  font-size: 24px;
  color: var(--accent);
  margin-right: 15px;
  min-width: 40px;
}

.feature-text h4 {
  margin-bottom: 8px;
  color: var(--secondary);
}

/* 产品中心样式 */
.products-section {
  background-color: #f1f5f9;
}

.tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 5px;
  flex-wrap: wrap;
}

.tab-btn {
  background: none;
  border: none;
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gray);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  outline: none;
}

.tab-btn.active {
  color: var(--primary);
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
}

.tab-btn:hover {
  color: var(--primary);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
  height: 250px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-content h3 {
  font-size: 1.4rem;
  color: var(--secondary);
  margin-bottom: 15px;
}

.product-description {
  margin-bottom: 20px;
  flex-grow: 1;
  color: var(--gray);
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.feature-tag {
  background-color: rgba(214, 140, 69, 0.1);
  color: var(--accent);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
}

.product-actions {
  margin-top: auto;
}

.btn-icon {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 30px;
  background-color: var(--accent);
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  width: 100%;
  justify-content: center;
}

.btn-icon i {
  margin-right: 8px;
}

.btn-icon:hover {
  background-color: #c77c3a;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .about-content {
    flex-direction: column;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: white;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    transition: var(--transition);
    z-index: 999;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 0 0 25px 0;
  }

  .tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 5px;
    justify-content: flex-start;
  }

  .tab-btn {
    padding: 12px 20px;
    font-size: 16px;
    white-space: nowrap;
  }
}

.text-content {
  text-indent: 2em;
  /* 首行缩进2个字符 */
  line-height: 1.6;
  /* 行高，使文本更易读 */
  margin-bottom: 1em;
  /* 段落间距 */
  color: #555;
  text-align: justify;
  /* 两端对齐，使文本看起来更整齐 */
}

/* 产品详情区域 */
.product-detail {
  padding: 60px 0;
}

.product-container {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.product-gallery {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 15px;
}

.product-info {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 15px;
}

.main-image {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}

.main-image img {
  width: 100%;
  display: block;
}

.thumbnails {
  display: flex;
  gap: 15px;
}

.thumbnail {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.thumbnail.active,
.thumbnail:hover {
  border-color: #2c6e49;
}

.thumbnail img {
  width: 100%;
  display: block;
}

.product-name {
  font-size: 32px;
  font-weight: 700;
  color: #2c6e49;
  margin-bottom: 15px;
}

.product-price {
  font-size: 28px;
  color: #e74c3c;
  font-weight: 700;
  margin-bottom: 20px;
}

.product-description {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 25px;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.feature-tag {
  background-color: #e8f4ea;
  color: #2c6e49;
  padding: 6px 15px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
}

.specifications {
  background-color: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.spec-title {
  font-size: 20px;
  font-weight: 600;
  color: #2c6e49;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table tr {
  border-bottom: 1px solid #f0f0f0;
}

.spec-table td {
  padding: 12px 5px;
}

.spec-table td:first-child {
  font-weight: 500;
  color: #555;
  width: 35%;
}

.spec-table td:last-child {
  color: #777;
}

.btn-group {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  border: none;
}

.btn-primary {
  background-color: #2c6e49;
  color: white;
  flex: 1;
}

.btn-primary:hover {
  background-color: #23573b;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(44, 110, 73, 0.3);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid #2c6e49;
  color: #2c6e49;
  flex: 1;
}

.btn-outline:hover {
  background-color: #f0f7f3;
  transform: translateY(-2px);
}

/* 产品详情内容 */
.product-content {
  margin: 60px 0;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: #2c6e49;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: #2c6e49;
  border-radius: 3px;
}

.content-box {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
  line-height: 1.8;
}

.content-box p {
  margin-bottom: 20px;
  color: #555;
}

.content-box ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.content-box li {
  margin-bottom: 10px;
  color: #555;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.scene-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.scene-image img {
  width: 100%;
  display: block;
}

/* 相关产品 */
.related-products {
  margin: 60px 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-card-image {
  height: 200px;
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

.product-card-content {
  padding: 20px;
}

.product-card-name {
  font-size: 18px;
  font-weight: 600;
  color: #2c6e49;
  margin-bottom: 10px;
}

.product-card-price {
  font-size: 20px;
  color: #e74c3c;
  font-weight: 700;
  margin-bottom: 15px;
}

.product-card-btn {
  display: block;
  background-color: #2c6e49;
  color: white;
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  font-weight: 500;
  transition: background-color 0.3s;
}

.product-card-btn:hover {
  background-color: #23573b;
}

/* 手机产品详情样式 */

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #2c6e49;
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.back-to-top:hover {
  background-color: #1e4a32;
  transform: translateY(-5px);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* 响应式设计 */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .product-container {
    flex-direction: column;
  }

  .product-gallery,
  .product-info {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .product-gallery {
    margin-bottom: 40px;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: transform 0.4s ease;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-links li {
    margin: 10px 0;
  }

  .mobile-menu-btn {
    display: block;
  }

  .image-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .btn-group {
    flex-direction: column;
  }

  .page-header h1 {
    font-size: 32px;
  }
}
