/* CSS 变量 */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --text-color: #333;
  --text-light: #666;
  --bg-color: #fff;
  --bg-light: #f8f9fa;
  --border-color: #ddd;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 页头样式 */
.site-header {
  background-color: var(--primary-color);
  color: white;
  padding: 20px 0;
  box-shadow: var(--shadow);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  height: 60px;
  width: auto;
}

.company-name {
  font-size: 24px;
  font-weight: bold;
  margin: 0;
}

.company-slogan {
  font-size: 14px;
  opacity: 0.9;
  margin: 5px 0 0 0;
}

/* 导航样式 */
.main-nav {
  background-color: var(--secondary-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.hamburger {
  display: block;
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px 0;
  transition: var(--transition);
}

.nav-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.nav-item {
  margin: 0;
}

.nav-link {
  display: block;
  padding: 15px 25px;
  color: white;
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
  background-color: rgba(255, 255, 255, 0.2);
}

/* 主内容区域 */
.main-content {
  min-height: calc(100vh - 400px);
}

/* 首页样式 */
.hero-section {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: white;
  padding: 80px 0;
  text-align: center;
}

.hero-title {
  font-size: 42px;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 20px;
  opacity: 0.9;
}

.intro-section,
.highlights-section {
  padding: 60px 0;
}

.section-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.intro-text {
  font-size: 18px;
  line-height: 1.8;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-light);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.highlight-card {
  background-color: var(--bg-light);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-title {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.card-description {
  color: var(--text-light);
  line-height: 1.6;
}

/* 页面头部 */
.page-header {
  background-color: var(--bg-light);
  padding: 40px 0;
  text-align: center;
  border-bottom: 3px solid var(--secondary-color);
}

.page-title {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-subtitle {
  font-size: 18px;
  color: var(--text-light);
}

/* 关于我们页面 */
.about-section {
  padding: 60px 0;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.info-block {
  margin-bottom: 40px;
}

.block-title {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary-color);
}

.info-list {
  list-style: none;
  padding: 0;
}

.info-list li {
  padding: 10px 0;
  font-size: 16px;
  color: var(--text-light);
}

.block-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-light);
}

.culture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.culture-item {
  background-color: var(--bg-light);
  padding: 20px;
  border-radius: 8px;
}

.culture-item h4 {
  color: var(--secondary-color);
  margin-bottom: 10px;
}

/* 业务范围页面 */
.business-section {
  padding: 60px 0;
}

.business-list {
  max-width: 900px;
  margin: 0 auto;
}

.business-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  padding: 30px;
  background-color: var(--bg-light);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.business-item:hover {
  transform: translateX(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.business-number {
  font-size: 36px;
  font-weight: bold;
  color: var(--secondary-color);
  min-width: 60px;
}

.business-content {
  flex: 1;
}

.business-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.business-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-light);
}

/* 联系我们页面 */
.contact-section {
  padding: 60px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.contact-item {
  text-align: center;
  padding: 30px;
  background-color: var(--bg-light);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.contact-title {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.contact-text {
  font-size: 16px;
  color: var(--text-light);
}

.contact-info {
  max-width: 800px;
  margin: 40px auto 0;
  padding: 30px;
  background-color: var(--bg-light);
  border-radius: 8px;
  text-align: center;
}

.info-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-light);
}

/* 404 错误页面 */
.error-section {
  padding: 100px 0;
  text-align: center;
}

.error-content {
  max-width: 600px;
  margin: 0 auto;
}

.error-code {
  font-size: 120px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.error-title {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.error-message {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 30px;
}

.btn-home {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--secondary-color);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: var(--transition);
  font-weight: 500;
}

.btn-home:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* 页脚样式 */
.site-footer {
  background-color: var(--primary-color);
  color: white;
  padding: 40px 0 20px;
  margin-top: 60px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-info .company-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.copyright {
  font-size: 14px;
  opacity: 0.8;
}

.icp-info {
  font-size: 14px;
}

.icp-info a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: var(--transition);
}

.icp-info a:hover {
  opacity: 1;
  text-decoration: underline;
}
