/* 第六屏样式 */
.section6 {
  height: 100vh;
  width: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.section6 * {
  overflow: visible;
}

/* 全屏遮挡图片样式 */
.section6-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  opacity: 1;
  transform: scale(1);
  transition: all 1s ease-in-out;
}

.section6-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 遮挡图片消失状态 - 放大并消失 */
.section6-overlay.fade-out {
  opacity: 0;
  transform: scale(2);
  pointer-events: none;
}

.section6-container {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background-image: url("/assets/images/section6/1122.png");
  /* background-size: cover;
  background-position: center; */
  background-repeat: no-repeat;
  /* transition: background-image 0.3s ease-in-out; */
  position: relative;
  background-size: 100% 142%;
  background-position: 42% 100%;
}

.section6-container-box {
  width: 83.3%;
  margin: 0 auto;
}

/* 中间左侧内容显示区域 */
.section6-content {
  position: absolute;
  top: 39%;
  transform: translateY(-50%);
  color: #fff;
  max-width: 6.67rem;
  z-index: 5;
  background: rgba(0, 0, 0, 0.5);
  /* margin-left: 90px; */
  padding: 13px 13px 0px 13px;
}

.section6-content-title {
  font-family: "Source_Han_Sans_SC", sans-serif;
  font-weight: bold;
  font-size: 0.32rem;
  margin-bottom: 0.2rem;
  opacity: 1;
  animation: fadeInUp 0.6s ease-in-out both;
}

.fgx-box {
  width: 100%;
  margin-bottom: 0.2rem;
}

.fgx {
  width: 0.8rem;
  height: 0.06rem;
  background: #ffffff;
}

.section6-content-text {
  font-family: "Source_Han_Sans_SC", sans-serif;
  font-size: 0.18rem;
  line-height: 0.4rem;
  text-align: justify;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.3rem;
  opacity: 1;
  animation: fadeInUp 0.6s ease-in-out 0.2s both;
}

.section6-content-btn {
  margin-top: 0;
  font-size: 0.16rem;
  width: 1.42rem;
  height: 0.48rem;
  color: #fff;
  cursor: pointer;
  border-radius: 0.04rem;
  background: linear-gradient(
    270deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  border: 0.01rem solid;
  border-image: linear-gradient(
      270deg,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0.2)
    )
    1 1;
  opacity: 1;
  animation: fadeInUp 0.6s ease-in-out 0.4s both;
}

/* 底部固定选择框菜单 */
.section6-menu {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 83.3%;
  display: flex;
  z-index: 2;
  transform: translateX(-50%);
}

.section6-menu-item {
  flex: 1;
  width: 33.333%;
  height: 2.58rem;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  padding: 0.3rem 0.2rem;
  box-sizing: border-box;
  border-right: 0.01rem solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.section6-menu-item-icon {
  display: flex;
  justify-content: space-between;
}

.section6-menu-item-icon-left {
  height: 0.2rem;
}

.section6-menu-item-icon-right {
  height: 0.8rem;
}

.section6-menu-item:last-child {
  border-right: none;
}

.section6-menu-item:hover,
.section6-menu-item.active {
  transform: translateY(-0.2rem);
  background: #d12f2d;
}

.section6-menu-item:hover .section6-menu-item-title {
  color: #ffffff;
}
.section6-menu-item:hover .section6-menu-item-address {
  color: rgba(255, 255, 255, 0.8);
}

.section6-menu-item-title {
  font-family: "Source_Han_Sans_SC", sans-serif;
  font-weight: 500;
  font-size: 0.28rem;
  color: #ffffff;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.15rem;
  text-align: left;
}

.section6-menu-item-address {
  display: flex;
  align-items: left;
  gap: 0.08rem;
  font-family: "Source_Han_Sans_SC", sans-serif;
  font-size: 0.18rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: left;
  line-height: 1.5;
}

.section6-menu-item-address img {
  width: 0.16rem;
  height: 0.16rem;
  flex-shrink: 0;
}

.section6-menu-item-address span {
  word-break: break-word;
}

/* 背景图切换 */
.section6-container[data-company="1"] {
  background-image: url("/assets/images/section6/1122.png");
}

.section6-container[data-company="2"] {
  background-image: url("/assets/images/section6/22.webp");
}

.section6-container[data-company="3"] {
  background-image: url("/assets/images/section6/33.webp");
}

/* 渐现动画 */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(0.3rem);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
