/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #F5F5F5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 导航栏样式 */
.nav-bar {
    background-color: #2196F3;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background-color: rgba(255,255,255,0.2);
    border-radius: 4px;
}

/* Banner样式 */
.banner {
    margin-top: 60px;
    position: relative;
    height: 500px;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.banner-text p {
    font-size: 24px;
    animation: fadeInUp 1s ease;
}

/* 热门目的地样式 */
.destinations {
    padding: 60px 0;
    background-color: white;
}

.destinations h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #2196F3;
}

.dest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.dest-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.dest-card:hover {
    transform: translateY(-10px);
}

.dest-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.dest-card h3 {
    padding: 15px;
    color: #2196F3;
}

.dest-card p {
    padding: 0 15px 15px;
    color: #666;
}

/* 特色服务样式 */
.features {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.features h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #2196F3;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.feature-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.feature-item h3 {
    color: #2196F3;
    margin-bottom: 10px;
}

/* 页脚样式 */
.footer {
    background-color: #333;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 20px;
}

.footer-section h4 {
    margin-bottom: 15px;
    color: #2196F3;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* 动画效果 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .dest-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .banner {
        height: 300px;
    }
    
    .banner-text h1 {
        font-size: 32px;
    }
    
    .banner-text p {
        font-size: 18px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
} 