/* 全局样式 */
:root {
    --primary-color: #079e68;
    --secondary-color: #010101;
    --white: #fff;
    --sub-color: #313131;
}

.section-title {
    font-family: 'Source Han Serif SC', serif;
}

.mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 5;
}

.section-1-content {
    position: relative;
    z-index: 15;
    padding: 200px 0 0 0;
    margin: 0 auto;
    text-align: center;
}

.section-1-content .p1{
  font-size: 72px;
	line-height: 90px;
  font-weight: lighter;
  color: var(--primary-color);
}
.section-1-content .p2{
  font-size: 36px;
	letter-spacing: 2px;
  font-weight: bold;
  color: var(--white);
  margin-top: 60px;
}
.section-1-content .p3{
  font-size: 22px;
	letter-spacing: 1px;
  font-weight: lighter;
  color: var(--white);
  margin-top: 20px;
}
.section-1-content form{
  margin-top: 30px;
}
.link-phone-container{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
}
.link-phone{
  width: 227px;
	height: 55px;
	border-radius: 12px;
	border: solid 1px rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--white);
  transition: all 0.3s ease;
}
.link-phone:hover{
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(0.98);
}
.other-link {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 34px;
}
.other-link-item {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 180px;
    height: 55px;
    border-radius: 27px;
    font-size: 18px;
    color: #ffffff;
    z-index: 20;
    text-decoration: none;
    overflow: hidden;
}

.other-link-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0) 20%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 80%
    );
    transform: translateX(-100%) rotate(45deg);
    transition: transform 0.6s;
}

.other-link-item:hover::before {
    transform: translateX(100%) rotate(45deg);
}

.other-link-item:nth-child(1) {
    background-color: #5ccf66;
}

.other-link-item:nth-child(2) {
    background-color: #039be5;
}

.other-link-item:nth-child(3) {
    background-color: #1fb51f;
}

.other-link-item .qr-popup {
    position: fixed;
    left: -350px;
    top: 20%;
    transform: translateY(0);
    background: #fff;
    padding: 6px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    display: block;
    opacity: 0;
    z-index: 2000;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}



.other-link-item:hover .qr-popup {
    left: 20px;  /* 与右侧悬浮按钮对齐 */
    opacity: 1;
    pointer-events: auto;
}

.other-link-item .qr-popup img {
    display: block;
    width: 250px;
    height: auto;
    border-radius: 6px;
    object-fit: contain;
}

.banner-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 10;
}

.banner-arrow {
  width: 19px;
  height: 23px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
}

.banner-arrow img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.banner-arrow:hover img {
  opacity: 0.8;
}

.banner-arrow.disabled img {
  opacity: 0.5;
  cursor: not-allowed;
}

.banner-indicators {
  display: flex;
  gap: 10px;
}

