/* 全局样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Microsoft YaHei', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f6f0;
}

/* 网站容器 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部导航 */
header {
  background: linear-gradient(to right, #8B4513, #A0522D);
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
}

.logo span {
  color: #FFD700;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  flex-wrap: wrap;
  margin-bottom: 10px;
  margin-top: 20px;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

nav ul li a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* 面包屑导航 */
.breadcrumb {
  padding: 20px 0 10px 0;
  font-size: 14px;
}

.breadcrumb a {
  color: #8B4513;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: #999;
  margin: 0 5px;
}

/* 主要内容区域 */
main {
  padding: 10px 0 20px 0;
}

/* 首页横幅 */
.hero {
  background: linear-gradient(rgba(139, 69, 19, 0.8), rgba(160, 82, 45, 0.9)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%238B4513"/><path d="M20,20 L80,20 L80,80 L20,80 Z" fill="none" stroke="%23A0522D" stroke-width="2"/></svg>');
  background-size: cover;
  color: white;
  text-align: center;
  padding: 80px 20px;
  margin-bottom: 40px;
  border-radius: 10px;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto 30px;
}

.btn {
  display: inline-block;
  background-color: #FFD700;
  color: #8B4513;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  border: 2px solid #FFD700;
}

.btn:hover {
  background-color: transparent;
  color: #FFD700;
  transform: scale(1.05);
}

/* 板块样式 */
.section {
  margin-bottom: 50px;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section-title {
  text-align: center;
  margin-bottom: 30px;
  color: #8B4513;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: #FFD700;
  margin: 10px auto 0;
}

/* 新闻动态板块 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.news-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: translateY(-10px);
}

.news-card h3 {
  color: #8B4513;
  padding: 15px 20px 10px;
}

.news-card p {
  padding: 0 20px 20px;
  color: #666;
  font-size: 14px;
}

.news-date {
  background: #8B4513;
  color: white;
  padding: 5px 15px;
  display: inline-block;
  margin: 15px 20px 10px;
  border-radius: 20px;
  font-size: 14px;
}

/* 业务范围板块 */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
}

.service-card {
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 48px;
  color: #8B4513;
  margin-bottom: 20px;
}

.service-card h3 {
  color: #8B4513;
  margin-bottom: 15px;
}

/* 成功案例板块 */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.project-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.project-image {
  height: 200px;
  background: linear-gradient(45deg, #8B4513, #A0522D);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 48px;
}

.project-info {
  padding: 20px;
}

.project-info h3 {
  color: #8B4513;
  margin-bottom: 10px;
}

/* 人才发展板块 */
.career-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.career-text {
  flex: 1;
  min-width: 300px;
}

.career-image {
  flex: 1;
  min-width: 300px;
  height: 300px;
  background: linear-gradient(45deg, #8B4513, #A0522D);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 48px;
}

/* 联系方式板块 */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
}

.contact-person {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.contact-person h4 {
  color: #8B4513;
  margin-bottom: 10px;
}

.contact-person p {
  color: #666;
  margin: 5px 0;
}

/* 子页面通用样式 */
.page-header {
  text-align: center;
  margin-bottom: 30px;
  color: #8B4513;
}

.page-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-list {
  list-style: none;
}

.news-list li {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.news-list li:last-child {
  border-bottom: none;
}

.news-list h3 {
  color: #8B4513;
  margin-bottom: 10px;
}

.news-meta {
  color: #999;
  font-size: 14px;
  margin-bottom: 10px;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.pagination a {
  display: inline-block;
  padding: 10px 15px;
  margin: 0 5px;
  background: #fff;
  color: #8B4513;
  text-decoration: none;
  border-radius: 4px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.pagination a.active,
.pagination a:hover {
  background: #8B4513;
  color: #fff;
}

/* 页脚 */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 30px 0;
  margin-top: 50px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  max-width: 1200px;
  margin: 0 auto 30px;
  padding: 0 20px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  margin-bottom: 20px;
}

.footer-section h3 {
  color: #FFD700;
  margin-bottom: 20px;
  font-size: 20px;
}

.footer-section p,
.footer-section li {
  margin-bottom: 10px;
  color: #ccc;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
}

.footer-section a:hover {
  color: #FFD700;
}

.footer-bottom {
  border-top: 1px solid #555;
  padding-top: 20px;
  font-size: 14px;
  color: #999;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .logo {
    font-size: 24px;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin: 5px 0;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }

  .section,
  .page-content {
    padding: 20px;
  }
}