/* 重置默认样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* 导航栏样式优化 */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 60px; /* 确保头部高度固定 */
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 将内容靠左对齐 */
    height: 100%; /* 让内容撑满头部高度 */
    padding: 0 20px; /* 调整左右内边距 */
    background-color: #fff;
    /* box-shadow: 0 2px 5px rgba(0,0,0,0.1); */ /* 头部已经有阴影，这里可以移除 */
}

.back-button {
    /* font-size: 2.5em; */ /* 由 SVG width/height 控制 */
    color: #333; /* 设置箭头颜色 */
    text-decoration: none;
    padding: 0 10px; /* 调整左右内边距，增加点击区域 */
    display: flex;
    align-items: center;
    justify-content: center;
    /* font-weight: bold; */ /* 由 SVG stroke-width 控制 */
    height: 100%;
    margin-right: 5px; /* 调整与标题的间距 */
}

.back-button svg {
    width: 30px; /* 设置 SVG 宽度，增大 */
    height: 30px; /* 设置 SVG 高度，增大 */
    stroke: #333; /* 设置 SVG 描边颜色，与父元素的 color 保持一致 */
    stroke-width: 3; /* 调整 SVG 描边粗细，使其更粗 */
}

.header-content h1 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
    line-height: 1.1;
    white-space: nowrap;
    margin: 0; /* 移除默认外边距 */
}

nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 3%;
    height: 88px;
    background: #fff;
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 88px;
    margin-right: 40px;
}

.logo-img {
    width: 56px;
    height: 56px;
    margin-right: 14px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-text > div:first-child {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
    line-height: 1.1;
    white-space: nowrap;
    text-align: center;
    display: block;
    width: 100%;
    max-width: max-content;
    margin: 0 auto;
}

.logo-en {
    font-size: 0.65rem;
    color: #888;
    margin-top: 2px;
    white-space: nowrap;
    text-align: center;
    width: 100%;
    max-width: max-content;
    margin: 0 auto;
    box-sizing: border-box;
    word-break: break-word;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    flex: 1;
    justify-content: flex-start;
    height: 88px;
    overflow-x: auto;
    white-space: nowrap;
}

.nav-links li {
    margin: 0 8px;
    text-align: center;
    min-width: 60px;
}

.nav-links a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 1.08rem;
    transition: color 0.3s ease;
    height: 88px;
    justify-content: center;
}

.nav-links a:hover {
    color: #3498db;
}

.nav-links img {
    width: 40px;
    height: 40px;
    margin-bottom: 4px;
    object-fit: contain;
}

@media (max-width: 1200px) {
    .logo-img {
        width: 36px;
        height: 36px;
        margin-right: 8px;
    }
    .logo-text > div:first-child {
        font-size: 1.1rem;
        max-width: max-content;
    }
    .logo-en {
        font-size: 0.6rem;
        max-width: max-content;
    }
    .logo {
        height: 64px;
        margin-right: 16px;
    }
    .nav-links li {
        margin: 0 8px;
    }
    .logo, .nav-links {
        height: 64px;
    }
    .nav-links img {
        width: 28px;
        height: 28px;
    }
    .nav-links a {
        font-size: 0.95rem;
        height: 64px;
    }
}

@media (max-width: 800px) {
    nav {
        flex-direction: column;
        height: auto;
        padding: 10px 0;
    }
    .logo {
        margin-bottom: 10px;
        height: auto;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        height: auto;
    }
    .nav-links li {
        margin: 6px 6px;
    }
    .nav-links a {
        height: auto;
    }
}

/* 主要内容区域 */
main {
    margin-top: 88px; /* 确保主要内容不会被固定导航栏遮挡 */
    padding: 0 5%; /* 为主要内容区域添加左右内边距 */
}

.banner-section {
    position: relative;
    height: 350px; /* 您可以根据需要调整高度 */
    background-image: url('../assets/image/轮播图/1.png'); /* 使用活动页面的图片 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding-bottom: 20px; /* 增加横幅与下方内容的间距 */
}

.banner-text {
    position: relative;
    z-index: 1; /* 确保文字在背景图片之上 */
}

.banner-text h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-text p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.banner-text .btn-more {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 12px 25px;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.banner-text .btn-more:hover {
    background-color: #2980b9;
}

.hero {
    text-align: center;
    padding: 4rem 0;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.hero h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: #666;
}

/* 页脚样式 */
footer {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 2.5rem 5%;
    margin-top: 40px; /* 与上方内容的间距 */
    border-top: 5px solid #3498db;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content p {
    margin-bottom: 10px;
    font-size: 0.95em;
}

.contact-info p {
    margin-bottom: 5px;
}

.social-links {
    margin-top: 15px;
}

.social-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1em;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #3498db;
}

