/* ===================== 页面基础与导航栏样式 ===================== */
/* 全局基础页面样式 */
.page {
  background-color: #ffffff;
  width: 100%;
  height: 100vh;
  margin: 0;
  padding-top: 60px; /* 与导航栏高度保持一致 */
}

/* 重置body的默认margin和padding */
body {
  margin: 0;
  padding: 0;
}

/* 导航栏区域 */
.section {
  padding: 0 10vw;
  background-color: #000000;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%; 
  z-index: 1000;
  height: 60px;
  box-sizing: border-box;
}

/* 公司Logo */
.image {
  width: 8vw;
  height: auto;
}

/* 导航菜单项 */
.image_1 {
  margin-left: 2.5vw;
  font-size: 1.0vw;
  white-space: nowrap;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.image_1:hover {
  color: #3bbfed;
  text-decoration: underline;
}
/* 下拉菜单容器 */
.dropdown-container {
  position: relative;
  display: inline-block;
}

/* 下拉内容默认隐藏 */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  padding: 10px 0;
}

/* 下拉内容中的项目样式 */
.dropdown-content .section_3 div {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  cursor: pointer;
}

.dropdown-content .section_3 div:hover {
  background-color: #f1f1f1;
}

/* 鼠标悬停时显示下拉内容 */
.dropdown-container:hover .dropdown-content {
  display: block;
}

/* 保持原有悬停效果 */
.dropdown-container:hover {
  color: #3bbfed;
  text-decoration: underline;
}

/* 搜索框区域 */
.search-box {
    display: flex;
    margin-left: 2.5vw;
    align-items: center;
    border: 2px solid #555;
    border-radius: 20px;
    padding: 5px 10px;
}
/* 搜索框区域 */
.search-box {
    display: flex;
    margin-left: 2.5vw;
    align-items: center;
    border: 2px solid #555;
    border-radius: 20px;
    padding: 5px 10px;
}

.search-box input {
    background: transparent;
    border: none;
    color: white;
    outline: none;  
}

.search-box button {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
}

/* 右侧按钮组 */
.group {
  margin-left: 2vw;
  display: flex;
  flex-shrink: 0; /* 防止按钮组被压缩 */
  align-items: center;
  white-space: nowrap; /* 防止按钮文字换行 */
}

.button-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin-left: 1.5vw;
  flex-shrink: 0; /* 防止按钮被压缩 */
}

.button-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.button-text {
  position: relative;
  z-index: 2;
  color: white;
  font-size: 1.0vw;
  padding: 0.5vh 1vw;
  pointer-events: none;
}
/* ===================== 首页及副本样式 ===================== */
/* 主体内容区域 */
.group_2 {
  width: 100%;
  display: flex;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.view {
  height: 10vh;
  width: auto;
  display: flex;
  margin-top: 25vh;
}

.group_3 {
  margin-left: 5vw;
  margin-top: 15vh;
}

/* 主标题 */
.image_15 {
  font-size: 3vw;
  font-weight: bold;
  color: black;
  font-family: '思源黑体CN';
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 副标题 */
.image_18 {
  font-size: 2vw;
  margin-top: 2vh;
  color: black;
  font-family: '思源黑体CN';
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 了解更多链接 */
.group_6{
  margin-top: 3vh;
  color: #3bbfed;
  font-family: '思源黑体CN';
  font-size: 1.5vw;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-image {
  margin-top: 10vh;
  width: 35vw;
  z-index: 1;
  transition: transform 0.3s ease;
}
.main-image:hover {
  transform: scale(1.1); /* 鼠标悬停时放大1.1倍 */
}

/* ===================== 移动端适配 ===================== */
@media (max-width: 768px) {
  /* 导航栏布局 */
  .section {
    padding: 0 3vw;
    height: 40px;
    justify-content: space-between;
  }
  
  .page {
    padding-top: 40px;
  }

  /* Logo大小调整 */
  .image {
    width: auto;
    height: 24px;
  }

  /* 导航菜单项 */
  .image_1 {
    font-size: 10px;
    margin-left: 8px;
  }

  /* 按钮组样式 */
  .group {
    margin-left: 8px;
  }

  .button-container {
    margin-left: 6px;
  }

  .button-text {
    font-size: 10px;
    padding: 4px 8px;
  }
  
  /* 搜索框折叠，优先保证按钮显示 */
  .search-box {
    border: none;
    background: transparent;
    padding: 0;
    margin-left: 15px;
  }
  
  .search-box input {
    width: 0;
    min-width: 0;
    opacity: 0;
    padding: 0;
    margin: 0;
    font-size: 14px;
    transition: all 0.3s ease;
  }
  
  .search-box button {
    padding: 6px 8px;
    border: 1px solid #555;
    border-radius: 16px;
    background: rgba(255,255,255,0.06);
  }
  
  .search-box:focus-within input {
    width: 40vw;
    opacity: 1;
    padding: 6px 10px;
    margin-left: 8px;
    background: rgba(0,0,0,0.3);
    border: 1px solid #555;
    border-radius: 16px;
  }

  /* 下拉菜单调整 */
  .dropdown-content {
    min-width: 100px;
  }

  .dropdown-content .section_3 div {
    font-size: 10px;
    padding: 6px 10px;
  }
}