/* 景点详情页样式 */

/* 页面横幅 */
.page-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/banner-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 80px 5%;
    text-align: center;
}

.banner-content {
    max-width: 800px;
    margin: 0 auto;
}

.banner-content h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.attraction-rating {
    margin-bottom: 15px;
}

.attraction-rating i {
    color: #ffc107;
    margin-right: 2px;
}

.banner-desc {
    font-size: 1.2rem;
}

/* 面包屑导航 */
.breadcrumb {
    background-color: #f5f5f5;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb a {
    color: #0078a8;
}

.breadcrumb span {
    color: #666;
}

/* 详情内容布局 */
.attraction-detail {
    padding: 40px 0;
}

.detail-content {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 30px;
}

/* 详情介绍区 */
.detail-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.detail-gallery {
    grid-column: 1;
}

.main-image {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
    height: 300px;
}

.main-image .placeholder-image {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #e6f3f8;
    color: #0078a8;
}

.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.thumbnail {
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    height: 80px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.thumbnail.active, .thumbnail:hover {
    opacity: 1;
}

.thumbnail .placeholder-image {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #e6f3f8;
    color: #0078a8;
}

.detail-summary {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.detail-meta {
    margin-bottom: 20px;
}

.meta-item {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.meta-item i {
    color: #0078a8;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-primary, .btn-secondary {
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #0078a8;
    color: white;
}

.btn-primary:hover {
    background-color: #005676;
    text-decoration: none;
}

.btn-secondary {
    background-color: #f0f8ff;
    color: #0078a8;
    border: 1px solid #0078a8;
}

.btn-secondary:hover {
    background-color: #e6f3f8;
    text-decoration: none;
}

.btn-primary i, .btn-secondary i {
    margin-right: 8px;
}

/* 选项卡 */
.detail-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.tab {
    padding: 10px 20px;
    color: #666;
    font-weight: 500;
    position: relative;
}

.tab:hover {
    color: #0078a8;
    text-decoration: none;
}

.tab.active {
    color: #0078a8;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #0078a8;
}

.tab-content {
    display: none;
    padding: 20px 0;
}

.tab-content.active {
    display: block;
}

.tab-content h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.tab-content h3 {
    color: #0078a8;
    margin: 25px 0 15px;
    font-size: 1.4rem;
}

.tab-content p {
    line-height: 1.7;
    margin-bottom: 15px;
    color: #555;
}

/* 主要景点 */
.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.highlight-item {
    display: flex;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 15px;
    transition: transform 0.3s;
}

.highlight-item:hover {
    transform: translateY(-5px);
}

.highlight-icon {
    font-size: 1.5rem;
    color: #0078a8;
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.highlight-info h4 {
    margin-bottom: 8px;
    color: #333;
}

.highlight-info p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* 交通指南 */
.transportation-info {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.transport-item {
    display: flex;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
}

.transport-icon {
    font-size: 2rem;
    color: #0078a8;
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.transport-details h4 {
    margin-bottom: 10px;
    color: #333;
}

/* 游玩贴士 */
.tips-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.tip-item {
    display: flex;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
}

.tip-icon {
    font-size: 1.5rem;
    color: #0078a8;
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.tip-content h4 {
    margin-bottom: 8px;
    color: #333;
}

/* 点评区域 */
.review-summary {
    display: flex;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
}

.review-score {
    text-align: center;
    padding-right: 30px;
    border-right: 1px solid #ddd;
    margin-right: 30px;
}

.score {
    font-size: 2.5rem;
    font-weight: bold;
    color: #0078a8;
}

.stars {
    color: #ffc107;
    margin: 10px 0;
}

.review-breakdown {
    flex-grow: 1;
}

.breakdown-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.breakdown-label {
    width: 70px;
}

.breakdown-bar {
    flex-grow: 1;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    margin: 0 15px;
}

.bar-fill {
    height: 100%;
    background-color: #0078a8;
    border-radius: 4px;
}

.breakdown-value {
    width: 30px;
    text-align: right;
}

.reviews-list {
    margin-bottom: 30px;
}

.review-item {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.review-user {
    display: flex;
    margin-bottom: 15px;
}

.user-avatar {
    color: #aaa;
    margin-right: 15px;
}

.user-info h4 {
    margin-bottom: 5px;
}

.user-info p {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
}

.review-rating {
    color: #ffc107;
    margin-bottom: 10px;
}

.more-reviews {
    text-align: center;
}

.btn-more {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f0f8ff;
    color: #0078a8;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn-more:hover {
    background-color: #e6f3f8;
    text-decoration: none;
}

.btn-more i {
    margin-left: 5px;
}

/* 侧边栏 */
.detail-sidebar {
    grid-column: 2;
}

.sidebar-widget {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.sidebar-widget h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.3rem;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.weather-widget .weather-content {
    display: flex;
    align-items: center;
}

.weather-content i {
    color: #ffc107;
    margin-right: 15px;
}

.weather-temp {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.related-attractions, .popular-routes {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-item, .route-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.related-item:hover, .route-item:hover {
    background-color: #f0f8ff;
    text-decoration: none;
}

.related-image {
    width: 40px;
    height: 40px;
    background-color: #e6f3f8;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #0078a8;
    margin-right: 15px;
}

.related-info h4, .route-item h4 {
    margin-bottom: 5px;
    color: #333;
    font-size: 1rem;
}

.related-info p, .route-item p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.route-item {
    flex-direction: column;
    align-items: flex-start;
}

.route-item p {
    margin-top: 5px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .detail-content {
        grid-template-columns: 1fr;
    }
    
    .detail-sidebar {
        grid-column: 1;
    }
}

@media (max-width: 768px) {
    .detail-intro {
        grid-template-columns: 1fr;
    }
    
    .detail-gallery, .detail-summary {
        grid-column: 1;
    }
    
    .detail-tabs {
        flex-wrap: wrap;
    }
    
    .review-summary {
        flex-direction: column;
    }
    
    .review-score {
        border-right: none;
        border-bottom: 1px solid #ddd;
        padding-right: 0;
        padding-bottom: 20px;
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .highlights, .transportation-info, .tips-list {
        grid-template-columns: 1fr;
    }
} 