/* 重置和基础 */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  color: #333;
  background: #fff;
}

/* 菜单栏 */
.navbar {
  background-color: #b52222; /* 灰色 */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 60px;
  color: white;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo {
  height: 40px;
  width: auto;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;   /* 去掉下划线 */
  color: white;
  line-height: 1;          /* 取消多余行高 */
  padding: 0;              /* 取消多余内边距 */
  margin: 0;               /* 取消多余外边距 */
}

.brand-name {
  font-weight: bold;
  font-size: 1.3rem;
  user-select: none;
}

/* 菜单项 */
.navbar-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.navbar-menu li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.navbar-menu li a:hover {
  color: #00AEEF; /* 高亮蓝色 */
}

/* 菜单栏中的按钮 */
.menu {
  display: flex;
  justify-content: center; /* 水平居中 */
  align-items: center; /* 垂直居中 */
  height: 25px; /* 可以根据实际需要调整菜单栏的高度 */
}

    /* 菜单栏的文本 */
.menu span {
  font-size: 1.2rem; /* 菜单栏文字大小 */
  color: #333; /* 文字颜色 */
  margin-right: 20px; /* 如果有多个项目的话可以增加间隔 */
}

/* 按钮样式保持一致 */
/* 按钮样式保持一致 */
#quote-btn {
  margin: 0;
  padding: 12px 36px;
  font-size: 1.15rem;
  font-weight: 700;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  border-radius: 30px;
  background-color: #00AEFF;
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(0, 174, 239, 0.6);
  transition: all 0.25s ease;
}
    
#quote-btn:hover {
  background-color: #0085CC;
  box-shadow: 0 8px 14px rgba(0, 133, 204, 0.8);
}
    
.btn-solid {
  background-color: #00AEFF;
  color: white;
  box-shadow: 0 6px 12px rgba(0, 174, 239, 0.6);
}

.btn-solid:hover {
  background-color: #0085CC;
  box-shadow: 0 8px 14px rgba(0, 133, 204, 0.8);
}

/* 半透明蓝色按钮 */
.btn-transparent {
  background-color: rgba(0, 174, 239, 0.35);
  color: #00AEFF;
  border: 2.5px solid rgba(0, 174, 239, 0.7);
}

.btn-transparent:hover {
  background-color: rgba(0, 174, 239, 0.7);
  color: white;
  border-color: #00AEFF;
}

/* 实色蓝色按钮 */
.btn-solid {
  background-color: #00AEFF;
  color: white;
  box-shadow: 0 6px 12px rgba(0, 174, 239, 0.6);
}

.btn-solid:hover {
  background-color: #0085CC;
  box-shadow: 0 8px 14px rgba(0, 133, 204, 0.8);
}

/* 弹窗蒙层 */
.overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 2000;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* 弹窗 */
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: white;
  padding: 30px 35px;
  box-shadow: 0 8px 30px rgb(0 0 0 / 0.12);
  border-radius: 16px;
  width: 320px;
  max-width: 90vw;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 2100;
  user-select: none;
}

.modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

/* 弹窗头部 */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-header h2 {
  margin: 0;
  font-weight: 700;
  font-size: 1.3rem;
  color: #0078d4;
  user-select: text;
}

/* 关闭叉按钮 */
.modal-close {
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  color: #666;
  border: none;
  background: none;
  padding: 0;
  user-select: none;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #0078d4;
}


/* Hero大图 */
header.hero {
  background: url('images/c1.png') center/cover no-repeat;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 0 1rem;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

.hero-text p {
  font-size: 1.5rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* 产品区 */
.product-section {
  background: url('images/background1.png') center/cover no-repeat;
  padding: 80px 0;
  text-align: center;
}

.about p:first-of-type {
  margin-top: 40px; /* 上面间隔 */
  margin-bottom: 45px; /* 下面间隔，推开下面的文字 */
}

.quality-title {
  color: #00AEEF;
  font-weight: 600;
  font-size: 2rem;
  position: relative;
  top: -35px;         /* 往上移动10px，数值你可以调 */
  margin-bottom: 60px;
  margin-bottom: 60px;
  padding-bottom: 0;
  background-color: transparent;
  text-align: center;

  border: none; /* 去掉边框 */
  text-decoration: none; /* 去掉文本下划线 */
  box-shadow: none; /* 万一是阴影产生的线，也干掉 */
}

.product-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px 40px;
  max-width: 1000px;  /* 增大一点 */
  margin: 0 auto;
}

.product-item {
  text-decoration: none;
  flex: 0 0 220px;  /* 固定宽度，防止自动缩放 */
  max-width: 220px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  text-align: center;
  border: 1px solid #3498db;
  overflow: hidden;
  transition: transform 0.3s;
}

.product-item:hover {
  transform: translateY(-5px);
}

.product-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background-color: #fff; /* 防止图片底色透明导致背景透出 */
}

.product-name-box {
  background-color: #3498db;
  color: #fff;
  padding: 5px 0;
  font-weight: bold;
  font-size: 1.1rem;
  user-select: none;
}

