/* 关于我们页面样式 */
:root {
  --primary-color: #4e8cff;
  --secondary-color: #a18cd1;
  --text-color: #2a3b4d;
  --bg-color: #f5f6fa;
  --card-bg: #ffffff;
  --gradient-1: linear-gradient(135deg, #4e8cff 0%, #a18cd1 100%);
  --gradient-2: linear-gradient(45deg, rgba(78,140,255,0.1) 0%, rgba(161,140,209,0.1) 100%);
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.05);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.1);
  --position-color: #7798c0;
}

body {
  margin: 0;
  font-family: 'Montserrat', '微软雅黑', Arial, sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
}

.about-header {
  position: relative;
  height: 60vh;
  min-height: 480px;
  margin-top: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: url('./images/header-bg.svg') center/cover no-repeat;
  background-color: var(--bg-color);
  z-index: 1;
}

.about-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(78,140,255,0.9) 0%, rgba(161,140,209,0.9) 100%);
  opacity: 0.1;
  z-index: 1;
}

.header-content {
  text-align: center;
  z-index: 2;
  padding: 0 20px;
  position: relative;
  width: 100%;
  max-width: 1200px;
}

.header-title {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
  animation: fadeInDown 1s ease-out;
}

.header-subtitle {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
  animation: fadeInUp 1s ease-out 0.3s both;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 6rem 6vw 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

.about-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 4px;
  background: var(--gradient-1);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.about-card:hover::before {
  width: 100%;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #232323;
}

.card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.card-content {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #666;
}

/* 企业文化板块样式 */
.culture-section {
  padding: 6rem 6vw;
  background: #fff;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 3rem;
  color: #2a3b4d;
  font-weight: 600;
}

.culture-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.culture-card {
  background: var(--bg-color);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.culture-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.culture-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #7798c0;
  display: block;
}

.culture-card h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: var(--text-color);
}

.culture-card p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4a5568;
  margin-bottom: 1.5rem;
}

.culture-card ul {
  padding-left: 1.5rem;
  margin-bottom: 0;
}

.culture-card li {
  font-size: 1.05rem;
  color: #4a5568;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.team-section {
  padding: 4rem 6vw;
  background: var(--gradient-2);
}

.team-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--text-color);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.team-member {
  text-align: center;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.member-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: var(--shadow-sm);
}

.member-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.member-position {
  color: var(--position-color);
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.member-bio {
  color: #666;
  line-height: 1.6;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 修改移动端头图样式 */
@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
  
  .mobile-only {
    display: block;
  }
  
  .about-header {
    height: 40vh;
    min-height: 300px;
    margin-top: 70px;
    background-size: auto 100%;
    background-position: center;
    background-color: transparent; /* 移除背景色 */
  }
  
  .header-title {
    font-size: 2.5rem;
  }
  
  .header-subtitle {
    font-size: 1.2rem;
  }
  
  .history-section {
    padding: 3rem 1.5rem;
    background-color: #f8f9fa;
  }

  .history-image {
    padding: 0;
  }
  
  .history-svg {
    max-width: 100%;
    height: auto;
  }
  
  .nav-content {
    padding: 0.5rem 1rem;
  }
  
  .nav-logo {
    font-size: 1rem;
  }
  
  .nav-links {
    gap: 1rem;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    padding-left: 60px;
    padding-right: 0;
  }
  
  .timeline-item:nth-child(even) {
    padding-right: 0;
    padding-left: 60px;
  }
  
  .timeline-dot {
    left: 10px;
    right: auto;
  }
  
  .timeline-item:nth-child(even) .timeline-dot {
    left: 10px;
    right: auto;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-info p {
    justify-content: center;
  }
  
  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .about-header {
    height: 30vh;
    min-height: 200px;
    background-position: center;
    background-size: contain; /* 使图片完全显示 */
    background-repeat: no-repeat; /* 不重复显示背景图片 */
    background-color: transparent; /* 确保没有背景色 */
  }
  
  .about-header::before {
    display: none; /* 移除背景渐变叠加层 */
  }
  
  .header-title {
    font-size: 2rem;
  }
  
  .header-subtitle {
    font-size: 1rem;
  }
  
  .history-section {
    min-height: 250px;
  }

  .history-image {
    padding: 0;
  }
  
  .history-svg {
    max-height: 250px;
  }

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

  .culture-card,
  .timeline-content {
    padding: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 1200px) {
  .culture-grid {
    gap: 2rem;
  }
  
  .culture-card {
    padding: 2rem;
  }
}

@media (max-width: 900px) {
  .culture-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
  
  .culture-section {
    padding: 4rem 4vw;
  }
  
  .culture-card {
    padding: 2rem;
  }
  
  .culture-card h3 {
    font-size: 1.4rem;
  }
  
  .culture-card p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .culture-section {
    padding: 3rem 3vw;
  }
  
  .culture-grid {
    gap: 1.5rem;
  }
  
  .culture-card {
    padding: 1.5rem;
  }
  
  .culture-icon {
    font-size: 2.4rem;
  }
}

/* 增加超小屏幕适配 */
@media (max-width: 360px) {
  .about-header {
    height: 25vh;
    min-height: 180px;
    background-size: contain;
    background-position: center;
  }
} 