* {
  margin: 0;
  padding: 0;
}
a 
{
	text-decoration: none; 
}

/* 已访问的链接 */
a:visited {
  color: #707070;
}

/* 鼠标悬停的链接 */
a:hover {
  color: red;
}

.banner {
  position: relative;
  height: 1000px;
  overflow: hidden;
}

.slides {
  position: absolute;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

/* 指示点样式 */
.dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
}

.dot {
  width: 20px;
  height: 20px;
  background-color: #fff;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.5;
}

.dot.active {
  opacity: 1;
}
.right-icon {
  position: absolute;
  right: -17px;
  top: 120px;
}
.right-icon a {
  color: #fff;
  text-decoration: none;
  margin-right: 50px;
}
.banner .title {
  position: absolute;
  top: 95px;
  left: 48%;
  transform: translateX(-50%);
  z-index: 1;
}
.arrow {
  position: absolute;
  top: 12px;
  right: 149px;
  transition: transform 0.3s ease;
}
.float-out {
  position: absolute;
  top: 46px;
  right: 42px;
  padding-top: 3px;
  background: red;
  width: 200px;
  height: 360px;
  border-radius: 7px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.3s ease;
}
.gallery {
  padding-bottom: 25px;
}
.gallery:hover .float-out {
  opacity: 1;
  visibility: visible;
}
.float-in {
  display: flex;
  flex-direction: column;
  background: #fff;
  width: 200px;
  height: 360px;
  border-radius: 7px;
}
li {
  list-style: none;
}
.float-in li {
  margin-left: 40px;
  padding-top: 30px;
  color: #000;
}

h5 {
  padding-top: 102px;
  text-align: center;
  font-size: 46px;
}

.gallery:hover .arrow {
  transform: rotate(180deg);
}
.line {
  display: block;
  margin: 0 auto;
}
.tips {
  text-align: center;
  font-size: 14px;
  color: #434343;
  padding: 20px 0 30px 0;
}
.main {
  display: block;
  margin: 0 auto;
  justify-content: space-between;
  max-width: 1297px;width: 94%;
  padding-top: 80px;overflow: hidden;
}
.top-content p {
  font-size: 14px;
  color: #434343;
  padding: 5px;
}


.bottom-content p {
  font-size: 14px;
  color: #434343;
  padding: 5px 0;
}
.left-item{width: 43%;float: left;}
.top-content {
  padding-top: 20px;
  line-height: 28px;
  color:#707070;
}
.bottom-content {
  padding-top: 30px;
}
span {
  margin-left: 10px;
  font-size: 14px;
  color: #434343;
  opacity: 0.75;
}
.down {
  padding-top: 30px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.down > div {
  padding-bottom: 20px;
  width: 50%;
  box-sizing: border-box;
}
.about {
  display: inline-block;
  margin-top: 15px;
  width: 120px;
  font-size: 18px;
  height: 44px;
  background: red;
  text-align: center;
  line-height: 44px;
  color: #fff;
  text-decoration: none;
  border-radius: 22px;
}
.right-item{width: 53%;float: right;}
.slides2 {
  position: relative;
  width: 100%;
  height: 0;padding-bottom: 65.65%;
  overflow: hidden;
}

.slide2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  animation: fade 12s infinite;
}

/* 设置每张幻灯片不同的动画延迟时间 */
.slide2:nth-child(1) {
  animation-delay: 0s;
}
.slide2:nth-child(2) {
  animation-delay: 4s;
}
.slide2:nth-child(3) {
  animation-delay: 8s;
}

