/* =================================================
   Hero Section - 全景佈局 (專用於 hero.css)
   ================================================= */

.hero-section {
  position: relative !important;
  width: 100% !important;
  height: 100vh !important;
  max-height: 600px !important;
  /* 核心：將 Hero 向上推入 Header 區域 */
  margin-top: -120px !important;
  padding-top: 120px !important;
  overflow: hidden !important;
  background: #000 !important;
}

/* 確保 Header 透明並浮在最上層 */
header.site-header,
.top-bar-section {
  position: relative !important;
  z-index: 999 !important;
  background: transparent !important;
}

/* 影片填滿邏輯 - 解決上下左右黑邊 */
.hero-section video {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  min-width: 100% !important;
  min-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: cover !important;
  /* 確保裁切填滿 */
}

/* 文字顯示器定位 */
.hero-pure-display {
  position: absolute;
  top: 42% !important;
  /* 正中偏上 */
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: clamp(20px, 4vw, 32px);
  z-index: 50;
  text-align: center;
  width: 90%;
  text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

/* 導航點 */
.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
}