/* ============================================
   员工风采页面样式
   ============================================ */

/* Hero Banner */
.gallery-hero {
  position: relative;
  width: 100%;
  height: 267px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
}

.gallery-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #D0021B 0%, #8B0000 100%);
}

.gallery-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.gallery-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
  animation: galleryFadeInUp 0.8s ease-out;
}

@keyframes galleryFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gallery-hero__title {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px 0;
  letter-spacing: 2px;
}

.gallery-hero__subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  font-weight: 300;
}

/* 面包屑导航 */
.breadcrumb {
  background-color: #f8f8f8;
  padding: 16px 0;
  border-bottom: 1px solid #e5e5e5;
}

.breadcrumb__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.breadcrumb__link {
  color: #666666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb__link:hover {
  color: #D0021B;
}

.breadcrumb__separator {
  color: #999999;
}

.breadcrumb__current {
  color: #333333;
  font-weight: 500;
}

/* 画廊区块 */
.gallery-section {
  padding: 60px 0 100px;
  background: #f8f8f8;
}

.gallery-section__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Tab 导航 */
.gallery-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 50px;
}

.gallery-tabs__btn {
  padding: 10px 24px;
  border: 2px solid #e0e0e0;
  border-radius: 30px;
  background: #ffffff;
  color: #555555;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
}

.gallery-tabs__btn:hover {
  border-color: #D0021B;
  color: #D0021B;
}

.gallery-tabs__btn--active {
  background: #D0021B;
  border-color: #D0021B;
  color: #ffffff;
}

.gallery-tabs__btn--active:hover {
  background: #B00018;
  border-color: #B00018;
  color: #ffffff;
}

/* Tab 面板 */
.gallery-panel {
  display: none;
}

.gallery-panel--active {
  display: block;
  animation: galleryPanelFadeIn 0.4s ease-out;
}

@keyframes galleryPanelFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 图片网格 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-grid__item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 4 / 3;
}

.gallery-grid__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-grid__item:hover img {
  transform: scale(1.05);
}

/* 响应式适配 */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .gallery-tabs {
    gap: 8px;
  }

  .gallery-tabs__btn {
    padding: 8px 16px;
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .gallery-hero__title {
    font-size: 28px;
  }

  .gallery-section {
    padding: 40px 0 60px;
  }

  .gallery-tabs {
    margin-bottom: 30px;
  }
}
