/* 基础样式 */
:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --bg: #f6f9fc;
  --text: #222;
  --gray: #666;
  --border: #e5e7eb;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
}
*{
  font-family: HarmonyOS Sans SC;
}
body {
    margin: 0;
    padding: 0;
}
a {
  color: var(--primary);
  text-decoration: none;
}
.concent{
    width: 1200px;
    margin: 0 auto;
}
.header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav-container {
  display: flex;
  align-items: center;
  height: 64px;
  justify-content: space-between;
}
.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
}
.nav {
  display: flex;
  gap: 32px;
}

.nav-link {
  color: var(--gray);
  font-size: 1rem;
  line-height: 60px;
  position: relative;
  transition: color 0.2s;
}

.nav-link.active,
.nav-link:hover {
  color: var(--primary);
}

.nav-link.active::after,
.nav-link:hover::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--primary);
  width: 100%;
  position: absolute;
  left: 0;
  bottom: -2px;
  border-radius: 2px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgb(32, 33, 36);
  font-family: 旁门正道标题体;
  font-size: 24px;
  font-weight: 400;
  line-height: 27px;
  letter-spacing: 0px;
  text-align: left;
}
.hero-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    z-index: 2;
    position: relative;
}
#hero {
  width: 100%;
  height: 720px;
  position: relative;
  background-image: url('static/hero-image.png'); /* 设置背景图片 */
  background-size: cover; /* 让图片覆盖整个容器 */
  background-position: center; /* 图片居中显示 */
  background-repeat: no-repeat; /* 禁止重复 */
}
.hero-content h1 {
  color: rgb(29, 33, 48);
  font-size: 56px;
  font-weight: 700;
  line-height: 76px;
  letter-spacing: 0px;
  text-align: left;
  margin-bottom: 25px;
}
.hero-content p {
    color: rgb(114, 119, 129);
    font-size: 24px;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: 0px;
    text-align: left;
}

#features {
    width: 100%;
    height: 120px;
    backdrop-filter: blur(20px);
    background: rgba(246, 247, 255, 0.92);
}
.features {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
    position: relative;
}
.feature-item img {
    width: 50px;
    height: 50px;
    margin-right: 4px;
    vertical-align: middle;
}

.feature-item h3 {
    margin: 10px 0 8px 0;
}
.feature-item p {
   color: rgb(114, 119, 129);
   margin: 0 0 0px 0
}

#platform-intro {
    width: 100%;
}
#platform-intro h2{
    text-align: center;
    padding-top: 80px;
    margin-bottom: 50px;
}
.intro-items{
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    gap: 100px;
    position: relative;
}
.intro-items .active{
  position: relative;
}
.intro-items .active::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  bottom: -5px; /* 边框宽度的一半 */
  left: 0; /* 边框宽度的一半 */
  background: linear-gradient(90.00deg, rgba(2, 86, 255, 0.11) 0%,rgb(2, 86, 255) 55.813%,rgba(2, 86, 255, 0) 100%);
  z-index: -1; /* 确保伪元素在背景之下 */
}
.intro-item {
    display: inline-block;
    text-align: center;
    padding: 0 85px;
}
.intro-item h3 {
    margin-top: 8px;
    font-size: 20px;
    color: #60656C;
    font-weight: 400;
}
.intro-item img {
    width: 100px;
    height: 100px;
}

