﻿.main-content {
    margin-top: 6rem;
}
/* Starting Section */
/* 整段區塊 */
.starting-section {
    padding: 9rem 0 3rem 0;
    background: linear-gradient(to bottom, #1a1a1a, #1a1a1a);
    display: flex;
    justify-content: center;
    height: 640px;
}

/* 疊圖容器 */
.starting-stack {
    position: relative;
    width: 90%;
    max-width: 1320px;
}

/* 主圖片：全寬、RWD */
.starting-main {
    width: 63%;
    height: auto;
    display: block;
}

/* 右上角 PNG 疊圖（關鍵） */
.starting-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%; /* 比例寬度，會隨主圖縮放 */
    max-width: 420px; /* 不會太大 */
    transform: translate(-31%, -20%); /* 往外拉一點，呈現第二圖的感覺 */
}

/* 輪播容器 */
.starting-slider {
    position: absolute;
    width: 100%;
    height: 100%;
}

    .starting-slider img {
        position: absolute;
        width: 800px;
        height: 500px;
        object-fit: cover;
        opacity: 0;
        transition: opacity 1s ease;
    }

        /* 目前顯示的輪播圖片 */
        .starting-slider img.active {
            opacity: 1;
        }

/* 你的 STARTING PNG 文字框 */

/* Timeline Section */
.timeline-v2 {
    padding: 100px 0;
    background: #1a1a1a;
}

.timeline-v2-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

/* 每一行 */
.timeline-v2-row {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
}

    /* 年份 */
    .timeline-v2-row .year {
        font-size: 25pt;
        font-weight: 700;
        color: #fff;
    }

    /* 文字 */
    .timeline-v2-row .desc {
        font-size: 12pt;
        line-height: 1.5;
        color: #FFF;
    }

    .timeline-v2-row .highlight {
        color: #ffb632;
        font-weight: 600;
        font-size: 14pt;
    }

    .timeline-v2-row .highlight2 {
        color: #ffb632;
        font-weight: 600;
        font-size: 8pt;
    }

/* 中間虛線 */
.timeline-v2-container::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(50% - 1px);
    width: 2px;
    background: repeating-linear-gradient( to bottom, #555, #555 10px, transparent 10px, transparent 20px );
    z-index: 0;
}

/* Dot */
.timeline-v2-row .center {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 中央橘色大圈 */
.timeline-v2-row .dot {
    position: relative;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #1a1a1a;
    border: 3px solid #ffb632;
    z-index: 5;
}

/* ⭐ 左右交錯延伸線條 + 灰色小圓點 */
.timeline-v2-row.left .dot::before,
.timeline-v2-row.right .dot::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 60px;
    height: 2px;
    background: #777;
}

.timeline-v2-row.left .dot::before {
    right: 100%;
    margin-right: 6px;
}

.timeline-v2-row.right .dot::after {
    left: 100%;
    margin-left: 6px;
}

/* ⭐ 小灰色圓點（在線末端） */
.timeline-v2-row.left .dot::after,
.timeline-v2-row.right .dot::before {
    content: "";
    position: absolute;
    top: 50%;
    width: 10px;
    height: 10px;
    background: #777;
    border-radius: 50%;
}

/* 左側小灰點位置 */
.timeline-v2-row.left .dot::after {
    right: calc(100% + 60px);
    transform: translateY(-50%);
}

/* 右側小灰點位置 */
.timeline-v2-row.right .dot::before {
    left: calc(100% + 60px);
    transform: translateY(-50%);
}

/* ⭐ 最下面橘色實心點 */
.timeline-v2-row .dot.active {
    background: #ffb632;
    border: none;
    width: 20px;
    height: 20px;
    box-shadow: 0 0 10px #ffb632;
}

/* active 也保留灰線與灰小圓點 */
.timeline-v2-row.right .dot.active::after,
.timeline-v2-row.left .dot.active::before {
    background: #777;
}

.left-text {
    font-family: 'Pano Trial Light';
    text-align: right;
    padding-right: 24%;
}

.right-text {
    font-family: 'Pano Trial Light';
    text-align: right;
    padding-right: 23%;
}

/* About Us Section */
.about-section {
    padding: 100px 20px;
    background: #1a1a1a;
}

.about-title {
    text-align: center;
    font-size: 35pt;
    letter-spacing: 2px;
    color: #ffb43d;
    margin-bottom: 80px;
    font-family: 'Pano Trial Light';
}

    .about-title .chinese {
        font-size: 21pt;
    }

