/* Hero Section 基礎設定 */
.hero {
    position: relative;
    width: 100%;
    min-height: 80vh; /* 或設為 100vh 佔滿整屏高度 */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* 防止影片溢出邊界 */
    color: #ffffff;
}

/* 全區域背景影片 */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    object-fit: cover; /* 確保影片覆蓋整個區域不拉伸 */
}

/* 半透明黑色遮罩 (壓暗背景，讓白字更突出) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45); /* 可自行調整透明度 (0.3 ~ 0.6) */
    z-index: 2;
}

/* 內容容器置頂 */
.hero-container {
    position: relative;
    z-index: 3; /* 高於影片與遮罩 */
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.hero-content {
    max-width: 700px; /* 控制文字寬度，提升視覺感 */
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.25rem;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}