/* Reset & 基本樣式 */
/* * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
} */

body,
html {
    height: 100%;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
    color: white;
}

/* header */

a {
    color: #FFD900;
    text-decoration: none;
}

a:hover {
    color: #FFD900;
    text-decoration: underline;
}


/* parallax section 基本 */
section.parallax {
    position: relative;
    min-height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px 20px;
    /* 預留 header 高度 */
    text-align: center;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

section.parallax h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

section.parallax p {
    max-width: 700px;
    font-size: 18px;
    line-height: 1.6;
}

/* button 連結 */
.btn-playstore {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 30px;
    /* background-color: #34A853; */
    border-radius: 30px;
    color: white;
    font-weight: 700;
    text-decoration: none;
    font-size: 18px;
    /* box-shadow: 0 4px 10px rgba(52, 168, 83, 0.7); */
    box-shadow: #111 0px 0px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

/* section background image */
.tablejourney-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.9), rgba(255, 255, 255, 0.3)), url('/static/img/aboutService_meeple.jpg');
}

.vision-section {
    background-image: url('/static/img/vision_bg.jpg');
}

.value-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3)), url('/static/img/value_bg.jpg');
}

.mission-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6)), url('/static/img/mission_bg.jpg');
}

.about-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5)), url('/static/img/about_bg.jpg');
}

.contact-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5)), url('/static/img/contact_bg.jpg');
}

/* section 內容區塊 */
.tablejourney-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 820px;
    margin: 0 auto;
    padding: 2em 1.2em;
    gap: 2em;
}

.tablejourney-content {
    /* flex: 1 1 350px; */
    /* max-width: 380px; */
    margin: 25vw 10vw 1vw 1vw;
    text-align: left;
}

.tablejourney-appimg {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.vision-content {
    max-width: 380px;
    margin: 1vw 1vw 1vw 35vw;
    text-align: left;
}

.value-content {
    max-width: 380px;
    margin: 1vw 55vw 10vw 1vw;
    text-align: left;
}

.mission-content {
    max-width: 380px;
    margin: 1vw 1vw 1vw 35vw;
    text-align: left;
}

.contact-content {
    max-width: 380px;
    margin: 1vw 1vw 30vw 55vw;
    text-align: left;
}



/* 行動版自動居中，避免太小靠最右難閱讀 */
@media (max-width: 700px) {

    .tablejourney-flex {
        flex-direction: column;
        align-items: stretch;
        padding: 1.5em 0.5em;
        gap: 1em;
    }

    .tablejourney-appimg {
        justify-content: center;
        margin-top: 1em;
    }

    .tablejourney-content {
        margin: 5vw 1vw 1vw 1vw;
    }

    .vision-content {
        min-height: 220px;
        justify-content: center;
        background-position: center top;
        margin: 12vw 2vw;
        width: 94vw;
        max-width: none;
        padding: 1em 1em;
    }

    .value-content {
        min-height: 220px;
        justify-content: center;
        background-position: center top;
        margin: 12vw 2vw;
        width: 94vw;
        max-width: none;
        padding: 1em 1em;
    }

    .mission-content {
        min-height: 220px;
        justify-content: center;
        background-position: center top;
        margin: 12vw 2vw;
        width: 94vw;
        max-width: none;
        padding: 1em 1em;
    }

    .contact-content {
        max-width: 380px;
        margin: 1vw 1vw 30vw 35vw;
        text-align: left;
        width: 94vw;
        max-width: none;
        padding: 1em 1em;
    }
}