/* assets/css/main.css */

/* 全局重置与基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}
.beijing-time-box {
    color: green;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 10px 15px;
    background-color: #f0f8f0;
    border: 1px solid #90ee90;
    border-radius: 5px;
    margin: 10px 0;
    display: inline-block;
}
/* 导航栏样式 */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
}

nav .nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav .nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav .nav-links a:hover {
    color: #000;
}

/* 页面主体内容，避免被固定导航遮挡 */
main {
    margin-top: 80px;
    padding: 2rem;
}

/* 页脚样式 */
footer {
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    font-size: 0.9rem;
    color: #666;
    border-top: 1px solid #eee;
}
/* ↓↓↓ 新增的 CSS 样式（用于美化 hero 下方的内容区块）↓↓↓ */
section > h2 {
  font-size: 2.2rem;
  color: #000;
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

section > p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  text-align: justify;
}

section > ul {
  font-size: 1.1rem;
  color: #444;
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

section > ul > li {
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

/* 如果你想给新增的整个内容区加背景/边距，可以用这个包裹的 section 样式 */
section[style*="max-width: 1000px"] {
  background: #fafafa;
  padding: 3rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
