﻿/* 首页样式 - 现代化美化版本 */

/* 基础变量定义 */
:root {
  --primary-color: #0053b1;
  --secondary-color: #00acc2;
  --accent-color: #95dc09;
  --gradient-primary: linear-gradient(135deg, #0053b1, #0073c3);
  --gradient-secondary: linear-gradient(135deg, #00acc2, #36bbcd);
  --text-dark: #333;
  --text-light: #666;
  --text-white: #fff;
  --bg-light: #f8f9fa;
  --bg-section: #fff;
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 通用改进 */
html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* 视频横幅美化 */
.banner {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9宽高比 (9/16 * 100%) */
  min-height: 500px;
  max-height: 80vh;
  overflow: hidden;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  box-shadow: var(--shadow-soft);
  background-color: #000;
}

.banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(0, 83, 177, 0.3), rgba(0, 172, 194, 0.2));
  z-index: 1;
  pointer-events: none;
}

.banner video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition);
  /* 确保1920x1080视频完整显示 */
  background-color: #000;
}

.banner:hover video {
  transform: scale(1.05);
}

/* 针对16:9视频的优化 */
@media (min-aspect-ratio: 16/9) {
  .banner video {
    width: 100%;
    height: auto;
  }
}

@media (max-aspect-ratio: 16/9) {
  .banner video {
    width: auto;
    height: 100%;
  }
}

/* 新增：视频上的内容覆盖层 */
.banner-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--text-white);
  z-index: 2;
  padding: 2rem;
  width: 100%;
}

.banner-overlay h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  opacity: 0;
  animation: fadeInUp 1s ease 0.5s forwards;
}

.banner-overlay p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  opacity: 0;
  animation: fadeInUp 1s ease 0.8s forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 公司实力部分美化 */
.CompanyBackground {
  width: 100%;
  min-height: 100vh;
  padding: 80px 5% 60px;
  background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 50%, var(--bg-light) 100%);
  position: relative;
}

.CompanyBackground::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
}

.company-title {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 60px;
  color: var(--text-dark);
  position: relative;
}

.company-title::before,
.company-title::after {
  content: "";
  height: 4px;
  background: var(--gradient-primary);
  width: 80px;
  margin: 0 20px;
  border-radius: 2px;
  animation: expandWidth 1s ease-in-out;
}

@keyframes expandWidth {
  from { width: 0; }
  to { width: 80px; }
}

.CompanyBackground-content {
  display: flex;
  align-items: center;
  gap: 40px;
  min-height: 600px;
}

.CompanyBackground-content > div {
  flex: 1;
}

.left-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.advantage {
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  padding: 30px;
  min-height: 140px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 83, 177, 0.1);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.advantage::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: var(--transition);
}

.advantage:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-color);
}

.advantage:hover::before {
  left: 100%;
}

.advantage-1 {
  background: var(--gradient-primary);
  color: var(--text-white);
  border: none;
  font-size: 1.4rem;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.advantage-1 .li-div {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  margin-right: 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.advantage-1 .li-div::before {
  content: '⚡';
  font-size: 2rem;
}

.advantage:nth-child(3) {
  margin-left: 0;
}

.advantage-number {
  font-size: 3.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-width: 80px;
  text-align: center;
}

.advantage-title {
  font-size: 1.2rem;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 15px;
  margin-left: 20px;
}

.advantage-content {
  margin-left: 20px;
}

.advantage-content li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text-light);
  position: relative;
  padding-left: 0;
}



.CompanyBackground-content > div > img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.CompanyBackground-content > div > img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
}

/* 核心产品部分美化 */
.ProductSolution {
  width: 100%;
  min-height: 100vh;
  background: var(--bg-section);
  padding: 80px 5% 60px;
  position: relative;
}

.ProductSolution-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.product-item {
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  border-radius: var(--border-radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.product-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition);
}

.product-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.product-item:hover::before {
  transform: scaleX(1);
}

.product-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  transition: var(--transition);
}

.product-item:hover img {
  transform: scale(1.05);
}

.product-item h2 {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 10px;
  font-weight: 600;
}

.product-item p {
  color: var(--text-light);
  line-height: 1.5;
  padding: 0 5px;
  text-align: left;
  text-indent: 0;
  font-size: 0.9rem;
}

/* 新能源解决方案部分美化 - 与核心产品样式一致 */
.ProductSolution1 {
  width: 100%;
  min-height: 100vh;
  background: var(--bg-section);
  padding: 80px 5% 60px;
  position: relative;
}

.ProductSolution1-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.plandetails-item {
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  border-radius: var(--border-radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.plandetails-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition);
}

.plandetails-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.plandetails-item:hover::before {
  transform: scaleX(1);
}

.plandetails-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  transition: var(--transition);
}

.plandetails-item:hover img {
  transform: scale(1.05);
}

.plandetails-item h2 {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 10px;
  font-weight: 600;
}

.plandetails-item p {
  color: var(--text-light);
  line-height: 1.5;
  padding: 0 5px;
  text-align: left;
  text-indent: 0;
  font-size: 0.9rem;
}

