/* ========== COMPANY PROFILE 公司简介样式 ========== */
.company-profile-section {
  width: 100%;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.company-profile-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* 顶部建筑图片区域 */
.company-building-wrapper {
  position: relative;
  margin-bottom: 60px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.company-building-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Since 2014 徽章 */
.since-badge-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #e74c3c;
  color: #fff;
  padding: 20px 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(231, 76, 60, 0.4);
  animation: pulse 2s ease-in-out infinite;
}

.since-badge-overlay .since-text {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.since-badge-overlay .since-year {
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 5px;
}

.since-badge-overlay .years-text {
  font-size: 16px;
  font-weight: 500;
  opacity: 0.9;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* 公司简介标题 */
.company-title {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 40px;
  letter-spacing: 2px;
  position: relative;
  padding-left: 20px;
}

.company-title:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 60px;
  background: #e74c3c;
  border-radius: 3px;
}

/* 公司简介文本 */
.company-description {
  color: #e0e0e0;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 50px;
  max-width: 100%;
  text-align: justify;
}

.company-description p {
  margin-bottom: 15px;
}

/* 工厂图片标题 */
.factory-pictures-title {
  background: #e74c3c;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 15px 30px;
  display: inline-block;
  margin-bottom: 40px;
  letter-spacing: 2px;
  position: relative;
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.factory-pictures-title:after {
  content: '';
  position: absolute;
  right: -20px;
  top: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 56px 20px;
  border-color: transparent transparent #e74c3c transparent;
}

/* 工厂图片网格 */
.factory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.factory-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
}

.factory-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.factory-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.factory-item:hover img {
  transform: scale(1.1);
}

/* 第一行两列布局 */
.factory-grid .factory-item:nth-child(1) {
  grid-column: span 2;
}

.factory-grid .factory-item:nth-child(1) img {
  height: 400px;
}

/* 响应式设计 */
@media screen and (max-width: 1200px) {
  .company-profile-container {
    padding: 0 30px;
  }

  .company-title {
    font-size: 36px;
  }

  .factory-grid {
    gap: 15px;
  }
}

@media screen and (max-width: 768px) {
  .company-profile-section {
    padding: 60px 0;
  }

  .company-profile-container {
    padding: 0 20px;
  }

  .since-badge-overlay {
    padding: 12px 18px;
    top: 10px;
    right: 10px;
  }

  .since-badge-overlay .since-text {
    font-size: 11px;
    margin-bottom: 3px;
  }

  .since-badge-overlay .since-year {
    font-size: 22px;
    margin-bottom: 3px;
  }

  .since-badge-overlay .years-text {
    font-size: 13px;
  }

  .company-title {
    font-size: 26px;
    padding-left: 12px;
    margin-bottom: 30px;
    letter-spacing: 1px;
  }

  .company-title:before {
    height: 35px;
    width: 4px;
  }

  .company-description {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 40px;
    text-align: left;
  }

  .factory-pictures-title {
    font-size: 18px;
    padding: 12px 20px;
    margin-bottom: 30px;
  }

  .factory-pictures-title:after {
    border-width: 0 0 48px 16px;
    right: -16px;
  }

  .factory-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .factory-grid .factory-item:nth-child(1) {
    grid-column: span 1;
  }

  .factory-grid .factory-item:nth-child(1) img,
  .factory-item img {
    height: 220px;
  }
}

@media screen and (max-width: 480px) {
  .company-profile-section {
    padding: 40px 0;
  }

  .company-profile-container {
    padding: 0 15px;
  }

  .since-badge-overlay {
    padding: 10px 15px;
    top: 8px;
    right: 8px;
  }

  .since-badge-overlay .since-text {
    font-size: 10px;
  }

  .since-badge-overlay .since-year {
    font-size: 18px;
  }

  .since-badge-overlay .years-text {
    font-size: 11px;
  }

  .company-title {
    font-size: 20px;
    padding-left: 10px;
    margin-bottom: 25px;
  }

  .company-title:before {
    height: 30px;
    width: 3px;
  }

  .company-description {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 35px;
  }

  .factory-pictures-title {
    font-size: 16px;
    padding: 10px 16px;
    margin-bottom: 25px;
  }

  .factory-item img {
    height: 200px;
  }
}
