/* 关于我们页面专用样式 */

/* 关于页面主横幅调整 */
.about-hero {
  min-height: 60vh;
  padding: 120px 0 60px;
}

.about-hero .hero-content {
  display: block;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  background-image: url("../images/cq.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-attachment: local;
  padding: 40px 20px;
}

.about-hero .hero-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  text-shadow: 2px 2px 6px rgba(255, 255, 255, 1),
    0 0 15px rgba(255, 255, 255, 0.9), -2px -2px 6px rgba(255, 255, 255, 0.8);
}

.about-hero .hero-text p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  color: #2c3e50;
  text-shadow: 1px 1px 4px rgba(255, 255, 255, 1),
    0 0 12px rgba(255, 255, 255, 0.8), -1px -1px 4px rgba(255, 255, 255, 0.7);
}

/* 公司介绍区样式 */
.company-intro {
  padding: 80px 0;
  background: #fff;
}

.intro-content {
  max-width: 900px;
  margin: 0 auto;
}

.company-header {
  text-align: center;
  margin-bottom: 50px;
}

.company-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.company-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #ff6b6b, #ff8e8e);
  border-radius: 2px;
}

.intro-text {
  line-height: 1.8;
  font-size: 1.1rem;
  color: #555;
}

.intro-text p {
  margin-bottom: 25px;
  text-align: justify;
  text-indent: 2em;
}

.intro-text p:last-child {
  margin-bottom: 0;
}

/* 公司特色区样式 */
.company-features {
  padding: 80px 0;
  background: #f8f9fa;
}

.company-features h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 107, 107, 0.3);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.feature-icon i {
  font-size: 2rem;
  color: white;
}

.feature-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 15px;
}

.feature-card p {
  color: #7f8c8d;
  line-height: 1.6;
  font-size: 1rem;
}

/* 营业执照区样式 */
.business-license {
  padding: 80px 0;
  background: #fff;
}

.business-license h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 50px;
}

.license-wrapper {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.license-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 3px solid #f0f0f0;
}

.license-image:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 107, 107, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .about-hero .hero-text h1 {
    font-size: 2.5rem;
  }

  .about-hero .hero-text p {
    font-size: 1rem;
  }

  .company-header h2 {
    font-size: 2rem;
  }

  .company-features h2,
  .business-license h2 {
    font-size: 2rem;
  }

  .intro-text {
    font-size: 1rem;
  }

  .intro-text p {
    text-indent: 1.5em;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }

  .feature-card {
    padding: 30px 25px;
  }

  .feature-icon {
    width: 70px;
    height: 70px;
  }

  .feature-icon i {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .about-hero {
    padding: 100px 0 40px;
  }

  .about-hero .hero-text h1 {
    font-size: 2rem;
  }

  .company-intro,
  .company-features,
  .business-license {
    padding: 60px 0;
  }

  .company-header h2 {
    font-size: 1.8rem;
  }

  .company-features h2,
  .business-license h2 {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }

  .intro-content {
    padding: 0 10px;
  }

  .intro-text p {
    text-indent: 1em;
    margin-bottom: 20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-card {
    padding: 25px 20px;
  }

  .license-wrapper {
    padding: 0 10px;
  }
}

/* 加载动画 */
.feature-card {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 为不同的特色卡片添加延迟动画 */
.feature-card:nth-child(1) {
  animation-delay: 0.1s;
}
.feature-card:nth-child(2) {
  animation-delay: 0.2s;
}
.feature-card:nth-child(3) {
  animation-delay: 0.3s;
}
.feature-card:nth-child(4) {
  animation-delay: 0.4s;
}

/* 营业执照图片加载动画 */
.license-image {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards 0.3s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
