::selection {
  background: rgba(230, 230, 230, 0.8);
}

::-moz-selection {
  background: rgba(230, 230, 230, 0.8);
}

/* 基础样式 */
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

#page-content {
  width: 100%;
  min-height: 100vh;
}

/* Hero 部分 */
#hero-01 {
  background: url(../img/background2.jpg) center center / cover no-repeat !important;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
}

.full-screen {
  min-height: 100vh;
  height: 100%;
}

/* 内容容器 - 用于排列多个SVG */
.hero-content-container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  position: relative;
  padding: 20px;
  gap: 30px; /* SVG之间的间距 */
}

/* Logo容器 */
.logo-container {
    position: absolute;
    margin-top: -20%;
    left: 20px;
    z-index: 100;
    width: 100px;
    height: auto;
    transition: all 0.3s ease;
}

.logo-svg {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}


/* SVG 容器通用样式 */
.svg-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SVG图片样式（对应img标签） */
.svg-img {
  width: 100%;
  height: auto;
  display: block;
}

/* 第一个主SVG */
.svg-main .svg-img,
.svg-main .svg-object,
.svg-main .svg-iframe {
  max-height: 400px;
}

/* 第二个SVG */
.svg-secondary .svg-img,
.svg-secondary .svg-object,
.svg-secondary .svg-iframe {
  width: 80%;
  max-width: 800px;
  max-height: 200px;
}

/* 背景图形样式 */
#hero-01 .hero-bg-graphics {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

#hero-01 .hero-bg-graphics img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.about {
    background: #fffaf1;
    margin-top: -30px;
}

/* =========================================== */
/* 响应式设计 */
/* =========================================== */

/* 大屏幕（991px以上） */
@media (min-width: 992px) {
  .hero-content-container {
      padding-top: 5%;
  }
  .logo-container {
        width: 120px;
        top: 50px;
        left: 30px;
    }
}

/* 中等屏幕（768px - 991px） */
@media (max-width: 991px) {
  .hero-content-container {
    max-width: 90%;
    padding: 40px 20px;
    gap: 20px;
    margin-bottom: 25%;
  }
  
  .svg-main .svg-img,
  .svg-main .svg-object,
  .svg-main .svg-iframe {
    max-height: 300px;
  }
  
  .svg-secondary .svg-img,
  .svg-secondary .svg-object,
  .svg-secondary .svg-iframe {
    width: 90%;
    max-height: 150px;
  }
  
  #hero-01 {
    min-height: 100vh;
    padding-bottom: 100px;
  }
  
  .logo-container {
        width: 90px;
        top: 20px;
        left: 20px;
    }
}

/* 平板（576px - 767px） */
@media (max-width: 768px) {
  .hero-content-container {
    margin-bottom: 30%;
    gap: 15px;
  }
  
  .svg-main .svg-img,
  .svg-main .svg-object,
  .svg-main .svg-iframe {
    max-height: 250px;
  }
  
  .svg-secondary {
    margin-top: 10px;
  }
  
  .svg-secondary .svg-img,
  .svg-secondary .svg-object,
  .svg-secondary .svg-iframe {
    width: 95%;
    max-height: 120px;
  }
  
  .full-screen {
    min-height: 100vh;
  }
  
  #hero-01 {
    padding-bottom: 120px;
  }
  
  #hero-01 .hero-bg-graphics img {
    width: 100%;
    max-width: none;
    object-fit: cover;
  }
  
  .logo-container {
        width: 80px;
        top: 15px;
        left: 15px;
    }
}

/* 手机（400px - 575px） */
@media (max-width: 576px) {
  .hero-content-container {
    padding: 40px 15px;
    margin-bottom: 35%;
    gap: 10px;
  }
  
  .svg-main .svg-img,
  .svg-main .svg-object,
  .svg-main .svg-iframe {
    max-height: 200px;
  }
  
  .svg-secondary .svg-img,
  .svg-secondary .svg-object,
  .svg-secondary .svg-iframe {
    width: 100%;
    max-height: 100px;
  }
  
  #hero-01 {
    padding-bottom: 150px;
  }
  
  #hero-01 .hero-bg-graphics {
    left: -10%;
    right: -10%;
    width: 120%;
  }
  
  .logo-container {
        width: 70px;
        top: 12px;
        left: 12px;
    }
}

/* 小手机（400px以下） */
@media (max-width: 400px) {
  .hero-content-container {
    margin-bottom: 40%;
    gap: 8px;
  }
  
  .svg-main .svg-img,
  .svg-main .svg-object,
  .svg-main .svg-iframe {
    max-height: 180px;
  }
  
  .svg-secondary .svg-img,
  .svg-secondary .svg-object,
  .svg-secondary .svg-iframe {
    max-height: 80px;
  }
  
  #hero-01 {
    padding-bottom: 180px;
  }
  
  #hero-01 .hero-bg-graphics {
    left: -15%;
    right: -15%;
    width: 130%;
  }
  
  .logo-container {
        width: 60px;
        top: 10px;
        left: 10px;
    }
}

/* 横屏模式优化 */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-content-container {
    margin-bottom: 15%;
    gap: 15px;
    flex-direction: row; /* 横屏时改为横向排列 */
    flex-wrap: wrap;
    justify-content: space-around;
  }
  
  .svg-main,
  .svg-secondary {
    width: 45%;
    margin-bottom: 0;
  }
  
  .svg-main .svg-img,
  .svg-main .svg-object,
  .svg-main .svg-iframe {
    max-height: 180px;
  }
  
  .svg-secondary .svg-img,
  .svg-secondary .svg-object,
  .svg-secondary .svg-iframe {
    max-height: 100px;
    width: 100%;
  }
  
  #hero-01 {
    min-height: 600px;
    padding-bottom: 80px;
  }
  
  .logo-container {
        width: 70px;
        top: 15px;
        left: 15px;
    }
}

/* 超小横屏 */
@media (max-height: 400px) and (orientation: landscape) {
  .hero-content-container {
    margin-bottom: 10%;
    gap: 10px;
  }
  
  .svg-main .svg-img,
  .svg-main .svg-object,
  .svg-main .svg-iframe {
    max-height: 150px;
  }
  
  .svg-secondary .svg-img,
  .svg-secondary .svg-object,
  .svg-secondary .svg-iframe {
    max-height: 80px;
  }
  
  .logo-container {
        width: 70px;
        top: 15px;
        left: 15px;
    }
}