/* 目的地banner */
.destinations-banner {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/destinations-bg.png');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: white;
    text-align: center;
}

.banner-title {
    font-size: 3rem;
    font-family: "STXingkai", "华文行楷", serif;
    margin-bottom: 15px;
}

.banner-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.search-box {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

/* 分类导航 */
.category-nav {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.nav-wrapper {
    padding: 30px 0;
}

.nav-group {
    margin-bottom: 20px;
}

.nav-group:last-child {
    margin-bottom: 0;
}

.nav-group h3 {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 15px;
}

/* .nav-items {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.nav-item {
    color: var(--text-color);
    text-decoration: none;
    padding: 6px 15px;
    border-radius: 20px;
    transition: all 0.3s;
} */

.nav-item:hover,
.nav-item.active {
    background: var(--primary-color);
    color: white;
}

/* 主要内容 */
.destinations-content {
    padding: 40px 0;
    background: #f8f9fa;
}

/* 筛选部分 */
.filter-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-color);
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin: 0;
}

.filter-option span {
    color: #666;
}

.price-range {
    padding: 0 10px;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.price-inputs input {
    width: 80px;
    text-align: center;
}

/* 结果工具栏 */
.result-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.result-count {
    color: #666;
}

.result-count strong {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.sort-options {
    display: flex;
    gap: 15px;
}

.sort-btn {
    border: none;
    background: none;
    color: #666;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s;
}

.sort-btn.active,
.sort-btn:hover {
    color: var(--primary-color);
    background: rgba(196,18,48,0.1);
}

/* 目的地列表 */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.destination-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.destination-card:hover {
    transform: translateY(-5px);
}

.card-image {
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.destination-card:hover .card-image img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.destination-card:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    color: white;
    text-align: center;
    padding: 20px;
}

.overlay-content h4 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
}

.overlay-content p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    margin: 0 0 5px 0;
    font-size: 1.3rem;
}

.card-content p {
    color: #666;
    margin: 0 0 15px 0;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.tag {
    background: #f5f5f5;
    color: #666;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rating {
    color: #ffd700;
}

.rating span {
    color: var(--text-color);
    margin-left: 5px;
}

.rating small {
    color: #666;
    font-size: 0.9rem;
}

.price {
    text-align: right;
}

.price small {
    color: #666;
    font-size: 0.9rem;
}

.price strong {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0 2px;
}

/* 分页 */
.pagination-section {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination .page-link {
    color: var(--text-color);
    border: none;
    margin: 0 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s;
}

.pagination .page-item.active .page-link,
.pagination .page-link:hover {
    background: var(--primary-color);
    color: white;
}

.pagination .page-item.disabled .page-link {
    background: #f5f5f5;
    color: #999;
} 