/* 图标颜色 */
:root {
    /* 核心优势 */
    --card-nature: #00d97e;
    --card-culture: #f6c343;
    --card-health: #e74c3c;
    --card-transportation: #9b59b6;
}

.color-nature { color: var(--card-nature); }
.color-culture { color: var(--card-culture); }
.color-health { color: var(--card-health); }
.color-transportation { color: var(--card-transportation); }

/* 英雄横幅 */
.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;
}

/* 波浪分隔线 */
.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内容底部对齐 */
}

.overview-card {
    display: flex;
    gap: 40px;
    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%;
}

.description-box {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
}

/* 快速链接 */
.links-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.links-header {
    text-align: center;
    margin-bottom: 1rem;
}

.links-subtitle {
    font-size: 1.8rem;
    color: #2d3748;
    position: relative;
    display: inline-block;
    padding: 0 1rem;
}

.deco-line {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #3B82F6 50%, transparent 100%);
    margin-top: -0.5rem;
}

.quick-links {
    display: grid;
    gap: 1rem 3rem;
    grid-template-columns: repeat(2, 1fr);
    position: relative;
}

.quick-link {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(249, 250, 251, 0.9) 0%, rgba(219, 228, 246, 0.9) 100%);
    border: 1px solid #e2e8f0;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 2px 4px -1px rgba(0, 0, 0, 0.02),
        inset 0 2px 4px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    text-decoration: none !important;
    color: #333 !important;
}

.quick-link:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 2px 4px -1px rgba(0, 0, 0, 0.02),
        inset 0 2px 4px 0 rgba(255, 255, 255, 0.8),
        0 12px 40px rgba(0,0,0,0.15);
}

.icon-container {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    transition: transform 0.3s ease;
}

.icon-container i {
    font-size: 1.5rem;
    color: white;
}

.bg-blue { background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%); }
.bg-green { background: linear-gradient(135deg, #10B981 0%, #059669 100%); }
.bg-cyan { background: linear-gradient(135deg, #06B6D4 0%, #0E7490 100%); }
.bg-orange { background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%); }

.link-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.link-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
}

.section-title {
    width: fit-content;
    margin: 0 auto;
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-align: center;
    position: relative;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: titleEntrance 1s ease-out forwards;
}

.title-deco-line {
    width: 80px;
    height: 3px;
    margin: 0.5rem auto 0;
    border-radius: 2px;
    transform: scaleX(0);
    animation: lineGrow 0.8s ease-out 0.3s forwards;
}

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

@keyframes lineGrow {
    to {
        transform: scaleX(1.5);
    }
}

/* 核心优势 */
.advantages-section .section-title {
    background: linear-gradient(90deg, #21d99b, #059669);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.advantages-section .title-deco-line {
    background: linear-gradient(90deg, #21d99b, #059669);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(560px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.advantage-card {
    display: flex;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 
        0 4px 6px rgba(0,0,0,0.05),
        0 1px 3px rgba(0,0,0,0.1);
    animation: fadeInUp 0.8s both;
}

.advantage-img {
    width: 30%;
    height: 100%;
    min-width: 100px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 5;
}

.advantage-content {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.advantage-header {
    display: flex;
    flex-direction: row;
    justify-items: baseline;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1rem;
    background: none;
}

.advantage-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    position: relative;
    transition: transform 0.3s ease;
}

.advantage-title {
    font-size: 1.4rem;
    color: #1e293b;
    font-weight: 600;
}

.icon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.4) 0%, transparent 70%);
}

.advantage-desc {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}

.advantage-hover-effect {
    position: absolute;
    width: 400%;
    height: 200%;
    background: linear-gradient(135deg, 
        rgba(52, 152, 219, 0.08) 0%,
        rgba(52, 152, 219, 0.15) 50%,
        transparent 100%);
    transform: translate(15%, 15%) rotate(135deg);
    top: -50%;
    left: -50%;
    opacity: 0;
    animation-fill-mode: forwards;
    z-index: 1;
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 12px 25px rgba(52, 152, 219, 0.15),
        0 6px 12px rgba(0,0,0,0.1);
}

.advantage-card:hover .advantage-icon {
    transform: rotate(-8deg) scale(1.1);
}

.advantage-card:hover .advantage-hover-effect {
    opacity: 1;
    animation: shine 1.2s ease;
    animation-fill-mode: forwards;
}

@keyframes shine {
    0% { transform: translate(-50%, -50%) rotate(135deg); opacity: 1; }
    100% { transform: translate(15%, 15%) rotate(135deg); opacity: 1; }
}


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

@media (max-width: 992px) {
    .overview-card {
        flex-direction: column;
        margin-top: -40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .quick-links {
        grid-template-columns: 1fr;
    }
}