:root {
    --primary-color: #B45A32;
    --secondary-color: #FFE4D6;
    --background-color: #FFB088;
    --text-color: #4A3328;
    --card-shadow: 0 4px 8px rgba(180, 90, 50, 0.2);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(
        to bottom,
        #FFB088,
        #FFE4D6
    );
}

.container {
    position: relative;
    z-index: 1;
    max-width: 750px;
    margin: 0 auto;
    width: 100%;
    overflow: hidden;
}

/* Banner样式 */
.banner {
    padding: 20px;
    margin-bottom: 20px;
    background: transparent;
}

.banner-content {
    text-align: center;
}

.banner h1 {
    color: #B45A32;
    font-size: 2.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3);
}

.banner-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
}

/* 修改顶部插画样式 */
.top-illustration {
    width: 100%;
    position: relative;
    z-index: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.top-illustration img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* 调整卡片区域样式 */
.recommendation-cards {
    margin-top: 20px;
    position: relative;
    z-index: 2;
    background: linear-gradient(
        to bottom,
        rgba(255, 176, 136, 0.95),
        rgba(255, 228, 214, 0.95)
    );
    padding: 30px 15px;
    border-radius: 30px 30px 0 0;
    min-height: 100vh;
}

.card {
    background: rgba(255, 252, 248, 0.98);
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.location-tag {
    padding: 10px 15px;
    background: var(--primary-color);
    color: #FFF;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.location-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FFFFFF'%3E%3Cpath d='M12 0C7.31 0 3.5 3.81 3.5 8.5c0 7.94 8.5 15.5 8.5 15.5s8.5-7.56 8.5-15.5C20.5 3.81 16.69 0 12 0zm0 13a4.5 4.5 0 110-9 4.5 4.5 0 010 9z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 5px;
}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card-image img:hover {
    transform: scale(1.05);
}

.card-info {
    padding: 15px;
}

.rating {
    background: rgba(255, 228, 214, 0.5);
    border-radius: 8px;
    padding: 8px 15px;
    margin: 15px 0;
    display: flex;
    align-items: center;
}

.stars {
    position: relative;
    color: var(--primary-color);
    font-weight: bold;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars::before {
    content: '推荐指数';
    color: var(--primary-color);
    font-size: 14px;
    font-weight: bold;
}

.description {
    color: var(--text-color);
    margin: 0;
    line-height: 1.5;
}

/* 修改行程安排卡片样式 */
.schedule-card {
    background: rgba(255, 252, 248, 0.98);
    border: 2px solid var(--primary-color);
    position: relative;
    padding-top: 10px;
}

.schedule-card .location-tag {
    background: transparent;
    color: var(--primary-color);
    font-size: 18px;
    text-align: center;
    justify-content: center;
    border-bottom: 1px solid rgba(180, 90, 50, 0.2);
    margin: 0 15px;
    padding: 5px 0 15px 0;
}

.schedule-content {
    padding: 20px 15px;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="10" cy="10" r="1" fill="%23B45A32" opacity="0.1"/></svg>') repeat;
}

.day-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 12px 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(180, 90, 50, 0.1);
    position: relative;
    transition: transform 0.2s ease;
}

.day-item:hover {
    transform: translateX(5px);
}

.day-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-color);
    border-radius: 4px 0 0 4px;
}

.day-label {
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    min-width: 60px;
    text-align: center;
    margin-right: 15px;
    font-weight: bold;
}

.day-desc {
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.4;
    flex: 1;
    position: relative;
    padding-left: 15px;
}

.day-desc::after {
    content: '→';
    color: var(--primary-color);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.day-item:hover .day-desc::after {
    opacity: 1;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .schedule-card .location-tag {
        font-size: 16px;
        padding: 5px 0 10px 0;
    }

    .day-item {
        padding: 10px 12px;
    }

    .day-label {
        font-size: 12px;
        min-width: 50px;
        padding: 4px 8px;
    }

    .day-desc {
        font-size: 12px;
    }
} 

/* 为行程安排卡片的图标单独设置颜色 */
.schedule-card .location-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23B45A32'%3E%3Cpath d='M12 0C7.31 0 3.5 3.81 3.5 8.5c0 7.94 8.5 15.5 8.5 15.5s8.5-7.56 8.5-15.5C20.5 3.81 16.69 0 12 0zm0 13a4.5 4.5 0 110-9 4.5 4.5 0 010 9z'/%3E%3C/svg%3E");
}

