/* 景点页面样式 */

/* 页面横幅 */
.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: 50px 5%;
    text-align: center;
}

.page-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-banner p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* 面包屑导航 */
.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;
}

/* 景点容器 */
.attractions-container {
    margin: 40px 0;
}

/* 景点筛选器 */
.attraction-filters {
    margin-bottom: 30px;
}

.attraction-filters h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.3rem;
}

.attraction-filters ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    gap: 10px;
}

.attraction-filters a {
    display: block;
    padding: 8px 15px;
    background-color: #f0f8ff;
    color: #0078a8;
    border-radius: 20px;
    transition: all 0.3s;
}

.attraction-filters a:hover, 
.attraction-filters a.active {
    background-color: #0078a8;
    color: #fff;
    text-decoration: none;
}

/* 景点网格 */
.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* 景点卡片 */
.attraction-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.attraction-card:hover {
    transform: translateY(-5px);
}

.attraction-image {
    position: relative;
    height: 200px;
}

.placeholder-image {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #e6f3f8;
    color: #0078a8;
}

.attraction-rating {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9rem;
}

.attraction-rating i {
    color: #ffc107;
    margin-right: 2px;
}

.attraction-info {
    padding: 20px;
}

.attraction-info h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: #0078a8;
}

.attraction-location {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.attraction-desc {
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.attraction-meta {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    color: #0078a8;
    font-weight: 500;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.pagination a {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    border: 1px solid #ddd;
    color: #0078a8;
    border-radius: 3px;
    transition: all 0.3s;
}

.pagination a.active {
    background-color: #0078a8;
    color: #fff;
    border-color: #0078a8;
}

.pagination a:hover:not(.active) {
    background-color: #f0f8ff;
    text-decoration: none;
}

.pagination .next {
    margin-left: 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .attractions-grid {
        grid-template-columns: 1fr;
    }
    
    .attraction-filters ul {
        flex-direction: column;
    }
    
    .attraction-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
} 