/*!
 * Start Bootstrap - Landing Page Bootstrap Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

body,
html {
    width: 100%;
    height: 100%;
}

body,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Lato","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 700;
}

.topnav {
    font-size: 14px; 
}

.lead {
    font-size: 18px;
    font-weight: 400;
}

.intro-header {
    padding-top: 50px; /* If you're making other pages, make sure there is 50px of padding to make sure the navbar doesn't overlap content! */
    padding-bottom: 50px;
    text-align: center;
    color: #2c3e50;
    background: url(../img/4.3.png) no-repeat center center;
    background-size: cover;
}

.intro-message {
    position: relative;
    padding-top: 20%;
    padding-bottom: 20%;
}

.intro-message > h1 {
    margin: 0.8%;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.8);
    font-size: 5em;
    color: #2c3e50;
    background: rgba(255,255,255,0.7);
    padding: 20px;
    border-radius: 10px;
}

.intro-divider {
    width: 400px;
    border-top: 1px solid #f8f8f8;
    border-bottom: 1px solid rgba(0,0,0,0.2);
}

.intro-message > h3 {
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
    color: #2c3e50;
    background: rgba(255,255,255,0.6);
    padding: 10px 15px;
    border-radius: 5px;
    display: inline-block;
}

@media(max-width:767px) {
    .intro-message {
        padding-bottom: 15%;
    }

    .intro-message > h1 {
        font-size: 3em;
    }

    ul.intro-social-buttons > li {
        display: block;
        margin-bottom: 20px;
        padding: 0;
    }

    ul.intro-social-buttons > li:last-child {
        margin-bottom: 0;
    }

    .intro-divider {
        width: 100%;
    }
}

.network-name {
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 2px;
}

.content-section-a {
    padding: 20px 0;
    background-color: #f8f8f8;
}

.content-section-b {
    padding: 50px 0;
    border-top: 1px solid #e7e7e7;
    border-bottom: 1px solid #e7e7e7;
}

.section-heading {
    margin-bottom: 30px;
}

.section-heading-spacer {
    float: left;
    width: 1150px;
    border-top: 3px solid #e7e7e7;
}

.banner {
    padding: 100px 0;
    color: #f8f8f8;
    background: url(../img/banner-bg.jpg) no-repeat center center;
    background-size: cover;
}

.banner h2 {
    margin: 0;
    text-shadow: 2px 2px 3px rgba(0,0,0,0.6);
    font-size: 3em;
}

.banner ul {
    margin-bottom: 0;
}

.banner-social-buttons {
    float: right;
    margin-top: 0;
}

@media(max-width:1199px) {
    ul.banner-social-buttons {
        float: left;
        margin-top: 15px;
    }
}

@media(max-width:767px) {
    .banner h2 {
        margin: 0;
        text-shadow: 2px 2px 3px rgba(0,0,0,0.6);
        font-size: 3em;
    }

    ul.banner-social-buttons > li {
        display: block;
        margin-bottom: 20px;
        padding: 0;
    }

    ul.banner-social-buttons > li:last-child {
        margin-bottom: 0;
    }
}

footer {
    padding: 50px 0;
    background-color: #f8f8f8;
}

p.copyright {
    margin: 15px 0 0;
}

/* ---------------- 新增調整，讓標題區域更寬且不換行 ---------------- */

/* 讓頂部的 container 變全寬 */
.intro-header .container {
    max-width: 100%;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

/* 標題不換行（桌面版） */
.intro-message > h1,
.intro-message > h3 {
    white-space: nowrap;
}

/* 小螢幕恢復可換行 */
@media (max-width: 991px) {
    .intro-message > h1,
    .intro-message > h3 {
        white-space: normal;
    }
}

/* 讓右側圖片欄的內容在區塊內置中，且圖片填滿整個區塊 */
.image-col {
    display: flex;
    justify-content: center; /* 水平置中圖片 */
    align-items: center;     /* 垂直置中 */
    padding: 20px;           /* 內邊距 */
}

.image-col img {
    width: 100%;      /* 圖片占區塊的 80% 寬度，留適當邊距 */
    height: auto;    /* 等比縮放 */
    max-width: none; /* 覆蓋 Bootstrap 的 max-width: 100% */
    display: block;  /* 移除底部空隙 */
}

/* 內容列樣式，確保左右對齊 */
.content-row {
    margin-top: 30px; /* 與標題保持適當間距 */
    align-items: flex-start; /* 頂部對齊 */
}

.text-content {
    padding-right: 30px; /* 文字欄右側留空，與圖片保持間距 */
}

/* 影片區域樣式 */
.video-row {
    margin-top: 30px; /* 與標題保持適當間距 */
}

.video-container {
    padding: 0 15px; /* 適當的左右邊距 */
}

.video-container video {
    width: 100%; /* 影片寬度為容器的100% */
    height: auto; /* 保持比例 */
    display: block; /* 移除底部空隙 */
}
