/* 全局重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft Yahei", sans-serif;
}

/* 容器 */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* 导航栏 */
.navbar {
  background: #1a5fb4;
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  /* 临时背景色，实际使用时替换为logo图片 */
  background: #fff;
  border-radius: 4px;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 1rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #2ab6b6;
}

/* 响应式导航 */
@media (max-width: 768px) {
  .navbar .container {
    flex-direction: column;
  }
  .nav-links {
    margin-top: 1rem;
  }
  .nav-links a {
    margin: 0 0.5rem;
  }
}

/* 首页Banner */
.hero {
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url("../images/hero-bg.png");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 8rem 0;
  text-align: center;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
}

/* 通用区块样式 */
section {
  padding: 2rem 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #2c3e50;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #2ab6b6;
  margin: 0.5rem auto;
}

/* 公司介绍 */
.about {
  background: #f9f9f9;
}

.about-content {
  line-height: 1.8;
  font-size: 1.1rem;
  color: #333;
}

.about-content p {
  margin-bottom: 1rem;
}

/* 公司业务 */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.service-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.service-item:hover {
  transform: translateY(-5px);
}

.service-item i {
  font-size: 2.5rem;
  color: #1a5fb4;
  margin-bottom: 1rem;
}

.service-item h3 {
  color: #666666;
  font-size: 1.1rem;
}

/* 手机端优化 */
@media (max-width: 768px) {
  .services-grid {
    /* 减小最小宽度，使一行能显示更多模块 */
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    /* 减小模块之间的间隔 */
    gap: 1rem;
  }
  
  .service-item {
    /* 减小模块内部 padding */
    padding: 1.5rem 0.5rem;
  }
  
  .service-item i {
    /* 适当减小图标大小 */
    font-size: 2rem;
    /* 减小图标与标题之间的间隔 */
    margin-bottom: 0.5rem;
    /* 保持深蓝色 */
    color: #1a5fb4;
  }
  
  .service-item h3 {
    /* 适当减小标题字体大小 */
    font-size: 1rem;
  }
}

/* 宣传视频 */
.video-section {
  background: #f9f9f9;
}

.video-wrapper {
  text-align: center;
}

.video-wrapper video {
  width: 100%;
  max-width: 800px;
  border-radius: 8px;
}

/* 核心团队 */
.team-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, .1);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  max-width: 800px;
  margin: 0 auto;
}

.team-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-right: 2rem;
  object-fit: cover;
}

.team-info h3 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.team-info p {
  line-height: 1.6;
  color: #555;
}

@media (max-width: 768px) {
  .team-card {
    flex-direction: column;
    text-align: center;
  }
  .team-card img {
    margin: 0 0 1rem 0;
  }
}

/* 企业相册 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* 联系我们 */
.contact {
  background: #f9f9f9;
}

.contact-info {
  line-height: 2;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* PC端一行两列布局 */
@media (min-width: 769px) {
  .contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    text-align: left;
  }
  
  .contact-info p {
    margin-bottom: 0;
  }
}

/* 页脚 */
.footer {
  background: #1a5fb4;
  color: white;
  padding: 2rem 0;
  text-align: center;
}

#icpInfo {
  color: #fff;
    text-decoration: none;
}