.banner-indicator {
  width: 160px;
  height: 90px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.banner-indicator img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-indicator::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.banner-indicator.active {
  border-color: var(--white);
}

.banner-indicator.active::after {
  opacity: 0;
}

/* 户型介绍  start*/
.section-2-content{
  width: 1300px;
  margin: 0 auto;
  text-align: center;
  padding: 100px 0 0 0;
}
.section-2-title{
  font-size: 52px;
  font-weight: bold;
  color: var(--primary-color);
  letter-spacing: 3px;
}
.house-part{
  margin-top: 100px;
}
.house-part-title{
  font-size: 36px;
  color: var(--sub-color);
  font-weight: lighter;
  letter-spacing: 2px;
}
.house-part-content{
  width: 1300px;
  margin-top: 80px;
  position: relative;
  display: flex;
  height: 665px;
  overflow: hidden;
}

.house-part-img {
  position: relative;
  cursor: pointer;
  display: flex;
  height: 100%;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.house-part-img .follow-img {
  width: 200px;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.house-part-img .banner-img {
  width: 0;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.house-part-img.active .banner-img {
  width: 700px;
}

.house-part-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 100%;
  background-color: rgba(7, 158, 104, 0.3);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.house-part-img.active::after {
  opacity: 0;
}

/* 户型介绍  end*/

/* 楼盘地址  start*/
.section-3{
  padding:100px 0 110px 0;
  background: linear-gradient(to bottom, #fff 75%, #079e68 25%); /* 添加背景渐变 */
}
.section-3-content{
  width: 1280px;
  margin: 0 auto;
  text-align: center;
}
.section-3-title{
  font-size: 52px;
  color: var(--primary-color);
  font-weight: bold;
  letter-spacing: 3px;
}
.section-3-map{
  margin-top: 47px;
}
.section-3-map .map-link {
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.section-3-map .map-link:hover {
  transform: scale(1.05);
}
.section-3-map img{
  width: 29px;
  height: auto;
}
.section-3-map p{
  font-size: 18px;
  color:var(--secondary-color);
  margin-top: 10px;
}
.diagram{
  margin-top: 70px;
}
.diagram img{
  width: 100%;
  height: auto;
}
.address{
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  text-align: left;
}
.address-item-title{
  display: flex;
  align-items: center;
  margin: 30px 10px;

}
.address-item-title .radio{
  width: 18px;
  height: 18px;
  background: transparent; /* 修改为透明以实现中间没有颜色 */
  border: 2px solid var(--white); /* 添加边框以形成环形效果 */
  border-radius: 50%;
  margin-right: 10px;
}
.address-item-title-text{
  font-size: 24px;
	color: var(--white);
  margin-left: 20px;
}
.address-item-list{
  padding-left: 60px;
  font-size: 18px;
	line-height: 30px;
	color: var(--white);
  max-width: 600px;

}
.address-item-img{
  width: 630px;
  height: auto;
}
/* 楼盘地址  end*/

/* 预约登记  start*/
.section-4{
  padding: 100px 0 100px 0;
}
.section-4-title{
  font-size: 52px;
  color: var(--primary-color);
  font-weight: bold;
  letter-spacing: 3px;
  text-align: center;
}
/* 预约登记  end*/

/* 联系我们  start*/
.section-5{
  position: relative;
  padding: 80px 0 0 0;
  height: 580px;
  background-image: url(../images/bg1.png);
  background-size: cover;
  background-position: center;
}
.section-5-title{
  font-size: 52px;
  color: var(--white);
  font-weight: bold;
  letter-spacing: 3px;
  text-align: center;
}
.section-5-sub{
  position: relative;
  max-width: 700px;
  text-align: center;
  margin: 50px auto 0 auto;
  font-size: 36px;
  color: var(--white);
}

.section-5-text{
  font-size: 36px;
  color: var(--white);
  margin-top: 10px;
  text-align: center;
}
.section-5-sub .section-5-sub-text1{
  font-size: 150px;
}
.section-5-bottom{
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
}
.section-5-bottom-item{
  flex: 1;
  background-color: rgba(0, 125, 81, 0.7);
  text-align: center;
  padding: 35px 0;
  color: var(--white);
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}

.section-5-bottom-item:hover {
  background-color: rgba(0, 125, 81, 0.9);
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.section-5-bottom-item p:nth-child(1){
  font-size: 24px;
}
.section-5-bottom-item-icon{
  display: flex;
  justify-content: center;
  align-items: center;
   height: 80px;
}
.section-5-bottom-item p:nth-child(2){
  font-size: 20px;
  font-family: Georgia;
}
/* 联系我们  end*/

/* 项目平面图 start */
.section-6{
  padding: 100px 0 0 0;
}
.section-6-title{
  font-size: 52px;
  color: var(--primary-color);
  font-weight: bold;
  letter-spacing: 3px;
  text-align: center;
}
.layout-box{
  max-width: 1000px;
  margin: 0 auto;
}
.layout-box img{
  max-width:100% ;
  height: auto;
}
/*项目平面图 end */
/* 页脚 start */
.footer{
  padding: 80px 0;
}
.footer-menu{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
}
.footer-menu-item{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 59px;
	height: 59px;
	background-color: #eeeeee;
  border-radius: 50%;
  transition: all 0.3s ease;
  cursor: pointer;

}
.footer-menu-item:hover{
  background-color: #079e68;
  transform: scale(1.05);
}
.footer p{
  font-size: 16px;
	line-height: 26px;
	color: #010101;
  text-align: center;
 
}
/* 页脚 end */

/* 图片预览 start */
.image-preview-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
}

.image-preview-container.active {
    display: block;
}

.image-preview-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.image-preview-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
}

.image-preview-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    transition: transform 0.3s ease;
    cursor: grab;
    user-select: none;
    -webkit-user-drag: none;
}

.image-preview-content img:active {
    cursor: grabbing;
}

.image-preview-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 1001;
}

.image-preview-controls button {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.image-preview-controls button:hover {
    background-color: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.image-preview-close {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
}

.image-preview-close::before {
    content: '×';
    display: block;
    line-height: 61px;
}

.image-preview-close:hover {
    background-color: rgba(0, 0, 0, 0.5);
}
/* 图片预览 end */

/* 消息盒子 start */
.message-box{
  position: fixed;
  top: 20%;
  right: 20px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.message-box-item {
  display: block;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.message-box-item:hover {
  transform: scale(1.15);
}

.message-box-item img {
  width: 50px;
  height: 50px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

/* 消息盒子 end */

.mt50{
  margin-top: 50px;
}
.flex{
  display: flex;
  align-items: center;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    -webkit-overflow-scrolling: touch; /* 在iOS上优化滚动 */
}

/* 导航栏 start*/
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 1200px;
    height: 120px;
    padding: 0 10vw;
    z-index: 100;
    transition: all 0.3s ease;
}

nav.scrolled {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    height: 80px;
}

.nav-left img {
    height: 60px;
    transition: all 0.3s ease;
}

nav.scrolled .nav-left img {
    height: 40px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-size: 20px;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    border-radius: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.lang-select {
    display: flex;
    align-items: center;
    margin-left: 40px;
}

.lang-select-box {
    outline: none;
    border: none;
    background-color: transparent;
    color: var(--white);
    cursor: pointer;
    margin-left: 10px;
    font-size: 16px;
}

.lang-select option {
    background-color: var(--secondary-color);
    color: var(--white);
}

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

.active-link::after {
    width: 70%;
}
/* 导航栏 end*/

/* 轮播图 start*/
.section-1 {
    position: relative;
    height: 919px;
    background-image: url(../images/banner1.png);
    background-size: cover;
    background-position: center;
}
.fixbox {
  position: fixed;
  top: 38%;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 20;

}
.fixbox .item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  border-radius: 50px;
  height: 50px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
}
.fixbox .item .icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  transform: scale(0.9);
}
.fixbox .item .text {
  max-width: 0;
  text-align: center;
  color: #fff;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  
}

.fixbox .item:nth-child(1) {
  background-color: #25d366;
}
.fixbox .item:nth-child(2) {
  background-color: #28a7e8;
}
.fixbox .item:nth-child(3) {
  background-color: #12b643;
}
.fixbox .item:nth-child(4) {
  background-color: #0f3a5f;
}
.fixbox .item:hover .text {
  max-width: 200px;
  padding-left: 20px;
  opacity: 1;
}