* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    padding: 2rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.header-title i {
    font-size: 2.5rem;
}

.header-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
    margin-bottom: 1rem;
}

.header-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 1rem;
    font-weight: 500;
}

.header-info span {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.header-info i {
    margin-right: 0.5rem;
}

/* Navigation */
.nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.nav-item {
    padding: 0.75rem 1.5rem;
    background: #f8f9fa;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 2px solid transparent;
    font-size: 0.95rem;
}

.nav-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nav-item.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #764ba2;
}

/* Main Content */
.main {
    padding: 2rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* Itinerary Section */
.itinerary-section {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.day-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.day-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #f8f9fa;
    flex-wrap: wrap;
    gap: 1rem;
}

.day-header h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 600;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.day-header h2 i {
    color: #667eea;
}

.date {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.day-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.distance {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 2px 5px rgba(46, 204, 113, 0.3);
    transition: all 0.3s ease;
}

.distance:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(46, 204, 113, 0.4);
}

/* Schedule Items */
.schedule-item {
    display: flex;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
    border-left: 4px solid #667eea;
}

.schedule-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Special Schedule Item Types */
.schedule-item.important {
    border-left-color: #e74c3c;
    background: linear-gradient(135deg, #fff5f5 0%, #ffeaea 100%);
}

.schedule-item.urgent {
    border-left-color: #f39c12;
    background: linear-gradient(135deg, #fffbf0 0%, #fff4e0 100%);
    animation: pulse 2s infinite;
}

.schedule-item.highlight {
    border-left-color: #3498db;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
}

.schedule-item.adventure {
    border-left-color: #9b59b6;
    background: linear-gradient(135deg, #f9f0ff 0%, #f0e6ff 100%);
}

.schedule-item.optional {
    border-left-color: #95a5a6;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    opacity: 0.8;
}

.schedule-item.special {
    border-left-color: #e74c3c;
    background: linear-gradient(135deg, #fff0f0 0%, #ffe0e0 100%);
    position: relative;
}

.schedule-item.special::before {
    content: "🌟";
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 1.5rem;
}

.schedule-item.alternative {
    border-left-color: #16a085;
    background: linear-gradient(135deg, #f0fff8 0%, #e0fff0 100%);
}

.schedule-item.option-a {
    border-left-color: #2ecc71;
    background: linear-gradient(135deg, #f0fff4 0%, #e8f5e8 100%);
}

.schedule-item.option-b {
    border-left-color: #3498db;
    background: linear-gradient(135deg, #f0f8ff 0%, #e8f4f8 100%);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(243, 156, 18, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(243, 156, 18, 0); }
    100% { box-shadow: 0 0 0 0 rgba(243, 156, 18, 0); }
}

.time {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    white-space: nowrap;
    margin-right: 1.5rem;
    height: fit-content;
    min-width: 80px;
    text-align: center;
    font-size: 0.9rem;
}

.activity {
    flex: 1;
}

.activity h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.activity h3 i {
    color: #667eea;
    font-size: 1rem;
}

.activity p {
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.location {
    color: #667eea;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
    display: inline-block;
    margin-top: 0.5rem;
}

.location:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Tips and Additional Info */
.tips, .distance, .food-recommend, .photo-tip, .shopping-tip, .special-note, .farewell {
    margin: 0.5rem 0;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
}

.tips {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

.distance {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

.food-recommend {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.photo-tip {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.shopping-tip {
    background: #e2e3e5;
    border: 1px solid #d6d8db;
    color: #383d41;
}

.special-note {
    background: #ffeaa7;
    border: 1px solid #fdcb6e;
    color: #b8860b;
    font-weight: 600;
}

.farewell {
    background: #ff7675;
    border: 1px solid #fd79a8;
    color: white;
    text-align: center;
    font-weight: 600;
}

.altitude-warning {
    background: #ff6b6b;
    color: white;
    border: 1px solid #ff5252;
    font-weight: 600;
}

.safety-tips {
    background: #fff3e0;
    border: 1px solid #ffcc02;
    color: #e65100;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Overview Grid */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.overview-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.overview-card h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.overview-card p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.card-highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
}

.card-distance {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    display: inline-block;
    margin-top: 0.5rem;
    box-shadow: 0 1px 3px rgba(46, 204, 113, 0.3);
}

/* Day-specific card colors */
.day1-card::before { background: linear-gradient(90deg, #e74c3c, #c0392b); }
.day2-card::before { background: linear-gradient(90deg, #3498db, #2980b9); }
.day3-card::before { background: linear-gradient(90deg, #2ecc71, #27ae60); }
.day4-card::before { background: linear-gradient(90deg, #f39c12, #e67e22); }
.day5-card::before { background: linear-gradient(90deg, #9b59b6, #8e44ad); }
.day6-card::before { background: linear-gradient(90deg, #1abc9c, #16a085); }
.day7-card::before { background: linear-gradient(90deg, #e67e22, #d35400); }
.day8-card::before { background: linear-gradient(90deg, #34495e, #2c3e50); }

/* Important Notices */
.important-notices {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #fff5f5 0%, #ffeaea 100%);
    border-radius: 15px;
    border: 2px solid #e74c3c;
}

.important-notices h3 {
    color: #e74c3c;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.notice-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.notice-item h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.notice-item ul {
    list-style: none;
    padding: 0;
}

.notice-item li {
    padding: 0.3rem 0;
    border-bottom: 1px solid #eee;
    color: #666;
    font-size: 0.9rem;
}

.notice-item li:last-child {
    border-bottom: none;
}

.notice-item li::before {
    content: "✓ ";
    color: #27ae60;
    font-weight: bold;
    margin-right: 0.5rem;
}

.altitude h4 i { color: #e74c3c; }
.safety h4 i { color: #f39c12; }
.health h4 i { color: #3498db; }

/* Map Section */
.map-section {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 120px;
}

.map-container h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

#map {
    width: 100%;
    height: 500px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-legend {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.5rem;
}

.legend-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #666;
    padding: 0.3rem;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.legend-color.day1 { background: #e74c3c; }
.legend-color.day2 { background: #3498db; }
.legend-color.day3 { background: #2ecc71; }
.legend-color.day4 { background: #f39c12; }
.legend-color.day5 { background: #9b59b6; }
.legend-color.day6 { background: #1abc9c; }
.legend-color.day7 { background: #e67e22; }
.legend-color.day8 { background: #34495e; }

.map-controls {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.map-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.map-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    padding: 0.3rem 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-section li::before {
    content: "• ";
    color: #667eea;
    margin-right: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .header-subtitle {
        font-size: 1rem;
    }
    
    .header-info {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .nav-list {
        justify-content: center;
        gap: 0.3rem;
    }
    
    .nav-item {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .schedule-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .time {
        margin-right: 0;
        align-self: center;
        width: fit-content;
    }
    
    .day-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .day-header h2 {
        font-size: 1.5rem;
        justify-content: center;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .notice-grid {
        grid-template-columns: 1fr;
    }
    
    .map-section {
        position: static;
    }
    
    #map {
        height: 300px;
    }
    
    .map-legend {
        grid-template-columns: 1fr;
    }
    
    .map-controls {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header-title {
        font-size: 1.8rem;
    }
    
    .itinerary-section,
    .map-section {
        padding: 1.5rem;
    }
    
    .schedule-item {
        padding: 1rem;
    }
    
    .day-header h2 {
        font-size: 1.3rem;
    }
    
    .nav-item {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .important-notices {
        padding: 1.5rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 地图标记动画（后备方案） */
@keyframes bounce {
    0%, 20%, 60%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    80% {
        transform: translateY(-15px);
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* 图片放大模态框样式 */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    margin: 2% auto;
    padding: 0;
    width: 90%;
    max-width: 1000px;
    height: 90%;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.3s ease;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 25px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 0, 0, 0.8);
    transform: scale(1.1);
}

#modalImage {
    width: 100%;
    height: 70%;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.modal-info {
    padding: 20px;
    background: white;
    border-radius: 0 0 15px 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-info h3 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-info p {
    margin: 0;
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 景点图片样式 */
.attraction-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
}

.attraction-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* 模态框响应式设计 */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        height: 85%;
        margin: 5% auto;
    }
    
    #modalImage {
        height: 60%;
    }
    
    .modal-info h3 {
        font-size: 1.2rem;
    }
    
    .modal-info p {
        font-size: 0.9rem;
    }
    
    .close-btn {
        top: 10px;
        right: 15px;
        font-size: 28px;
        width: 35px;
        height: 35px;
    }
}

/* 图片链接样式 */
.image-link {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    margin: 10px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-decoration: none;
    border: 2px solid transparent;
    user-select: none;
}

.image-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    border-color: #fff;
    color: white;
} 