/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #3498db;
}

/* Banner区域样式 */
.banner {
    height: 100vh;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 70px;
}

.banner-content {
    width: 100%;
    padding: 20px;
}

.banner-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.banner-content p {
    font-size: 20px;
    color: #666;
    margin-bottom: 30px;
}

.banner-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 热门目的地样式 */
.destinations {
    padding: 80px 0;
    background-color: #fff;
}

.destinations h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
}

.destination-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.destination-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.destination-card:hover {
    transform: translateY(-5px);
}

.destination-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.destination-card h3 {
    padding: 15px;
    margin: 0;
    color: #2c3e50;
}

.destination-card p {
    padding: 0 15px 15px;
    color: #666;
}

/* 旅游路线样式 */
.routes {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.routes h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
}

.route-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.route-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.route-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.route-info {
    padding: 20px;
}

.route-info h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.route-info p {
    color: #666;
}

/* 信息查询样式 */
.search {
    padding: 80px 0;
    background-color: #fff;
}

.search h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
}

.search-box {
    max-width: 600px;
    margin: 0 auto 40px;
    display: flex;
    gap: 10px;
}

.search-box input {
    flex: 1;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.search-box button {
    padding: 15px 30px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-box button:hover {
    background-color: #2980b9;
}

.featured-info {
    display: flex;
    align-items: center;
    gap: 30px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

.featured-info img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
}

.info-content h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.info-content p {
    color: #666;
}

/* 页脚样式 */
footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #3498db;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }

    .nav-links {
        margin-top: 20px;
        flex-direction: column;
        text-align: center;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .banner-content h1 {
        font-size: 36px;
    }

    .featured-info {
        flex-direction: column;
        text-align: center;
    }

    .featured-info img {
        width: 100%;
        height: 200px;
    }
} 