/* 酒店介绍页面专属样式 */

/* 酒店主图区域 */
.hotel-main-image {
    position: relative;
    width: 100%;
    height: 900px;
    overflow: hidden;
}

.hotel-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 酒店名称区域 */
.hotel-name-section-booking {
    text-align: center;
    padding: 40px 20px;
    background-color: #fff;
    margin-top: 0;
}

.hotel-name-section-booking p {
    line-height: 34px;
    font-size: 16px;
    color: #666;
    margin-top: 20px;
}

.hotel-intro-content {
    color: #666;
}

.hotel-intro-content img {
    max-width: 100%;
    height: auto;
}

/* 服务图标区域 */
.services {
    padding: 60px 20px;
    background-color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.service-item img {
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
}

.service-item p {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

/* 内容区域 */
.content-section {
    padding: 60px 20px;
}

.content-section h2 {
    font-size: 32px;
    font-weight: bold;
    color: #000;
    margin-bottom: 40px;
    text-align: center;
}

/* 房型描述 */
.room-description {
    font-size: 16px;
    color: #666;
    line-height:34px;
    margin-bottom: 30px;
    text-align: center;
}

/* 房型轮播和会议轮播（使用Swiper） */
.room-carousel,
.meeting-carousel {
    margin-top: 30px;
    position: relative;
    padding-bottom: 50px; /* 为分页指示器留出空间 */
}

.swiper-slide {
    overflow: hidden;
    border-radius: 8px;
}

.slide-images {
    display: flex;
    gap: 20px;
    width: 100%;
}

.slide-image-item {
    flex: 1;
    overflow: hidden;
    border-radius: 8px;
    max-width: 480px;
}

.slide-image-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.content-empty {
    padding: 50px 20px;
    text-align: center;
    font-size: 22px;
    color: #999;
}

/* 自定义分页指示器（进度条样式） */
.custom-pagination {
    text-align: center;
    margin-top: 20px;
}

.pagination-track {
    width: 600px;
    height: 3px;
    background-color: #ccc;
    margin: 0 auto;
    position: relative;
}

.pagination-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: #d6992e;
    width: 0%;
    transition: width 0.3s ease;
}

/* Swiper导航按钮 */
.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #333;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: rgba(255, 255, 255, 1);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 24px;
}

.swiper-button-prev {
    left: 10px;
}

.swiper-button-next {
    right: 10px;
}

/* 酒店会议厅网格 */
.meeting-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 30px;
    height: 400px;
}

.meeting-grid-item {
    overflow: hidden;
    border-radius: 8px;
}

.meeting-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hotel-main-image {
        height: 400px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    /* Swiper轮播响应式 */
    .slide-images {
        gap: 15px;
    }
    
    .slide-image-item {
        max-width: none;
    }
    
    .slide-image-item img {
        width: 100%;
        height: 200px;
    }/* 分页指示器响应式 */
    .pagination-track {
        width: 120px;
    }
    
    .meeting-grid {
        grid-template-columns: repeat(2, 1fr);
        height: auto;
    }
    
    .meeting-grid-item {
        height: 200px;
    }
    
    .service-item img {
        width: 36px;
        height: 36px;
    }
    
    .service-item p {
        font-size: 14px;
    }
    
    .room-description {
        font-size: 14px;
    }
}
