/* 路线详情页样式 */
.route-hero {
    height: 500px;
    position: relative;
    overflow: hidden;
}

.route-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.route-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 1;
    width: 80%;
}

.route-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.route-hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.route-overview {
    padding: 3rem 5%;
    background: #f9f9f9;
}

.route-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.info-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.info-card h3 {
    color: #e74c3c;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.info-card li::before {
    content: "•";
    color: #e74c3c;
    position: absolute;
    left: 0;
}

.route-description {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.route-description h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.route-description p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.route-itinerary {
    padding: 3rem 5%;
}

.day-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    overflow: hidden;
}

.day-header {
    background: #e74c3c;
    color: #fff;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.day-header h3 {
    margin: 0;
}

.day-content {
    padding: 1.5rem;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e74c3c;
}

.timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e74c3c;
    border: 2px solid #fff;
}

.timeline-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.timeline-item p {
    color: #666;
}

.route-gallery {
    padding: 3rem 5%;
    background: #f9f9f9;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

.route-booking {
    padding: 3rem 5%;
    text-align: center;
    background: #fff;
}

.price-card {
    max-width: 400px;
    margin: 2rem auto;
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.price-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    color: #e74c3c;
    margin-bottom: 1.5rem;
}

.price small {
    font-size: 1rem;
    color: #666;
}

.book-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: #e74c3c;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.book-btn:hover {
    background: #c0392b;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .route-hero-content h1 {
        font-size: 2rem;
    }

    .route-hero-content p {
        font-size: 1rem;
    }

    .route-info {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-item::before {
        left: -1.5rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-card,
.day-card,
.gallery-item {
    animation: fadeInUp 0.8s ease-out forwards;
} 