/* ========== 路线页面增强样式 ========== */

/* 路线区域 */
.routes-section {
    padding: 3rem 0;
}

/* 展开式路线列表 */
.routes-list-expanded {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* 展开式路线项 */
.route-item-expanded {
    width: 100%;
}

/* 展开式路线卡片 */
.route-guide-card-expanded {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
    min-height: 240px;
}

.route-guide-card-expanded:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* 左侧图片区域 */
.route-image-left {
    position: relative;
    width: 30%;
    min-width: 320px;
    flex-shrink: 0;
    overflow: hidden;
}

.route-image-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.route-guide-card-expanded:hover .route-image-left img {
    transform: scale(1.08);
}

.route-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
}

/* 右侧内容区域 */
.route-content-expanded {
    flex: 1;
    padding: 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
}

/* 徽章 */
.route-badges-expanded {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 2;
}

.difficulty-badge,
.duration-badge {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1f2937;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.difficulty-badge i {
    color: #f59e0b;
    font-size: 0.875rem;
}

.duration-badge i {
    color: #3b82f6;
    font-size: 0.875rem;
}

/* 标题 */
.route-title-expanded {
    font-size: 1.375rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.3;
}

.route-title-expanded i {
    color: #10b981;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* 描述 */
.route-description-expanded {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #6b7280;
    margin-bottom: 1rem;
}

/* 详情网格 */
.route-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: auto;
}

/* 攻略要点区域 */
.route-highlights {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-left: 3px solid #10b981;
    border-radius: 10px;
    padding: 0.875rem;
}

.route-highlights h6 {
    font-size: 0.875rem;
    font-weight: 700;
    color: #047857;
    margin-bottom: 0.625rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.route-highlights h6 i {
    color: #10b981;
    font-size: 0.875rem;
}

.route-highlights .highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #374151;
}

.route-highlights .highlight-item:last-child {
    margin-bottom: 0;
}

.route-highlights .highlight-item i {
    color: #10b981;
    font-size: 0.8125rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

/* 游览顺序区域 */
.route-steps {
    background: #f9fafb;
    border-radius: 10px;
    padding: 0.875rem;
}

.route-steps h6 {
    font-size: 0.875rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.625rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.route-steps h6 i {
    color: #3b82f6;
    font-size: 0.875rem;
}

.route-step {
    display: flex;
    gap: 0.625rem;
    margin-bottom: 0.625rem;
    padding-bottom: 0.625rem;
    border-bottom: 1px solid #e5e7eb;
}

.route-step:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.step-number {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.8125rem;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.3);
}

.step-content {
    flex: 1;
    min-width: 0;
}

.step-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.1875rem;
}

.step-description {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #6b7280;
}

/* 实用贴士区域 */
.route-tips {
    background: linear-gradient(135deg, #fef3c7 0%, #fef9c3 100%);
    border-left: 3px solid #f59e0b;
    border-radius: 10px;
    padding: 0.875rem;
}

.route-tips h6 {
    font-size: 0.875rem;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 0.625rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.route-tips h6 i {
    color: #f59e0b;
    font-size: 0.875rem;
}

.route-tips .tip-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #78350f;
}

.route-tips .tip-item:last-child {
    margin-bottom: 0;
}

.route-tips .tip-item i {
    color: #f59e0b;
    font-size: 0.8125rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

/* ========== 旧版卡片样式（保留兼容性）========== */
.route-guide-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.route-guide-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.route-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    flex-shrink: 0;
}

.route-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.route-guide-card:hover .route-image-container img {
    transform: scale(1.1);
}

.route-badges {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 2;
}

.route-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.route-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    line-height: 1.3;
    text-align: center;
}

.route-title i {
    color: #10b981;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.route-description {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #6b7280;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========== 最佳游玩时间区域 - 美化版 ========== */
.best-time-section {
    background: #ffffff;
    border-radius: 32px;
    padding: 4.5rem 3rem;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.best-time-section::before {
    display: none;
}

.best-time-section .text-center {
    position: relative;
    z-index: 1;
}

.best-time-section .neon-text {
    font-size: 2.75rem;
    font-weight: 800;
    color: #1a1a2e;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #1a1a2e;
    background-clip: unset;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    text-shadow: none;
}

.best-time-section .text-white {
    color: #64748b !important;
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: 3.5rem;
}

.season-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.season-card {
    background: #f8fafc;
    backdrop-filter: none;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 2.5rem 1.75rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.season-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.season-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}

.season-card:hover::before {
    opacity: 1;
}

/* 春季卡片 - 嫩绿色 */
.season-card:nth-child(1) {
    border-color: rgba(134, 239, 172, 0.5);
}

.season-card:nth-child(1):hover {
    background: rgba(134, 239, 172, 0.08);
    box-shadow: 0 24px 48px rgba(134, 239, 172, 0.2);
}

.season-card:nth-child(1) .season-icon-wrapper {
    background: linear-gradient(135deg, #86efac 0%, #4ade80 100%);
}

/* 夏季卡片 - 阳光橙 */
.season-card:nth-child(2) {
    border-color: rgba(251, 191, 36, 0.5);
}

.season-card:nth-child(2):hover {
    background: rgba(251, 191, 36, 0.08);
    box-shadow: 0 24px 48px rgba(251, 191, 36, 0.2);
}

.season-card:nth-child(2) .season-icon-wrapper {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

/* 秋季卡片 - 深红色 */
.season-card:nth-child(3) {
    border-color: rgba(248, 113, 113, 0.5);
}

.season-card:nth-child(3):hover {
    background: rgba(248, 113, 113, 0.08);
    box-shadow: 0 24px 48px rgba(248, 113, 113, 0.2);
}

.season-card:nth-child(3) .season-icon-wrapper {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
}

/* 冬季卡片 - 冰蓝色 */
.season-card:nth-child(4) {
    border-color: rgba(96, 165, 250, 0.5);
}

.season-card:nth-child(4):hover {
    background: rgba(96, 165, 250, 0.08);
    box-shadow: 0 24px 48px rgba(96, 165, 250, 0.2);
}

.season-card:nth-child(4) .season-icon-wrapper {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
}

.season-icon-wrapper {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.season-card:hover .season-icon-wrapper {
    transform: scale(1.12) rotate(8deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.season-icon {
    font-size: 2.75rem;
    color: white;
    transition: all 0.4s ease;
}

.season-card:hover .season-icon {
    transform: scale(1.05);
}

.season-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.season-period {
    font-size: 0.875rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 1.75rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.season-description {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1.75rem;
    flex-grow: 1;
    font-size: 0.9375rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.season-routes {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 24px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #34d399;
    margin: 0 auto;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.season-card:hover .season-routes {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.5);
    transform: scale(1.05);
}

/* 空状态 */
.empty-state {
    padding: 4rem 2rem;
    text-align: center;
}

.empty-state i {
    font-size: 4rem;
    color: #d1d5db;
    margin-bottom: 1rem;
}

.empty-state h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 0.5rem;
}

.empty-state p {
    font-size: 1rem;
    color: #9ca3af;
}

/* 响应式设计 */
@media (max-width: 1399px) {
    .route-content {
        padding: 1.25rem;
    }
    
    .route-content-expanded {
        padding: 1.75rem 2rem;
    }
    
    .route-details-grid {
        gap: 1.25rem;
    }
}

@media (max-width: 1199px) {
    .season-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .best-time-section {
        padding: 3.5rem 2.5rem;
    }
    
    .route-image-left {
        min-width: 350px;
        width: 40%;
    }
    
    .route-details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .route-tips {
        grid-column: 1 / -1;
    }
}

@media (max-width: 991px) {
    .route-title {
        font-size: 1.125rem;
    }
    
    .route-title i {
        font-size: 1.375rem;
    }
    
    .route-content {
        padding: 1.25rem;
    }
    
    .best-time-section {
        padding: 3rem 2rem;
    }
    
    .best-time-section .neon-text {
        font-size: 2.25rem;
    }
    
    .season-card {
        min-height: 360px;
    }
    
    /* 展开式卡片响应式 */
    .route-guide-card-expanded {
        flex-direction: column;
        min-height: auto;
    }
    
    .route-image-left {
        width: 100%;
        min-width: auto;
        height: 280px;
    }
    
    .route-content-expanded {
        padding: 1.5rem;
    }
    
    .route-title-expanded {
        font-size: 1.5rem;
    }
    
    .route-title-expanded i {
        font-size: 1.75rem;
    }
    
    .route-details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .route-title {
        font-size: 1rem;
    }
    
    .route-title i {
        font-size: 1.25rem;
    }
    
    .route-content {
        padding: 1rem;
    }
    
    .route-highlights,
    .route-steps,
    .route-tips {
        padding: 0.875rem;
    }
    
    .season-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .best-time-section {
        padding: 2.5rem 1.5rem;
        border-radius: 24px;
    }
    
    .best-time-section .neon-text {
        font-size: 2rem;
    }
    
    .season-card {
        padding: 2rem 1.5rem;
        min-height: auto;
    }
    
    .season-icon-wrapper {
        width: 72px;
        height: 72px;
    }
    
    .season-icon {
        font-size: 2.25rem;
    }
    
    .season-title {
        font-size: 1.25rem;
    }
    
    /* 展开式卡片响应式 */
    .routes-section {
        padding: 2.25rem 0;
    }

    .routes-list-expanded {
        gap: 1rem;
    }

    .route-guide-card-expanded {
        border-radius: 14px;
        box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    }

    .route-image-left {
        height: 200px;
    }
    
    .route-content-expanded {
        padding: 1rem 1.1rem;
    }
    
    .route-title-expanded {
        font-size: 1.15rem;
        gap: 0.4rem;
    }
    
    .route-title-expanded i {
        font-size: 1.3rem;
    }
    
    .route-description-expanded {
        font-size: 0.9rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .route-details-grid {
        gap: 0.75rem;
    }

    .route-highlights,
    .route-steps,
    .route-tips {
        padding: 0.75rem;
        border-radius: 12px;
    }

    .route-highlights h6,
    .route-steps h6,
    .route-tips h6 {
        font-size: 0.82rem;
    }

    .route-step {
        gap: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .step-number {
        width: 22px;
        height: 22px;
        font-size: 0.75rem;
    }

    .step-title {
        font-size: 0.8rem;
    }

    .step-description {
        font-size: 0.78rem;
    }
    
    .route-badges-expanded {
        top: auto;
        bottom: 0.75rem;
        left: 0.75rem;
        right: 0.75rem;
        flex-direction: row;
        justify-content: space-between;
        gap: 0.5rem;
    }
    
    .difficulty-badge,
    .duration-badge {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .routes-section {
        padding: 2rem 0;
    }

    .routes-list-expanded {
        gap: 0.85rem;
    }

    .route-guide-card-expanded {
        border-radius: 12px;
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    }

    .route-image-left {
        height: 180px;
    }

    .route-content-expanded {
        padding: 0.9rem 1rem;
    }

    .route-title-expanded {
        font-size: 1.05rem;
    }

    .route-title-expanded i {
        font-size: 1.2rem;
    }

    .route-description-expanded {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
    }

    .route-details-grid {
        gap: 0.6rem;
    }

    .route-highlights .highlight-item,
    .route-tips .tip-item {
        font-size: 0.75rem;
    }

    .step-description {
        font-size: 0.75rem;
    }

    .route-badges-expanded {
        gap: 0.4rem;
    }

    .difficulty-badge,
    .duration-badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
}

