@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Text:ital@0;1&family=Noto+Sans+TC:wght@100..900&family=Roboto+Flex:opsz,wght@8..144,100..1000&display=swap');


body {
    font-family: sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: black;
    position: relative;
}

.bg-img-top{
    background-image: url("../backImg/background01.png");
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 45%;
    padding-top: 80px;
}
  
.bg-img{
    background-image: url("../backImg/background03.png");
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 45%;
}

@media (min-width: 768px) {
    .bg-img-top{
        background-size: 50%;
        margin-top: -70px;
    }
       
    .bg-img{
        background-size: 50%;
    }
}

.title {
    margin-top: 30px !important;
    padding-bottom: 2vh;
    color: #f1ece8;
    font-weight: 800;
    font-size: 30px;
    letter-spacing: 12px;
    text-align: center;
    position: relative;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5),
               0 0 10px rgba(255, 255, 255, 0.3),
               0 0 15px rgba(255, 255, 255, 0.2);
}

.section-title-bg {
    position: relative;
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
}

.section-title-bg .title {
    letter-spacing: 8px;
    color: white;
    position: relative;
    margin-top: 0px;
    display: inline-block;
}

.section-title-bg h1.title::before {
    content: "Vision";
    position: absolute;
    font-size: 4rem;
    font-weight: normal;
    opacity: 0.3;
    color: #d0d0d0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    letter-spacing: 12px;
    font-family: "Saira Stencil One", sans-serif;
    z-index: -10;
    margin-top: -7px;
}
@media (min-width: 992px){
.section-title-bg h1.title::before {
    font-family: "Saira Stencil One", sans-serif;
    font-size: 5rem;
}
}




.section-title-bg2 {
    position: relative;
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
}

.section-title-bg2 .title {
    letter-spacing: 8px;
    color: white;
    position: relative;
    margin-top: 0px;
    display: inline-block;
}

.section-title-bg2 h1.title::before {
    content: "Starts";
    position: absolute;
    font-size: 5rem;
    font-weight: normal;
    opacity: 0.3;
    color: #d0d0d0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    letter-spacing: 12px;
    font-family: "Saira Stencil One", sans-serif;  
    margin-top: -11px;
    z-index: -10;
}

.section-underline {
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    margin: 10px auto 30px;
    margin-bottom: 0px;
}

.content-box {
    position: relative;
    background: #343433;
    color: white;
    padding: 2rem 3rem;
    margin-bottom: 3rem;
    box-shadow: 12px 12px #f4c951;
}

.about-p {
    margin-bottom: 1rem;
    line-height: 1.8;
    letter-spacing: 2.5px;
    font-size: 20px;
}

.content-section {
    position: relative;
    margin-bottom: 4rem;
    padding: 0;
    overflow: hidden;
}

.content-section .content-box {
    position: relative;
    background-color: rgba(51, 51, 51, 0.9);
    color: white;
    padding: 2.5rem;
    margin: 20px 0;
    border-right: 6px solid #FFD700;
}

.section-header {
    font-size: 2rem;
    color: #FFD700;
    margin-top: 0;
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
    border-bottom: none;
    text-shadow: none;
    padding-bottom: 0.5rem;
}

.cta-btn-box {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.cta-button {
    display: inline-block;
    background-color: transparent;
    border: 2px solid #f4c951;
    color: #FF9900 !important;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 50px;
    margin-top: 50px;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(244, 201, 81, 0.5);
    box-shadow: 0 0 10px rgba(244, 201, 81, 0.3);
    letter-spacing: 2px;
}

.cta-button:hover {
    background-color: #5ae1d2;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 0 15px #5ae1d2, 0 0 30px rgba(244, 201, 81, 0.5);
    text-shadow: none;
    border: 2px solid #5ae1d2;
}

@media (max-width: 768px) {
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
        margin-left: 15px;
        margin-right: 15px;
        max-width: calc(100% - 30px);
    }
    
    /* 內容區塊優化 */
    .content-box {
        padding: 1.5rem 1.2rem;
        margin-left: 0;
        margin-right: 0;
        box-shadow: 6px 6px #f4c951; 
    }
    
    .content-section .content-box {
        padding: 1.5rem 1.2rem;
        margin: 15px 0;
    }
    
    /* 標題優化 */
    .title {
        font-size: 24px;
        letter-spacing: 8px;
    }
    
    .section-title-bg h1.title::before,
    .section-title-bg2 h1.title::before {
        font-size: 3rem;
        letter-spacing: 6px;
    }
    
    .section-title-bg .title,
    .section-title-bg2 .title {
        letter-spacing: 6px;
    }
    
    .section-header {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
    
    .about-p {
        letter-spacing: 1.5px;
        font-size: 16px;
        line-height: 1.7;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 14px;
        letter-spacing: 1px;
        margin: 30px 10px;
    }
    
    .cta-btn-box {
        margin-top: 2rem;
        padding: 0 10px;
    }
    
    .bg-img-top {
        background-size: 40%;
        padding-top: 60px;
    }
    
    .bg-img {
        background-size: 40%;
    }
    
    .section-underline {
        width: 60px;
        height: 3px;
        margin: 8px auto 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-left: 10px;
        margin-right: 10px;
        max-width: calc(100% - 20px);
    }
    
    .content-box {
        padding: 1.2rem 1rem;
        box-shadow: 4px 4px #f4c951;
    }
    
    .title {
        font-size: 20px;
        letter-spacing: 4px;
    }
    
    .section-title-bg h1.title::before,
    .section-title-bg2 h1.title::before {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }
    
    .about-p {
        font-size: 15px;
        letter-spacing: 1px;
    }
    
    .bg-img-top,
    .bg-img {
        background-size: 35%;
    }
}
