/* 基地介绍页面样式 */

:root {
  --bi-primary: #a82c2c;
  --bi-primary-hover: #8b2323;
  --bi-secondary: #d4af37;
  --bi-light-bg: #f8f9fb;
  --bi-border: #e8d5c4;
  --bi-text: #2c2c2c;
  --bi-text-light: #666666;
}

/* Banner样式 */
.bi-banner {
  background: linear-gradient(135deg, #a82c2c 0%, #8b2323 50%, #6b1a1a 100%);
  position: relative;
  overflow: hidden;
  gap: 100px;
  padding: 0px 60px;
  display: flex;
  align-items: center;
  height: 500px;
  color: white;
}

.bi-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.bi-banner .container {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.bi-banner-content {
  flex: 1;
  animation: slideInLeft 0.8s ease-out;
}

.bi-banner-title {
  font-size: 56px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bi-banner-desc {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.95;
  line-height: 1.6;
}

.bi-banner-btns {
  display: flex;
  gap: 20px;
}

.bi-banner-btn {
  padding: 14px 32px;
  font-size: 16px;
  border: 2px solid white;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.bi-banner-btn.primary {
  background: white;
  color: var(--bi-primary);
}

.bi-banner-btn.primary:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.bi-banner-btn.secondary {
  background: transparent;
  color: white;
}

.bi-banner-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.bi-banner-img {
  flex: 1;
  animation: slideInRight 0.8s ease-out;
}

.bi-banner-img img {
  width: 100%;
  height: auto;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.bi-banner-img video {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  display: block;
}

/* 通用区域样式 */
.bi-section {
  padding: 50px 0;
  position: relative;
}

.bi-section:nth-child(odd) {
  background: #ffffff;
}

.bi-section:nth-child(even) {
  background: #f8f9fb;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* 基地介绍区域 */
.intro-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.intro-video {
  animation: slideInLeft 0.8s ease-out;
}

.video-container {
  position: relative;
  border: 2px solid var(--bi-border);
  border-radius: 4px;
  overflow: hidden;
  background: #000;
  height: 0;
  padding-bottom: 75%;
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.video-container:hover .video-overlay {
  opacity: 1;
}

.video-play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bi-secondary);
  color: white;
  border: none;
  font-size: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.video-play-btn:hover {
  background: #E55A25;
  transform: scale(1.1);
}

.video-desc {
  margin-top: 15px;
  text-align: center;
  font-size: 14px;
  color: var(--bi-text-light);
}

.intro-text {
  animation: slideInRight 0.8s ease-out;
}

.intro-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--bi-text);
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--bi-primary);
}

.intro-content {
  margin-bottom: 30px;
}

.intro-item {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--bi-border);
}

.intro-item:last-child {
  border-bottom: none;
}

.intro-subtitle {
  font-size: 16px;
  font-weight: bold;
  color: var(--bi-primary);
  margin-bottom: 10px;
}

.intro-item p {
  font-size: 14px;
  color: var(--bi-text-light);
  line-height: 1.8;
  margin: 0;
}

.intro-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 30px;
  padding: 20px;
  background: var(--bi-light-bg);
  border: 2px solid var(--bi-border);
  border-radius: 4px;
}

.highlight-item {
  text-align: center;
  padding: 15px;
}

.highlight-label {
  display: block;
  font-size: 12px;
  color: var(--bi-text-light);
  margin-bottom: 8px;
}

.highlight-value {
  display: block;
  font-size: 18px;
  font-weight: bold;
  color: var(--bi-primary);
}

/* 基地概况数据展示 */
.stats-section {
  background: linear-gradient(135deg, #0066CC 0%, #0052A3 100%);
  color: white;
}

.stats-header {
  text-align: center;
  margin-bottom: 50px;
}

.stats-header h2 {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 15px;
}

.stats-header p {
  font-size: 16px;
  opacity: 0.9;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-5px);
}

.stat-number {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD700;
}

.stat-label {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.stat-desc {
  font-size: 13px;
  opacity: 0.8;
}

/* 分段标题 */
.section-header {
  text-align: center;
  /* margin-bottom: 80px; */
  animation: fadeIn 0.8s ease-out;
  margin-left: auto;
  margin-right: auto;
  padding: 20px 0;
}
.section-header h2{
    font-size: 34px;
    padding-left: 0px;
}
.section-title {
  font-size: 52px;
  font-weight: bold;
  color: #1e40af;
  margin-bottom: 15px;
  letter-spacing: -1px;
}

.section-subtitle {
  font-size: 14px;
  color: #2c2c2c;
  letter-spacing: 4px;
  font-weight: 500;
}

/* 公共服务平台 */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  max-width: 1400px;
  margin: 0 auto;
}

.service-card {
  background: white;
  border: 2px solid rgba(59, 130, 246, 0.2);
  border-radius: 4px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: #3b82f6;
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(59, 130, 246, 0.1);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: #3b82f6;
  color: white;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 20px;
}

.service-name {
  font-size: 18px;
  font-weight: bold;
  color: #1e40af;
  margin-bottom: 10px;
}

.service-desc {
  font-size: 14px;
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.service-link:hover {
  color: #2563eb;
  gap: 12px;
}

/* 产业服务中心 */
.industry-section {
  background: linear-gradient(135deg, #f8fbff 0%, #f0f7ff 100%);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.industry-card {
  background: white;
  border: none;
  border-radius: 8px;
  padding: 30px;
  transition: all 0.3s ease;
  display: flex;
  gap: 30px;
  align-items: flex-start;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.08);
}

.industry-card:hover {
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
  transform: translateY(-4px);
}

.industry-icon {
  width: 120px;
  height: 120px;
  background: #3b82f6;
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  flex-shrink: 0;
}

.industry-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.industry-name {
  font-size: 18px;
  font-weight: bold;
  color: #1e40af;
  margin-bottom: 10px;
}

.industry-desc {
  font-size: 14px;
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 20px;
}

.btn-industry {
  background: #3b82f6;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  width: 100%;
  transition: all 0.3s ease;
}

.btn-industry:hover {
  background: #2563eb;
  transform: translateX(4px);
}

/* 关于我们区域 */
.about-section {
  background: white;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}

.about-column {
  animation: slideInLeft 0.8s ease-out;
}

.about-text-column {
  grid-column: 1 / -1;
}

.about-column:nth-child(2) {
  animation: slideInRight 0.8s ease-out;
}

.about-title {
  font-size: 24px;
  font-weight: bold;
  color: #1e40af;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid #3b82f6;
}

.about-paragraph {
  font-size: 16px;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 20px;
  text-align: justify;
}

/* 时间线 */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(59, 130, 246, 0.2);
}

.timeline-item {
  margin-bottom: 30px;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #3b82f6;
  border: 3px solid white;
  box-shadow: 0 0 0 2px #3b82f6;
}

.timeline-date {
  display: block;
  font-weight: 600;
  color: #3b82f6;
  margin-bottom: 5px;
  font-size: 14px;
}

.timeline-item p {
  font-size: 14px;
  color: #4a5568;
  margin: 0;
  line-height: 1.6;
}

/* 优势区域 */
.advantages {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.advantage-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  border: 2px solid rgba(59, 130, 246, 0.2);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.advantage-item:hover {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.05);
}

.advantage-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #3b82f6;
  color: white;
  border-radius: 4px;
  font-size: 28px;
}