/* 新闻中心部分美化 */
.NewsCenter {
  min-height: 100vh;
  background: var(--bg-section);
  padding: 80px 5% 60px;
}

.NewsCenter-content {
  display: flex;
  align-items: stretch;
  gap: 40px;
  margin-top: 40px;
  min-height: 500px;
}

.NewsCenter-content > div {
  flex: 1;
}

.NewsCenter-content ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.NewsCenter-content li {
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  cursor: pointer;
  border-left: 4px solid transparent;
  flex: 1;
}

.NewsCenter-content li:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-hover);
  border-left-color: var(--primary-color);
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.NewsCenter-content li h2 {
  color: var(--text-dark);
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
  transition: var(--transition);
}

.NewsCenter-content li:hover h2 {
  color: var(--primary-color);
}

.NewsCenter-content li p {
  color: var(--text-light);
  line-height: 1.6;
}

.NewsCenter-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.NewsCenter-content img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
  }

/* 投资机构部分样式 */
.InvestmentPartners {
  width: 100%;
  background: var(--bg-light);
  padding: 80px 5% 60px;
  position: relative;
}

.partners-content {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 30px;
  align-items: center;
  margin-top: 40px;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-section);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  height: 120px;
  cursor: pointer;
}

.partner-logo:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.partner-logo img {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  transition: var(--transition);
}

.partner-logo:hover img {
  filter: grayscale(0%);
  transform: scale(1.1);
}

/* 中等屏幕适配 */
@media (max-width: 1200px) {
  .ProductSolution-content {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .product-item {
    padding: 15px;
  }

  .product-item img {
    height: 220px;
  }

  .product-item h2 {
    font-size: 1.1rem;
  }

  .product-item p {
    font-size: 0.85rem;
  }

  .ProductSolution1-content {
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
  }

  .plandetails-item {
    padding: 15px;
  }

  .plandetails-item img {
    height: 220px;
  }

  .plandetails-item h2 {
    font-size: 1.1rem;
  }

  .plandetails-item p {
    font-size: 0.85rem;
  }

  .partners-content {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
  }

  .partner-logo {
    height: 100px;
    padding: 15px;
  }

  .partner-logo img {
    max-height: 60px;
  }
}

@media (max-width: 900px) {
  .ProductSolution-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .ProductSolution1-content {
    grid-template-columns: repeat(3, 1fr);
  }

  .partners-content {
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
  }
}

/* 响应式设计优化 */
@media (max-width: 768px) {
  :root {
    --border-radius: 8px;
  }

  .banner {
    height: 0;
    padding-bottom: 56.25%;
    min-height: 300px;
    max-height: 60vh;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    position: relative;
    overflow: hidden;
  }

  /* 手机端视频样式优化 - 单独设置宽高 */
  .banner video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;  /* 视口宽度 */
    height: 60vh;  /* 视口高度的60% */
    min-height: 300px;
    max-height: 500px;
    object-fit: cover;
    background-color: #000;
    transform: none;  /* 移除变换 */
  }

  .banner-overlay h1 {
    font-size: 2rem;
  }

  .banner-overlay p {
    font-size: 1rem;
  }

  .company-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .company-title::before,
  .company-title::after {
    width: 40px;
    margin: 0 15px;
  }

  .CompanyBackground {
    padding: 40px 3% 30px;
  }

  .CompanyBackground-content {
    flex-direction: column;
    gap: 30px;
  }

  .advantage {
    padding: 20px;
    min-height: 120px;
  }

  .advantage-title {
    font-size: 1.1rem;
    margin-left: 15px;
  }

  .advantage-content {
    margin-left: 15px;
  }

  .advantage-content li {
    font-size: 0.9rem;
  }

  .ProductSolution {
    padding: 40px 3% 30px;
  }

  .ProductSolution-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-item {
    padding: 25px;
  }

  .product-item img {
    width: 100%;
    height: 260px;
  }

  .product-item h2 {
    font-size: 1.4rem;
  }

  .product-item p {
    font-size: 1rem;
    padding: 0 15px;
  }

  .ProductSolution1 {
    padding: 40px 3% 30px;
  }

  .ProductSolution1-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .plandetails-item {
    padding: 25px;
  }

  .plandetails-item img {
    width: 100%;
    height: 260px;
  }

  .plandetails-item h2 {
    font-size: 1.4rem;
  }

  .plandetails-item p {
    font-size: 1rem;
    padding: 0 15px;
  }

  .NewsCenter {
    padding: 40px 3% 30px;
  }

  .NewsCenter-content {
    flex-direction: column;
    gap: 30px;
  }

  .NewsCenter-content li {
    padding: 20px;
  }

  .InvestmentPartners {
    padding: 40px 3% 30px;
  }

  .partners-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .partner-logo {
    height: 80px;
    padding: 10px;
  }

  .partner-logo img {
    max-height: 50px;
  }
}

/* 加载动画 */
@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 滚动进入动画 */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* 性能优化 */
.advantage,
.product-item,
.plandetails-item,
.NewsCenter-content li {
  will-change: transform;
}

/* 无障碍访问改进 */
.product-item:focus,
.plandetails-item:focus,
.NewsCenter-content li:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}



