/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

:root{
    --max-width:1400px;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.detail-hero {
    width: 100%;
    max-height: 850px;
    overflow: hidden;
}
.detail-hero img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 首屏大图区 */
.hero {
    /* margin-top: 80px; */
    width: 100%;
    max-height: 850px;
    overflow: hidden;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    width: 100%;
    height: 100%;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Swiper按钮样式 */
.swiper-button-next,
.swiper-button-prev {
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s;
    opacity: 0;
}

.hero:hover .swiper-button-next,
.hero:hover .swiper-button-prev {
    opacity: 1;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.8);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
    color: white;
}

/* Swiper分页点样式 */
.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: rgba(255, 255, 255, 1);
}

/* 景区介绍区 */
.intro {
    padding: 20px 0;
    background: #fff;
}

.intro-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.intro-text {
    flex: 1;
}

.section-title {
    font-size: 19px;
    font-weight: bold;
    color: #8B4513;
    margin-bottom: 30px;
    position: relative;
    text-align: center;
    background: url(/images/info-title.png) no-repeat bottom left;
    background-size: 100% auto;
    text-align: left;
    padding-left: 72px;
}

.section-title-tip{
    position: absolute;
    right: 18px;
    top: 10px;
    width: 125px;
}

/* .section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: #8B4513;
} */

.intro-text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
}

.intro-images {
    position: relative;
    flex: 1;
    height: 380px;
}

.intro-img {
    position: absolute;
    overflow: hidden;
    /*  */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 300px;
    height: 400px;
    transition: transform 0.3s;
}

.intro-img:nth-child(1) {
    width: 300px;
    height: 400px;
    right: 0;
    top: 0;
    z-index: 3;
}

.intro-img:nth-child(2) {
    right: 30%;
    z-index: 2;
    width: 300px;
    height: 400px;
    transform: scale(0.85);
}

.intro-img:nth-child(3) {
    right: 50%;
    z-index: 1;
    width: 300px;
    height: 400px;
    transform: scale(0.7);
}

.intro-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    background: #fff;
}

.intro-img:hover{
    /* transform: scale(1); */
    z-index: 4;
    box-shadow: rgb(0 0 0 / 64%) 0px 2px 10px;
}

.intro-img:hover img{
    transform: scale(1.1);
}

/* 新闻/动态区 */
.news {
    padding-top: 20px;
    padding-bottom: 50px;
    position: relative;
}

.news::before {
    /* content: '公园'; */
    position: absolute;
    left: 50%;
    top: -30px;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background: #8B4513;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.news-content {
    display: flex;
    gap: 20px;
}

.news-image {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-image:hover img {
    transform: scale(1.05);
}

.news-image-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 8px 15px;
    font-size: 16px;
}

.news-tabs {
    flex: 1;
}

.news-header {
    display: flex;
    margin-bottom: 15px;
    border-bottom: 2px solid #842E20;
}

.news-tab {
    padding: 7px 0px;
    font-size: 18px;
    color: #842E20;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    flex: 1;
    text-align: center;
    background: #F7F7F7;
}

.news-tab.active {
    color: #fff;
    /* font-weight: bold; */
    background: #842E20;
}

.news-tab.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: #8B4513;
}

.news-list {
    display: none;
    list-style: initial;
    margin-left: 40px;
}

.news-list.active {
    display: block;
}

.news-list li {
    margin-top: 15px;
    /* padding: 12px 0; */
    /* border-bottom: 1px dashed #e0e0e0; */
}

.news-list li a {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #333;
    transition: color 0.3s;
}

.news-list li a:hover {
    color: #8B4513;
}

.news-list .date {
    color: #999;
    font-size: 14px;
    white-space: nowrap;
}

/* 景点展示区 */
.attractions {
    padding-bottom: 50px;
    background: #fff;
    position: relative;
}
.attractions .container {
    /* position: relative; */
    z-index: 1;
}

.attraction-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.attraction-row.row-4{
    margin-bottom: 0px;
}

.attraction-background-container{
    position: absolute;
    width: 99vw;
    left: 50%;
    max-width: 2000px;
    transform: translate(-50%, 0%);
}

.attraction-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.attraction-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.attraction-item:hover>img {
    transform: scale(1.05);
}

.attraction-item-column{
    box-shadow: none;
    flex: 1;
    position: relative;
}

.attraction-item-column>img{
    width: 45px;
    height: auto;
    object-fit: initial;
    margin-left: 50px;
    flex: 1;
    position: relative;
}

