* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', Arial, sans-serif;
}

body {
    line-height: 1.6;
    background-color: #FFFFFF; /* 白色背景 */
}

/* Header & Navigation */
header {
    background-color: #FFFFFF; /* 白色導航欄 */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #F28C38; /* 橙色文字 */
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #F28C38;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: #F28C38; /* 橙色導航鏈接 */
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a:focus {
    color: #E07B00; /* 稍深的橙色懸停效果 */
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('/static/images/background.jpg') center/cover; /* 清色背景圖，無漸層 */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    color: #F28C38; /* 橙色公司名 */
    text-shadow: 3px 3px 6px rgba(255, 255, 255, 0.9); /* 白色陰影，突出顯示 */
    margin-bottom: 1rem;
}

.hero-content p {
    color: #F28C38; /* 橙色副標題 */
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.9); /* 白色陰影提升可讀性 */
}

/* Sections */
section {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #F28C38; /* 橙色標題 */
}

/* About Section */
.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #F28C38; /* 橙色文字 */
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #FFF3E0; /* 極淡橙色卡片，適配白色底色 */
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    background-color: #FFE8CC; /* 懸停時稍深的橙色 */
}

.service-card h3,
.service-card p {
    color: #F28C38; /* 橙色文字 */
}

/* Contact Section */
.contact-container {
    display: flex;
    justify-content: center;
}

.contact-info {
    padding: 2rem;
    text-align: center;
    background: #FFF3E0; /* 極淡橙色背景 */
    border-radius: 10px;
}

.contact-info h3,
.contact-info p {
    color: #F28C38; /* 橙色文字 */
}

.contact-info p {
    margin-bottom: 0.5rem;
}

/* Language Switch */
.lang-switch {
    margin-left: 2rem;
}

.lang-btn {
    padding: 0.3rem 0.8rem;
    margin: 0 0.2rem;
    border: 1px solid #F28C38; /* 橙色邊框 */
    background: transparent;
    color: #F28C38; /* 橙色文字 */
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-btn:hover,
.lang-btn:focus {
    background: #F28C38; /* 橙色背景 */
    color: #FFFFFF; /* 白色文字，提升對比 */
}

.lang-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Language Display */
[data-lang="en"] .zh {
    display: none !important;
}

[data-lang="en"] .en {
    display: block !important;
}

[data-lang="zh"] .en {
    display: none !important;
}

[data-lang="zh"] .zh {
    display: block !important;
}

a.zh, a.en, span.zh, span.en {
    display: inline-block !important;
}

button.zh, button.en {
    display: inline-block !important;
}

/* Footer */
footer {
    background-color: #F28C38; /* 橙色底，與文字一致 */
    color: #FFFFFF; /* 白色文字，對比橙色背景 */
    text-align: center;
    padding: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background: #FFFFFF; /* 白色行動導航 */
        width: 100%;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    .lang-switch {
        margin-left: 0;
    }

    .hero-content h1 {
        font-size: 3rem; /* 小螢幕下調整 */
    }

    section {
        padding: 3rem 5%;
    }
}
