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

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

/* 链接样式 */
a {
  text-decoration: none;
  color: #c19d61;
  transition: all 0.3s ease;
}

a:hover {
  color: #a57c3a;
}

/* 头部样式 */
.header {
  background: linear-gradient(135deg, #0d3b66, #1a5f7f);
  color: #fff;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 1px;
}

.logo span {
  color: #c19d61;
}

/* 导航菜单 */
.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 20px;
}

.nav-menu a {
  color: #fff;
  font-weight: 500;
  font-size:18px;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.nav-menu a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #c19d61;
}

/* 主要内容区域 */
.main-content {
  padding: 40px 0;
}

/* 首页特色区域 */
.hero {
  background: linear-gradient(rgba(13, 59, 102, 0.8), rgba(26, 95, 127, 0.9));
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 100px 20px;
  margin-bottom: 40px;
}

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

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

.btn {
  display: inline-block;
  background-color: #c19d61;
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: 2px solid #c19d61;
}

.btn:hover {
  background-color: transparent;
  color: #c19d61;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 内容板块样式 */
.section {
  background: #fff;
  margin-bottom: 30px;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.section-title {
  font-size: 28px;
  color: #0d3b66;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #c19d61;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 80px;
  height: 2px;
  background-color: #1a5f7f;
}

/* 新闻动态样式 */
.news-list {
  list-style: none;
}

.news-item {
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

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

.news-item h3 {
  margin-bottom: 8px;
}

.news-item h3 a {
  color: #0d3b66;
  font-size: 18px;
}

.news-item .date {
  color: #c19d61;
  font-size: 14px;
}

/* 业务范围样式 */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.service-card {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: #c19d61;
}

.service-icon {
  font-size: 48px;
  color: #c19d61;
  margin-bottom: 15px;
}

.service-card h3 {
  color: #0d3b66;
  margin-bottom: 15px;
}

/* 成功案例样式 */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

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

.case-img {
  height: 180px;
  background-color: #0d3b66;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
}

.case-info {
  padding: 20px;
}

.case-info h3 {
  color: #0d3b66;
  margin-bottom: 10px;
}

/* 联系人信息样式 */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.contact-card {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  border-left: 4px solid #c19d61;
}

.contact-card h3 {
  color: #0d3b66;
  margin-bottom: 10px;
}

.contact-card p {
  margin-bottom: 5px;
}

.email {
  color: #1a5f7f;
  font-weight: 500;
}

/* 子页面样式 */
.page-header {
  background: linear-gradient(135deg, #0d3b66, #1a5f7f);
  color: white;
  padding: 60px 0;
  text-align: center;
  margin-bottom: 40px;
}

.page-header h1 {
  font-size: 36px;
}

.breadcrumb {
  margin-bottom: 20px;
  color: #c19d61;
}

.breadcrumb a {
  color: #fff;
}

.news-detail .meta {
  color: #999;
  font-size: 14px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

/* 页脚样式 */
.footer {
  background: #0d3b66;
  color: #fff;
  padding: 40px 0 20px;
  margin-top: 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

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

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
}

.footer-links a:hover {
  color: #c19d61;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: #aaa;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
  }
  
  .nav-menu {
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .nav-menu li {
    margin: 5px 10px;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .hero p {
    font-size: 18px;
  }
  
  .section-title {
    font-size: 24px;
  }
}