.about-grid {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.about-card {
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
}

.about-image {
    width: 85%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.about-content {
    padding: 40px;
    text-align: left;
}

.about-subtitle {
    font-size: 20pt;
    color: #ffb53d;
    margin-bottom: 10px;
}

.about-subtitle-cn {
    font-size: 20pt;
    color: #fff;
    margin-bottom: 30px;
    margin-right: 15px;
}

.about-content p {
    color: #fff;
    font-size: 12pt;
    margin-bottom: 0;
}

.about-content a {
    color: #fff;
    font-size: 12pt;
    margin-bottom: 0;
}
/* Road Image Section */
.road-section {
    width: 100%;
    height: 600px;
    position: relative;
    overflow: hidden;
}

.road-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/*響應式*/
.m-timeline-v2 {
    display: none;
}
/* 平板 */
@media (max-width: 992px) {
    .starting-section {
        padding: 0rem 0 0rem 0;
        background: linear-gradient(to bottom, #1a1a1a, #1a1a1a);
        display: flex;
        height: 640px;
        justify-content: center;
    }

    /* 輪播容器 */
    .starting-slider {
        position: absolute;
        width: 100%;
        height: 100%;
    }

        .starting-slider img {
            position: absolute;
            width: 800px;
            height: 500px;
            object-fit: cover;
            opacity: 0;
            transition: opacity 1s ease;
        }

            /* 目前顯示的輪播圖片 */
            .starting-slider img.active {
                opacity: 1;
            }

    .starting-overlay {
        width: 45%;
        transform: translate(10%, -10%);
    }
}

@media (max-width: 768px) {
    .starting-content {
        grid-template-columns: 1fr;
    }

    .timeline-line {
        left: 30px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }

        .timeline-item.left .timeline-content,
        .timeline-item.right .timeline-content {
            text-align: left;
            padding-left: 60px;
            padding-right: 0;
        }

    .timeline-dot {
        left: 30px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}

/* 手機 */
@media (max-width: 576px) {
    .m-timeline-v2 {
        display: block;
    }


    .timeline-v2 {
        display: none;
    }

    /* m-Timeline Section */
    .m-timeline-v2 {
        padding: 0 0;
        background: #1a1a1a;
    }

    .m-timeline-v2-container {
        max-width: 1100px;
        margin: 0 auto;
        position: relative;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
    }

    /* 每一行 */
    .m-timeline-v2-row {
        display: grid;
        grid-template-columns: 1fr 2fr;
        align-items: center;
        /* margin-bottom: 50px; */
        position: relative;
        justify-items: start;
        max-width: 100%;
        height: 15vw;
    }

        /* 年份 */
        .m-timeline-v2-row .year {
            font-size: 15pt;
            font-weight: 700;
            color: #fff;
        }

        /* 文字 */
        .m-timeline-v2-row .desc {
            font-size: 7pt;
            line-height: 1.5;
            color: #FFF;
        }

        .m-timeline-v2-row .highlight {
            color: #ffb632;
            font-weight: 600;
            font-size: 14pt;
        }

        .m-timeline-v2-row .highlight2 {
            color: #ffb632;
            font-weight: 600;
            font-size: 8pt;
        }

    /* 中間虛線 */
    .m-timeline-v2-container::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: calc(12% - 1px);
        width: 2px;
        background: repeating-linear-gradient( to bottom, #555, #555 10px, transparent 10px, transparent 20px );
        z-index: 0;
    }

    /* Dot */
    .m-timeline-v2-row .center {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* 中央橘色大圈 */
    .m-timeline-v2-row .dot {
        position: relative;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: #1a1a1a;
        border: 3px solid #ffb632;
        z-index: 5;
        left: 10vw;
    }

    /* ⭐ 左右交錯延伸線條 + 灰色小圓點 */
    .m-timeline-v2-row.left .dot::before,
    .m-timeline-v2-row.right .dot::after {
        content: "";
        position: absolute;
        top: 50%;
        width: 60px;
        height: 2px;
        background: #777;
    }

    .m-timeline-v2-row.left .dot::before {
        right: 100%;
        margin-right: 6px;
    }

    .m-timeline-v2-row.right .dot::after {
        left: 100%;
        margin-left: 6px;
    }

    /* ⭐ 小灰色圓點（在線末端） */
    .m-timeline-v2-row.left .dot::after,
    .m-timeline-v2-row.right .dot::before {
        content: "";
        position: absolute;
        top: 50%;
        width: 10px;
        height: 10px;
        background: #777;
        border-radius: 50%;
    }

    /* 左側小灰點位置 */
    .m-timeline-v2-row.left .dot::after {
        right: calc(100% + 60px);
        transform: translateY(-50%);
    }

    /* 右側小灰點位置 */
    .m-timeline-v2-row.right .dot::before {
        left: calc(100% + 60px);
        transform: translateY(-50%);
    }

    /* ⭐ 最下面橘色實心點 */
    .m-timeline-v2-row .dot.active {
        background: #ffb632;
        border: none;
        width: 20px;
        height: 20px;
        box-shadow: 0 0 10px #ffb632;
    }

    /* active 也保留灰線與灰小圓點 */
    .m-timeline-v2-row.right .dot.active::after,
    .m-timeline-v2-row.left .dot.active::before {
        background: #777;
    }

    .left-text {
        font-family: 'Pano Trial Light';
        text-align: right;
        padding-right: 24%;
    }

    .right-text {
        font-family: 'Pano Trial Light';
        text-align: end;
        padding-right: 0%;
        width: 60vw;
    }


    .main-content {
        margin-top: 7rem;
    }

    .starting-section {
        padding: 0rem 0 0rem 0;
        background: linear-gradient(to bottom, #1a1a1a, #1a1a1a);
        display: flex;
        height: 640px;
        justify-content: center;
    }
    /* 輪播容器 */
    .starting-slider {
        position: absolute;
        width: 100%;
        height: 100%;
    }

        .starting-slider img {
            position: absolute;
            width: 90vw;
            height: 60vw;
            object-fit: fill;
            opacity: 0;
            transition: opacity 1s ease;
        }

            /* 目前顯示的輪播圖片 */
            .starting-slider img.active {
                opacity: 1;
            }

    .starting-overlay {
        width: 100%;
        transform: translate(0%, 126%);
    }
}
