/* 全局样式 */
:root {
    --primary-color: #e63946;
    --secondary-color: #457b9d;
    --light-color: #f1faee;
    --dark-color: #1d3557;
    --accent-color: #a8dadc;
    
    --header-font: 'Microsoft YaHei', 'SimHei', sans-serif;
    --body-font: 'SimSun', 'NSimSun', sans-serif;
    
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #f8f9fa;
}

a {
    text-decoration: none;
    color: var(--dark-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--dark-color);
    font-family: var(--header-font);
    font-size: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* 按钮样式 */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

/* 头部样式 */
header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/header-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 70vh;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.header-content h1 {
    font-family: var(--header-font);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.header-content .subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* 导航栏样式 */
.main-nav {
    background-color: white;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: center;
    width: 90%;
    margin: 0 auto;
}

.main-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.main-nav ul li {
    position: relative;
}

.main-nav ul li a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--dark-color);
    font-weight: bold;
    transition: var(--transition);
}

.main-nav ul li a:hover, .main-nav ul li a.active {
    color: var(--primary-color);
}

.main-nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background-color: var(--primary-color);
}

/* 英雄区域样式 */
.hero {
    text-align: center;
    padding: 5rem 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-content h2 {
    font-family: var(--header-font);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 行程亮点网格 */
.highlights-grid, .tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.highlight-card, .tip-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.highlight-card:hover, .tip-card:hover {
    transform: translateY(-10px);
}

.highlight-icon, .tip-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--light-color);
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
}

.highlight-card h3, .tip-card h3 {
    font-family: var(--header-font);
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* 地图容器 */
.route-map {
    background-color: var(--light-color);
    padding: 2rem 0;
}

.map-container {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.map-placeholder {
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
    border-radius: 5px;
    border: 1px dashed #ccc;
    font-size: 1.5rem;
    color: #666;
}

.map-placeholder .small {
    font-size: 0.9rem;
    margin-top: 1rem;
    text-align: center;
    line-height: 1.6;
}

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

.preview-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    cursor: pointer;
}

.preview-card:hover {
    transform: translateY(-10px);
}

.preview-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.day-label {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-weight: bold;
}

.preview-content {
    padding: 1.5rem;
}

.preview-content h3 {
    font-family: var(--header-font);
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.view-more {
    text-align: center;
    margin-top: 1rem;
}

/* 旅行贴士 */
.travel-tips {
    background-color: var(--light-color);
    padding: 2rem 0;
}

/* 页脚样式 */
footer {
    background-color: var(--dark-color);
    color: white;
    padding-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-nav h3, .footer-contact h3 {
    margin-bottom: 1.5rem;
    font-family: var(--header-font);
    position: relative;
}

.footer-nav h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-nav ul li {
    margin-bottom: 0.5rem;
}

.footer-nav ul li a {
    color: #ccc;
    transition: var(--transition);
}

.footer-nav ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--primary-color);
}

.social-icons {
    margin-top: 1.5rem;
}

.social-icons a {
    display: inline-block;
    margin-right: 1rem;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 2.5rem;
    }
    
    .header-content .subtitle {
        font-size: 1.2rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .main-nav ul li a {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .header-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
} 