/* 主题游页面特定样式 */
.theme-hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4));
    height: 600px;
}

.theme-hero .hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

/* 主题分类样式 */
.theme-categories,
.featured-themes {
    padding: 4rem 5%;
}

.theme-categories {
    background: #f9f9f9;
}

.theme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.theme-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.theme-card:hover {
    transform: translateY(-5px);
}

.theme-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.theme-card:hover img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.card-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.theme-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.theme-features li {
    color: #666;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.theme-features li::before {
    content: "✓";
    color: #27ae60;
    position: absolute;
    left: 0;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: #e74c3c;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #c0392b;
}

/* 精选路线样式 */
.theme-routes {
    padding: 4rem 5%;
    background: #f9f9f9;
}

.route-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.route-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.route-card:hover {
    transform: translateY(-5px);
}

.route-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.route-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #e74c3c;
    color: #fff;
    padding: 0.3rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.route-content {
    padding: 1.5rem;
}

.route-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.route-content p {
    color: #666;
    margin-bottom: 1rem;
}

.route-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

/* 旅行贴士样式 */
.theme-tips {
    padding: 4rem 5%;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tip-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-5px);
}

.tip-card i {
    font-size: 2.5rem;
    color: #e74c3c;
    margin-bottom: 1rem;
}

.tip-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.tip-card p {
    color: #666;
    line-height: 1.6;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.theme-card,
.route-card,
.tip-card {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .theme-hero .hero-content h1 {
        font-size: 2.5rem;
    }

    .theme-grid,
    .route-grid,
    .tips-grid {
        grid-template-columns: 1fr;
    }

    .card-content {
        padding: 1rem;
    }

    .route-info {
        flex-direction: column;
        gap: 0.5rem;
    }

    .tip-card {
        padding: 1.5rem;
    }
}

/* 主题特效 */
.theme-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.7));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.theme-card:hover::before {
    opacity: 1;
}

/* 图标动画 */
.tip-card i {
    transition: transform 0.3s ease;
}

.tip-card:hover i {
    transform: scale(1.2);
} 