/* 头部样式 */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid #efefef;
  background-color: #fff;
  height: 80px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#header .header-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
}

#header .header-box .logo-box {
  display: flex;
  align-items: center;
  gap: 16px;
}

#header .header-box .logo-box .logo {
  border-radius: 8px;
  width: 60px;
  height: 60px;
  object-fit: cover;
}

#header .header-box .logo-box .title {
  font-size: 28px;
  font-weight: 600;
  color: #000;
}

/* 导航菜单 */
#header .header-box nav {
  display: flex;
}

#header .header-box .menu-list {
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 0;
  padding: 0;
}

#header .header-box .menu-list .each-menu a {
  font-size: 18px;
  font-weight: 500;
  color: #333;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

#header .header-box .menu-list .each-menu a:hover {
  color: #fe304c;
  background-color: #f8f9fa;
}

#header .header-box .menu-list .active-menu a {
  color: #fe304c;
  background-color: #fff5f5;
}

/* 主内容区域间距 */
main {
  padding-top: 80px;
  min-height: calc(100vh - 200px);
}

/* 页脚样式 */
#footer {
  background: #222;
  color: #fff;
  padding: 40px 0 20px;
}

#footer .footer-box {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

#footer .footer-box .logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
}

#footer .footer-box .logo-box .logo {
  border-radius: 8px;
  width: 60px;
  height: 60px;
}

#footer .footer-box .logo-box .title {
  font-size: 24px;
  font-weight: 600;
}

#footer .footer-box .contact {
  text-align: center;
  margin-bottom: 30px;
}

#footer .footer-box .contact h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #fff;
}

#footer .footer-box .contact .contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#footer .footer-box .contact .way {
  font-size: 16px;
  color: #ccc;
}

#footer .footer-box .bottom {
  border-top: 1px solid #444;
  padding-top: 20px;
  text-align: center;
}

#footer .footer-box .bottom .each {
  margin-bottom: 8px;
  font-size: 14px;
  color: #999;
}

#footer .footer-box .bottom .each .police {
  display: inline-block;
  margin-right: 8px;
  width: 14px;
  height: 14px;
  vertical-align: middle;
}

#footer .footer-box .bottom .each a {
  color: #999;
  transition: color 0.3s ease;
}

#footer .footer-box .bottom .each a:hover {
  color: #fe304c;
}

/* 响应式设计 */
@media (max-width: 768px) {
  #header {
    height: 60px;
  }

  #header .header-box {
    padding: 0 15px;
  }

  #header .header-box .logo-box .title {
    font-size: 22px;
  }

  #header .header-box .menu-list {
    gap: 20px;
  }

  #header .header-box .menu-list .each-menu a {
    font-size: 16px;
    padding: 6px 12px;
  }

  main {
    padding-top: 60px;
  }

  #footer {
    padding: 30px 0 15px;
  }

  #footer .footer-box {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  #header .header-box {
    flex-direction: column;
    height: auto;
    padding: 10px 15px;
  }

  #header .header-box .menu-list {
    margin-top: 10px;
    gap: 15px;
  }

  main {
    padding-top: 100px;
  }
}