/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f5f5f5;
}

/* 页头样式 */
header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 20px 0;
    margin-bottom: 40px;
}

.logo {
    text-align: center;
    margin-bottom: 20px;
}

.logo h1 {
    color: #c41230;
    font-size: 32px;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    padding: 5px 10px;
}

nav ul li a.active {
    color: #c41230;
    border-bottom: 2px solid #c41230;
}

nav ul li a:hover {
    color: #c41230;
    border-bottom: 2px solid #c41230;
}

/* 主要内容区样式 */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

h2 {
    text-align: center;
    font-size: 28px;
    color: #333;
    margin-bottom: 40px;
    position: relative;
}

h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #c41230;
    margin: 10px auto;
}

/* 目的地网格布局 */
.destination-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* 目的地卡片样式 */
.dest-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.dest-card:hover {
    transform: translateY(-5px);
}

.dest-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.dest-info {
    padding: 20px;
}

.dest-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.dest-info p {
    color: #666;
    margin-bottom: 15px;
}

/* 页脚样式 */
footer {
    background: #333;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.footer-nav {
    margin-bottom: 20px;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
}

.footer-nav a:hover {
    color: #c41230;
}

.copyright {
    font-size: 14px;
    color: #999;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .destination-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .destination-grid {
        grid-template-columns: 1fr;
    }
} 