* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}
body {
    background-color: #f0f7f0;
}
li{
	list-style-type: none;
}

/* 顶部固定导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    	background-color: #EEE7D7;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
}
.logo {
    height: 54px;
}
.ckshow{
	clear: both;
	float: none;
	width: 1200px;
	margin-right: auto;
	margin-left: auto;
}
.nav {
	display: flex;
	gap: 1px;
	float: right;
	width: 900px;
	height: 65px;
	line-height: 60px;
}
.nav li {
	text-decoration: none;
	color: #242414;
	font-size: 16px;
	border-radius: 4px;
	width: 130px;
	float: right;
	text-align: center;
	height: 60px;
}
.nav li selected{
	background-image: url(../images/feng_nav.jpg);
	display: block;
}
.nav li a {
	text-decoration: none;
	color: #333333;
	font-size: 16px;
	border-radius: 4px;
	transition: background 0.3s;
	width: 130px;
	float: left;
	text-align: center;
}
.nav a.active, .nav a:hover {
    color: white;
	background-image: url(../images/feng_nav.jpg);
	display: block;
}

/* 右侧悬浮栏 */
.float-sidebar {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 180px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 顶部观园预约图片 */
.float-top {
  margin-bottom: 5px; /* 贴合卷轴顶部 */
}
.float-top-img {
  width: 100%;
  display: block;
}

/* 中间内容区（卷轴样式） */
.float-content {
	width: 100%;
	border-radius: 12px;
	/*position: relative;*/
	/*overflow: hidden;*/
	background-image: url(../images/feng_float_bjcn.png);
	background-repeat: repeat-y;
}
/* 卷轴顶部装饰（可替换为图片） */
.float-content_top{
	background-image: url(../images/feng_float_bjtop.png);
	background-repeat: no-repeat;
	height: 35px;
	width: 181px;
}
.float-content_foot{
	background-image: url(../images/feng_float_bjfoot.png);
	background-repeat: no-repeat;
	height: 24px;
	width: 181px;margin-top: -1px;
}
.float-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: url('data:image/feng_float_bjtop.png') repeat-x;
}

/* 功能项 */
.float-item {
  text-align: center;
  margin-bottom: 15px;
  color: #fff;
}
.float-item:last-child {
  margin-bottom: 20px;
}
.float-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 8px;
}
.float-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.float-item p {
  font-size: 16px;
  font-weight: 500;
}

/* 分隔线 */
.divider {
	height: 1px;
	float: left;
	width: 130px;
	margin-bottom: 15px;
	margin-left: 25px;
	border-bottom-width: 1px;
	border-bottom-style: dashed;
	border-bottom-color: #FFFFFF;
}

/* 二维码 */
.float-qrcode {
  width: 70%;
  margin: 0 auto;
  padding: 9px;
}
.float-qrcode img {
  width: 100%;
  display: block;
}

/* 底部回到顶部按钮 */
.float-bottom {
	width: 66px;
	height: 66px;
	margin-top: 10px;
	display: flex;

}
.float-top-btn {
  font-weight: 600;
}

/* 首屏轮播区域 */
.banner {
    margin-top: 60px;
    width: 100%;
    position: relative;
    overflow: hidden;
}
.banner_index{height: 721px;}
.banner_news{height: 600px;}
.banner-slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s;
}
.banner-slide.active {
    opacity: 1;
}
.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}
.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
}
.banner-dot.active {
    background-color: white;
}

