/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* 头部样式 */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.header-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 导航栏样式 */
nav {
    background: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

nav ul li {
    display: inline-block;
}

nav ul li a {
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: #333;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

nav ul li a:hover,
nav ul li a.active {
    background: #667eea;
    color: white;
}

/* 主要内容区域 */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.container {
    max-width: 100%;
    margin: 0 auto;
}

.section {
    margin-bottom: 3rem;
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.section h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    border-bottom: 3px solid #667eea;
    padding-bottom: 0.5rem;
}

.day-theme {
    font-style: italic;
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    border-radius: 0 5px 5px 0;
}

.important-notice {
    background: #fff3cd;
    color: #856404;
    padding: 1rem;
    border-radius: 5px;
    border-left: 4px solid #ffc107;
    margin: 1rem 0;
    font-weight: 500;
}

/* 概览卡片 */
.overview-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.card h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.tip-box {
    background: #e8f4fd;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #17a2b8;
}

.tip-box h3 {
    color: #0c5460;
    margin-bottom: 1rem;
}

.tip-box ul {
    list-style: none;
}

.tip-box ul li {
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.tip-box ul li:before {
    content: "•";
    color: #17a2b8;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* 时间线样式 */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #667eea;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -0.25rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #667eea;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #667eea;
}

.time {
    font-weight: bold;
    color: #667eea;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.content h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.content ul {
    margin: 0.5rem 0;
    padding-left: 1rem;
}

.content ul li {
    margin: 0.3rem 0;
}

.content strong {
    color: #2c3e50;
}

.content h3.attraction {
    background: linear-gradient(120deg, #a8edea 0%, #fed6e3 100%);
    padding: 0.8rem;
    border-radius: 5px;
    border-left: 4px solid #ff6b6b;
    margin-bottom: 0.8rem;
    position: relative;
    font-size: 1.3rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.distance {
    background: #e8f4fd;
    padding: 0.8rem;
    border-radius: 5px;
    border-left: 3px solid #17a2b8;
    margin-top: 0.8rem;
    font-size: 0.95rem;
}

/* 第三天选项 */
.day3-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.option {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.option h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #667eea;
}

/* 美食网格 */
.food-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.food-category h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #667eea;
}

.food-item {
    background: #f8f9fa;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    border-left: 3px solid #667eea;
}

.food-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.food-item p {
    margin: 0.3rem 0;
}

/* 贴士网格 */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.tip-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.tip-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.tip-card ul {
    list-style: none;
}

.tip-card ul li {
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.tip-card ul li:before {
    content: "✓";
    color: #28a745;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 页脚样式 */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

footer p {
    margin: 0.5rem 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 2rem;
    }
    
    .header-content p {
        font-size: 1rem;
    }
    
    .section {
        padding: 1.5rem;
    }
    
    .section h2 {
        font-size: 1.5rem;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .timeline {
        padding-left: 1.5rem;
    }
    
    .timeline:before {
        left: 0.25rem;
    }
    
    .timeline-item {
        padding-left: 1rem;
    }
    
    .day3-options {
        grid-template-columns: 1fr;
    }
    
    .food-grid,
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    main {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .header-content h1 {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 1rem;
    }
    
    .card,
    .tip-box,
    .food-item,
    .tip-card {
        padding: 1rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeInUp 0.6s ease-out;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5a6fd8;
}
/* 新增样式 - 第三天行程优化 */
.option-list {
    margin: 1rem 0;
}

.option-item {
    background: white;
    padding: 1rem;
    margin: 0.8rem 0;
    border-radius: 5px;
    border-left: 3px solid #28a745;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.option-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.option-item p {
    margin: 0;
    color: #555;
}

.day3-highlights {
    margin-top: 2rem;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.day3-highlights h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    text-align: center;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.highlight-item {
    background: white;
    padding: 1.2rem;
    border-radius: 6px;
    border-left: 4px solid #667eea;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.highlight-item h4 {
    color: #2c3e50;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.highlight-item p {
    margin: 0.5rem 0;
    color: #555;
    line-height: 1.5;
}

.highlight-item ul {
    margin: 0.5rem 0;
    padding-left: 1rem;
}

.highlight-item ul li {
    margin: 0.3rem 0;
    color: #555;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .highlight-grid {
        grid-template-columns: 1fr;
    }
    
    .option-item {
        padding: 0.8rem;
    }
    
    .day3-highlights {
        padding: 1rem;
    }
}
/* 预约提醒样式 */
.reservation-alert {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 5px solid #dc3545;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    position: relative;
    animation: pulse 2s infinite;
}

.reservation-alert:before {
    content: "⚠️";
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.reservation-alert strong {
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.reservation-highlight {
    background: #fff3cd;
    color: #856404;
    padding: 0.8rem 1rem;
    border-radius: 6px;
    border: 2px solid #ffc107;
    margin: 0.8rem 0;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.2);
}

.reservation-highlight:before {
    content: "📱 ";
    font-size: 1.1rem;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 107, 107, 0.5);
    }
    100% {
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    }
}

/* 预约步骤样式 */
.reservation-steps {
    background: #e8f5e8;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #28a745;
    margin: 1rem 0;
}

.reservation-steps h4 {
    color: #155724;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.reservation-steps ol {
    padding-left: 1.5rem;
}

.reservation-steps li {
    margin: 0.5rem 0;
    color: #155724;
    font-weight: 500;
}

.reservation-steps strong {
    color: #0d4017;
}