/* 引入OPPO Sans字体 */
@font-face {
  font-family: 'OPPO Sans';
  src: url('../fonts/OPPOSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'OPPO Sans';
  src: url('../fonts/OPPOSans-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'OPPO Sans';
  src: url('../fonts/OPPOSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

/* 重置样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: "OPPO Sans", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 14px;
  color: #333;
  background: #fff;
  min-width: 1240px;
  overflow-x: auto;
}

a {
  text-decoration: none;
  color: inherit;
  display: block;
}

ul, li {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

/* 顶部导航 */
.header {
  background: #333333;
  height: 130px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header-inner {
  width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  height: 100%;
  width: 180px;
  flex-shrink: 0;
}

.logo a {
  display: block;
  width: 100%;
}

.logo img {
  width: 100%;
  height: auto;
  display: block;
}

.nav-divider {
  width: 3px;
  height: 50px;
  background: #fff;
  margin-left: 60px;
  margin-right: 60px;
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  flex: 1;
}

.nav-list {
  display: flex;
  align-items: center;
  height: 130px;
}

.nav-item {
  position: relative;
  white-space: nowrap;
}

.nav-item > a {
  padding: 0 30px;
  height: 130px;
  line-height: 130px;
  color: #fff;
  font-size: 24px;
  transition: color 0.3s, background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-arrow {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 8px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #fff;
  transition: transform 0.3s;
}

.nav-item:hover .nav-arrow {
  transform: rotate(180deg);
}

.nav-item > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(to right, #4BA1DA, #ABD7BA);
  transition: width 0.3s;
}

.nav-item:hover > a::after,
.nav-item.active > a::after {
  width: 100%;
}

.nav-item:hover > a,
.nav-item.active > a {
  color: #00a0e9;
  background: transparent;
}

/* 下拉菜单 */
.sub-menu {
  position: absolute;
  top: 130px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  border-radius: 8px;
  z-index: 1001;
  padding: 30px 100px;
}

.nav-item:hover .sub-menu {
  opacity: 1;
  visibility: visible;
}

.sub-menu-inner {
  display: flex;
  justify-content: center;
  gap: 80px;
}

.sub-col {
  text-align: center;
}

.sub-col h3 {
  font-size: 24px;
  color: #4E4E4E;
  font-weight: bold;
  padding-bottom: 20px;
  margin-bottom: 15px;
}

.sub-col > ul > li {
  margin-bottom: 15px;
}

.sub-col > ul > li > a {
  color: #333333;
  font-size: 16px;
  font-weight: normal;
  transition: color 0.3s;
  display: block;
  line-height: 1.4;
}

.sub-col > ul > li > a .item-title {
  color: #333333;
  display: block;
}

.sub-col > ul > li > a .item-desc {
  color: #666666;
  font-size: 14px;
  display: block;
  margin-top: 4px;
}

.sub-col > ul > li > a:hover,
.sub-col > ul > li > a:hover .item-title,
.sub-col > ul > li > a:hover .item-desc {
  color: #008DBB;
}

/* 行业案例 - 工业风详情排版 */
.industry-case-intro {
  font-size: 18px;
  color: #333;
  background: #f8f9fa;
  padding: 24px 30px;
  border-left: 6px solid #005A9E;
  margin-bottom: 40px;
  border-radius: 0 8px 8px 0;
}

.industry-case-intro p {
  margin-bottom: 0 !important;
}

.industry-case-module {
  margin-bottom: 50px;
}

.industry-case-module .module-title {
  font-size: 24px;
  color: #111;
  display: flex;
  align-items: center;
  border-bottom: 2px solid #eaeaea;
  padding-bottom: 12px;
  margin-bottom: 24px;
}

.industry-case-module .module-title .icon {
  display: inline-block;
  width: 8px;
  height: 24px;
  background: #005A9E;
  margin-right: 12px;
  border-radius: 2px;
}

.industry-case-module .module-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-left: 0;
  margin-bottom: 0;
}

.industry-case-module .module-list li {
  background: #f2f5f9;
  border: 1px solid #e0e6ed;
  padding: 16px 20px;
  border-radius: 6px;
  font-size: 16px;
  color: #444;
  list-style: none !important;
  display: flex;
  align-items: center;
  transition: all 0.3s;
}

.industry-case-module .module-list li:hover {
  background: #005A9E;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,90,158,0.15);
}

.industry-case-module .module-list li::before {
  content: '■';
  color: #005A9E;
  margin-right: 12px;
  font-size: 12px;
}

.industry-case-module .module-list li:hover::before {
  color: #fff;
}

.case-info-box {
  border: 1px solid #e0e6ed;
  border-radius: 8px;
  overflow: hidden;
}

.info-row {
  display: flex;
  border-bottom: 1px solid #e0e6ed;
  background: #fff;
}

.info-row:last-child {
  border-bottom: none;
}

.info-row .label {
  width: 140px;
  flex-shrink: 0;
  background: #f8f9fa;
  padding: 20px 24px;
  font-weight: bold;
  color: #333;
  border-right: 1px solid #e0e6ed;
  display: flex;
  align-items: center;
}

.info-row .value {
  flex: 1;
  padding: 20px 24px;
  color: #555;
  line-height: 1.8;
}

.highlight-row .label {
  background: #eef4f9;
  color: #005A9E;
}

.highlight-row .value {
  background: #f7fafe;
  color: #005A9E;
  font-weight: 500;
}

.inner-list {
  margin-top: 15px !important;
  padding-left: 20px !important;
}

.inner-list li {
  margin-bottom: 8px !important;
  color: #555;
}

/* 底部 */
.footer {
  background: #333333;
  color: #fff;
  font-family: "Microsoft YaHei", sans-serif;
}

.footer-main {
  padding: 60px 0 40px;
}

.footer-inner {
  width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-left {
  width: 380px;
}

.footer-contact-title {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.footer-contact-title img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.footer-contact-title span {
  font-size: 20px;
  color: #fff;
  font-weight: normal;
}

.footer-contact-info p {
  font-size: 14px;
  color: #CCCCCC;
  line-height: 2;
  margin-bottom: 12px;
}

.footer-right {
  display: flex;
  flex: 1;
  justify-content: space-between;
  padding-left: 80px;
}

.footer-col {
  flex: none;
  padding: 0;
}

.footer-col h4 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 30px;
  padding-bottom: 0;
  border-bottom: none;
  font-weight: normal;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 15px;
}

.footer-col ul li a {
  color: #CCCCCC;
  font-size: 14px;
  transition: color 0.3s;
  text-decoration: none;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
  color: #CCCCCC;
  font-size: 14px;
}

/* 动画效果 */
@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: translateY(60px);
  }
  60% {
    transform: translateY(-20px);
  }
  80% {
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  animation: bounceIn 0.8s ease-out forwards;
}

/* 返回顶部按钮 */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: #008DBB;
  color: #fff;
  cursor: pointer;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-icon {
  font-size: 22px;
  line-height: 1;
  color: #fff;
}

.back-to-top:hover {
  background: #0078a0;
}
