/* ========================================
   视频播放区块样式
   ======================================== */

/* 视频区块主容器 */
.video-section {
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  position: relative;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(25, 42, 68, 0.88);
  z-index: 1;
}

.video-section .container {
  position: relative;
  z-index: 2;
}

.video-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.video-content .section-tag {
  color: var(--color-primary);
  margin-bottom: 16px;
}

.video-content .section-title {
  font-size: var(--text-5xl);
  line-height: 1.26;
  color: var(--color-white);
  margin-bottom: 60px;
}

/* 视频播放器 */
.video-player {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
  cursor: pointer;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  position: relative;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: rgba(188, 153, 75, 0.9);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
  z-index: 10;
}

.video-play-btn:hover {
  background: var(--color-primary);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn img {
  width: 40px;
  height: 40px;
  filter: brightness(0) invert(1);
}

/* 视频iframe（播放时显示） */
.video-player iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ========================================
   Instagram动态墙样式
   ======================================== */

/* Instagram区块主容器 */
.instagram-section {
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  position: relative;
}

.instagram-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(235, 233, 227, 0.95);
  z-index: 1;
}

.instagram-section .container {
  position: relative;
  z-index: 2;
}

.instagram-section .section-tag {
  color: var(--color-primary);
}

.instagram-section .section-title {
  color: var(--color-secondary);
  margin-bottom: 16px;
}

.instagram-handle {
  font-size: var(--text-2xl);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: var(--font-bold);
  margin-bottom: 60px;
}

/* Instagram网格 */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

/* Instagram卡片 */
.instagram-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-base);
}

.instagram-item:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 悬停叠加层 */
.instagram-overlay-hover {
  position: absolute;
  inset: 0;
  background: rgba(188, 153, 75, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-base);
}

.instagram-item:hover .instagram-overlay-hover {
  opacity: 1;
}

.instagram-icon {
  font-size: 48px;
  filter: brightness(0) invert(1);
}

/* ========================================
   响应式 - 平板
   ======================================== */
@media (max-width: 1024px) {
  .video-content {
    flex-direction: column;
    gap: 40px;
  }

  .video-text {
    flex: 1;
    max-width: 100%;
  }

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

/* ========================================
   响应式 - 手机
   ======================================== */
@media (max-width: 768px) {
  .video-section,
  .instagram-section {
    padding: 60px 0;
  }

  .video-text .section-title,
  .instagram-header .section-title {
    font-size: var(--text-3xl);
  }

  .video-description {
    font-size: var(--text-md);
    line-height: 1.75;
  }

  .video-play-btn {
    width: 60px;
    height: 60px;
  }

  .video-play-btn img {
    width: 24px;
    height: 24px;
  }

  .instagram-grid {
    grid-template-columns: 1fr;
  }

  .instagram-handle {
    font-size: var(--text-lg);
    flex-direction: column;
    gap: 8px;
  }
}
