/* 整体布局 */
body {
  margin: 0;
  padding: 0;
  font-family: "SimSun", serif;
  background: #f5f5f5;
}

.header {
  background: #475164;
  color: #fff;
  padding: 20px;
  text-align: center;
}

.chinese-title {
  font-size: 36px;
  margin: 0;
  letter-spacing: 5px;
}

.subtitle {
  font-size: 18px;
  margin: 10px 0 0;
  color: #d3d7d4;
}

.nav {
  background: #718792;
  padding: 10px 0;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.nav-list li {
  display: inline-block;
  margin: 0 20px;
}

.nav-list a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
}

.content {
  background: #fff;
  padding: 30px;
}

.main-image {
  text-align: center;
  margin-bottom: 30px;
}

.main-image img {
  max-width: 100%;
  height: auto;
}

.intro-text {
  text-align: center;
  margin-bottom: 40px;
}

.features {
  display: flex;
  justify-content: space-around;
  margin-top: 30px;
}

.feature-item {
  text-align: center;
  width: 30%;
}

.feature-item img {
  width: 200px;
  height: 200px;
  border-radius: 10px;
}

.footer {
  background: #475164;
  color: #fff;
  text-align: center;
  padding: 15px;
}

/* 历史渊源页面样式 */
.history-section, .solar-terms, .cultural-relics {
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.history-image, .solar-image, .relics-image {
  flex: 1;
  text-align: center;
}

.history-image img, .solar-image img, .relics-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.history-text, .solar-text, .relics-text {
  flex: 1;
}

.history-text h2, .solar-text h2, .relics-text h2 {
  color: #475164;
  margin-bottom: 20px;
  font-size: 24px;
}

.history-text p, .solar-text p, .relics-text p {
  line-height: 1.8;
  color: #333;
  text-align: justify;
}

/* 节日习俗页面样式 */
.custom-section, .spring-outing, .food-culture {
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.custom-image, .outing-image, .food-image {
  flex: 1;
  text-align: center;
}

.custom-text, .outing-text, .food-text {
  flex: 1;
}

/* 文化内涵页面样式 */
.poetry-section, .art-section, .value-section {
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.poetry-image, .art-image, .value-image {
  flex: 1;
  text-align: center;
}

.poetry-text, .art-text, .value-text {
  flex: 1;
}

/* 通用图片样式 */
.custom-image img, .outing-image img, .food-image img,
.poetry-image img, .art-image img, .value-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* 导航栏右侧样式 */
.nav-right {
    float: right;
    margin-right: 20px;
}

.nav-right a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    width: 400px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.close {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #475164;
}

.form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.submit-btn {
    width: 100%;
    padding: 10px;
    background-color: #475164;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.submit-btn:hover {
    background-color: #5a6579;
}

.switch-form {
    text-align: center;
    margin-top: 15px;
    color: #666;
}

.switch-form a {
    color: #475164;
    text-decoration: none;
}

.switch-form a:hover {
    text-decoration: underline;
}

/* 登录注册页面样式更新 */
.auth-bg {
    background: url('../images/auth_bg.png') no-repeat center center;
    background-size: cover;
    min-height: 500px;
    position: relative;
}

.auth-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    margin: 40px auto;
}

.auth-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.auth-title {
    color: #475164;
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
}

.auth-form {
    margin-bottom: 20px;
}

.auth-links {
    text-align: center;
    margin-top: 20px;
}

.auth-links a {
    display: block;
    color: #475164;
    text-decoration: none;
    margin: 10px 0;
    font-size: 14px;
}

.auth-links a:hover {
    text-decoration: underline;
} 

/* 页脚学生信息样式 */
.student-info {
    margin-top: 5px;
    font-size: 14px;
    color: #d3d7d4;
} 