﻿* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  overflow: hidden;
  font-family: "Microsoft YaHei", sans-serif;
  background: #87CEFA;
}
a {
    color: #000000; /* 设置链接的正常状态下的颜色 */
}

a:visited {
    color: blue; /* 设置链接访问后的颜色 */
}

a:hover {
    color: red; /* 设置鼠标悬停时的颜色 */
}

a:active {
    color: red; /* 设置链接被点击时的颜色 */
}

/* 导航 */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 60px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  padding: 0 40px;
  z-index: 1000;
}
.navbar a {
  color: #fff;
  margin-right: 32px;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity .3s;
}
.navbar a:hover, .navbar a.router-link-active {
  opacity: 1;
}

/* ===== 底部版权栏 ===== */
.copyright-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 50px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  z-index: 1000;
  letter-spacing: 0.5px;
}

/* 页面容器 */
.viewport {
  width: 100vw;
  height: calc(100vh - 50px);
  overflow: hidden;
}

/* slider 位移用 CSS 变量控制，由 JS 动态设置 */
.slider {
  transition: transform 0.9s cubic-bezier(.77,0,.175,1);
  height: 100%;
}

/* 单页 */
.section {
  width: 100vw;
  height: calc(100vh - 0px);
  position: relative;
  overflow: hidden;
  background:#87CEFA;
  color:#000;
}
/* 背景图 */
.bg_product {
  position: absolute;
  margin-top: 60px;
  margin-left: -10%;
  border: solid 0px #000;
  width: 50%;
  inset: 0;
  background-size: auto 120%;
  background-position: left;
  background-repeat: no-repeat;
  transition: transform 1.2s, opacity 1.2s;
  display:block;
}
.bg_product.zoom-in {
  transform: scale(1.08);
  opacity: 0;
}
.bg_product.zoom-in.active {
  transform: scale(1);
  opacity: 1;
}

/* 内容层 */
.content {
  position: absolute;
  margin-top: 60px;
  width: 55%;
  margin-left: 40%;
  margin-right: -30%;
  border: solid 0px #000;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s 0.4s, transform 1s 0.4s;
}
.content.active {
  opacity: 1;
  transform: translateY(0);
}
.content h1 { font-size: 56px; margin-bottom: 16px; }
.content p { font-size: 22px; opacity: 0.85; }


/* ===== AboutPage 组件样式 ===== */
.about-bg {
  position: absolute;
  margin-top: 60px;
  width: 50%;
  height: 100%;
  border: solid 0px #000;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s, opacity 1.2s;
}
.about-bg.zoom-in {
  transform: scale(1);
  opacity: 0;
}
.about-bg.zoom-in.active {
  transform: scale(1);
  opacity: 1;
}

.about-content {
  position: absolute;
  inset: 0;
  left: 50%;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 60px;
  color: #fff;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 1s 0.4s, transform 1s 0.4s;
}
.about-content.active {
  opacity: 1;
  transform: translateX(0);
}
.about-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
}
.about-content p {
  font-size: 20px;
  line-height: 1.8;
  opacity: 0.85;
}


/* 进度圆点 */
.progress {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
}
.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  margin: 10px auto;
  cursor: pointer;
  transition: background .3s, transform .3s;
}
.dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* 翻页提示 */
.scroll-hint {
  position: fixed;
  right: 20px;
  bottom: 70px;
  color: #fff;
  background: rgba(0,0,0,0.35);
  padding: 10px 18px;
  border-radius: 24px;
  cursor: pointer;
  z-index: 999;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* 底部联系方式 */
.footer {
  background: linear-gradient(180deg, #87CEFA, #fff);
  color: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: calc(100vh - 50px);
}
.footer h2 { color: #fff; margin-bottom: 20px; font-size: 36px; }
.footer p { margin: 6px 0; font-size: 18px; }

/* 视频 */
video.bg-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}