/* 定义淡入淡出动画 */
@keyframes fade {
  0% {
    opacity: 0;
  }
  16% {
    opacity: 0;
  }
  33% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.room-type {
  margin-top: 120px;
  height: 1120px;
  background-color: #f6f6f6;
}
.room-type-left > h5 {
  font-size: 18px;
  color: #707070;
}
.room {
  width: 683px;
  height: 595px;
  margin-left: 50px;
}
.line2 {
  width: 42px;
  height: 3px;
  background: #c7c7c7;
  margin-bottom: 30px;
}
.room-type-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 543px;
}
.room-type-left p {
  font-size: 14px;
  color: #707070;
  padding: 10px 0;
  text-align: center;
  line-height: 28px;
}
.room-type-left h5 {
  font-size: 18px;
  color: #707070;
  padding: 70px 0 30px 0;
}
.room-type-content {
  padding-top: 90px;
  display: flex;
  margin: 0 auto;
  width: 1300px;
}
.room-type-content-slide{
  display: none;
  transition: opacity 0.5s ease-in-out;
}
.room-type-content-slide.active {
  display: block;
  opacity: 1;
  position: relative;
}
.bed {
  width: 127px;
  height: 127px;
}
.dots2 {
  display: flex;
  gap: 10px;
  margin: 0 auto;
  width: 70px;
  padding-top: 95px;
}
.dot2 {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #dcdcdc;
}
.dot2.active {
  background: red;
}
.house-gallery-top {
  padding-top: 60px;
  display: flex;
  gap: 10px;
  margin: 0 auto;
  width: 1202px;
}
.house-gallery-bottom {
  display: flex;
  padding-top: 10px;
  gap: 10px;
  margin: 0 auto;
  width: 1201px;
}
.house-gallery {
  background-image: url(./homeimages/house8.png);
  background-repeat: no-repeat;
  background-size: cover;
  height: 870px;
}
.house-gallery h5 {
  color: #fff;
}
.tips2 {
  text-align: center;
  font-size: 14px;
  padding: 20px 0 30px 0;
  color: #fff;
}
.gallery-item {
  height: 193px;
  position: relative;
  overflow: hidden;
}
.gallery-item2 {
  height: 270px;
  position: relative;
  overflow: hidden;
}

.gallery-item img {
  height: 100%;width: 100%;
  height: auto;
  transition: transform 0.2s ease;
  transform-origin: center center;
}

.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-item2 img {
  height: 100%;width: 100%;
  height: auto;
  transition: transform 0.2s ease;
  transform-origin: center center;
}

.gallery-item2:hover img {
  transform: scale(1.05);
}
.contact-form {
  position: relative;
  max-width: 600px;
  margin: 0px auto;
  padding-left: 159px;
  border-radius: 10px;
}

.contact-form h5 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: #333;
}

.form-group {
  color: #707070;
  margin-bottom: 15px;
}
.form-group-message {
  color: #707070;
  margin-bottom: 10px;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: red;
  box-shadow: 0 0 5px rgba(255, 0, 0, 0.3);
}
.form-tel {
  color: #707070;
  margin-bottom: 15px;
}
.form-tel input:focus,
.form-tel textarea:focus {
  outline: none;
  border-color: red;
  box-shadow: 0 0 5px rgba(255, 0, 0, 0.3);
}
.form-tel input,
.form-tel textarea {
  width: 565px;
  height: 57px;
  padding: 10px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
}

.form-group-message input:focus,
.form-group-message textarea:focus {
  outline: none;
  border-color: red;
  box-shadow: 0 0 5px rgba(255, 0, 0, 0.3);
}
.form-group-code input:focus,
.form-group-code textarea:focus {
  outline: none;
  border-color: red;
  box-shadow: 0 0 5px rgba(255, 0, 0, 0.3);
}
input::placeholder,
textarea::placeholder {
  transition: opacity 0.3s ease;
}

input:focus::placeholder,
textarea:focus::placeholder {
  opacity: 0;
}
.form-group input,
.form-group textarea {
  width: 275px;
  height: 57px;
  padding: 10px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
}
.form-group-name input,
.form-group-name textarea {
  width: 250px;
  height: 57px;
  padding: 10px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
}
.form-group-message input,
.form-group-message textarea {
  font-family: "Arial", sans-serif;
  font-weight: 100;
  width: 565px;
  height: 119px;
  padding: 10px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
}
.form-group-code input,
.form-group-code textarea {
  color: #707070;
  width: 460px;
  height: 57px;
  padding: 10px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
}

