* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "微软雅黑", sans-serif;
}

.hero-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-banner.loaded {
  opacity: 1;
}

.hero-banner .flexslider,
.hero-banner .flexslider .slides,
.hero-banner .flexslider .slides li {
  height: 100%;
  position: relative;
}

.hero-banner .flexslider .slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 60px;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.25);
  z-index: 10;
}

.logo img {
  height: 80px;
  margin-right: -140px;
}

.nav-center {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  gap: 40px;
}

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

.nav li a {
  color: #fff;
  font-size: 17px;
  text-decoration: none;
  transition: 0.3s;
}

.nav li a:hover {
  color: #00c8ff;
}

.center-brand {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}


.slide-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 5;
}




.slide-text h1 {
  font-size: 52px;
  font-weight: bold;
  margin-bottom: 25px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}
.slide-text p {
  font-size: 22px;
  line-height: 1.8;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.slide-text .btn {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 32px;
  font-size: 18px;
  background-color: #00c8ff;
  color: #fff;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s;
}

.slide-text-wb {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 5;
}
.slide-text-wb h1 {
  font-size: 52px;
  font-weight: bold;
  margin-bottom: 25px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.slide-text-wb  a{
  font-size: 20px;
  color: white;
  margin: 0 18px;
}





.link-btn {
  display: inline-flex;
  align-items: center;
  font-size: 20px;
  color: white;
  text-decoration: none;
  transition: all 0.4s ease;
  position: relative;
  padding: 6px 12px;
}

.link-btn i {
  margin-right: 8px;
  font-size: 20px;
  transition: transform 0.3s ease;
}

/* 悬停时上浮 + 图标轻微旋转 */
.link-btn:hover {
  transform: translateY(-4px);
  color: #00c8ff;
}

.link-btn:hover i {
  transform: rotate(10deg) scale(1.1);
}

.link-btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #00c8ff;
  transition: width 0.3s ease;
}

.link-btn:hover::after {
  width: 100%;
}


.site-footer {
  background-color: rgba(0, 0, 0, 0.85); /* 半透明黑底 */
  color: #ccc;
  font-size: 14px;
  padding: 40px 20px 20px;
  font-family: "微软雅黑", sans-serif;
}







/* 标题区域美化 */
.box_h .title {
  font-size: 26px;
  font-weight: bold;
  color: #002F79;
  text-align: center;
  position: relative;
  margin-bottom: 10px;
}
.box_h .title i {
  margin-right: 8px;
  color: #002F79;
}
.box_h .subtitle {
  font-size: 14px;
  text-align: center;
  color: #999;
}

/* 过渡区块 */
.section-divider {
  text-align: center;
  background: #f5f5f5;
  padding: 16px;
  font-size: 18px;
  color: #666;
}

/* 产品卡片网格 */
.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 20px;
}

.product-card {
  width: 220px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  text-align: center;
  padding: 20px 15px;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.product-card img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  margin-bottom: 15px;
}
.product-card h3 {
  font-size: 16px;
  color: #333;
  margin-bottom: 8px;
}
.product-card p {
  font-size: 13px;
  color: #777;
  line-height: 1.4;
}
/* 公司理念模块个性化调整 */
.philosophy-block .product-card {
  padding: 30px 20px;
  text-align: center;
  background-color: #ffffff0d; /* 半透明卡片，适配深色背景 */
}

.philosophy-block .product-card i {
  color: #00c8ff;
  margin-bottom: 12px;
}

.philosophy-block .product-card h3 {
  margin-top: 10px;
  font-size: 18px;
  color: #333; /* 改成深灰（黑色系） */
}

.philosophy-block .product-card p {
  font-size: 14px;
  color: #555; /* 稍浅一点的黑色，用于说明文字 */
}


.scene-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 260px;
}

.scene-caption {
  margin-top: 8px;
  font-size: 14px;
  color: #555;
  text-align: center;
}



.scene-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}
.scene-section h2 {
  font-size: 28px;
  color: #002F79;
  margin-bottom: 10px;
}
.scene-section .scene-desc {
  font-size: 16px;
  color: #555;
  margin-bottom: 30px;
}
.scene-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.scene-gallery img {
  width: 260px;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}
.scene-gallery img:hover {
  transform: scale(1.05);
}


#lightbox-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.85);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}

#lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  transition: all 0.3s ease;
}





.lang-bubble-switch {
  position: absolute;
  top: 30px;
  right: 38px;
  z-index: 99991;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* 主按钮 */
.lang-bubble-btn {
  width: 120px;
  transform: translateY(-20px);
  display: flex;
  align-items: center;
  background: transparent;
  border: none;
  color: #fff;
  border-radius: 24px;
  padding: 6px 18px 6px 10px;
  font-size: 18px;
  cursor: pointer;
  outline: none;
  gap: 8px;
  /* 不需要明显hover特效 */
  transition: background 0.18s;
}

.lang-bubble-btn .flag-icon {
  margin-right: 0;
}

/* 保留轻微变色也可去掉这一行 */
.lang-bubble-btn:hover {
  background: transparent;
}

/* 下拉菜单整体弹性动效+阴影+圆角 */
.lang-bubble-list {
  margin-top: 50px;	
  display: none;
  flex-direction: column;
  align-items: flex-end;
  background: rgba(34, 44, 59, 0.97);
  border-radius: 15px;
  box-shadow: 0 12px 36px 0 #002f7929, 0 1.5px 8px #222c3b11;
  padding: 18px 15px 12px 15px;
  position: fixed;
  top: 52px;
  right: 0;
  min-width: 150px;
  gap: 14px;
  animation: fadeInBubble 0.22s cubic-bezier(.31,1.01,.48,1.27);
}

@keyframes fadeInBubble {
  from {opacity: 0; transform: translateY(-13px) scale(0.98);}
  to   {opacity: 1; transform: translateY(0) scale(1);}
}

/* 下拉按钮：无hover底色，仅字体高亮 */
.lang-bubble-list button {
  display: flex;
  align-items: center;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  border-radius: 8px;
  padding: 5px 13px;
  min-width: 100px;
  transition: color 0.21s, font-weight 0.21s, text-shadow 0.2s;
  opacity: 0.95;
  font-weight: 500;
  gap: 10px;
}

/* 悬停/选中时只变字体颜色和加一点阴影/加粗 */
.lang-bubble-list button:hover,
.lang-bubble-list button.active {
  color: #00c8ff;
  font-weight: 700;
  background: transparent;
  text-shadow: 0 1px 8px #00c8ff33;
  opacity: 1;
}

/* 下拉按钮的flag缩略图 */
.lang-bubble-list .flag-icon {
  margin-right: 10px;
  width: 32px;
  height: 22px;
  box-shadow: 0 2px 8px #002f7920;
  border-radius: 5px;
  border: 1.5px solid #2223;
  transition: border 0.18s;
}
