/* 全局样式 */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0px;
    padding: 0px;
    background-image: url(../images/img2.jpg);
}

/* 导航栏样式 */
nav {
    color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-image: url(../images/img3.jpg);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-left: 100px;
}

.nav-links {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 1rem;
}

.nav-links a {
    color: black;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    /* 下划线与文字的距离 */
    left: 0;
    width: 0;
    /* 初始宽度为 0 */
    height: 2px;
    /* 下划线高度 */
    background-color: #C5AD8C;
    /* 下划线颜色 */
    transition: width 0.3s ease;
    /* 宽度变化动画 */
}

.nav-links li a:hover {
    color: #C5AD8C;
}

.nav-links li a:hover::after {
    width: 100%;
    /* 鼠标悬停时宽度变为 100% */
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: all 0.3s ease;
}

/* 轮播图样式 */
.carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    flex: 0 0 100%;
}

.carousel-item img {
    width: 100%;
    height: 80vh;
    object-fit: cover;
    display: block;
}

.carousel-item.active {
    display: block;
}

.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    /* 圆点过渡效果 */
}

.carousel-dot.active {
    background-color: #fff;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    /* 箭头背景过渡效果 */
}

.prev-arrow {
    left: 10px;
}

.next-arrow {
    right: 10px;
}

.carousel-arrow:hover {
    background-color: rgba(0, 0, 0, 0.5);
    /* 鼠标悬停时箭头背景加深 */
}

/* 通用容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

/* 介绍部分样式 */
.about h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.link_page {
    width: 80%;
    margin: auto;
}

.link_page ul {
    display: flex;
    margin-left: -50px;
}

.link_page ul li {
    list-style: none;
    position: relative;
    margin-right: 1.5%;
}

.link_page a {
    text-decoration: none;
}

.link_page ul li:nth-last-child(1) {
    margin-right: 0;
}

.link_page ul li:nth-child(1) {
    display: flex;
    flex-flow: wrap;
    align-content: space-between;
    width: 28%;
}

.link_page ul li:nth-child(2) {
    width: 30%;
    display: flex;
    flex-flow: wrap;
    align-content: space-between;
}

.link_page ul li:nth-child(3) {
    width: 20%;
}

.link_page ul li:nth-child(4) {
    width: 20%;
    margin-right: 0;
}

.link_page ul li .swiper_video {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.link_page ul li .swiper_video video {
    width: 100%;
}

.link_page ul li .outshow_link {
    position: relative;

}

.link_page ul li .outshow_link img {
    width: 100%;
}

.link_page ul li .outshow_tit {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 59%;
}

.link_page ul li .outshow_link:hover .outshow_tit {
    top: 45%;
}

.vr_link {
    position: relative;

}

.vr_link img {
    width: 100%;
}

.vr_link:hover .outshow_tit {
    top: 45%;
}

.video_link {
    position: relative;

}

.video_link img {
    width: 100%;
}

.link_page ul li .video_link .outshow_tit {
    width: 70%;
}

.video_link:hover .outshow_tit {
    top: 45%;
}

.drift_link {
    position: relative;
}

.drift_link img {
    width: 100%;
}

.drift_link .drift_tit {
    position: absolute;
    right: 20px;
    top: 20px;
}

.drift_link:hover .drift_tit {
    top: 10px;
}

.hy_link {
    position: relative;
}

.hy_link img {
    width: 100%;
}

.hy_link .hy_tit {
    position: absolute;
    right: 0;
    top: 0;
}

.hy_link:hover .hy_tit {
    top: -10px;
}

.whsb_link {
    position: relative;
}

.whsb_link img {
    width: 100%;
}

.whsb_link .whsb_tit {
    position: absolute;
    right: 0;
    top: 0;
}

.whsb_link:hover .whsb_tit {
    top: -10px;
}

/* 探索龙门 */
.index_explore {
    width: 80%;
    margin: auto;
}

.index_tit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 1.1%;
    margin-bottom: 20px;
    margin-top: 20px;
}

.index_tit a {
    display: block;
    width: 68px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    background: #cb5855;
    color: #fff;
    font-size: 14px;
    border-radius: 8px;
    text-decoration: none;
}

.explore_swiper .swiper-wrapper {
    display: flex;
    gap: 20px;
}

.explore_swiper .swiper-slide {
    width: 25%;

    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.explore_swiper .swiper-slide a {
    color: #666;
    text-decoration: none;
}

.explore_swiper .swiper-slide a .img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background-position: center;
}

.explore_swiper .swiper-slide a .tit {
    width: 100%;
    background: #fff;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
}

.explore_swiper .swiper-slide a .tit h2 {
    font-size: 15px;
    color: #333;
    font-weight: normal;
}

.explore_swiper .swiper-slide a .tit .address {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #c4c4c4;
}

.explore_swiper .swiper-slide a .tit .address span {
    margin-right: 20px;
}

.explore_swiper .swiper-slide a .tit .address img {
    margin-right: 5px;
}

.explore_swiper .swiper-slide:hover .img img {
    transform: scale(1.2);
}

.imgs {
    width: 80%;
    margin: auto;
}

.imgs img {
    height: 400px;
    display: block;
    margin: auto;
}

.imgs1 {
    width: 80%;
    margin: auto;
    display: flex;
    justify-content: space-between;
}

.imgs1 img {
    width: 50%;
    margin: 10px;
}

/* 景点部分样式 */
.attractions h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.attraction {
    text-align: center;
    margin-bottom: 2rem;
}

.attraction img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.attraction h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.attraction p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* 旅游攻略部分样式 */
* 旅游攻略部分样式 */
.guide {
    padding: 4rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.guide-item {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.guide-item:hover {
    transform: translateY(-5px);
}

.guide-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.guide-item p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
}

/* 历史文化部分样式 */
.history h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.history p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* 图片画廊部分样式 */
.gallery h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 1rem;
}

.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}
.image-grid img:hover{
    transform: translateY(-10px);
}
/* 联系我们部分样式 */
.contact-us {
    padding: 4rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.contact-us h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.contact-info {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.contact-info:hover {
    transform: translateY(-5px);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
}

.feedback-form {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.feedback-form h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.feedback-form form label {
    display: block;
    margin-bottom: 5px;
}

.feedback-form form input,
.feedback-form form textarea {
    width: 95%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.feedback-form form input[type="submit"] {
    background-color: #C5AD8C;
    color: white;
    padding: 8px;
    cursor: pointer;
}

.feedback-form form input[type="submit"]:hover {
    background-color: #DCB683;
}

.social-icon {
    display: inline-block;
    margin-right: 10px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #ffc107;
}

/* 页脚样式 */
footer {
    background-image: url(../images/img3.jpg);
    color: black;
    text-align: center;
    padding: 1rem;
    margin-top: 50px;
}