:root {
  --primary: #1a2a3a;
  /* 黛蓝 */
  --accent: #9e2a2f;
  /* 朱砂 */
  --gold: #b2935d;
  /* 描金 */
  --text: #444;
  --light: #fdfaf5;
  /* 宣纸色 */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans SC", sans-serif;
  background: var(--light);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.8;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

/* 导航 */
.glass-nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--gold);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

/* Logo 容器 */
.logo {
  display: flex;
  align-items: center; /* 垂直居中 */
  gap: 12px; /* Logo图和文字之间的距离 */
  font-family: "Noto Serif SC", serif;
  font-size: 28px;
  font-weight: 900;
}

/* Logo 图片样式 */
.logo-img {
  height: 45px; /* 稍微比文字高一点，显大气 */
  width: auto;
  object-fit: contain;
  /* 如果是中式风格，可以加一个淡淡的阴影或圆角 */
  border-radius: 4px;
}

.logo-text {
  line-height: 1;
  letter-spacing: 2px;
}

.logo-text span {
  color: var(--accent);
}

/* 移动端 Logo 适配 */
@media (max-width: 768px) {
  .logo-img {
    height: 35px; /* 手机端缩小一点 */
  }
  .logo-text {
    font-size: 22px;
  }
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 40px;
}

.nav-links a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover {
  color: var(--accent);
}

.mobile-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* 轮播图 */
.hero-slider {
  position: relative;
  height: 90vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.hero-text {
  text-align: center;
  color: #fff;
}

.hero-text h1 {
  font-family: "Noto Serif SC";
  font-size: 4rem;
  letter-spacing: 5px;
  margin-bottom: 20px;
}

.btn-main {
  display: inline-block;
  padding: 15px 45px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 2px;
  transition: 0.3s;
}

.btn-main:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* 业务列表 - 交错布局 */
.services {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 80px;
}

.section-title h2 {
  font-family: "Noto Serif SC";
  font-size: 36px;
}

.title-line {
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 20px auto;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 100px;
}

.service-item.reverse {
  flex-direction: row-reverse;
}

.service-img {
  flex: 1;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.service-img img {
  width: 100%;
  transition: 0.5s;
  display: block;
}

.service-item:hover .service-img img {
  transform: scale(1.05);
}

.service-info {
  flex: 1;
}

.category {
  color: var(--gold);
  font-weight: bold;
  letter-spacing: 2px;
  font-size: 14px;
}

.service-info h3 {
  font-family: "Noto Serif SC";
  font-size: 28px;
  margin: 15px 0;
  color: var(--primary);
}

.features {
  list-style: none;
  margin-top: 20px;
  display: flex;
  gap: 20px;
}

.features li {
  background: #eee;
  padding: 5px 15px;
  font-size: 13px;
  border-left: 3px solid var(--accent);
}

.tech-tags {
  margin-top: 25px;
  display: flex;
  gap: 12px;
}

.tech-tags span {
  font-size: 13px;
  padding: 4px 15px;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: rgba(178, 147, 93, 0.05);
  border-radius: 2px;
  position: relative;
}

/* 增强图片边框质感 */
.service-img {
  border: 8px solid #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* 响应式微调 */
@media (max-width: 768px) {
  .service-item,
  .service-item.reverse {
    margin-bottom: 50px;
  }

  .service-info h3 {
    font-size: 24px;
  }
}

/* 页脚 */
.footer {
  background: var(--primary);
  color: #fff;
  padding: 80px 0 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-beian {
  background: #121d28;
  padding: 30px 0;
  text-align: center;
  font-size: 13px;
  color: #888;
}

.footer-beian a {
  color: #888;
  text-decoration: none;
}

/* 响应式手机端 */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .service-item,
  .service-item.reverse {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
  }

  .footer-content {
    flex-direction: column;
    gap: 40px;
  }
}
