/* 全局样式 */
:root {
  --primary-color: #8B4513; /* 棕色 - 代表家族、传承 */
  --secondary-color: #DAA520; /* 金色 - 代表珍贵、历史 */
  --light-color: #f8f5f0; /* 温暖的米色 */
  --dark-color: #333333;
  --border-color: #e0d9c8;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark-color);
  background-color: #ffffff;
  line-height: 1.6;
}

/* 导航栏样式 */
.navbar {
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: bold;
}

.text-brown {
  color: var(--primary-color);
}

.nav-link {
  color: var(--dark-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link.active {
  color: var(--primary-color);
  font-weight: 600;
}

/* Hero区域样式 */
.hero {
  background-color: var(--light-color);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.hero h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #555;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 按钮样式 */
.btn-primary {
  background-color: var(--primary-color);
  border: none;
  padding: 0.8rem 2rem;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #6b340f;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(139, 69, 19, 0.3);
}

/* 通用部分样式 */
.section-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
}

/* 服务卡片样式 */
.services {
  padding: 5rem 0;
  background-color: #ffffff;
}

.service-card {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-icon {
  width: 80px;
  height: 80px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* 功能展示样式 */
.features {
  padding: 5rem 0;
  background-color: var(--light-color);
}

.feature-item {
  display: flex;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 1.5rem;
  flex-shrink: 0;
  font-size: 1.5rem;
}

.feature-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.feature-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.img-fluid {
  width: 100%;
  height: auto;
}

/* 产品展示样式 */
.product {
  padding: 5rem 0;
  background-color: #ffffff;
}

.qrcode-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  width: 100%;
  /* background-color: var(--light-color); */
  /* border-radius: 8px; */
  /* border: 1px solid var(--border-color); */
}

.qrcode {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 1rem;
}

.qrcode_kf {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 1rem;
}

.qrcode-container p {
  font-weight: 500;
  color: var(--primary-color);
}

/* 行动召唤样式 */
.cta {
  padding: 5rem 0;
  background-color: var(--primary-color);
  color: white;
  text-align: center;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta .btn-primary {
  background-color: white;
  color: var(--primary-color);
}

.cta .btn-primary:hover {
  background-color: var(--light-color);
}

/* 页脚样式 */
.footer {
  background-color: var(--dark-color);
  color: white;
  padding: 3rem 0 1rem;
}

.footer h3 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.footer h4 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer ul li a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer ul li a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-bottom a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
}

/* 页面标题样式 */
.page-header {
  background-color: var(--light-color);
  padding: 3rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1.1rem;
  color: #555;
}

/* 服务详情样式 */
.services-content {
  padding: 4rem 0;
}

.service-detail {
  margin-bottom: 4rem;
}

.service-detail h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.service-detail ul {
  list-style: none;
  padding: 0;
}

.service-detail ul li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
}

.service-detail ul li i {
  color: var(--secondary-color);
  margin-right: 0.8rem;
}

/* 功能详情样式 */
.features-content {
  padding: 4rem 0;
}

.feature-detail {
  margin-bottom: 4rem;
}

.feature-detail h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.feature-detail ul {
  list-style: none;
  padding: 0;
}

.feature-detail ul li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
}

.feature-detail ul li i {
  color: var(--secondary-color);
  margin-right: 0.8rem;
}

/* 关于我们样式 */
.about-content {
  padding: 4rem 0;
}

.company-intro {
  margin-bottom: 4rem;
}

.company-intro h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.company-mission {
  margin-bottom: 4rem;
  padding: 2rem;
  background-color: var(--light-color);
  border-radius: 8px;
  text-align: center;
}

.company-mission h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.company-mission p {
  font-size: 1.2rem;
  font-weight: 500;
}

.company-values {
  margin-bottom: 4rem;
}

.company-values h2 {
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-align: center;
}

.value-item {
  text-align: center;
  padding: 2rem;
  background-color: var(--light-color);
  border-radius: 8px;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.value-icon {
  width: 80px;
  height: 80px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}

.value-item h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.company-history {
  margin-bottom: 2rem;
}

.company-history h2 {
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-align: center;
}

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--primary-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-date {
  position: absolute;
  left: -2rem;
  top: 0;
  width: 1.5rem;
  height: 1.5rem;
  background-color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
  font-weight: bold;
  color: white;
}

.timeline-content {
  background-color: var(--light-color);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
}

.timeline-content h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

/* 联系我们样式 */
.contact-content {
  padding: 4rem 0;
}

.contact-info h2 {
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 1.5rem;
  flex-shrink: 0;
  font-size: 1.5rem;
}

.contact-details {
  text-align: center;
}

.contact-details h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.wechat-qrcode {
  text-align: center;
}

.wechat-qrcode h2 {
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-align: center;
}

.wechat-public {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.wechat-public h2 {
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-align: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .hero {
    padding: 4rem 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero h2 {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .services,
  .features,
  .product,
  .cta {
    padding: 3rem 0;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  .feature-item {
    flex-direction: column;
    text-align: center;
  }
  
  .feature-icon {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .page-header {
    padding: 2rem 0;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
  
  .services-content,
  .features-content,
  .about-content,
  .contact-content {
    padding: 3rem 0;
  }
  
  .service-detail,
  .feature-detail {
    margin-bottom: 3rem;
  }
  
  .contact-item {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-icon {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .wechat-qrcode,
  .wechat-public {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .qrcode-container {
    width: 100%;
    max-width: 300px;
  }
  
  .qrcode {
    width: 100%;
    max-width: 200px;
    height: auto;
  }
  
  .qrcode_kf {
    width: 100%;
    max-width: 200px;
    height: auto;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero h2 {
    font-size: 1.3rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .wechat-qrcode,
  .wechat-public {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .qrcode-container {
    width: 100%;
    max-width: 400px;
  }
  
  .qrcode {
    width: 100%;
    max-width: 350px;
    height: auto;
  }
  
  .qrcode_kf {
    width: 100%;
    max-width: 350px;
    height: auto;
  }
  
  .footer h3 {
    margin-top: 2rem;
  }
}