body {
    font-family: 'Poppins', sans-serif;
    background-color:#f9f9f9;
    color: #023e8a;
    margin: 0;
    padding: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
   font-family: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

}

  html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 1rem = 10px */
  }



  
  
  /* == NAVBAR == */

/* Navbar Alignment */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 2rem; /* 调整高度：减少顶部底部间距 */
  background: rgba(0, 0, 0, 0); /* 设置透明白色背景 */
  backdrop-filter: blur(10px); /* 背景模糊（增强透明感） */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.3s ease, padding 0.3s ease;
}

.logo img {
  height: 40px;       /* 控制 logo 的高度，例如 40px */
  width: auto;        /* 保持宽高比例 */
  max-height: 100%;   /* 避免超出父容器 */
  display: block;
}


.nav-icons {
  display: flex;
  align-items: center;
  position: relative; /* ✅ 加这一句 */
}


/* Icon Buttons */
.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 2rem;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 圆角图标按钮样式 */
.icon-btn.round {
  background-color: rgba(0,0, 0, 0);
  border-radius: 50%;
  width: 5em;
  height: 5rem;
  transition: background 0.3s ease, transform 0.2s ease;
}

/* 图标尺寸统一 */
.icon-btn svg {
  width:3rem;
  height: 3rem;
  fill: white;
}

.header.scrolled {
  padding: 0.5rem 2rem;
}



/* Dropdown 基本样式 */
.dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  font-size: 2.5rem;
  font-weight: 200;
  background: rgba(0, 0, 0, 0.3); /* ✅ 深背景 */
  border: none!important;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0);
  display: none;
  z-index: 1000;
  border-radius: 0.5rem;
}

.dropdown.active {
  display: block;
}

.dropdown ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dropdown ul li {
  margin-bottom: 0.5rem;
}

.dropdown ul li a {
  color: white; /* ✅ 保持白色字体 */
  text-decoration: none;
  font-weight: 500;
}

.dropdown ul li a:hover {
  color: #00bfff; /* ✅ 可选亮蓝 hover 效果 */
}



.main-content {
  flex: 1 0 auto;
}




 /* == VIDEO HERO == */
.video-hero {
  position: relative;
  width: 100%;
  min-height: 100vh; /* ✅ 改为整个视口高度 */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#background-video {
  position: absolute;
  top: 0;
  left: 0;
  width:100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
  filter: brightness(65%);
}

.video-overlay {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 1;
  text-align: left;
  color: #f0f4f8;
  background-color: rgba(0, 0, 0, 0);
  padding: 2rem;
  max-width: 1200px;
  width: auto; /* 默认自动宽度，限制在 1200px 内 */
}

.video-overlay h1 {
  font-size: 5rem;
  line-height: 1.0;
  font-family:  Helvetica;
  margin-bottom:5px;
  font-weight: 700;
  text-align: left;            /* ✅ 保证标题也左对齐 */
}

.video-overlay p {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 10px;
  font-family:  Helvetica;
  font-weight: 300;
  text-align: left;            /* ✅ 段落也左对齐 */
  letter-spacing: -0.5px;
}

.sound-btn {
  margin-top: 1rem;
  font-size: 1.6rem;
  padding: 0.5rem 1.5rem;
  background-color: rgba(0, 0, 0, 0);
  color: #fff;
  border: 0px solid rgba(0, 0, 0, 0);
  border-radius: 0px;
  cursor: pointer;
  backdrop-filter: blur(5px);
}



.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  right: -7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  z-index: 10;
  cursor: pointer;
}


.v-arrow {
  display: inline-block;
  margin-left: 1rem;
  font-size: 2rem;
  color: white;
  animation: blink 1.8s infinite;
  vertical-align: middle;
  font-weight: lighter;
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
    transform: translateY(0);
  }
  50% {
    opacity: 0;
    transform: translateY(-3px);
  }
}


@keyframes arrowFade {
  0% {
    opacity: 0;
    transform: translateY(0) rotate(45deg);
  }
  50% {
    opacity: 1;
    transform: translateY(6px) rotate(45deg);
  }
  100% {
    opacity: 0;
    transform: translateY(12px) rotate(45deg);
  }

}

.main-content {
  flex: 1 0 auto;
}

/* Hero */
.hero-split {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  min-height: 600px;  /* ✅ 比50vh更灵活 */
}

.hero-left, .hero-right {
  flex: 1;
  min-width: 300px;
}

.hero-left {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  background-color:#f9f9f9;
  padding: 7rem 0 0 7rem;
}

.hero-text {
  max-width: 500px;
  text-align: left;
}

.hero-text h1 {
  font-size: 6rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #222;
}

.hero-text p {
  font-size: 4rem;
  color: #222;
}

.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7rem 0 0 0;/* 上 10rem，右 0，下 0，左 0 */
  overflow: hidden;
  background-color: transparent;
}

.hero-right img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}



@media (max-width: 768px) {
  .hero-right {
    margin-top: -30rem;  /* ✅ 自行根据效果调整负值 */
  }

 .hero-left {
  margin-left:-3rem;
}

.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 2.5rem;
 }

}

/* products */
.products {
  padding: 0rem 2rem;
  background-color: #f9f9f9;
  text-align: center;
  margin-top:-20px;
 }

.products h2 {
  font-size: 4;
  margin-bottom: 2rem;
  text-align: left;
  color:#222
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));  /* <= 原来是 repeat(3, 1fr) */
  gap: 1rem;
}

.product-card {
  background-color: #fff;
  border-radius: 0rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0. 0);
  padding: 1rem;
  transition: transform 0.3s;
  width: 100%;   /* 确保在每个格子中自动缩放 */
    min-width: 0;             /* 防止卡片以内容宽度为最小宽度 */
  word-break: break-word;   /* 长单词可换行 */
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: auto;
  border-radius: 0rem;
  margin-bottom: 1rem;
}

.product-card h3 {
  font-size: 2rem;
  font-weight: 600;
  margin: 0.5rem 0 0;
  color:#222;
}

.product-card p {
  margin: 0.3rem 0;
  font-size: 2rem;
  color: #444;
}

.product-card .price {
  font-weight: bold;
  font-size: 3rem;
  color: #111;
}

.product-card a {
  font-size: 1.6rem;
  text-decoration: underline;
  color: #1e40af;
}
.product-card a:hover {
  color: #1a237e;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  max-width: 90%;
  max-height: 80%;
}

.lightbox-content img {
  max-height: 80vh;
  border-radius: 8px;
}

.close {
  position: absolute;
  top: 20px; right: 30px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
}

/* 手机端两列（确保覆盖性足够） */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));  /* <= 原来是 repeat(2, 1fr) */
  }
}

.products h2 {
  font-size: 2.5rem;

}

  .product-card h3 {
    font-size: 2.0rem;
  }

.product-card p {
  font-size: 1.5rem;
}

.product-card .price {
  font-size: 2.5rem;
}



/* Social Newsletter Section */
.newsletter-social {
  background-color:transparent;
  padding: 4rem 2rem;
  text-align: center;
  margin-top: 3rem;
}

.newsletter-text h2 {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
  color: #222;
}

.newsletter-text p {
  font-size: 1.6rem;
  color: #444;
  margin-bottom: 2rem;
}

.newsletter-text a {
  color: #0077cc;
  text-decoration: underline;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

.social-icons img {
  width: auto;
  height: 40px;
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.5);
}




/* Footer */
.footer {
  flex-shrink: 0;
   background:black;
  height:100px;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
}




