/* ============================================
   太原市斯航网络科技有限公司 - 内页通用布局
   文件名：page.css
   作用：关于我们/产品中心/案例/资质/合作伙伴页
   ============================================ */

/* ====== 内页通用 ====== */
.page-banner {
  margin-top: 70px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/module5.jpg') center/cover no-repeat;
  opacity: 0.1;
}

.page-banner h1 {
  font-size: 36px;
  color: var(--white);
  margin-bottom: 15px;
  position: relative;
}

.page-banner p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.page-content {
  padding: 60px 0;
}

/* ====== 关于我们页 ====== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
}

.about-intro-content h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--primary);
}

.about-intro-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 15px;
}

.about-intro-img {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-intro-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* 发展历程 */
.timeline {
  position: relative;
  padding: 40px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--border);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: 50%;
  position: relative;
  margin-bottom: 40px;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: 50%;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 16px;
  height: 16px;
  background-color: var(--secondary);
  border-radius: 50%;
  transform: translateX(-50%);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--secondary);
}

.timeline-content {
  background-color: var(--white);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  max-width: 90%;
  margin-right: 30px;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-right: 0;
  margin-left: 30px;
}

.timeline-content h4 {
  font-size: 18px;
  color: var(--secondary);
  margin-bottom: 8px;
}

.timeline-content h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--primary);
}

.timeline-content p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

/* 核心优势 */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.advantage-card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.advantage-card:hover {
  border-color: var(--secondary);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}

.advantage-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(255,107,53,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 24px;
  color: var(--secondary);
}

.advantage-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.advantage-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

/* ====== 产品中心页 ====== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail-img {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-detail-img img {
  width: 100%;
  height: auto;
  display: block;
}

.service-detail-content h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--primary);
}

.service-detail-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 20px;
}

.service-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 25px;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
}

.service-feature-item .icon {
  width: 24px;
  height: 24px;
  background-color: rgba(255,107,53,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 12px;
  flex-shrink: 0;
}

/* 服务列表 */
.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.service-list-item {
  background-color: var(--white);
  border-radius: 8px;
  padding: 35px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.service-list-item:hover {
  border-color: var(--secondary);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.service-list-item h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--primary);
  padding-bottom: 15px;
  border-bottom: 2px solid var(--border);
}

.service-list-item h3 span {
  color: var(--secondary);
  margin-right: 10px;
  font-size: 24px;
}

.service-list-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ====== 案例展示页 ====== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.case-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.case-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}

.case-card-img {
  height: 200px;
  overflow: hidden;
}

.case-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-card:hover .case-card-img img {
  transform: scale(1.1);
}

.case-card-body {
  padding: 25px;
}

.case-card-body h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--primary);
}

.case-card-body p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 15px;
  line-height: 1.6;
}

.case-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.case-data {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background-color: rgba(255,107,53,0.1);
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--secondary);
  font-weight: 500;
}

/* ====== 资质荣誉页 ====== */
.honor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.honor-card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.honor-card:hover {
  border-color: var(--secondary);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}

.honor-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--secondary) 0%, #ff8c5a 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 28px;
  color: var(--white);
}

.honor-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--primary);
}

.honor-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ====== 合作伙伴页 ====== */
.partner-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.partner-page-card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.partner-page-card:hover {
  border-color: var(--secondary);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}

.partner-page-logo {
  width: 80px;
  height: 80px;
  background-color: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  font-weight: 700;
  color: var(--secondary);
}

.partner-page-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--primary);
}

.partner-page-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 15px;
}

.partner-tag {
  display: inline-block;
  background-color: rgba(255,107,53,0.1);
  color: var(--secondary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

/* ====== 响应式 ====== */
@media (max-width: 1024px) {
  .about-intro,
  .service-detail {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .service-detail:nth-child(even) {
    direction: ltr;
  }
  
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .case-grid,
  .honor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .partner-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-list {
    grid-template-columns: 1fr;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item,
  .timeline-item:nth-child(even) {
    padding-left: 55px;
    padding-right: 0;
    justify-content: flex-start;
  }
  
  .timeline-dot {
    left: 20px;
  }
  
  .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 767px) {
  .page-banner {
    margin-top: 60px;
    padding: 50px 0;
  }
  
  .page-banner h1 {
    font-size: 26px;
  }
  
  .page-content {
    padding: 40px 0;
  }
  
  .case-grid,
  .honor-grid,
  .advantages-grid,
  .partner-page-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .service-features {
    grid-template-columns: 1fr;
  }
  
  .service-list {
    grid-template-columns: 1fr;
  }
  
  .service-list-item {
    padding: 25px;
  }
  
  .about-intro-content h2,
  .service-detail-content h2 {
    font-size: 22px;
  }
}

@media (max-width: 575px) {
  .page-banner {
    padding: 40px 0;
  }
  
  .page-banner h1 {
    font-size: 22px;
  }
  
  .page-banner p {
    font-size: 14px;
  }
  
  .case-grid,
  .honor-grid {
    grid-template-columns: 1fr;
  }
}