#details {
    width: 100%;
    margin-top: 60px;
    height: 500px;
    background-image: url('static/detailsbg.png'); /* 设置背景图片 */
    background-size: cover; /* 让图片覆盖整个容器 */
    background-position: center; /* 图片居中显示 */
    background-repeat: no-repeat; /* 禁止重复 */
    display: flex; /* 启用 Flexbox 布局 */
    flex-direction: column; /* 子元素垂直排列 */
    justify-content: flex-end; /* 将子元素推到容器底部 */
}
.details-items{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.details-items img {
    width: 521px;
    height: 453px;
}
.details-items p {
    max-width: 437px;
    white-space: wrap;
    color: rgb(96, 101, 108);
    font-size: 24px;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: 0px;
    text-align: justify;
}
.details-items text{
    color: rgb(15, 95, 255);
    font-family: Do Hyeon;
    font-size: 32px;
    font-weight: 400;
    line-height: 40px;
    text-align: left;
}
.details-items h1 {
    color: rgb(29, 33, 48);
    font-size: 32px;
    font-weight: 700;
    line-height: 38px;
    text-align: left;
}
#details button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}
@keyframes float {
  from { opacity: 0; }
  to { opacity: 1; }
}

.details-keyframes {
  animation: float 1s ease-in-out;
}
#special-features {
    width: 100%;
    margin-top: 60px;
}
#special-features h2 {
    text-align: center;
    margin-bottom: 80px;
}
.feature-cards {
    display: flex; /* 使用 Flexbox 布局 */
    flex-wrap: wrap; /* 允许换行 */
    gap: 35px; /* 卡片之间的间距 */
    justify-content: space-between; /* 卡片均匀分布 */
}
.feature-card {
    flex: 1 1 calc(33.33% - 70px); /* 每行三列，减去间距 */
    box-sizing: border-box; /* 确保 padding 和 border 不会影响宽度 */
    display: flex;
    justify-self: flex-start;
    gap: 10px;
    padding: 20px;
    box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.08);
}
.feature-cards .hr {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, #BEBEBE 75%, #ffffff 10%);
}
.feature-cards h3 {
    margin: 0 0 16px 0;
    color: rgb(29, 33, 48);
    font-size: 26px;
    font-weight: 700;
    line-height: 30px;
    letter-spacing: 0px;
    text-align: left;
}
.feature-cards p {
    color: rgb(114, 119, 129);
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: 0px;
    text-align: justify;
    white-space: wrap;
}
.feature-card img{
    width: 58px;
    height: 42px; 
}

.footer-links ul {
    list-style: none;
    padding: 0;
}
#solutions {
    margin-top: 60px;
    width: 100%;
}
h2{
  color: rgb(29, 33, 48);
  font-size: 36px;
  font-weight: 700;
  line-height: 42px;
  letter-spacing: 0px;
}
.solutions-text{
  color: rgb(114, 119, 129);
  font-size: 20px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0px;
  text-align: left;
  margin-top: 16px;
}
.textAlignCenter {
   text-align: center;
}
.footer-links li {
    margin-bottom: 10px;
}

.contact-info {
    text-align: center;
    padding: 20px 0;
}

.container { 
    display: flex;
    width: 1200px;
    height: 644px;
    box-shadow: 0px 0px 38px 0px rgba(6, 23, 39, 0.11);
    background: rgb(255, 255, 255);
    margin-top: 30px;
}
.sidebar {
  width: 220px;
  background: #eaf6ff;
  transition: width 0.3s;
}
.sidebar ul { list-style: none;  padding: 16px; }
.sidebar li {
  display: flex;
  align-items: center;
  padding: 16px 24px;
  font-size: 18px;
  color: #333;
  cursor: pointer;
  border-radius: 8px;
  margin-bottom: 8px;
  transition: background 0.2s, color 0.2s;
}
.sidebar li div{
  display: inline-block;
  width: 32px;
  height: 32px;
  background-image: url('static/sidebar2.png');
}
.sidebar li div.scenic{
  background-position: -53px -19px;
}
.sidebar li.active div.scenic, .sidebar li:hover div.scenic{
  background-position: -15px -19px;
}

