/* ===== ABOUT PAGE ===== */

/* 页面英雄区 */
.page-hero {
  background: linear-gradient(135deg, #1f488a 0%, #2d5aa0 50%, #1f488a 100%);
  padding: 140px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 4px;
}

.page-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 2px;
}

/* 页面导航 */
.page-nav {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 104px;
  z-index: 50;
}

.page-nav .container {
  display: flex;
  justify-content: center;
  gap: 0;
}

.page-nav-item {
  display: block;
  padding: 18px 32px;
  color: #666;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}

.page-nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: #1f488a;
  transition: width 0.3s;
}

.page-nav-item:hover {
  color: #1f488a;
}

.page-nav-item.active {
  color: #1f488a;
}

.page-nav-item.active::after {
  width: 100%;
}

/* 主内容区 */
.main-content {
  min-height: calc(100vh - 400px);
}

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

/* 关于区域通用 */
.about-section {
  padding: 40px 0;
}

.about-section:nth-child(even) {
  background: #f8fafc;
}

/* 区块标题 */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #1f488a;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: #888;
}

/* ===== 驾校简介 ===== */
.intro-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.intro-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(31, 72, 138, 0.15);
}

.intro-image img {
  width: 100%;
  display: block;
}

.intro-text h3 {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

.intro-text p {
  font-size: 15px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 16px;
}

.intro-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.intro-stat {
  text-align: center;
}

.stat-num {
  font-size: 36px;
  font-weight: 700;
  color: #1f488a;
}

.stat-unit {
  font-size: 18px;
  color: #1f488a;
  margin-left: 2px;
}

.stat-text {
  display: block;
  font-size: 13px;
  color: #888;
  margin-top: 4px;
}

/* ===== 驾校特色 ===== */
.features-section {
  background: linear-gradient(135deg, #f0f4ff, #f8fafc);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(31, 72, 138, 0.12);
}

.feature-icon {
  font-size: 52px;
  margin-bottom: 20px;
  color: #1f488a;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #888;
}

/* ===== 驾校荣誉 ===== */
.honors-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.honor-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.honor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(31, 72, 138, 0.12);
}

.honor-image {
  position: relative;
  padding-top: 65%;
  overflow: hidden;
  background: #f0f4f8;
}

.honor-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.honor-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 28px;
  background: rgba(255, 255, 255, 0.95);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.honor-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  text-align: center;
  padding: 16px 12px 8px;
}

.honor-card p {
  font-size: 13px;
  color: #999;
  text-align: center;
  padding: 0 12px 16px;
}

/* 荣誉时间线 */
.honors-timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.honors-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, #1f488a, #2d5aa0);
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-year {
  width: calc(50% - 30px);
  font-size: 24px;
  font-weight: 700;
  color: #1f488a;
  text-align: right;
  padding-right: 30px;
}

.timeline-item:nth-child(odd) .timeline-year {
  text-align: left;
  padding-right: 0;
  padding-left: 30px;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #1f488a;
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px #1f488a;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.timeline-text {
  width: calc(50% - 30px);
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.timeline-item:nth-child(odd) .timeline-text {
  text-align: right;
}

/* ===== 员工展示 ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.team-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(31, 72, 138, 0.12);
}

.team-image {
  padding-top: 100%;
  overflow: hidden;
  background: #f0f4f8;
  position: relative;
}

.team-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.team-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  text-align: center;
  padding: 20px 12px 8px;
}

.team-card p {
  font-size: 13px;
  color: #1f488a;
  text-align: center;
  padding: 0 12px 20px;
}

/* ===== 环境展示 ===== */
.env-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.env-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.env-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(31, 72, 138, 0.12);
}

.env-image {
  padding-top: 75%;
  overflow: hidden;
  background: #f0f4f8;
  position: relative;
}

.env-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.env-card:hover .env-image img {
  transform: scale(1.05);
}

.env-card h3 {
  font-size: 15px;
  font-weight: 500;
  color: #333;
  text-align: center;
  padding: 18px 12px;
}

/* ===== 快速联系 ===== */
.quick-contact {
  padding: 60px 0 80px;
  background: linear-gradient(135deg, #1f488a, #2d5aa0);
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.contact-info h3 {
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.contact-info p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
}

.contact-actions {
  display: flex;
  gap: 20px;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 28px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s;
}

.contact-btn.phone {
  background: #fff;
  color: #1f488a;
}

.contact-btn.phone:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-btn.message {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.contact-btn.message:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-icon {
  font-size: 28px;
}

.btn-text {
  display: flex;
  flex-direction: column;
}

.btn-text small {
  font-size: 12px;
  opacity: 0.8;
}

.btn-text strong {
  font-size: 16px;
  font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .page-hero {
    padding: 120px 20px 60px;
  }

  .page-hero h1 {
    font-size: 36px;
  }
  .page-nav{
      top: 64px;
  }
  .page-nav .container {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 0;
  }

  .page-nav-item {
    padding: 16px 20px;
    white-space: nowrap;
    font-size: 14px;
  }

  .about-section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 30px;
  }

  .intro-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .intro-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .honors-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .env-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .honors-timeline::before {
    left: 20px;
  }

  .timeline-year,
  .timeline-text {
    width: calc(100% - 60px);
    text-align: left !important;
    padding-left: 50px !important;
    padding-right: 0 !important;
  }

  .timeline-item,
  .timeline-item:nth-child(odd) {
    flex-direction: row;
  }

  .contact-card {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  .contact-actions {
    width: 100%;
    flex-direction: column;
  }

  .contact-btn {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .page-hero h1 {
    font-size: 28px;
  }

  .section-title {
    font-size: 26px;
  }

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

  .honors-showcase {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

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

  .intro-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-num {
    font-size: 28px;
  }
}