.product-desc {
  background-color: #fff; /* 纯白，绝对不透明 */
  color: #555;
  padding: 10px;
  font-size: 14px;
  line-height: 1.4;
  flex: 1;
  margin: 0;

  display: flex;           /* 关键点，变身弹性盒子 */
  justify-content: center; /* 水平居中 */
  align-items: center;     /* 垂直居中 */
  text-align: center;      /* 多重保险，文字居中 */
}

/* 关于公司 */
.about {
  background: #fff; /* 纯白背景 */
  padding: 3rem 1rem;
  text-align: center;
  font-size: 2rem;
  color: #333; /* 主体文字颜色 */
}

.highlight {
  font-style: italic;
  color: #00AEEF;
  font-size: 2rem; /* 和其他文字同大小 */
}

/* 新增描述文字样式 */
.about-desc {
  color: #777;       /* 灰色 */
  font-size: 1rem;   /* 比主文字小一号 */
  margin-top: 1rem;  /* 上方空点位置 */
  max-width: 700px;  /* 最大宽度，保持阅读舒适 */
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.about-buttons {
  margin-bottom: 40px;
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  gap: 3.5rem;  /* 按钮间距加大一点 */
}

.btn {
  cursor: pointer;
  font-weight: 700;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding: 12px 36px;       /* 顺发官网大小参考，按钮高度更足 */
  font-size: 1.15rem;       /* 字号稍大一点 */
  border-radius: 30px;      /* 圆润 */
  border: none;
  transition: all 0.25s ease;
  user-select: none;
  min-width: 180px;         /* 按钮最小宽度，保证大气 */
  text-align: center;
  display: inline-block;
}

/* 半透明蓝色按钮 */
.btn-transparent {
  background-color: rgba(0, 174, 239, 0.35); /* 半透明蓝 */
  color: #00AEFF;                            /* 纯正顺发蓝色 */
  border: 2.5px solid rgba(0, 174, 239, 0.7);
}

.btn-transparent:hover {
  background-color: rgba(0, 174, 239, 0.7);
  color: white;
  border-color: #00AEFF;
}

/* 实色蓝色按钮 */
.btn-solid {
  background-color: #00AEFF;  /* 顺发蓝 */
  color: white;
  box-shadow: 0 6px 12px rgba(0, 174, 239, 0.6);
}

.btn-solid:hover {
  background-color: #0085CC;  /* 深蓝 */
  box-shadow: 0 8px 14px rgba(0, 133, 204, 0.8);
}

/* 保持之前的样式不变 */

.quality-title {
  position: relative;
  top: 30px; /* 相对当前位置向下50像素 */
  color: #00AEEF;
  font-weight: 600;
  font-size: 2rem;
  margin-top: 110px;
  margin-bottom: 60px; /* 之前15改成40，加大间距 */
  padding-bottom: 0;
  background-color: transparent;
  text-align: center;
}

.quality-desc {
  background-color: #ffffff !important;
  padding: 10px 0;
  margin-top: 10px;
  color: #555;
  font-size: 16px;
  line-height: 1.5;
}

.features {
  background-color: #fff;
  padding: 2.5rem 1rem;
  text-align: center;
  margin-top: -50px;
}

.feature-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6rem; /* 保持大气的间距 */
  margin-bottom: 3rem;
}

.feature-item {
  max-width: 350px;  /* 宽度更大，每行显示更多字 */
}

.feature-item img {
  width: 120px;
  height: auto;
  border-radius: 8px;
}

.feature-title {
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: bold;
  color: #00AEEF;
}

.feature-desc {
  margin-top: 0.75rem;
  font-size: 1rem;
  color: #777;
  line-height: 1.8;
  letter-spacing: 0.5px;
  text-align: center;
  white-space: normal;  /* 允许换行 */
  word-wrap: break-word; /* 防止超长单词溢出 */
}

.company-showcase {
  background: url('images/background1.png') no-repeat center center;
  background-size: cover;
  padding: 60px 20px;
  color: white;
  text-align: center;
  margin-top: 60px; /* 和上面内容保持适当间隔 */
}

.showcase-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.showcase-desc {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.showcase-images {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.showcase-img {
  width: 45%;
  max-width: 400px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}


/* 页脚 */
.site-footer {
  background-color: #1a1a1a; /* 深黑底色 */
  color: #ccc; /* 浅灰文字 */
  padding: 40px 20px;
  font-size: 14px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
}

.footer-title {
  font-size: 20px;
  color: #fff;
  font-weight: bold;
}

.footer-info {
  flex: 1;
  min-width: 300px;
}

.footer-info p {
  margin: 8px 0;
  color: #ccc;
  line-height: 1.6;
}

.footer-beian {
  text-align: center;
  margin-top: 10px; /* 顶部留点空隙，更美观 */
  font-size: 14px;
  color: #aaa; /* 备案信息颜色可以稍淡一点 */
}