/* 响应式调整 */
@media (max-width: 768px) {
    footer {
        padding: 2rem 3%;
    }

    .footer-content p,
    .contact-info p,
    .social-links a {
        font-size: 0.9em;
    }

    .social-links {
        margin-top: 10px;
    }

    .social-links a {
        margin: 0 10px;
    }
}

/* 轮播图样式 */
.carousel-container {
    position: relative;
    width: 100%;
    overflow:hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: auto; /* 优化：自适应内容高度，消除留白 */
    min-height: 300px; /* 防止内容塌陷，可根据实际调整 */
}

.carousel-slide {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide-item {
    position: relative;
    min-width: 100%; /* 确保每个幻灯片项占据完整宽度 */
    box-sizing: border-box;
}

.carousel-slide img {
    width: 100%;
    display: block;
    object-fit: cover;
    height: auto; /* 优化：图片高度自适应 */
    aspect-ratio: 16/6; /* 保持宽高比，防止撑开 */
}

.slide-text {
    position: absolute;
    top: 50%; /* 垂直居中 */
    left: 50%; /* 水平居中 */
    transform: translate(-50%, -50%); /* 精确居中 */
    color: white;
    font-size: 3em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    text-align: center;
    width: 80%; /* 限制文字宽度 */
    box-sizing: border-box;
    opacity: 0; /* 初始隐藏 */
    transition: opacity 1s ease-in-out; /* 淡入淡出效果 */
}

.slide-text.active {
    opacity: 1; /* 激活时显示 */
}

.carousel-dots {
    position: absolute;
    bottom: 8px; /* 优化：减小与底部距离，让指示点更靠近图片 */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    cursor: pointer;
}

.dot.active {
    background-color: #717171;
}

/* 新增：主内容区域布局 */
.main-content-wrapper {
    position: relative;
    margin-top: 88px;
    width: 100%;
    height: 600px; /* Ensure it has enough height to contain the carousel */
    overflow: hidden; /* Hide overflow if side-nav is too large */
}

/* 新增：侧边导航 */
.side-nav {
    position: absolute;
    top: 50%; /* 改为50%以实现垂直居中 */
    left: 20px;
    transform: translateY(-50%); /* 添加transform以实现精确居中 */
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.side-nav-item {
    position: relative;
    width: 180px; /* 提示框宽度 */
    height: 100px; /* 提示框高度 */
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none; /* 移除链接下划线 */
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.side-nav-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.side-nav-item .text-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
}

.side-nav-item .title {
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.side-nav-item .subtitle {
    font-size: 0.9rem;
    margin-top: 5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.side-nav-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* 媒体查询，适应小屏幕 */
@media (max-width: 1024px) {
    .main-content-wrapper {
        flex-direction: column; /* 小屏幕下垂直堆叠 */
        margin-top: 10px; /* 调整顶部间距 */
        height: auto; /* Allow height to adjust */
    }

    .side-nav {
        position: relative; /* Reset position for smaller screens */
        top: auto;
        left: auto;
        flex-direction: row; /* 小屏幕下水平排列 */
        margin-right: 0;
        margin-bottom: 20px; /* 与轮播图的间距 */
        flex-wrap: wrap;
        justify-content: center;
    }

    .side-nav-item {
        width: 150px;
        height: 80px;
    }

    .side-nav-item .title {
        font-size: 1.2rem;
    }

    .side-nav-item .subtitle {
        font-size: 0.8rem;
    }

    .carousel-container {
        max-width: 100%; /* 轮播图宽度适应 */
        height: 400px; /* 调整轮播图高度 */
        margin: 0; /* Remove margin for full width on smaller screens */
    }
}

@media (max-width: 600px) {
    .carousel-container {
        height: 300px; /* 更小的屏幕下进一步调整轮播图高度 */
    }
    .side-nav-item {
        width: 120px;
        height: 70px;
    }
    .side-nav-item .title {
        font-size: 1rem;
    }
    .side-nav-item .subtitle {
        font-size: 0.7rem;
    }
}

/* 景区介绍板块样式 */
.scenic-introduction-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 5%;
    gap: 40px;
    background-color: #f9f9f9;
    margin-top: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.scenic-image {
    flex: 1;
    max-width: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.scenic-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.scenic-content {
    flex: 1;
    max-width: 600px;
    text-align: left;
}

.scenic-content h2 {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 40px;
    text-align: center;
}

.scenic-content p {
    font-size: 1.1em;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

.view-details-btn {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.view-details-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .scenic-introduction-section {
        flex-direction: column;
        text-align: center;
        padding: 30px 3%;
        gap: 30px;
    }

    .scenic-image,
    .scenic-content {
        max-width: 100%;
    }

    .scenic-content h2 {
        width: 100%;
    }

    .scenic-content p {
        text-align: left;
    }

    .view-details-btn {
        margin-top: 20px;
    }
}

@media (max-width: 600px) {
    .scenic-introduction-section {
        padding: 20px 2%;
    }

    .scenic-content h2 {
        font-size: 1.8em;
    }

    .scenic-content p {
        font-size: 1em;
    }

    .view-details-btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

/* 住宿页面样式 */
.hotel-list-section {
    padding: 40px 0; /* 移除左右内边距，由 main 控制 */
    max-width: 1200px;
    margin: 0 auto 40px auto; /* 顶部间距调整为0 */
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.hotel-list-section h1 {
    text-align: center;
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 40px;
}

/* 新增：酒店列表容器的网格布局 */
.hotel-list-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); /* 每行两列，每列最小宽度450px */
    gap: 30px; /* 卡片之间的间距 */
}

.hotel-card {
    display: flex;
    flex-direction: column; /* 将排列方向改为垂直，图片在上方，信息在下方 */
    margin-bottom: 0; /* 移除单个卡片底部间距，由grid的gap控制 */
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hotel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.hotel-card a {
    display: block;
    text-decoration: none;
    color: inherit;
    flex: 1; /* 图片链接占据一半空间 */
}

.hotel-card img {
    width: 100%; /* 图片占据其父容器的100% */
    height: 250px; /* 固定图片高度 */
    object-fit: cover;
    display: block;
}

.hotel-info {
    padding: 20px;
    background-color: #fff;
    flex: 1; /* 信息区域占据一半空间 */
}

.hotel-info h2 {
    font-size: 1.2em;
    margin-bottom: 5px;
    color: #333;
}

.hotel-info p {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.4;
}

.hotel-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background-color: #e0f2f7; /* 淡蓝色背景 */
    color: #3498db; /* 蓝色文字 */
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: bold;
}

/* 响应式调整 */
@media (max-width: 992px) { /* 调整断点，适配更多设备 */
    .hotel-list-container {
        grid-template-columns: 1fr; /* 在较小屏幕上单列显示 */
    }

    .hotel-card {
        flex-direction: column; /* 较小屏幕上图片和文字垂直排列 */
    }

    .hotel-card img {
        width: 100%;
        height: 250px;
    }

    .hotel-info {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .hotel-list-section {
        padding: 20px 2%;
        margin-top: 64px; /* 调整小屏幕导航栏高度 */
    }

    .hotel-list-section h1 {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .hotel-card img {
        height: 200px;
    }

    .hotel-info {
        padding: 15px;
    }

    .hotel-info h2 {
        font-size: 1.5em;
    }

    .hotel-info p {
        font-size: 0.9em;
    }

    .tag {
        padding: 6px 12px;
        font-size: 0.8em;
    }
}

/* 酒店详情页面样式 */
.hotel-detail-section {
    padding: 40px 5%;
    max-width: 1000px;
    margin: 88px auto 40px auto; /* 顶部留出导航栏空间，底部留出页脚空间 */
    background-color: #fff;
    border-radius: 8px;
    /* box-shadow: 0 2px 10px rgba(0,0,0,0.05); */ /* 移除阴影 */
}

.hotel-detail-section h1 {
    text-align: center;
    font-size: 2.8em;
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.hotel-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.hotel-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.hotel-gallery img:hover {
    transform: scale(1.02);
}

.hotel-description {
    font-size: 1.1em;
    color: #444;
    line-height: 1.8;
    margin-bottom: 40px;
    background-color: #f8f8f8;
    padding: 25px;
    border-radius: 5px;
}

.hotel-amenities h3 {
    font-size: 1.8em;
    color: #2c3e50;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.hotel-amenities ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.hotel-amenities li {
    background-color: #eaf7fc;
    padding: 12px 20px;
    border-radius: 25px;
    color: #3498db;
    font-size: 1em;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: background-color 0.3s ease;
}

.hotel-amenities li:hover {
    background-color: #d1ecf1;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hotel-detail-section {
        padding: 30px 3%;
        margin-top: 64px; /* 调整小屏幕导航栏高度 */
    }

    .hotel-detail-section h1 {
        font-size: 2.2em;
    }

    .hotel-gallery {
        grid-template-columns: 1fr; /* 在小屏幕上单列显示 */
    }

    .hotel-gallery img {
        height: 200px;
    }

    .hotel-description {
        font-size: 1em;
        padding: 20px;
    }

    .hotel-amenities h3 {
        font-size: 1.5em;
    }

    .hotel-amenities ul {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .hotel-amenities li {
        padding: 10px 15px;
        font-size: 0.9em;
    }
}

/* 酒店联系信息样式 */
.hotel-contact-info {
    margin-top: 40px;
    padding: 25px;
    background-color: #f8f8f8;
    border-radius: 8px;
    border: 1px solid #eee;
}

.hotel-contact-info h3 {
    font-size: 1.8em;
    color: #2c3e50;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.hotel-contact-info p {
    font-size: 1em;
    color: #555;
    margin-bottom: 10px;
}

.contact-links {
    display: flex;
    gap: 25px;
    margin-top: 20px;
    justify-content: flex-start;
    flex-wrap: wrap; /* 允许换行 */
}

.contact-links a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #3498db;
    font-size: 1.05em;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.2s ease;
}

.contact-links a:hover {
    color: #2980b9;
    transform: translateY(-2px);
}

.contact-links img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    object-fit: contain;
}

.phone-display {
    display: flex;
    align-items: center;
    font-size: 1em;
    color: #555;
    margin-bottom: 10px; /* 与其他段落保持一致 */
}

.phone-display img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    object-fit: contain;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hotel-contact-info {
        padding: 20px;
    }

    .hotel-contact-info h3 {
        font-size: 1.5em;
    }

    .hotel-contact-info p,
    .phone-display {
        font-size: 0.95em;
    }

    .contact-links {
        flex-direction: column;
        gap: 15px;
    }

    .contact-links a,
    .phone-display {
        font-size: 1em;
    }

    .contact-links img,
    .phone-display img {
        width: 20px;
        height: 20px;
    }
}

/* 筛选栏样式 */
.filter-bar {
    display: flex;
    flex-wrap: wrap; /* 允许筛选项在空间不足时换行 */
    justify-content: space-around;
    align-items: center;
    padding: 15px 20px;
    background-color: #f8f8f8;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.filter-item {
    flex: 1;
    text-align: center;
    padding: 0 10px;
    margin-bottom: 10px; /* 为每个筛选项目添加底部外边距 */
}

.filter-item:last-child {
    margin-bottom: 10px; /* 确保最后一个元素也有间距，在 flex-wrap 下有用 */
}

.filter-item select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    font-size: 1rem;
    color: #555;
    appearance: none; /* 移除默认下拉箭头 */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M287%2069.4L146.2%20208.6%205.4%2069.4h281.2z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 15px center; /* 调整箭头位置，使其更居中 */
    background-size: 12px;
    cursor: pointer;
}

.filter-item select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

@media (max-width: 768px) {
    .filter-bar {
        flex-direction: column;
        padding: 10px;
    }

    .filter-item {
        width: 100%;
        margin-bottom: 10px;
    }

    .filter-item:last-child {
        margin-bottom: 0;
    }
}

/* 活动卡片样式调整 */
.activity-meta {
    display: flex;
    align-items: center;
    margin-top: 10px;
    color: #777;
    font-size: 0.9em;
    flex-wrap: wrap; /* 允许在空间不足时换行 */
    gap: 10px; /* 为 flex 项添加间距 */
}

.activity-meta span {
    display: flex;
    align-items: center;
    /* margin-right: 15px; */ /* 由 gap 替代 */
    /* margin-bottom: 5px; */ /* 由 gap 替代 */
}

.activity-meta img {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

.views {
    display: flex;
    align-items: center;
    margin-top: 5px;
    color: #777;
    font-size: 0.9em;
    justify-content: flex-end;
    padding-right: 10px; /* 增加右侧内边距 */
}

.views img {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

/* 为 category-list 添加垂直内边距 */
.category-list {
    padding-top: 30px;
    padding-bottom: 40px;
}

.hotel-detail-img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
    margin: 20px auto;
    object-fit: contain;
    /* 如果图片很长，父容器可加overflow-x:auto; */
}

@media (max-width: 600px) {
    .hotel-detail-img {
        width: 100%;
        max-width: 100vw;
        margin: 10px 0;
    }
}

.hotel-detail-block, .hotel-detail-blocks {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* 社交二维码弹窗样式 */
.social-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}
.social-modal.active {
  display: flex;
}
.social-modal-content {
  background: #fff;
  border-radius: 10px;
  padding: 30px 30px 20px 30px;
  text-align: center;
  position: relative;
  min-width: 220px;
  min-height: 220px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.social-modal-content img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin-bottom: 10px;
}
.social-modal-close {
  position: absolute;
  right: 12px;
  top: 8px;
  font-size: 28px;
  color: #888;
  cursor: pointer;
  font-weight: bold;
}
.social-modal-title {
  font-size: 1.1em;
  color: #222;
  margin-bottom: 10px;
}