:root {
  --primary-color: #0066cc;
  --secondary-color: #003366;
  --accent-color: #00aaff;
  --light-color: #f5f9ff;
  --dark-color: #333;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", Arial, sans-serif;
}

body {
  color: #333;
  line-height: 1.6;
  background-color: #fff;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 导航栏样式 */
header {
  background-color: white;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo h1 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-left: 10px;
}
.logo img {
  width: 54px;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary-color);
}

/* 英雄区域样式 */
.hero {
  /* background: linear-gradient(
          135deg,
          var(--primary-color),
          var(--secondary-color)
        );
        color: white;
        padding: 80px 0;
        text-align: center;
        background: url('./pic1.jpg') no-repeat center center/cover; */

  padding: 80px 0;
  text-align: center;
  background: url("./pic1.jpg") no-repeat center center/cover;
  color: white;
  position: relative;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 30px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  animation: fadeIn 1s ease;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  animation: fadeIn 1.5s ease;
}

.btn {
  display: inline-block;
  background-color: #326cb5;
  color: white;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}
.btn:hover {
  background-color: #326cb5;
}
.more-info {
  text-align: center;
  margin-top: 40px;
}
.get-more {
  margin-top: 20px;
}
/* 关于我们样式 */
.about {
  padding: 80px 0;
  background-color: var(--light-color);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-image img {
  width: 580px;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

.about-text {
  flex: 1;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  color: var(--secondary-color);
}

.section-title h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.section-title p {
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

.mission-vision {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  flex-wrap: wrap;
}

.mission,
.vision,
.position {
  flex: 1;
  min-width: 300px;
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin: 15px;
}

/* 优势部分样式 */
.advantages {
  padding: 80px 0;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.advantage-card {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s;
}

.advantage-card:hover {
  transform: translateY(-5px);
}

.advantage-card h3 {
  color: var(--primary-color);
  margin: 20px 0;
}

/* 服务部分样式 */
.services {
  padding: 80px 0;
  background-color: var(--light-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-card h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.service-card ul {
  list-style-position: inside;
  margin-top: 15px;
}

.service-card li {
  margin-bottom: 10px;
}

/* 代理产品部分样式 */
.agent-products {
  padding: 80px 0;
  background: white;
}

.agent-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.agent-product-card {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.agent-product-card h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.agent-product-card ul {
  list-style-position: inside;
  margin-top: 15px;
}

.agent-product-card li {
  margin-bottom: 10px;
}

/* 产品部分样式 */
.products {
  padding: 80px 0;
  background-color: var(--light-color);
}

.product-card {
  display: flex;
  align-items: center;
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-top: 40px;
}

.product-info {
  flex: 2;
}

.product-image {
  flex: 1;
  text-align: center;
  font-size: 5rem;
}

/* 联系我们样式 */
.contact-us {
  padding: 80px 0;
  background-color: white;
}

/* 页脚样式 */
footer {
  background-color: var(--secondary-color);
  color: white;
  padding: 50px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  margin-bottom: 30px;
  padding: 20px;
}

.footer-section h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .mission,
  .vision,
  .position {
    min-width: 100%;
    margin: 15px 0;
  }

  .product-card {
    flex-direction: column;
  }

  .product-image {
    margin-top: 30px;
  }

  /* .about-image img {
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
  } */

  /* .section-title > div {
    flex-direction: column;
    gap: 20px;
  } */

  .about-content {
    flex-direction: column;
    gap: 20px;
  }

  .about-image img {
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
  }
}