/* 滚动进度条 */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-primary);
  z-index: 1000;
  transition: width 0.1s ease;
}

/* 返回顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: var(--text-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* 增强的悬停效果 */
.advantage:hover .advantage-number {
  transform: scale(1.1);
}

.product-item:hover h2,
.plandetails-item:hover h2 {
  color: var(--primary-color);
}

/* 下拉菜单增强样式 */
.dropdown-menu {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.menu li:hover .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
}

/* 页面进入动画 */
@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.loaded .container,
body.loaded .banner,
body.loaded .CompanyBackground {
  animation: pageEnter 0.8s ease;
}

/* 汉堡菜单动画增强 */
.menu-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* 移动端菜单增强 */
@media (max-width: 768px) {
  .menu.active {
    animation: slideInFromTop 0.3s ease;
  }

  @keyframes slideInFromTop {
    from {
      transform: translateY(-100%);
    }
    to {
      transform: translateY(0);
    }
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }

  /* 手机端横屏模式优化 */
  @media (orientation: landscape) and (max-height: 500px) and (max-width: 768px) {
    .banner {
      height: 70vh;  /* 横屏时使用视口高度的70% */
      padding-bottom: 0;
      min-height: unset;
      max-height: unset;
    }
    
    .banner video {
      width: 100vw;
      height: 70vh;
      object-fit: cover;
      transform: none;
    }
  }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
  .advantage,
  .product-item,
  .plandetails-item,
  .NewsCenter-content li {
    border: 2px solid var(--text-dark);
  }
}

/* 减少动画模式支持 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .banner video {
    transform: none !important;
  }

  .advantage:hover,
  .product-item:hover,
  .plandetails-item:hover {
    transform: none !important;
  }
}

/* 暗色模式支持 */
@media (prefers-color-scheme: dark) {
  :root {
    --text-dark: #e0e0e0;
    --text-light: #b0b0b0;
    --bg-light: #1a1a1a;
    --bg-section: #2a2a2a;
  }

  .advantage,
  .product-item,
  .plandetails-item,
  .NewsCenter-content li {
    background: linear-gradient(135deg, #2a2a2a, #333333);
    color: var(--text-dark);
  }
}

/* 打印样式 */
@media print {
  .banner,
  .announcement,
  .back-to-top,
  .scroll-progress {
    display: none;
  }
  
  .company-title,
  .advantage-title,
  .product-item h2,
  .plandetails-item h2,
  .NewsCenter-content li h2 {
    color: #000 !important;
  }

  .advantage,
  .product-item,
  .plandetails-item {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* Logo和文字样式 - 修复换行问题 */
.logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0; /* 防止压缩 */
  min-width: 0; /* 允许flex项目缩小 */
}

.logo {
  height: 50px !important;
  width: auto !important;
  flex-shrink: 0; /* logo不压缩 */
}

.logo-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap; /* 防止文字换行 */
  min-width: 0; /* 允许缩小 */
}

.company-name {
  font-size: 20px !important;
  font-weight: bold !important;
  margin: 0 !important;
  color: white !important;
  line-height: 1.2 !important;
  white-space: nowrap !important; /* 强制不换行 */
}

.company-slogan {
  font-size: 12px !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  line-height: 1.2 !important;
  white-space: nowrap !important; /* 强制不换行 */
}

/* 确保菜单栏有足够空间 */
.menu-bar {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 10px 2% !important; /* 减少左右padding */
  flex-wrap: nowrap !important; /* 不允许换行 */
  min-height: 70px !important;
}

/* 响应式设计 - 小屏幕时隐藏文字 */
@media (max-width: 1200px) {
  .company-name {
    font-size: 18px !important;
  }
  .company-slogan {
    font-size: 11px !important;
  }
}

@media (max-width: 1000px) {
  .company-name {
    font-size: 16px !important;
  }
  .company-slogan {
    font-size: 10px !important;
  }
}

@media (max-width: 768px) {
  .logo-text {
    display: none !important; /* 在小屏幕上隐藏文字 */
  }
  .menu-bar {
    padding: 10px 3% !important;
  }
}

/* 中等尺寸手机屏幕优化 */
@media (max-width: 640px) and (min-width: 481px) {
  .banner {
    height: 350px;  /* 固定高度 */
    padding-bottom: 0;
    min-height: unset;
    max-height: unset;
  }
  
  .banner video {
    width: 100vw;
    height: 350px;
    object-fit: cover;
    transform: none;
  }
}

/* 超小屏幕设备优化 */
@media (max-width: 480px) {
  .banner {
    height: 250px;  /* 固定高度 */
    padding-bottom: 0;  /* 移除padding-bottom */
    min-height: unset;
    max-height: unset;
  }
  
  .banner video {
    width: 100vw;
    height: 250px;  /* 与容器相同的固定高度 */
    object-fit: cover;
    transform: none;
  }
  
  .banner-overlay h1 {
    font-size: 1.5rem;
    padding: 0 1rem;
  }
  
  .banner-overlay p {
    font-size: 0.9rem;
    padding: 0 1rem;
  }
}
