/* 品牌色彩變數  */
:root {
    --color-main-yellow-orange: #FFCC00; /* M25 Y100 */
    --color-main-dark-grey: #666666; /* K60 */
    --color-aux-orange: #FF9900; /* M50 Y100 */
    --color-aux-teal: #00A8A8; /* C80 Y40 */
    --color-white: #ffffff;
}

body {
    font-family: 'Noto Sans TC', sans-serif; /* 使用 Noto Sans TC 字體 */
    margin: 0;
    padding: 0;
    background-color: black;
    color: var(--color-main-dark-grey);
    line-height: 1.7;
}
.bg-img-top{
    background-image: url("../backImg/background01.png");
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 45%;
    padding-top: 30px;
    }
  
  .bg-img{
  background-image: url("../backImg/background03.png");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 50%;
  padding-bottom: 20px;
  }
@media (min-width: 768px) {
    
    .bg-img-top{
        background-size: 35%;
        }
      
      .bg-img{
      background-size: 35%;
      }
}

.container {
    padding: 20px 15px;
}


.leaderbtn{
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: relative;
    margin-bottom: 100px;
    margin-left: 30px;
    margin-right: 30px;
}

.logo-container{
    display: flex;
    justify-content: right;
    align-items: center;
    margin-right: 5vw;
}
@media (max-width: 768px) {
    .logo-container{
        display: flex;
        justify-content: center;
        align-items: center;
        margin-right: 0vw;
    }
    }


.logo{
    height: auto;
    width: 280px;
}


/* 主要標題樣式 */
.main-title {
    font-size: 2em;
    text-align: center;
    letter-spacing: 7px;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 50px;
}

.lead {
    font-size: 29px; 
    font-weight:400;
    color: var(--color-white);
    letter-spacing:2.5px;
}
@media (max-width: 768px) {
    .lead {
        font-size: 1.2em; 
        margin-left: 30px;
        margin-right:30px;

    }

  }


/* 區塊標題樣式 */
.section-heading {
    font-weight: 700;
    text-align: center;
    color: var(--color-aux-orange);
    margin-top: 50px; 
    margin-bottom: 30px; 
    letter-spacing: 5px;
    position: relative;
    padding-bottom: 10px; /* 為裝飾線預留空間 */
}

/* 區塊標題下方的裝飾線 */
.section-heading::after {
    content: '';
    display: block;
    width: 150px; /* 線條寬度 */
    height: 3px; /* 線條高度 */
    background-color: var(--color-main-yellow-orange);
    margin: 10px auto 0;
    border-radius: 2px;
    margin-top: 20px;
}


.main-paragraph {
    font-size: 1.3em;
    letter-spacing: 1.5px;
    margin-bottom: 3em;
    line-height: 1.8;
    color: var(--color-white);
    text-align: justify;
    font-weight: 300;
}

.video-title {
    font-size: 1.2em;
    font-weight:500;
    color: #f5f5f5;
    margin-top: 15px;
    margin-bottom:0px;
    text-align: center; /* 影片標題置中 */
    letter-spacing: 2.1px;
}

.video-grid-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  
  .video-grid-item.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  .video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 比例 */
    height: 0;
    overflow: hidden;
    border-radius: 12px; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); 
  }
  
  .video-container iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
  
  

/* 針對 Bootstrap 的 row 和 col 進行微調，確保影片間距 */
.row {
    --bs-gutter-x: 30px; 
    --bs-gutter-y: 30px; 
}

.col-12, .col-md-6 {
    padding-left: calc(var(--bs-gutter-x) * .5);
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-bottom: var(--bs-gutter-y); 
}


@media (max-width: 767.98px) {
    .main-title {
        font-size: 2em;
        letter-spacing: 5px;
        margin-bottom: 30px;
    }

    .section-heading {
        font-size: 1.8em;
        letter-spacing: 4px;
        margin-top: 40px;
        margin-bottom: 20px;
    }

    .lead-paragraph {
        font-size: 1.1em;
        letter-spacing: 1.5px;
    }

    .main-paragraph {
        font-size: 1.2em;
        letter-spacing: 1px;
    }

    .video-title {
        font-size: 1em;
    }
}