/* 园区展示模块 */
.park-show {
    width: 100%;
    background-color: #A57536;
    display: flex;
    padding: 10px 0; /* 增加上下内边距，避免卡片贴边 */
    overflow: hidden; /* 隐藏容器外的内容 */
}
.park-scroll-container {
  position: relative; /* 必须有，否则absolute箭头会飘走 */
  width: 100%;
  max-width: 1900px;
  margin: 0 auto;
}
.park-list {
  display: flex; /* 横向排列 */
  gap: 10px; /* 替代margin，统一卡片间距 */
  overflow-x: auto; /* 横向滚动 */
  scroll-behavior: smooth; /* 平滑滚动（和JS的behavior呼应） */
  padding: 5px 0;
  /* 隐藏滚动条（可选，美观） */
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.park-list::-webkit-scrollbar {
  display: none; /* 隐藏webkit内核滚动条 */
}
.park-item {
  width: 620px;
  height: 240px;
  flex: 0 0 auto; /* 关键：禁止卡片收缩/拉伸，固定宽度 */
  border-radius: 8px;
  overflow: hidden;
  background-color: white;
  position: relative;
  margin: 0; /* 取消原有的margin，用gap替代 */
}
/* 箭头样式微调（确保不遮挡） */
.park-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;

  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999; /* 关键：提高层级，确保在最上层 */
  box-shadow: 0 2px 8px rgba(0,0,0,0.15); /* 可选：加阴影更立体 */
}
.park-arrow-left {
  left: 10px; /* 向左偏移，压在图片左侧 */
}
.park-arrow-right {
  right: 10px; /* 向右偏移，压在图片右侧 */
}
.park-arrow img {
  object-fit: contain;
}
.park-tabs {
	display: flex;
	justify-content: center;
	padding-top: 30px;
	padding-bottom: 20px;
}
.park-tab {
	border-radius: 20px;
}
/* 补充：箭头背景透明，避免遮挡图片 */
.park-arrow {
  background: transparent;
  border: none;
}
/* 园区介绍模块 */
.cnshow{
	background-image: url(../images/feng_inbg.jpg);
    min-height: 3476px;
	width: 100%;
}
/* 外层容器：固定尺寸，作为定位父级 */
.intro-wrapper {
  position: relative;
  width: 1118px;   /* 匹配设计图总宽度 */
  height: 550px;   /* 匹配设计图总高度 */
  margin: 0 auto;
}

/* 左侧介绍区：固定尺寸，底层 */
.intro-content {
  position: relative;
  background-image: url(../images/feng_intro_showbg.png);
  background-repeat: repeat-y;
  width: 610px;
  height: 376px;
  padding: 20px;
  z-index: 1;
  float: left;
}

.intro-content_text {
  width: 480px;
  line-height: 30px;
  padding-left: 50px;
  font-size: 16px;
  font-weight: normal;
}

.intro-btn {
  width: 100%;
  margin-top: 15px;
  text-align: center;
  height: 30px;
}

.intro-btn img {
  height: 30px;
  border-radius: 4px;
}

/* 幻灯片区：绝对定位+固定尺寸+高层级 */
.intro_lunbo {
  position: absolute;
  top: 20px;      /* 垂直偏移，匹配设计图 */
  left: 520px;    /* 水平重叠偏移，核心参数 */
  width: 665px;   /* 固定宽度 */
  height: 512px;  /* 固定高度 */
  z-index: 666;
  background-image: url(../images/feng_intro_showtopbg.png);
  background-repeat: no-repeat;
  background-position: right top;
  padding-top: 50px;
  background-color: #fff;
  overflow: hidden;
}

/* 轮播容器 */
.slider-container {
  position: relative;
  width: 610px;
  height: 380px;
}

.slider-list {
	position: relative;
	width: 100%;
	height: 100%;
	margin-left: 30px;
}

/* 轮播项：绝对定位+透明切换 */
.slider-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slider-item.active {
  opacity: 1;
}

/* 核心修复：图片不变形 */
.slider-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* 保持比例填充，不拉伸 */
  display: block;
}

/* 菱形切换点 */
.slider-dots {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  z-index: 1000;
}

.dot {
  width: 18px;
  height: 18px;
  background: #d9b99b;
  transform: rotate(45deg);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #c19a6b;
  transform: rotate(45deg) scale(1.2);
};
}

/* 墓型卡片列表 */
.tomb-list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 25px;
	margin-bottom: 80px;
}

.tomb-card {
	display: flex;
	flex-direction: column;
	background-color: transparent;
	width: 286px;
	float: left;
	margin: 6px;
	padding-bottom: 20px;
}
.tomb-card-top {
	height: 28px;
	width: 286px;
	background-image: url(../images/tomb_top.png);
	background-repeat: no-repeat;
}
.tomb-card-middle {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	background-image: url(../images/tomb_cn.png);
	background-repeat: repeat-y;
	padding-right: 20px;
	padding-left: 20px;width: 286px;
}
.tomb-card-bottom {
	height: 31px;
	border-radius: 0 0 12px 12px;
	background-image: url(../images/tomb_foot.png);
	background-repeat: no-repeat;
	width: 286px;
}