.attraction-info-container{
    background: rgb(132 46 32 / 50%);
    width: 180px;
    height: 180px;
    border-radius: 100%;
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translate(0%, -50%);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.tip-container{
    display: flex;
    align-items: center;
    width: 50px;
    justify-content: space-between;
    color: #fff;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translate(0%, -50%);
}
.tip-attraction img{
    width: 10px !important;
}
.attraction-info-text{
    position: absolute;
    left: 48px;
    top: 50%;
    transform: translate(0%, -50%);
}

.attraction-background-container.right{
    display: flex;
    justify-content: flex-end;
}
.attraction-info-container.right{
    background: rgb(32 78 4 / 50%);
    left: 25px;
}
.attraction-info-container.right .attraction-info-text{
    width: 65px;
    left: 30px;
}

.attraction-title {
    position: absolute;
    /* background: rgba(139, 69, 19, 0.8); */
    color: #fff;
    padding: 20px 35px;
    font-size: 25px;
    /* font-weight: bold; */
}

.attraction-title.right-bottom {
    right: 0;
    bottom: 0;
}

.attraction-title.left-bottom {
    left: 0;
    bottom: 0;
}

/* 第1行：左小右大 */
.row-1 .small {
    width: 35%;
}

.row-1 .large {
    width: 70%;
}

.row-1 .small img {
    height: 300px;
}

.row-1 .large img {
    height: 300px;
}

/* 第2行：两张相同宽度 */
.row-2 .equal {
    width: 50%;
}

.row-2 .equal img {
    height: 280px;
}

/* 第3行：左大右小 */
.row-3 .large {
    width: 70%;
}

.row-3 .small {
    
}

.row-3 .large img {
    height: 300px;
}

.row-3 .small img {
    height: 300px;
}

/* 第4行：两张相同宽度 */
.row-4 .equal {
    width: 50%;
}

.row-4 .equal img {
    height: 280px;
}

/* 专题推荐区 */
.topics {
    padding-bottom: 50px;
}

.topics .container{
    max-width: 1600px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    max-width: var(--max-width);
    margin: auto;
    margin-bottom: 50px;
}

.header-title {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.header-right {
    display: flex;
    align-items: flex-end;
    height: 100%;
}

.section-header .header-title-text {
    font-size: 28px;
    color: #8B4513;
    /* font-weight: bold; */
    margin: 0;
}

.section-header p {
    margin: 0;
    color: #464646;
    font-size: 14px;
    letter-spacing: 2px;
}

.more-link {
    /* color: #8B4513; */
    font-size: 18px;
    transition: color 0.3s;
    white-space: nowrap;
}

.more-link:hover {
    color: #A0522D;
}

.topics .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.topics .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.topic-cards {
    display: flex;
    gap: 30px;
}

.topic-card {
    flex: 1;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.topic-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.topic-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.topic-card:hover .topic-image img {
    transform: scale(1.05);
}

.topic-content {
    flex: 1;
    /* display: flex; */
    flex-direction: column;
    padding: 20px;
    height: 230px;
}

.topic-card h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.topic-card p {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
    height: 80px;
    margin-bottom: 20px;
    flex: 1;
}

.topic-btn {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid #333;
    color: #333;
    text-align: center;
    transition: all 0.3s;
    font-size: 13px;
    background: transparent;
    width: 130px;
}

.topic-btn:hover {
    background: #8B4513;
    color: #fff;
}

/* 服务入口区 */
.services {
    padding-bottom: 50px;
    background: #fff;
}

.services-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 28px;
    color: #8B4513;
}

.service-items {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.service-item {
    flex: 1;
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    
    transition: all 0.3s;
    cursor: pointer;

    height: 280px;
    max-width: 255px;
}

.service-item:nth-child(1) {
    background: url(/images/service-1.png) no-repeat;
    background-size: 100% 100%;
    color: #fff;
}

.service-item:nth-child(2) {
    background: url(/images/service-2.png) no-repeat;
    background-size: 100% 100%;
    color: #fff;
}

.service-item:nth-child(3) {
    background: url(/images/service-3.png) no-repeat;
    background-size: 100% 100%;
    color: #fff;
}

.service-item:nth-child(4) {
    background: url(/images/service-4.png) no-repeat;
    background-size: 100% 100%;
    color: #fff;
}

.service-item:nth-child(5) {
    background: url(/images/service-5.png) no-repeat;
    background-size: 100% 100%;
    color: #fff;
}

.service-item:hover {
    transform: translateY(-5px);
    /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); */
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30%;
    margin-bottom: 30px;
}

.service-icon img {
    width: 75px;
    height: 75px;
}

.service-item h4 {
    font-size: 20px;
    font-weight: normal;
}

/* 底部链接区 */
.footer-links {
    padding: 60px 0;
}

.links-content {
    display: flex;
    justify-content: space-between;
    gap: 25px;
}

.links-col {
    flex: 1;
}

.links-col h4 {
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #8B4513;
}

.links-col ul li {
    margin-bottom: 12px;
}

.links-col ul li a {
    font-size: 13px;
    color: #666;
    transition: color 0.3s;
}

.links-col ul li a:hover {
    color: #8B4513;
}

.links-col.contact p {
    font-size: 13px;
    color: #666;
}

#back-to-top {
    position: fixed;
    right: 30px;
    bottom: 60px;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background: rgb(132 46 32 / 30%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    display: none;
}

/* Tabs 样式 */
.tabs-container {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
    border-bottom: 2px solid #8B4513;
}

.tabs-container .container {
    width: 100%;
}

.tab-item {
    padding: 10px 50px;
    cursor: pointer;
    color: #666;
    font-size: 14px;
    position: relative;
    transition: color 0.3s;
    border: none;
    text-decoration: none;
    display: inline-block;
    border-radius: 10px 10px 0px 0px;
}

.tab-item:hover {
    color: #8B4513;
}

.tab-item.active {
    color: #fff;
    font-weight: bold;
    background: #8B4513;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: #8B4513;
}

/* Tabs 移动端响应式 */
@media (max-width: 768px) {
    .tabs-container {
        margin-bottom: 20px;
    }

    .tabs-container .container {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .tab-item {
        padding: 10px 20px;
        font-size: 13px;
        white-space: nowrap;
        flex-shrink: 0;
    }


    .detail-hero {
        height: 240px;
    }
}

@media (max-width: 480px) {
    .tab-item {
        padding: 10px 15px;
        font-size: 12px;
    }
}