.advantage-text h4 {
  font-size: 16px;
  color: #1e40af;
  margin: 0 0 8px 0;
  font-weight: bold;
}

.advantage-text p {
  font-size: 13px;
  color: #4a5568;
  margin: 0;
  line-height: 1.6;
}

/* 友情链接 */
.links-section {
  background: #f8fbff;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border: 2px solid rgba(59, 130, 246, 0.2);
  border-radius: 4px;
  background: white;
  text-decoration: none;
  color: #1e40af;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 14px;
}

.link-item:hover {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.05);
  color: #3b82f6;
  transform: translateX(5px);
}

.link-name {
  flex: 1;
}

.link-item i {
  opacity: 0;
  transition: opacity 0.3s ease;
  margin-left: 10px;
}

.link-item:hover i {
  opacity: 1;
}

/* 动画 */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .bi-banner {
    height: auto;
    padding: 40px 0;
  }

  .bi-banner .container {
    flex-direction: column;
    gap: 30px;
  }

  .bi-banner-title {
    font-size: 36px;
  }

  .bi-banner-desc {
    font-size: 16px;
  }

  .intro-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .intro-highlights {
    grid-template-columns: 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .services-grid,
  .industry-grid,
  .videos-grid {
    grid-template-columns: 1fr;
  }

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

  .industry-card {
    flex-direction: column;
    gap: 20px;
    padding: 30px;
  }

  .container {
    padding: 0 20px;
  }

  .bi-section {
    padding: 50px 0;
  }

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

  .footer-content {
    padding: 30px 20px;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .bi-banner-title {
    font-size: 28px;
  }

  .bi-banner-btns {
    flex-direction: column;
  }

  .intro-title {
    font-size: 24px;
  }

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

  .stat-number {
    font-size: 32px;
  }

  .stat-card {
    padding: 20px;
  }

  .video-filters {
    gap: 10px;
  }

  .video-filter-btn {
    padding: 8px 16px;
    font-size: 12px;
  }

  .services-grid,
  .industry-grid,
  .videos-grid,
  .links-grid {
    grid-template-columns: 1fr;
  }
}
