/* 全局样式重置 */
* {
    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;
}

/* 景点介绍部分 */
.intro {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.intro-images {
    margin-bottom: 30px;
}

.main-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.sub-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.sub-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
    cursor: pointer;
}

.sub-images img:hover {
    transform: scale(1.05);
}

.intro-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.basic-info {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    color: #666;
}

.description {
    line-height: 1.8;
    color: #444;
}

/* 行程安排部分 */
.itinerary {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.itinerary h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

.timeline {
    position: relative;
    padding-left: 50px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #c41230;
}

.time-point {
    position: relative;
    margin-bottom: 30px;
}

.time-point::before {
    content: "";
    position: absolute;
    left: -44px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #c41230;
    border: 3px solid #fff;
}

.time {
    font-weight: bold;
    color: #c41230;
    margin-bottom: 10px;
    display: block;
}

.point-content h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

/* 注意事项部分 */
.tips {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tips h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.tips ul {
    list-style: none;
}

.tips ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 15px;
    color: #444;
}

.tips ul li::before {
    content: "•";
    color: #c41230;
    position: absolute;
    left: 0;
    top: 0;
}

/* 相关推荐部分 */
.related {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.related h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

.related-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.related-item {
    text-align: center;
}

.related-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.related-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
}

.related-item p {
    color: #666;
}

/* 页脚样式 */
footer {
    background: #333;
    color: #fff;
    padding: 40px 0;
    text-align: center;
    margin-top: 60px;
}

.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: 768px) {
    .sub-images {
        grid-template-columns: 1fr;
    }

    .related-list {
        grid-template-columns: 1fr;
    }

    .basic-info {
        flex-direction: column;
        gap: 10px;
    }
} 