/* Reset & 基本樣式 */
* {
    box-sizing: border-box;
}
html, body {
    margin: 0;
    padding: 0;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(14, 142, 208, 0.85);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    z-index: 1000;
    backdrop-filter: blur(6px);
}

.logo-img {
    height: 36px;
    width: auto;
    margin-right: 10px;
    display: block;
}

.logo-slogan {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 100%;
}

.slogan {
    font-size: 1rem;
    color: white;
    line-height: 1;
}

.lang-links a {
    color: white;
    margin-left: 15px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
}

.lang-links a:hover {
    color: #ffd700;
}

.lang-select {
    display: none;
}

/* footer */
footer {
    background: #111;
    padding: 25px 20px;
    text-align: center;
    font-size: 14px;
    color: white;
}

footer a {
    color: #888;
    margin: 0 10px;
    text-decoration: none;
}

footer a:hover {
    color: white;
}

@media (max-width: 700px) {
    .slogan {
        display: none;
    }

    header {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
        padding: 6px 12px;
    }

    .lang-links a {
        display: none;
        /* 隱藏原本的六個 a 連結 */
    }

    .lang-select {
        display: inline-block;
        margin-top: 4px;
        font-size: 14px;
        padding: 5px 8px;
        border-radius: 4px;
        border: none;
        background: #ffffff;
        color: #0e8ed0;
        font-weight: 600;
    }
}