.tomb-img {
	width: 100%;
	border: 1px solid #CEA27C;
	margin-bottom: 20px;
	padding: 5px;
}
.tomb-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.tomb-info {
  text-align: center;
  margin-bottom: 20px;
  width: 100%;
}
.tomb-park {
  font-size: 18px;
  color: #000;
  margin-bottom: 10px;
}
.tomb-area, .tomb-spec {
  font-size: 14px;
  color: #333326;
  margin-bottom: 5px;
}

/* 详情按钮 */
.tomb-btn {
	display: inline-block;
	text-decoration: none;
	border-radius: 4px; /* 当内容多时，按钮自动靠下 */
	background-image: url(../images/feng_park_xq.png);
	background-repeat: no-repeat;
	height: 28px;
	width: 78px;
}
.tomb-btn:hover {
  background-color: #722D26;
}

/* 标题容器：相对定位，实现内部居中+右对齐 */
.section-title {
    display: flex;
    align-items: center;
    justify-content: center; /* 整体居中 */
    width: 1200px;
    padding-top: 30px;
    padding-bottom: 30px;
    margin: 0 auto;
    position: relative; /* 作为绝对定位父级 */
}

/* 更多按钮：绝对定位贴右，不影响中间布局 */
.more {
    position: absolute;
    right: 20px; /* 贴最右侧 */
    top: 70%;
    transform: translateY(-50%); /* 垂直居中 */
    line-height: 25px;
    color: #000000;
    background-color: #F3DCC5;
    text-align: center;
    height: 25px;
    width: 75px;
    border: 1px solid #F0B480;
    font-size: 14px;
    margin: 0; /* 清除原有浮动干扰 */
}
/* 园区动态模块整体 */
.news-intro {
  width: 100%;
}

/* 容器（与之前模块保持1200px居中一致） */
.news-intro .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 模块标题（与墓型介绍样式统一） */
.news-intro .section-title-news {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;

}
.section-title-news {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
  	background-image: url(../images/news_text.png);
	background-repeat: no-repeat;
	height: 83px;
	width: 1200px;
}

/* 新闻列表：2行2列网格布局 */
.news-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px; /* 项与项之间的间距 */
}

/* 新闻项：使用背景图实现四角装饰 */
.news-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px;
  border: 1px solid #B6815C;
  background-color: #fff;
  transition: background-color 0.3s ease; /* 也可以把过渡放这里，更规范 */
}
.news-item:hover {
  background-color: #EDE0D8; /* 浅绿背景，匹配设计图第一个项的绿色 */
}
/* 新闻图片 */
.news-img {
	width: 196px;
	flex-shrink: 0;
	margin-left: 8px;
	margin-top: 8px;
}
.news-img img {
  width: 100%;
  height: 135px;
  object-fit: cover;
  border-radius: 8px;
}


/* 新闻内容 */
.news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.news-content h3 {
  font-size: 18px;
  color: #222;
  margin-bottom: 10px;
  line-height: 2;
}
.news-content p {
  font-size: 16px;
  color: #555;
  line-height: 2;
}
.service_title{
	background-image: url(../images/feng_service_bg.jpg);
	background-repeat: repeat-x;
	height: 42px;
	width: 100%;
}
.service_text{
	font-size: 20px;
	line-height: 42px;
	color: #000000;
	background-image: url(../images/feng_service_text.png);
	background-repeat: no-repeat;
	text-align: center;
	clear: both;
	height: 42px;
	width: 179px;
	margin-right: auto;
	margin-left: auto;
}
.service_cn{
	background-image: url(../images/service_cnbg.jpg);
	height: 534px;
	width: 100%;
}