.sidebar li div.exhibition{
  background-position: -53px -134px;
}
.sidebar li.active div.exhibition, .sidebar li:hover div.exhibition{
  background-position: -15px -134px;
}
.sidebar li div.food{
  background-position: -53px -253px;
}
.sidebar li.active div.food, .sidebar li:hover div.food{
  background-position: -15px -253px;
}
.sidebar li div.coffee{
  background-position: -53px -57px;
}
.sidebar li.active div.coffee, .sidebar li:hover div.coffee{
  background-position: -15px -57px;
}
.sidebar li div.homestay{
  background-position: -53px -174px;
}
.sidebar li.active div.homestay, .sidebar li:hover div.homestay{
  background-position: -15px -174px;
}
.sidebar li div.photo{
  background-position: -53px -292px;
}
.sidebar li.active div.photo, .sidebar li:hover div.photo{
  background-position: -15px -292px;
}
.sidebar li div.equestrian{
  background-position: -53px -96px;
}
.sidebar li.active div.equestrian, .sidebar li:hover  div.equestrian{
  background-position: -15px -96px;
}
.sidebar li div.leisure{
  background-position: -53px -212px;
}
.sidebar li.active div.leisure, .sidebar li:hover  div.leisure{
  background-position: -15px -212px;
}
.sidebar li.active, .sidebar li:hover {
  background: linear-gradient(90.00deg, rgb(0, 113, 255),rgb(0, 202, 255) 100%);
  color: #fff;
}
.sidebar li span { margin-right: 12px; font-size: 22px; }
.main-content {
  flex: 1;
  padding: 40px 32px;
  background: #fff;
  border-radius: 16px;
  min-width: 0;
}
.main-content h1 { font-size: 32px; font-weight: bold; margin-bottom: 16px; }
.main-content .desc { color: #8a99a7; margin-bottom: 32px; font-size: 18px; }
.grid {
  display: none;

}
.grid.active{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: -1px; /* 负的间隙值用于合并边框 */
  animation: fadeIn 1s; /* 添加淡入动画 */
}
.card {
  position: relative; /* 设置相对定位 */
  width: 100%;
  box-sizing: border-box;
  padding: 36px 0;
  text-align: center;
  font-size: 20px;
  border: 1px solid #EAEFF7;
  box-shadow: 0 2px 8px rgba(28,181,252,0.08);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  overflow: hidden; /* 防止内容溢出 */
  color: rgb(29, 33, 48);
  font-size: 22px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0px;
  text-align: center;
}
.card div {
  width: 38px;
  height: 38px;
  margin: 0px auto 30px;
  overflow: hidden;

}
#solutions-title{
  margin-top: 0;
}
#scenic .card div, #exhibition .card div{
  background-image: url('static/sidebar2.png');
}
@keyframes fadeIn {
  from { opacity: 0; margin-right: -100%; }
  to { opacity: 1; margin-right: 0 }
}
#scenic .card-item1, #exhibition .card-item1{
  background-position: -123px -58px
}
#scenic .card-item2, #exhibition .card-item2{
  background-position: -123px -251px
}
#scenic .card-item3, #exhibition .card-item3{
  background-position: -123px -154px
}
#scenic .card-item4, #exhibition .card-item4{
  background-position: -123px -106px
}
#scenic .card-item5, #exhibition .card-item5{
  background-position: -123px -345px
}
#scenic .card-item6, #exhibition .card-item6{
  background-position: -123px -300px
}
#scenic .card-item7, #exhibition .card-item7{
  background-position: -123px -203px
}
#scenic .card-item8{
  background-position: -123px -11px
}
#exhibition .card .card-item8{
  background-image: url('static/icons.png');
  background-position: 0px -567px
}
#food .card div, #coffee .card div, #homestay .card div,  #photo .card div, #equestrian .card div,  #leisure .card div{
  background-image: url('static/icons.png');
}
#food .card-item1, #coffee .card-item1, #homestay .card-item1{
  background-position: 0px 0px
}
#food .card-item2, #coffee .card-item2{
  background-position: 0px -430px
}
#food .card-item3, #coffee .card-item3, #homestay .card-item4{
  background-position: 0px -144px
}
#food .card-item4, #coffee .card-item4,  #photo .card-item2,  #equestrian .card-item2, #leisure .card-item2{
  background-position: 0px -713px  
}
#food .card-item5, #coffee .card-item5,  #homestay .card-item5{
  background-position: 0px -215px
}
#food .card-item6, #coffee .card-item6,  #homestay .card-item6,  #photo .card-item6, #equestrian .card-item4,  #leisure .card-item3{
  background-position: 0px -357px
}
#food .card-item7, #coffee .card-item7,  #homestay .card-item7,  #photo .card-item1,  #equestrian .card-item1, #leisure .card-item1{
  background-position: 0px -284px
}
#food .card-item8, #coffee .card-item8,  #homestay .card-item8{
  background-position: 0px -498px
}
#homestay .card-item2{
  background-position: 0px -784px;
}
#homestay .card-item3{
  background-position: 0px -854px
}
#homestay .card-item5{
  background-position: 0px -923px;
}
#photo .card-item3{
  background-position: 0px -995px;
}
#equestrian .card .card-item3{
  background-image: url('static/icons.png');
  background-position: 0px -567px
}
.card:hover {
  background: linear-gradient(90deg, #1cb5fc 0%, #1ed6ff 100%);
  color: #fff;
  box-shadow: 0 
}
.footer {
    width: 100%;
    background: #232733;
    color: #fff;
    padding: 40px 0 30px 0;
    margin-top: 86px;
    font-size: 16px;
  }
  .footer-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    padding: 0 24px;
  }
  .footer-links {
    display: flex;
    gap: 48px;
    flex: 2;
    min-width: 220px;
  }
  .footer-links h4 {
    margin-bottom: 20px;
    color: rgb(255, 255, 255);
    font-size: 16px;
    font-weight: 700;
    line-height: 19px;
    letter-spacing: 0px;
    text-align: left;
  }
  .footer-links ul {
    list-style: none;
    padding: 0;
  }
  .footer-links li {
    margin-bottom: 20px;
  }
  .footer-links a {
    color: #bfc6d1;
    text-decoration: none;
    color: rgb(153, 153, 153);
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0px;
    transition: color 0.2s;
  }
  .footer-links a:hover {
    color: #1cb5fc;
    text-decoration: underline;
  }
  .footer-contact {
    flex: 2;
    min-width: 220px;
    color: #fff;
  }
  .contact-label {
    color: rgb(153, 153, 153);
    font-size: 16px;
    font-weight: 500;
    line-height: 19px;
    letter-spacing: 0px;
    text-align: left;
    margin-bottom: 12px;
  }
  .contact-phone {
    color: rgb(255, 255, 255);
    font-size: 32px;
    font-weight: 700;
    line-height: 38px;
    letter-spacing: 0px;
    text-align: left;
    margin-bottom: 20px;
  }
  .contact-link{
    margin-bottom: 20px;
  }
  .contact-link span {
    color: rgb(255, 255, 255);
   
    font-size: 16px;
    font-weight: 500;
    line-height: 19px;
    letter-spacing: 0px;
    text-align: left;
  }
  .contact-address {
    color: rgb(255, 255, 255);
    font-size: 16px;
    font-weight: 500;
    line-height: 19px;
    letter-spacing: 0px;
    text-align: left;
  }
  .footer-qrcodes {
    display: flex;
    flex-direction: row;
    gap: 32px;
    flex: 1.5;
    min-width: 180px;
    justify-content: center;
  }
  .qrcode-block {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .qrcode-img {
    width: 130px;
    height: 130px;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: box-shadow 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    cursor: pointer;
  }
  .qrcode-img:hover {
    box-shadow: 0 4px 16px #1cb5fc88;
    transform: scale(1.05);
  }
  .qrcode-label {
    color: #bfc6d1;
    font-size: 15px;
    text-align: center;
  }
  .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.25);
    align-items: center;
    justify-content: center;
  }
  
  .modal.active {
    display: flex;
  }
  .close {
    position: absolute;
    right: 18px;
    top: 12px;
    font-size: 1.5rem;
    color: var(--gray);
    cursor: pointer;
  }
  
  .modal-content {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px 40px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    min-width: 260px;
  }
  

.hero-btns{
  position: relative;
}
@keyframes popupAnimation {
  from {
    transform: scale(0.3);
    opacity: 0.3;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.qrcode{
  width: 346px;
  height: 404px;
  position: absolute;
  right: -366px;
  top: -202px;
  padding: 20px;
  box-sizing: border-box;
  background-image: url('static/wxbg.png');
  /* 设置背景图片 */
  background-size: cover;
  /* 让图片覆盖整个容器 */
  background-position: center;
  /* 图片居中显示 */
  background-repeat: no-repeat;
  text-align: center;
  display: none;
}
  .hero-btns .qrcode p{
    margin: 20px 0;
    text-align: center;
    width: 100%;
  }
  .hero-btns:hover > .qrcode{
    display: block;
    animation: popupAnimation 0.3s ease forwards;
  }
  .hero-btns .qrcode p:first-child{
    color: rgb(2, 86, 255);
    font-family: HarmonyOS Sans SC;
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 0px;
  }
  .hero-btns .qrcode p:last-child{
    color: rgb(122, 135, 154);
    font-family: HarmonyOS Sans SC;
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
    letter-spacing: 12px;
  }
  .hero-btns .qrcode img{
    width: 240px;
    height: 240px;
  }