/* 基础CSS样式文件 */
:root {
  /* 民族色彩变量体系 */
  --chinese-red: #c3272b; /* 中国红 */
  --tibetan-blue: #0d3b5c; /* 藏青 */
  --earth-yellow: #d4a657; /* 土黄 */
  
  /* 其他民族色彩变量 */
  --zhuang-red: #9d2933; /* 壮族红，代表生命 */
  --mongolian-blue: #46a3ff; /* 蒙古族蓝，象征草原蓝天 */
  --miao-silver: #c0c0c0; /* 苗族银饰色 */
  --dai-water: #70f3ff; /* 傣族水色 */
  --hui-green: #248067; /* 回族绿色 */
}

/* 基础重置样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "思源宋体", "Source Han Serif", serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f8f6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
  font-family: "汉仪尚巍手书", "HYShangWeiShouShuW", serif;
  margin-bottom: 0.5em;
  color: var(--tibetan-blue);
}

/* 响应式容器 */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* 通用按钮样式 */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  background-color: var(--chinese-red);
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #a71d21;
}

/* 民族装饰线 */
.ethnic-border {
  height: 6px;
  background: linear-gradient(to right, 
    var(--chinese-red), 
    var(--tibetan-blue), 
    var(--earth-yellow), 
    var(--zhuang-red), 
    var(--mongolian-blue), 
    var(--dai-water), 
    var(--hui-green));
}

/* 页脚样式 */
footer {
  background-color: var(--tibetan-blue);
  color: white;
  padding: 40px 0;
  margin-top: 60px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-logo {
  flex: 1;
  min-width: 200px;
}

.footer-logo img {
  max-width: 150px;
  margin-bottom: 15px;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.footer-links {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-section {
  flex: 1;
  min-width: 150px;
}

.footer-section h4 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-section h4:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--earth-yellow);
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--earth-yellow);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-icon {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  transition: all 0.3s;
}

.social-icon:hover {
  background-color: var(--earth-yellow);
  border-color: var(--earth-yellow);
}

/* 响应式设计的媒体查询 */
@media (max-width: 768px) {
  .container {
    width: 100%;
    padding: 0 10px;
  }
  
  .footer-content, .footer-links {
    flex-direction: column;
    gap: 20px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .copyright {
    margin-bottom: 15px;
  }
} 