/* 团队页面标题样式 */
.page-header {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/team-header.jpg');
  background-size: cover;
  background-position: center;
  height: 300px;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
  margin-top: 80px;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* 团队介绍部分 */
.team-section {
  padding: 5rem 0;
  background-color: #f9f9f9;
}

.team-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.team-intro h2 {
  color: #333;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.team-intro p {
  color: #666;
  line-height: 1.8;
}

/* 教师团队网格 */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.team-member {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.team-member:hover {
  transform: translateY(-5px);
}

.member-image {
  height: 300px;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.team-member:hover .member-image img {
  transform: scale(1.05);
}

.member-info {
  padding: 2rem;
  text-align: center;
}

.member-info h3 {
  color: #333;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.member-info .title {
  color: #e74c3c;
  font-weight: 500;
  margin-bottom: 1rem;
}

.member-info .description {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.member-social a {
  color: #666;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.member-social a:hover {
  color: #e74c3c;
}

/* 团队优势部分 */
.team-advantages {
  text-align: center;
}

.team-advantages h2 {
  color: #333;
  font-size: 2rem;
  margin-bottom: 3rem;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.advantage-item {
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.advantage-item i {
  font-size: 2.5rem;
  color: #e74c3c;
  margin-bottom: 1rem;
}

.advantage-item h3 {
  color: #333;
  margin-bottom: 1rem;
}

.advantage-item p {
  color: #666;
  line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .page-header {
    height: 200px;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .member-image {
    height: 250px;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }
}
