/* 全局样式 */
:root {
  --primary-color: #1976d2;
  --secondary-color: #2196f3;
  --accent-color: #03a9f4;
  --dark-color: #0d47a1;
  --light-color: #e3f2fd;
  --text-color: #333;
  --light-text: #fff;
  --gray-text: #666;
  --light-gray: #f5f5f5;
  --border-color: #ddd;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Microsoft YaHei', 'SimHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--dark-color);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 50px;
  text-align: center;
  position: relative;
}

.section-title:after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  margin: 15px auto 0;
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--primary-color);
  color: var(--light-text);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: var(--transition);
  text-align: center;
}

.btn:hover {
  background: var(--dark-color);
  color: var(--light-text);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--light-text);
}

/* 导航栏样式 */
.header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
  margin-right: 10px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
}

.menu {
  display: flex;
  list-style: none;
}

.menu li {
  margin-left: 30px;
}

.menu li a {
  font-size: 16px;
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  text-decoration: none;
}

.menu li a:hover, .menu li.active a {
  color: var(--primary-color);
}

.menu li a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  bottom: -5px;
  left: 0;
  transition: var(--transition);
}

.menu li a:hover:after, .menu li.active a:after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  margin-bottom: 5px;
  border-radius: 2px;
}

.nav-links {
  display: flex;
}

.nav-item {
  margin-left: 30px;
}

.nav-link {
  font-size: 16px;
  color: var(--text-color);
  font-weight: 500;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color);
}

.nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  bottom: -5px;
  left: 0;
  transition: var(--transition);
}

.nav-link:hover:after, .nav-link.active:after {
  width: 100%;
}

/* 首页轮播图 */
.hero-slider {
  height: 600px;
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}

.slide {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
}

.slide-content {
  max-width: 600px;
  padding: 0 20px;
  color: var(--light-text);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.slide-title {
  font-size: 3rem;
  margin-bottom: 20px;
}

.slide-text {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.slider-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 8px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.slider-dot.active {
  background: var(--light-text);
}

/* 公司介绍部分 */
.about-section {
  background-color: var(--light-gray);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-title {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.about-description {
  margin-bottom: 30px;
  color: var(--gray-text);
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

/* 产品服务部分 */
.services-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 20px;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.service-description {
  color: var(--gray-text);
  margin-bottom: 20px;
}

/* 团队介绍部分 */
.team-section {
  background-color: var(--light-gray);
}

.team-info {
  margin-bottom: 40px;
  text-align: center;
}

.team-description {
  max-width: 800px;
  margin: 0 auto;
  color: var(--gray-text);
}

/* 招聘部分 */
.job-card {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  margin-bottom: 30px;
}

.job-title {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.job-details {
  color: var(--gray-text);
  margin-bottom: 20px;
}

/* 联系我们部分 */
.contact-section {
  background: url('../images/contact-bg.jpg') no-repeat center center/cover;
  position: relative;
  color: var(--light-text);
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

.contact-container {
  position: relative;
  z-index: 1;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-icon {
  font-size: 24px;
  margin-right: 15px;
  color: var(--accent-color);
}

.contact-text h3 {
  margin-bottom: 5px;
}

/* 页脚样式 */
.footer {
  background-color: #333;
  color: var(--light-text);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-about {
  color: #bbb;
  margin-bottom: 20px;
}

.footer-title {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-title:after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: var(--accent-color);
  margin-top: 10px;
}

.footer-links a {
  display: block;
  color: #bbb;
  margin-bottom: 10px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #bbb;
}

/* 响应式设计 */
@media screen and (max-width: 992px) {
  .about-content {
    flex-direction: column;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .slide-title {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 768px) {
  .navbar {
    flex-direction: column;
  }
  
  .nav-links {
    margin-top: 20px;
  }
  
  .nav-item {
    margin: 0 15px;
  }
  
  .header-content {
    position: relative;
  }
  
  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  .menu.active {
    display: flex;
  }
  
  .menu li {
    margin: 10px 0;
    text-align: center;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .hero-slider {
    height: 450px;
  }
  
  .slide-title {
    font-size: 2rem;
  }
  
  .section {
    padding: 60px 0;
  }
}

@media screen and (max-width: 576px) {
  .section-title {
    font-size: 1.8rem;
  }
  
  .hero-slider {
    height: 350px;
  }
  
  .slide-title {
    font-size: 1.8rem;
  }
  
  .slide-text {
    font-size: 1rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* 图标盒子样式 */
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-right: 15px;
  color: var(--primary-color);
}

.icon-box svg {
  width: 24px;
  height: 24px;
}

.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--light-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon i {
  color: var(--primary-color);
  line-height: 1;
}

.icon {
  display: inline-block;
  font-family: "iconfont" !important;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 全局亮色主题下的logo样式 */
.header-logo img {
  height: 50px;
  transition: all 0.3s ease;
}

.sticky .header-logo img {
  height: 40px;
} 