/* 调整图标和文字的对齐方式 */
.location-tag {
    padding: 10px 15px;
    background: var(--primary-color);
    color: #FFF;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
} 

/* 美食介绍样式 */
.food-intro {
    background: rgba(255, 228, 214, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
}

.food-intro-title {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 10px;
} 

/* 假期小贴士样式升级 */
.tips-card {
    background: rgba(255, 252, 248, 0.98);
    border: none;
    position: relative;
    margin-top: 30px;
    background: linear-gradient(135deg, #FFF6F0 0%, #FFF 100%);
    box-shadow: 
        0 10px 20px rgba(180, 90, 50, 0.1),
        0 2px 6px rgba(180, 90, 50, 0.05);
}

/* 添加装饰性边角 */
.tips-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: 40px;
    height: 40px;
    border-top: 4px solid var(--primary-color);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px 0 0 0;
}

.tips-card::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 40px;
    height: 40px;
    border-bottom: 4px solid var(--primary-color);
    border-right: 4px solid var(--primary-color);
    border-radius: 0 0 8px 0;
}

.tips-card .location-tag {
    background: transparent;
    color: var(--primary-color);
    font-size: 20px;
    text-align: center;
    justify-content: center;
    padding: 20px 15px;
    border-bottom: 2px dashed rgba(180, 90, 50, 0.2);
    margin: 0 20px;
}

.tips-card .location-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23B45A32'%3E%3Cpath d='M12 0C7.31 0 3.5 3.81 3.5 8.5c0 7.94 8.5 15.5 8.5 15.5s8.5-7.56 8.5-15.5C20.5 3.81 16.69 0 12 0zm0 13a4.5 4.5 0 110-9 4.5 4.5 0 010 9z'/%3E%3C/svg%3E");
}

