/* 关于我们页面样式 */

/* 页面标题区域 */
.about-page .page-header {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-page .page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>');
  background-size: 50px 50px;
  opacity: 0.3;
}

.about-page .page-title {
  font-family: "Orbitron", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.about-page .page-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 1;
}

/* 公司简介区域 */
.company-intro {
  padding: 80px 0;
  background: var(--bg-color);
}

.intro-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.intro-text .section-heading {
  font-family: "Orbitron", sans-serif;
  font-size: 2rem;
  color: var(--text-color);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.intro-text .section-heading i {
  color: var(--primary-color);
  font-size: 2rem;
}

.intro-description p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #555;
  margin-bottom: 20px;
  text-align: justify;
}

.intro-description p:last-child {
  margin-bottom: 0;
}

/* 公司展示图片 */
.company-showcase {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.showcase-main {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
}

.showcase-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.showcase-main:hover img {
  transform: scale(1.05);
}

.showcase-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  font-size: 0.95rem;
}

.showcase-thumbnails {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 15px;
}

.thumbnail {
  position: relative;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.thumbnail:hover img {
  transform: scale(1.1);
}

.thumbnail span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  font-size: 0.8rem;
  text-align: center;
}

/* 企业文化区域 */
.company-culture {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
}

.culture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.culture-card {
  background: white;
  padding: 40px 30px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.culture-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.culture-card:hover::before {
  transform: scaleX(1);
}

.culture-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.culture-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.culture-icon i {
  font-size: 2rem;
  color: white;
}

.culture-card h3 {
  font-size: 1.3rem;
  color: var(--text-color);
  margin-bottom: 15px;
}

.culture-card p {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
}

/* 企业资质区域 */
.company-qualifications {
  padding: 80px 0;
  margin-top: -150px;
  background: var(--bg-color);
}

.qualifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.qualification-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.qualification-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.qualification-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #f0f4f8 0%, #e8ecf0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  position: relative;
}

.qualification-image::after {
  content: "\f00e";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.qualification-card:hover .qualification-image::after {
  opacity: 1;
}

.qualification-image img {
  max-width: 90%;
  max-height: 180px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.qualification-card:hover .qualification-image img {
  transform: scale(1.05);
}

.qualification-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  color: #999;
}

.qualification-placeholder i {
  font-size: 3rem;
  color: var(--primary-color);
}

.qualification-placeholder span {
  font-size: 0.9rem;
}

.qualification-info {
  padding: 25px;
}

.qualification-info h3 {
  font-size: 1.2rem;
  color: var(--text-color);
  margin-bottom: 10px;
}

.qualification-info p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* 技术实力区域 */
.tech-strength {
  padding: 80px 0;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
}

.tech-strength .section-title,
.tech-strength .section-subtitle {
  color: white;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.strength-item {
  text-align: center;
}

.strength-number {
  font-family: "Orbitron", sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 15px;
}

.strength-number .counter {
  display: inline-block;
}

.strength-label {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* 合作伙伴区域 */
.partners-section {
  padding: 80px 0;
  background: var(--bg-color);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.partner-item {
  background: white;
  padding: 40px 25px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.partner-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.partner-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  display: block;
}

.partner-item span {
  font-size: 1rem;
  color: var(--text-color);
  font-weight: 500;
}

/* 响应式适配 */
@media (max-width: 992px) {
  .intro-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .company-showcase {
    max-width: 500px;
    margin: 0 auto;
  }

  .about-page .page-title {
    font-size: 2.5rem;
  }

  .strength-number {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .about-page .page-header {
    padding: 60px 0 50px;
  }

  .about-page .page-title {
    font-size: 2rem;
  }

  .about-page .page-subtitle {
    font-size: 1rem;
  }

  .company-intro,
  .company-culture,
  .company-qualifications,
  .tech-strength,
  .partners-section {
    padding: 50px 0;
  }

  .intro-text .section-heading {
    font-size: 1.6rem;
  }

  .intro-description p {
    font-size: 1rem;
    text-align: left;
  }

  .qualifications-grid {
    grid-template-columns: 1fr;
  }

  .strength-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .strength-number {
    font-size: 2.2rem;
  }

  .culture-grid {
    grid-template-columns: 1fr;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .strength-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .strength-number {
    font-size: 1.8rem;
  }

  .strength-label {
    font-size: 0.9rem;
  }

  .partners-grid {
    grid-template-columns: 1fr 1fr;
  }

  .partner-item {
    padding: 30px 15px;
  }

  .partner-item i {
    font-size: 2rem;
  }
}

/* 图片预览模态框 */
.image-preview-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.image-preview-modal.active {
  visibility: visible;
  opacity: 1;
}

.preview-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.preview-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  max-height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.preview-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.preview-caption {
  margin-top: 20px;
  color: white;
  font-size: 1.1rem;
  text-align: center;
}

.preview-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 10;
}

.preview-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.preview-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 10;
}

.preview-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.preview-nav.prev {
  left: -80px;
}

.preview-nav.next {
  right: -80px;
}

@media (max-width: 992px) {
  .preview-nav.prev {
    left: 10px;
  }

  .preview-nav.next {
    right: 10px;
  }
}

@media (max-width: 768px) {
  .preview-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }

  .preview-nav {
    width: 40px;
    height: 40px;
  }

  .preview-caption {
    font-size: 0.95rem;
    padding: 0 20px;
  }
}
