/* 首页特有的导航栏样式 */
.header {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  transition: background 0.3s ease;
  box-shadow: none;
}

/* 滚动后的导航栏样式 */
.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 英雄区域 */
.hero {
  height: 100vh;
  min-height: 600px;
  background: url(/newweb/image/banner.png) center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 7.5rem);
  font-weight: 700;
  color: #607f56;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  color: rgba(96, 127, 86, 0.89);
  margin-bottom: 30px;
}

/* 特色服务 */
.features {
  padding: 80px 0;
  background-color: #f9fafb;
}

.features-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.feature-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-content {
  padding: 20px 0;
}

.feature-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 15px;
}

.feature-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 20px;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  color: #567b5c;
  font-weight: 500;
  text-decoration: none;
  gap: 8px;
  transition: color 0.3s;
}

.feature-link:hover {
  color: #456349;
}

.feature-image {
  width: 100%;
  height: 350px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}

/* 第二个特色服务项（图片在左边） */
.feature-item:nth-child(2) .feature-image {
  order: 1;
}

.feature-item:nth-child(2) .feature-content {
  order: 2;
}

/* 新闻资讯 */
.news {
  padding: 80px 0;
  background-color: #f9fafb;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.news-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

.news-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
}

.news-content {
  padding: 24px;
}

.news-date {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 10px;
}

.news-title {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 15px;
  line-height: 1.4;
}

.news-excerpt {
  font-size: 16px;
  line-height: 1.5;
  color: #4b5563;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-link {
  display: inline-flex;
  align-items: center;
  color: #567b5c;
  font-weight: 500;
  text-decoration: none;
  gap: 8px;
  transition: color 0.3s;
}

.news-link:hover {
  color: #456349;
}

/* 关于我们 */
.about {
  padding: 80px 0;
  background-color: #f9fafb;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 25px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 20px;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin: 40px 0;
  padding: 30px 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-number {
  font-size: 42px;
  font-weight: 700;
  color: #567b5c;
  margin-bottom: 8px;
  display: block;
}

.stat-label {
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}

.about-link {
  display: inline-flex;
  align-items: center;
  color: #567b5c;
  font-weight: 600;
  text-decoration: none;
  gap: 8px;
  transition: color 0.3s;
  margin-top: 30px;
  font-size: 16px;
}

.about-link:hover {
  color: #456349;
}

.about-image {
  flex: 1;
  height: 450px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 联系我们 */
.contact {
  padding: 80px 0;
  background-color: white;
}

.contact-content {
  display: flex;
  gap: 80px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  flex: 1;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 35px;
  padding-bottom: 25px;
  border-bottom: 1px solid #f3f4f6;
}

.contact-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.contact-icon {
  font-size: 28px;
  margin-top: 5px;
  min-width: 40px;
  color: #567b5c;
}

.contact-details h4 {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 12px;
}

.contact-details p {
  font-size: 16px;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 8px;
}

.contact-details p:last-child {
  margin-bottom: 0;
}

.contact-form {
  flex: 1;
  background: #f9fafb;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 30px;
  text-align: center;
}

.form-group {
  margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 18px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s;
  box-sizing: border-box;
  background-color: white;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #567b5c;
  box-shadow: 0 0 0 3px rgba(86, 123, 92, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.submit-btn {
  width: 100%;
  background-color: #567b5c;
  color: white;
  border: none;
  padding: 18px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #456349;
}

/* 大屏幕优化 */
@media screen and (min-width: 1441px) {
  .features-container,
  .news-grid,
  .about-content,
  .contact-content {
    max-width: 1200px;
  }
}

/* 平板设备适配 */
@media screen and (max-width: 1024px) and (min-width: 769px) {
  .features-container,
  .news-grid,
  .about-content,
  .contact-content {
    max-width: 900px;
  }
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
  .hero {
    height: 80vh;
    min-height: 500px;
  }
  
  .hero-title {
    font-size: clamp(2rem, 10vw, 4rem);
  }
  
  .hero-subtitle {
    font-size: clamp(1rem, 5vw, 1.5rem);
  }
  
  .features,
  .news,
  .about,
  .contact {
    padding: 60px 0;
  }
  
  .features-container {
    gap: 40px;
  }
  
  .feature-item {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .feature-image {
    height: 200px;
  }
  
  .feature-item:nth-child(2) .feature-image {
    order: 1;
  }
  
  .feature-item:nth-child(2) .feature-content {
    order: 0;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .about-content {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }
  
  .about-stats {
    flex-direction: column;
    gap: 20px;
    border: none;
    padding: 20px 0;
  }
  
  .about-image {
    height: 300px;
  }
  
  .contact-content {
    flex-direction: column;
    gap: 40px;
  }
  
  .contact-form {
    padding: 20px;
  }
}

@media screen and (max-width: 480px) {
  .hero {
    height: 70vh;
    min-height: 400px;
  }
  
  .features,
  .news,
  .about,
  .contact {
    padding: 40px 0;
  }
  
  .features-container {
    gap: 30px;
  }
  
  .feature-image {
    height: 180px;
  }
  
  .news-image {
    height: 150px;
  }
  
  .news-content {
    padding: 20px;
  }
  
  .about-image {
    height: 200px;
  }
  
  .about-stats {
    flex-direction: column;
    gap: 15px;
    border: none;
    padding: 15px 0;
  }
  
  .stat-number {
    font-size: 32px;
  }
  
  .contact-form {
    padding: 25px;
  }
  
  .contact-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
  }
  
  .contact-icon {
    font-size: 24px;
    min-width: 35px;
  }
  
  .contact-details h4 {
    font-size: 18px;
  }
} 