/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #FFF5EE;
}

/* 导航栏样式 */
.main-nav {
    background-color: #8B4513;
    padding: 1rem 0;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: block;
}

.main-nav a:hover {
    background-color: #C41E3A;
}

/* 二级菜单样式 */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #8B4513;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 100;
}

.main-nav li:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    width: 100%;
}

.submenu a {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.submenu a:hover {
    background-color: #C41E3A;
}

/* Banner样式 */
.banner {
    position: relative;
    text-align: center;
}

.banner img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.banner h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 2.5rem;
}

/* 主要内容区域样式 */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

section {
    background-color: #fff;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #8B4513;
    margin-bottom: 1rem;
    border-bottom: 2px solid #E8C4A0;
    padding-bottom: 0.5rem;
}

/* 作者信息样式 */
.author-content {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.author-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #E8C4A0;
}

.author-details p {
    margin-bottom: 0.5rem;
}

/* 页脚样式 */
footer {
    background-color: #8B4513;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

/* 特色亮点部分 */
.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.highlight-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
}

.highlight-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.highlight-card h3 {
    color: #8B4513;
    margin-bottom: 1rem;
}

.highlight-card p {
    color: #666;
}

/* 快速导航部分 */
.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.nav-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.nav-card:hover {
    transform: translateY(-5px);
}

.nav-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.nav-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
}

.nav-info h3 {
    margin-bottom: 0.5rem;
}

/* 季节推荐部分 */
.season-content {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.season-image {
    flex: 1;
}

.season-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.season-info {
    flex: 1;
    padding: 2rem;
}

.season-info h3 {
    color: #8B4513;
    margin-bottom: 1rem;
}

.season-highlights {
    list-style: none;
    margin: 1.5rem 0;
}

.season-highlights li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: #666;
}

.season-highlights li::before {
    content: "•";
    color: #C41E3A;
    position: absolute;
    left: 0;
    top: -0.2rem;
    font-size: 1.5rem;
}

.season-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #C41E3A;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.season-btn:hover {
    background-color: #A01830;
}

/* 旅游小贴士部分 */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tip-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tip-card h4 {
    color: #8B4513;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #E8C4A0;
}

.tip-card p {
    color: #666;
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .season-content {
        flex-direction: column;
    }

    .season-image {
        height: 250px;
    }

    .highlight-grid,
    .nav-grid,
    .tips-grid {
        grid-template-columns: 1fr;
    }
} 