.service_list{
float: left;
	width: 1100px;
	margin-top: 80px;
	margin-left: 60px;
}
.service_lefttu{
	float: left;
	width: 166px;
	margin: 10px;
}
.service_list_li{
	float: left;
	height: 90px;
	width: 92px;
	margin-top: 25px;
}
.service_list_li p{
	float: left;
	height: 40px;
	width: 92px;
	font-size: 18px;
	line-height: 40px;
	color: #FFFFFF;
}
.z14{
	font-size: 14px;
	line-height: 20px;
}
.service_list_li_jian{
	float: left;
	height: 13px;
	width: 52px;
	margin-top: 60px;
	margin-right: 30px;
	margin-left: 30px;
}
/* 底部联系信息模块整体 */
.footer-contact {
  width: 100%;
  padding: 40px 0;
  background-color: #fff;
}
.footer-contact .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.contact-wrap {
  display: flex;
  align-items: center;
  gap: 30px;
}

/* 左侧 Logo 区域 */
.contact-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.logo-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

/* 信息框通用样式 */
.contact-info-left,
.contact-info-right {
	flex: 1;
	border: 1px dashed #945F57;
	border-radius: 8px;
	padding: 8px;
	width: 430px;
	height: 150px;
}
.info-box {
	float: left;
	margin-bottom: 10px;
	width: 100%;
	margin-left: 10px;
}
.info-box:last-child {
  margin-bottom: 0;
}

/* 标题样式（工作时间） */
.info-title {
	height: 36px;
	width: 149px;
	float: left;
}
/* 工作时间文字 */
.info-time {
	font-size: 16px;
	color: #333;
	float: left;
	width: 245px;
	line-height: 36px;
	height: 36px;
}

/* 陵园地址、电话 */
.info-address{
	font-size: 16px;
	color: #333;
	float: left;
	width: 300px;
	margin-right: 0;
	margin-bottom: 10px;
	line-height: 30px;
}
.info-tel {
	color: #885a3e;
}
.info-location {
	float: left;
	width: 50px;
	height: 50px;
	margin-top: 20px;
}

/* 销售中心地址 */
.info-center {
  font-size: 16px;
  color: #333;
  margin: 10px 0;
  line-height: 1.6;
}

/* 右侧二维码 */
.contact-qrcode {
  width: 110px;
  height: 110px;
}
.contact-qrcode img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.footer{
	font-size: 16px;
	color: #FFFFFF;
	text-align: center;
	height: 63px;
	width: 100%;
	line-height: 63px;
	background-image: url(../images/feng_foot_bg.jpg);
	background-repeat: repeat-x;
}

/*园区风景*/
/* 园区风光轮播 - 仅修改样式 开始 */
.scenery-carousel {
  width: 925px;
  margin: 0 auto;
  position: relative;
}

/* 大图容器 + 箭头下移（放在大图下方） */
.scenery-banner-box {
  position: relative;
  width: 100%;
  height: 500px;
  margin-bottom: 15px; /* 给箭头留出间距 */
}
.scenery-banner {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}
.scenery-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.scenery-item.active {
  opacity: 1;
}
.scenery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* 箭头图片按钮样式 */
.scenery-arrow {
  background: transparent !important;
  border: none !important;
  padding: 0;
}
.scenery-arrow img {
  width: 40px;
  height: 40px;
  display: block;
}
/* 箭头：放在大图正下方，居中 */
.scenery-arrow {
  position: absolute;
  bottom: -80px; /* 下移到图片下方 */
  width: 40px;
  height: 30px;
  background: rgba(0,0,0,0.2);
  color: #fff;
  border: none;
  cursor: pointer;
  z-index: 99;
  font-size: 18px;
}
.scenery-prev {
  left: 20px;
}
.scenery-next {
  right: 20px;
}

/* 缩略图横向滚动容器（核心改动） */
.scenery-thumb-box {
	width: 80%;
	overflow: hidden;
	position: relative;
	clear: both;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}
.scenery-thumb-wrapper {
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
}
.scenery-thumb {
  display: flex;
  gap: 15px;
  padding: 5px 0;
}
.thumb-item {
	width: 120px;
	height: 80px;
	flex-shrink: 0;
	cursor: pointer;
	opacity: 0.7;
	transition: all 0.3s ease;
	border: 2px solid transparent;
	border-radius: 4px;
	margin: 8px;
}
.thumb-item.active {
  opacity: 1;
  border-color: #c19a6b;
  transform: scale(1.05);
}
.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* 隐藏滚动条（美观） */
.scenery-thumb-wrapper::-webkit-scrollbar {
  height: 0;
}
/* 园区风光轮播 - 仅修改样式 结束 */