/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: SimSun, "宋体", serif;
    font-size: 16px;
    line-height: 25px;
    letter-spacing: 2px;
    background-color: #f5f5f5;
}

/* 布局样式 */
.container {
    width: 1000px;
    margin: 0 auto;
    background-color: #fff;
    position: relative;
}

/* 头部样式 */
.header {
    padding: 20px;
    position: relative;
}

.logo {
    margin-bottom: 20px;
}

/* 搜索框样式 */
.search-box {
    position: absolute;
    right: 20px;
    top: 20px;
}

.search-box input {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    width: 200px;
    font-size: 14px;
}

.search-box button {
    padding: 8px 15px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 20px;
    margin-left: -5px;
    cursor: pointer;
}

/* 面包屑导航 */
.breadcrumb {
    padding: 10px 20px;
    background: #f8f8f8;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #333;
    text-decoration: none;
}

.breadcrumb span {
    margin: 0 5px;
    color: #666;
}

/* 导航样式 */
.nav {
    background-color: #333;
    padding: 10px 0;
}

.nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

.nav li {
    margin: 0 20px;
}

.nav a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #ddd;
}

/* 主要内容区域 */
.main {
    padding: 20px;
    min-height: 500px;
}

/* 图片悬停效果 */
.item img, .mountain-intro img, .ocean-item img, .desert-card img {
    transition: transform 0.3s ease;
}

.item img:hover, .mountain-intro img:hover, .ocean-item img:hover, .desert-card img:hover {
    transform: scale(1.05);
}

/* 分享按钮 */
.share-buttons {
    margin: 20px 0;
    text-align: center;
}

.share-buttons button {
    padding: 8px 15px;
    margin: 0 5px;
    border: none;
    border-radius: 5px;
    background: #333;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
}

.share-buttons button:hover {
    background: #555;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    transition: background 0.3s ease;
}

.back-to-top:hover {
    background: #555;
}

.back-to-top.visible {
    display: block;
}

/* 图片样式 */
img {
    margin: 5px;
    max-width: 100%;
    height: auto;
}

/* 页脚样式 */
.footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

/* 首页特定样式 */
.featured-items {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.item {
    flex: 1;
    margin: 0 10px;
    text-align: center;
}

.item img {
    width: 100%;
    max-width: 300px;
    border-radius: 8px;
}

/* 山脉页面样式 */
.content-wrapper {
    display: flex;
    padding: 20px;
}

.sidebar {
    width: 200px;
    padding: 20px;
    background-color: #f8f8f8;
}

.sidebar ul {
    list-style: none;
    margin-top: 10px;
}

.sidebar li {
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

.main-content {
    flex: 1;
    padding: 0 20px;
}

.mountain-intro {
    margin-bottom: 30px;
}

.mountain-intro img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.mountain-features {
    display: flex;
    justify-content: space-between;
}

.feature {
    flex: 1;
    margin: 0 10px;
    text-align: center;
}

/* 海洋页面样式 */
.ocean-main {
    padding: 20px;
}

.ocean-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.ocean-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.ocean-item.featured {
    grid-column: span 2;
}

.ocean-item img {
    width: 100%;
    display: block;
    margin: 0;
}

.ocean-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
}

.ocean-facts {
    margin-top: 30px;
}

.facts-container {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.fact {
    text-align: center;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 8px;
}

/* 沙漠页面样式 */
.desert-main {
    padding: 20px;
}

.desert-intro {
    text-align: center;
    margin-bottom: 30px;
}

.desert-intro img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.desert-waterfall {
    column-count: 2;
    column-gap: 20px;
}

.desert-card {
    break-inside: avoid;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.desert-card img {
    width: 100%;
    display: block;
    margin: 0;
}

.desert-info {
    padding: 15px;
    background: #fff;
}

.desert-features {
    margin-top: 30px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 8px;
}

.features-list {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.features-list .feature {
    flex: 1;
    margin: 0 10px;
    text-align: center;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
}

/* 订阅表单样式 */
.newsletter {
    background: #f8f8f8;
    padding: 30px;
    text-align: center;
    margin-top: 30px;
    border-radius: 8px;
}

.newsletter h2 {
    margin-bottom: 10px;
}

.newsletter p {
    margin-bottom: 20px;
    color: #666;
}

.subscribe-form {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.subscribe-form input[type="email"] {
    padding: 10px 15px;
    width: 300px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.subscribe-form button {
    padding: 10px 20px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.subscribe-form button:hover {
    background: #555;
} 