﻿/* Place Your Custom Styles Here */
/* 年份导航全屏水平排列 */
.our-team-nav {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  padding: 0 5%;
  margin: 20px 0;
}

.our-team-nav span {
  flex: 1;
  text-align: center;
  cursor: pointer;
  padding: 10px 0;
  font-weight: 500;
  color: #fff;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.our-team-nav span:hover {
  opacity: 1;
}

.our-team-nav span.our-team-current {
  opacity: 1;
  font-weight: 700;
  position: relative;
}

.our-team-nav span.our-team-current:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background-color: #fff;
}

/* 响应式调整 - 在小屏幕上保持可读性 */
@media (max-width: 768px) {
  .our-team-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  
  .our-team-nav span {
    width: auto;
    min-width: 80px;
  }
}

/* Production Gallery Styles */
.gallery-grid {
  position: relative;
}

.gallery-image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  height: 250px;
  max-width: 269px;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color:#E60D2E;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-image:hover .gallery-overlay {
  opacity: 1;
}

.gallery-image:hover img {
  transform: scale(1.1);
}

.gallery-content {
  padding: 20px;
  text-align: center;
}

.gallery-content h4 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 500;
}

.gallery-content p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Conviction & Responsibity Section Styles */
.responsibility-grid {
  position: relative;
}

.responsibility-item {
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.responsibility-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.responsibility-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.responsibility-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(180, 30, 45, 0.95), rgba(0, 5, 14, 0.7));
  display: flex;
  align-items: flex-end;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.responsibility-item:hover .responsibility-overlay {
  opacity: 1;
}

.responsibility-item:hover .responsibility-image img {
  transform: scale(1.1);
}

.responsibility-content h3 {
  color: #fff;
  margin-bottom: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.responsibility-content p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 0;
}

.responsibility-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* 使视频背景响应式并覆盖全屏 */
.overlay-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保持视频比例，裁剪以填满容器 */
    z-index: -1;
}

/* 确保 overlay-video 容器正确设置 */
.overlay-video {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* 可选：防止视频在小屏幕上出现黑边 */
@media (max-aspect-ratio: 16/9) {
    .overlay-video video {
        width: auto;
        height: 100%;
    }
}

/* 默认隐藏，滚动到底部时显示并固定在底部 */
#copyrightBar {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#copyrightBar.visible {
    opacity: 1;
    visibility: visible;
}

#copyrightBar p {
    background: rgba(0, 0, 0, 0.7);
    display: inline-block;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 15px;
    margin: 0 auto;
}

