.tour-hero {
    position: relative;
    height: 30vh;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: start;
    justify-content: center;
    margin-top: 40px;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.hero-content {
    margin-top: 56px;
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.hero-title {
    font-size: 4.5rem;
    letter-spacing: 0.3rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: white;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: rgba(255,255,255,0.9);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.2s forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 波浪分隔线 */
.wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    height: 150px;
}
.wave-divider svg {
    display: block;
    width: 100%;
    height: 100%;
    vertical-align: bottom; /* 使SVG内容底部对齐 */
}

/* 搜索卡片 */
.search-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 0 0 20px 20px;
    border-bottom: 6px solid #92a1b4;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 40px;
    width: 100%;
}

.input-container {
    display: flex;
    width: 80%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 28px;
    background: #f4f4f4;
    box-shadow: 
        inset 0 2px 4px 0 rgba(255, 255, 255, 0.8),
        0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.input-group-text {
    background: transparent;
    border: none;
    padding: 1rem 1.2rem;
}

.form-control {
    border: none;
    border-left: 2px solid #e2e8f0;
    background: transparent;
    padding: 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-radius: 0;
}

.form-control:focus {
    box-shadow: none;
    background: rgba(255,255,255,0.6);
    border-radius: 8px;
}

.btn-search {
    background: transparent !important;
    border: none;
    border-left: 2px solid #e2e8f0;
    box-shadow: none !important;
    padding: 8px;
    color: #3B82F6;
    margin-right: calc(20px - 0.6rem);
    font-size: 1.2rem;
}

.btn-search:hover {
    color: #1D4ED8;
    transform: none;
    box-shadow: none !important;
}

/* 景点卡片 */
.attraction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.attraction-card {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.attraction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e7eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aec0 !important;
}

.attraction-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.attraction-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.attraction-desc {
    font-size: 0.875rem;
    color: #718096;
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.attraction-location {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #4a5568;
    margin-bottom: 14px;
    margin-top: auto;
}

.attraction-location i {
    margin-right: 8px;
    color: #e53e3e;
}

.attraction-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.attraction-tag {
    background-color: #ebf8ff;
    color: #3182ce;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.attraction-tag:hover {
    background-color: #bee3f8;
    color: #2c5282;
    transform: translateY(-1px);
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.attraction-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background-color: #f8f9fa;
    border-top: 1px solid #edf2f7;
}

.attraction-price {
    font-weight: 700;
    color: #2f855a;
    font-size: 1.1rem;
}

.attraction-link {
    display: inline-block;
    padding: 8px 16px;
    background-color: #4299e1;
    color: white !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.attraction-link:hover {
    background-color: #3182ce;
}

/* 活动筛选器样式 */
.active-filter {
    margin-top: 15px;
    display: flex;
    align-items: center;
    padding: 8px 16px;
    background-color: #f0f7ff;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.filter-tag {
    font-weight: 500;
    color: #3182ce;
    margin: 0 8px;
}

.clear-filter {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.clear-filter:hover {
    background-color: #e2e8f0;
    color: #334155;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .search-container {
        padding: 30px 20px;
    }
    .search-title {
        font-size: 1.4rem;
    }
}

@media (min-width: 1024px) {
    .attraction-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 1023px) and (min-width: 768px) {
    .attraction-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}