.submit-btn {
  position: absolute;
  right: 10px;
  display: block;
  width: 150px;
  height: 45px;
  margin-top: 20px;
  background-color: #cc0e1d;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 17px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.latest-news-left h6 {
  font-weight: 700;
  left: 0;
  font-size: 36px;
}
.latest-news {
  padding-bottom: 130px;
  padding-top: 130px;
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  background: #f6f6f6;
}
.latest-top {
  font-size: 18px;
  color:black;
}
.latest-bottom {
  font-size: 14px;
  color: #707070;
}
.latest-news-left {
  width: 442px;
}
.latest {
  padding-top: 50px;overflow: hidden;
}
.latest a{width: 78%;float: left;display: block;}
.latest-news-content{}

.latest-bottom {
  padding-top: 20px;display: -webkit-box;-webkit-line-clamp:2;overflow: hidden;text-overflow: ellipsis;-webkit-box-orient: vertical;
}
.latest-news-mid-top {
  font-size: 48px;
}
.latest-news-mid-bottom {
  font-size: 14px;
  color: #707070;
}
.latest-news-content {
  width: 20%;float: right;text-align: center;padding-top: 10px;
}
.latest-news-mid {
  padding-top: 34px;
  padding-left: 30px;
}
.down2 {
  padding-top: 50px;
  width: 580px;
  display: flex;
  flex-wrap: wrap;
}
.form-group {
  width: 50%;
  gap: 20px;
}
.contact-form h6 {
  font-weight: 700;
  left: 0;
  font-size: 36px;font-style: italic;
}
.code {
  position: absolute;
  right: 23px;
  top: 2px;
}
.form-group-code {
  position: relative;
}
.footer {
  width: 100%;
  height: 296px;
  background-color: #0e0e0e;
}
.footer{
  color: #666666;
  font-size: 14px;
}
.footer p.last{margin-bottom: 10px;}
.footer span {
  color: #bbbbbb;
  font-size: 14px;
}
.footer h6 {
  padding-top: 30px;
  color: #ffffff;
  font-size: 16px;
}
.footer-container {
  position: relative;
  display: flex;
  margin: 0 auto;
  width: 1200px;
}
.footer-left-top {
  padding-left: 30px;
  padding-top: 30px;
}
.footer-left-bottom {
  padding-left: 30px;
  padding-top: 40px;
}
.last {
  padding-top: 55px;
}
.local {
  position: absolute;
  z-index: 0;
  top: 76px;
  left: -13px;
}
.local2 {
  position: absolute;
  z-index: 1;
  top: 76px;
  left: 8px;
}
.footer-left {
  position: relative;
}
.footer-mid {
  position: relative;
  padding-top: 53px;
  padding-left: 20px;
}
.footer-left-bottom2 {
  padding-left: 30px;
  padding-top: 21px;
}
.lab {
  display: flex;
  z-index: 1000;
  gap: 15px;
  padding-top: 27px;
}
.lab-item1 {
  color: #999999;
  width: 50px;
  height: 22px;
  border: 1px solid #999999;
  text-align: center;
  line-height: 20px;
}
.lab-item2 {
  color: #999999;
  width: 87px;
  height: 22px;
  border: 1px solid #999999;
  text-align: center;
  line-height: 20px;
}
.lab-item3 {
  color: #999999;
  width: 58px;
  height: 22px;
  border: 1px solid #999999;
  text-align: center;
  line-height: 20px;
}
.footer-right {
  padding-left: 165px;
}
.lab div:hover {
  color: #fff;
  background: red;
  border: 1px solid red;
}
.footer-bottom {
  position: absolute;
  right: 0;
  bottom: -48px;
  display: flex;
  gap: 10px;
}
.icon-img {
  background: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
.icon-img1 {
  background: #3b5a9a;
  width: 31px;
  height: 31px;
  border-radius: 50%;
}
.icon-img2 {
  background: #17a9e1;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
.icon-img3 {
  background: #17a9e1;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
.footer-bottom-icon {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden; /* 圆形裁剪 */
  cursor: pointer;background-color: #fff;
}
.icon-img,
.icon-img1,
.icon-img2,
.icon-img3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.icon-img img,
.icon-img1 img {
  max-width: 60%;
  max-height: 60%;
  transition: filter 0.3s ease;
}

/* 默认状态：显示 icon-img，隐藏 icon-img1 */
.icon-img {
  opacity: 1;
  z-index: 2;
}

.icon-img1 {
  opacity: 0;
  transform: translateY(100%); /* 初始位置在下方 */
  z-index: 1;
}

/* 悬停时切换图层 */
.footer-bottom-icon:hover .icon-img {
  opacity: 1;
  transform: translateY(-100%);
}

.footer-bottom-icon:hover .icon-img1 {
  opacity: 1;
  transform: translateY(0); /* 滑入显示 */
}

.left-icon {
  position: absolute;
  left: 30px;
  top: 120px;
  z-index: 100;
  display: flex;
  gap: 20px; /* 设置图标之间的垂直间距为 20px */
}
.ledt-icon a {
  margin: 0 20px;
}


/* 第二个 */
.icon-img {
  opacity: 1;
  z-index: 2;
}

.icon-img2 {
  opacity: 0;
  transform: translateY(100%); /* 初始位置在下方 */
  z-index: 1;
}




/* 主图层：始终静止显示 */
.icon-img {
  z-index: 2;
  opacity: 1;
}

.icon-img img,
.icon-img2 img {
  max-width: 60%;
  max-height: 60%;
  transition: filter 0.3s ease;
}

/* 悬停时显示的图层 */
.icon-img2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(100%); /* 初始隐藏在下方 */
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  z-index: 1;
}

.footer-bottom-icon:hover .icon-img2 {
  transform: translateY(0); /* 向上滑入 */
  opacity: 1;
}
/* 第三个 */
.icon-img {
  opacity: 1;
  z-index: 2;
}

.icon-img3 {
  opacity: 0;
  transform: translateY(100%); /* 初始位置在下方 */
  z-index: 1;
}


.icon-img,
 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 主图层：始终静止显示 */
.icon-img {
  z-index: 2;
  opacity: 1;
}

.icon-img img,
.icon-img3 img {
  max-width: 60%;
  max-height: 60%;
  transition: filter 0.3s ease;
}

/* 悬停时显示的图层 */
.icon-img3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(100%); /* 初始隐藏在下方 */
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  z-index: 1;
}

.footer-bottom-icon:hover .icon-img3 {
  transform: translateY(0); /* 向上滑入 */
  opacity: 1;
}
.Copyright{margin: 30px auto 0;padding-bottom: 10px;
  max-width: 1200px;width: 94%;}

/*导航*/
.menu-link {width: 30px;display: none;height:30px;margin-left: auto;position: relative;z-index: 100;/*background: #eaeaea;*/padding: 15px 15px;}
.menu-link span{width:30px;height: 2px;background: #4d4d4d;display: block;margin-top: -1px;position: absolute;text-indent: -9999em; top: 50%;}
.menu-link span, 
.menu-link span:before, 
.menu-link span:after{
background: #fff;
}
.menu-link.close span:before, 
.menu-link.close span:after,
{
 background: #fff;
}
.menu-link.close{position:absolute;}
.menu-link.close span:before { color: #fff; -ms-transform: rotate(45deg); transform: rotate(45deg);}
.menu-link.close span:after {color: #fff;-ms-transform: rotate(-45deg);transform: rotate(-45deg);}
.menu-link span:before, 
.menu-link span:after { width: 30px; height: 2px; background: #fff;content: ""; display: block;  left: 0;  position: absolute; text-indent: -9999px;top: -8px;
    -ms-transform-origin: 13%; transform-origin: 13%; transition: transform .2s linear 0s;
}
.menu-link span:after { bottom: -8px;  top: auto;}
.menu-link.close span {
    background: transparent;
}


/* 响应式设计 - 移动端适配 */
@media screen and (max-width: 1360px) {
  .right-icon{width: 40%;}
  .right-icon a{margin: 0 20px;}
  .main{max-width: 1297px;width:94%;padding-top: 40px; }


  .footer{height: auto;}
  .footer-container{max-width: 1200px;width: 94%;}

}
@media screen and (max-width: 1280px) {
  .room-type-content{width: 100%;}
  .room-type-left{width: 41.8%;float: left;}
  .room{width: 52%;float: right;margin-left: 0;height: auto;}
  .dots2{padding-top: 30px;}
}

@media screen and (max-width: 1025px) {
  .room-type{margin-top: 60px;height: auto;padding-bottom: 45px;}
  .banner{height: 0;padding-bottom: 100%;}
  .down > div{width: 100%;}
  .right-icon{top: 105px;right: 0;}
  .main{padding-top: 40px; }
  .latest-news{padding: 60px 0;display: block;}
  .contact-form{padding-left: 0;margin-bottom: 65px;}
  .latest-news-left{width: auto;padding: 0 20px;}
  .house-gallery-top{display: block;margin: 0 20px;width: auto;}
  .house-gallery{height: auto;overflow: hidden;background-size: auto 100%;padding-bottom: 40px;}
  .gallery-item{width:calc(50% - 5px );height: auto;float: left;margin-top: 10px;}
  .gallery-item img{width: 100%;display: block;}
  .gallery-item:nth-child(2n){float: right;}
  .gallery-item:nth-child(2n+1){clear: both;}
  .house-gallery-bottom{display: block;width: auto;margin: 0px 20px;clear: both;padding-top: .1px}
  .gallery-item2{height: auto;width: 100%;margin-top: 10px;}
  .gallery-item2 img{width: 100%;}

}

@media screen and (max-width:768px) {
  .menu-link {display: block;position: absolute;right:20px;top: 20px;}
  .right-icon{display: none;width: 100%;height:100vh;background-color: rgba(0, 0, 0, 0.9);}
  .right-icon a{display: block;text-align: center;line-height: 2.5;font-size: }
  .gallery{padding-bottom: 0;}

  .footer-right{display: none;}
  .left-item{width: 100%;}
  .right-item{width: 100%;margin-top: 20px;}
  h5{font-size: 30px;padding-top: 50px;}
  .room-type h5{}
  .left-icon{top: 40px;left: 10px;gap:10px;}
  .banner .title{top: 25px;max-width: 30%;}

  .room-type-content{display: block;padding-top: 40px;}
  .room-type-left{width: 92%;padding: 0 4%;}
  .room{width: 100%;margin-top: 20px;}


}

@media screen and (max-width:468px) {
  .latest-news-left{padding: 0 20px;width: auto;}
  .latest-news-right{padding: 0 20px;margin-top: 40px;}
  .contact-form h6{font-size: 30px;}
  .down2{width: 100%;display: block;}
  .form-group{width: 100%;}
  .form-group input, .form-group textarea{width:calc(100%);}
  .form-tel input, .form-tel textarea{width:calc(100%);}
  .form-group-message input, .form-group-message textarea{width:calc(100%);}
  .form-group-code input, .form-group-code textarea{width: 60%;}


    .left-icon{top: 30px;}
    .footer-container{display: list-item;}
    .footer-bottom{position: relative;justify-content: flex-end;bottom: 0;margin: 20px 0 0px auto;padding-bottom: 6px;}
    .footer-mid{padding-top:0px;padding-left: 0; }
    .local2{top: 24px;left: -13px;}

}