.tips-content {
    padding: 25px 20px;
    background: transparent;
    position: relative;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 15px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 
        0 4px 8px rgba(180, 90, 50, 0.05),
        0 1px 3px rgba(180, 90, 50, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.tip-item:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 12px rgba(180, 90, 50, 0.1),
        0 2px 4px rgba(180, 90, 50, 0.1);
}

.tip-number {
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 15px;
    font-size: 18px;
    background: rgba(180, 90, 50, 0.1);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tip-text {
    color: var(--text-color);
    line-height: 1.6;
    flex: 1;
    font-size: 15px;
    padding-top: 2px;
}

/* 添加装饰性图标 */
.tips-content::before {
    content: '';
    position: absolute;
    top: -10px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23B45A32' opacity='0.1'%3E%3Cpath d='M12 2L1 21h22L12 2zm0 3.83L19.17 19H4.83L12 5.83zM11 16h2v2h-2v-2zm0-7h2v5h-2V9z'/%3E%3C/svg%3E") no-repeat center;
    opacity: 0.1;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .tips-card {
        margin-top: 20px;
    }
    
    .tips-card .location-tag {
        font-size: 18px;
        padding: 15px 10px;
    }
    
    .tip-item {
        padding: 12px 15px;
    }
    
    .tip-number {
        font-size: 16px;
        width: 24px;
        height: 24px;
    }
    
    .tip-text {
        font-size: 14px;
    }
} 

/* 修改地图卡片样式 */
.map-card {
    margin: 40px 0;
    background: linear-gradient(135deg, #FFF6F0 0%, #FFF 100%);
    border: none;
    overflow: hidden;
    box-shadow: 
        0 15px 30px rgba(180, 90, 50, 0.15),
        0 5px 15px rgba(180, 90, 50, 0.1);
    position: relative;
}

/* 添加装饰性边角，类似小贴士卡片 */
.map-card::before,
.map-card::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    pointer-events: none;
}

.map-card::before {
    top: 0;
    left: 0;
    background: 
        linear-gradient(45deg, var(--primary-color) 0%, transparent 50%),
        linear-gradient(-45deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0.1;
}

.map-card::after {
    bottom: 0;
    right: 0;
    background: 
        linear-gradient(225deg, var(--primary-color) 0%, transparent 50%),
        linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0.1;
}

.map-card .location-tag {
    background: transparent;
    color: var(--primary-color);
    font-size: 20px;
    padding: 20px;
    border-bottom: 2px dashed rgba(180, 90, 50, 0.2);
    margin: 0 20px;
    justify-content: center;
}

.map-content {
    position: relative;
    width: 100%;
    height: 450px; /* 增加高度 */
    padding: 20px;
    box-sizing: border-box;
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 改为contain确保图片完整显示 */
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: rgba(180, 90, 50, 0.05);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
}

.map-card:hover .map-overlay {
    opacity: 1;
}

.map-card:hover .map-image {
    transform: scale(1.02);
}

.map-info {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 
        0 10px 20px rgba(180, 90, 50, 0.1),
        0 5px 10px rgba(180, 90, 50, 0.05);
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.map-card:hover .map-info {
    transform: translateY(0);
}

.map-icon {
    font-size: 24px;
}

.map-text {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 1px;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .map-content {
        height: 300px;
        padding: 10px;
    }
    
    .map-overlay {
        top: 10px;
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
    
    .map-info {
        padding: 12px 20px;
    }
    
    .map-text {
        font-size: 14px;
    }
} 

/* 结束语卡片样式升级 */
.ending-card {
    margin: 40px 0 20px;
    background: linear-gradient(135deg, #FFF6F0 0%, #FFF 100%);
    border: none;
    position: relative;
    overflow: hidden;
    padding: 40px 25px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(180, 90, 50, 0.15),
        0 8px 16px rgba(180, 90, 50, 0.1);
}

/* 添加装饰性波浪背景 */
.ending-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 150%, var(--primary-color) 0%, transparent 50%),
        radial-gradient(circle at 80% -50%, var(--primary-color) 0%, transparent 50%);
    opacity: 0.05;
    z-index: 0;
}

/* 添加装饰性边框 */
.ending-card::after {
    content: '';
    position: absolute;
    inset: 1px;
    border: 2px dashed var(--primary-color);
    border-radius: 18px;
    opacity: 0.2;
    z-index: 0;
}

.ending-content {
    position: relative;
    z-index: 1;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.ending-icon {
    font-size: 48px;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
    text-shadow: 0 5px 15px rgba(180, 90, 50, 0.3);
    display: inline-block;
    transform-origin: center;
}

.ending-icon:hover {
    animation: shake 0.5s ease-in-out;
}

.ending-title {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: bold;
    margin: 0 0 20px;
    text-shadow: 2px 2px 4px rgba(180, 90, 50, 0.1);
    position: relative;
    display: inline-block;
}

.ending-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.ending-text {
    color: var(--text-color);
    font-size: 18px;
    line-height: 2;
    margin: 0;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

/* 添加新的动画效果 */
@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

/* 添加装饰性元素 */
.ending-content::before,
.ending-content::after {
    content: '✦';
    position: absolute;
    color: var(--primary-color);
    opacity: 0.2;
    font-size: 24px;
}

.ending-content::before {
    top: 10px;
    left: 10px;
}

.ending-content::after {
    bottom: 10px;
    right: 10px;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .ending-card {
        padding: 30px 20px;
        margin: 30px 0 15px;
    }
    
    .ending-content {
        padding: 15px;
    }
    
    .ending-icon {
        font-size: 36px;
    }
    
    .ending-title {
        font-size: 24px;
    }
    
    .ending-text {
        font-size: 16px;
        line-height: 1.8;
    }
} 