/* 重置样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

/* 容器 */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 导航栏 */
.navbar {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  gap: 15px;
}

.company-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-image {
  height: 70px;
  width: auto;
  display: block;
}

.company-name {
  font-size: 1.8rem;
  font-weight: bold;
  color: #007bff;
}

.company-fullname {
  font-size: 0.9rem;
  color: #666;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-menu li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 8px 15px;
  transition: all 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: #007bff;
  font-weight: 600;
  border-bottom: 2px solid #007bff;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 3px 0;
  transition: 0.3s;
}

.hamburger.active span {
  background-color: #007bff;
  height: 3.5px;
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: #007bff;
  color: #fff;
}

.btn-primary:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.btn-secondary {
  background-color: #fff;
  color: #007bff;
  border: 2px solid #007bff;
}

.btn-secondary:hover {
  background-color: #007bff;
  color: #fff;
}

/* 页面横幅 */
.page-hero {
  background-color: #007bff;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.page-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* 章节标题 */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title .line {
  width: 80px;
  height: 3px;
  background-color: #007bff;
  margin: 0 auto;
}

/* 图片占位符 */
.image-placeholder {
  background-color: #e9ecef;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  color: #6c757d;
  min-height: 200px;
}

.image-placeholder span {
  font-size: 4rem;
}

/* 页脚 */
.footer {
  background-color: #343a40;
  color: #fff;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.footer-logo .company-name {
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
}

.footer-logo .company-fullname {
  color: #adb5bd;
  font-size: 0.9rem;
}

.footer-info p {
  color: #adb5bd;
  margin-bottom: 20px;
  line-height: 1.8;
}

.footer-links h3,
.footer-contact h3 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
}

.footer-links ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.footer-contact li {
  margin-bottom: 12px;
  color: #adb5bd;
  position: relative;
  padding-left: 20px;
}

.footer-links a {
  color: #adb5bd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #007bff;
}

.footer-bottom {
  font-size: 14px;
  border-top: 1px solid #495057;
  padding-top: 30px;
  text-align: center;
  color: #adb5bd;
}

.footer-bottom a {
  color: #007bff;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #0056b3;
}
.footer-bottom img {
  width: 14px;
  height: 14px;
  margin-right: 5px;
}
/* 响应式设计 */
@media (max-width: 768px) {
  /* 导航栏 */
  .nav-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    flex-direction: column;
    background-color: #f8f9fa;
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    gap: 0;
    z-index: 1000;
    border-top: 1px solid #e9ecef;
    padding: 10px 0;
  }

  .nav-menu li {
    margin: 8px 0;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 8px;
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .nav-menu li a:hover,
  .nav-menu li a.active {
    color: #007bff;
    font-weight: 600;
  }

  .hamburger {
    display: flex;
  }

  /* 按钮 */
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  /* 页面横幅 */
  .page-hero {
    padding: 60px 0;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .page-hero p {
    font-size: 1rem;
  }

  /* 章节标题 */
  .section-title h2 {
    font-size: 1.8rem;
  }

  /* 页脚 */
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .company-name {
    font-size: 1.5rem;
  }

  .company-fullname {
    font-size: 0.8rem;
  }

  .section-title h2 {
    font-size: 1.6rem;
  }
}

/* 动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}
