/* 基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #121212;
    background-color: #f0f0f0;
}

/* 導覽列與公司名稱 */
header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.4s ease;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #121212;
}

.logo p {
    font-size: 0.9rem;
    font-weight: 300;
    color: #666;
}

.navbar {
    display: flex;
    align-items: center;
}

.nav-link {
    color: #121212;
    text-decoration: none;
    padding: 0 1rem;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #555;
}

.lang-toggle-container {
    margin-left: 2rem;
}

#lang-toggle {
    background-color: transparent;
    border: 2px solid #121212;
    color: #121212;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#lang-toggle:hover {
    background-color: #121212;
    color: #f0f0f0;
}

/* 區塊樣式 */
.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    background-size: cover;
    background-position: center;
}

.section:not(.hero) {
    color: #121212;
    background-color: #fff;
}

/* 各個區塊的背景圖片設定 */
#about {
    /* 這裡設定第一張全螢幕背景圖片 */
    background-image: url('your-image1.jpg');
    color: #fff;
}

#services {
    /* 這裡設定第二張背景圖片 */
    background-image: url('your-image2.jpg'); 
}

#design {
    /* 這裡設定第三張背景圖片 */
     background-image: url('your-image3.jpg'); 
}

#portfolio {
    /* 這裡設定第四張背景圖片 */
    background-image: url('your-image4.jpg'); 
}

#contact {
    /* 這裡設定第五張背景圖片 */
    background-color: #f0f0f0;
}

.content {
    max-width: 900px;
    margin: 0 auto;
}

.section h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.section p, .section li {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    font-weight: 300;
}

ul {
    list-style-type: none;
    text-align: left;
}

/* 設計區塊的排版調整 */
.design-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 900px;
}

.design-feature-card {
    padding: 2rem;
    background-color: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.design-feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.design-feature-card p {
    font-size: 1rem;
    line-height: 1.5;
}

/* 客戶案例樣式 */
.case-study {
    margin-bottom: 2rem;
    padding: 2rem;
    background-color: #fff;
    border-left: 5px solid #121212;
    text-align: left;
}

.case-study h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 600;
    color: #121212;
}

/* 聯絡表單樣式 */
#contact-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
    max-width: 700px;
    margin: 2rem auto 0;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #121212;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    background-color: #fff;
    border: 1px solid #ccc;
    color: #121212;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #555;
}

.submit-btn {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    background-color: #121212;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.submit-btn:hover {
    background-color: #555;
    transform: translateY(-2px);
}

/* 媒體查詢：手機版樣式 */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
        padding: 1rem;
    }
    .logo {
        align-items: center;
        margin-bottom: 1rem;
    }
    .navbar {
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
    }
    .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    .lang-toggle-container {
        position: relative;
        margin: 1rem auto 0;
    }
    .section h1 {
        font-size: 3rem;
    }
    .section h2 {
        font-size: 2rem;
    }
    .section p, .section li {
        font-size: 1rem;
    }
}
/* ... (保留所有舊的 CSS 樣式) ... */

/* 聯絡區塊 - 新版 */
#contact {
    background-color: #f8f8f8;
    color: #121212;
    text-align: left;
    padding: 6rem 2rem;
    min-height: auto;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-info-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 4rem;
    width: 100%;
    margin-bottom: 4rem;
}

.contact-text-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sun-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FFD700, #FF8C00);
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.contact-text-area h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #121212;
}

.contact-text-area p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 500;
    color: #121212;
    border: 2px solid #121212;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
    background-color: #121212;
    color: #fff;
}

.contact-icons-area {
    flex: 1;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 2rem;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-icon {
    width: 120px;
    height: 120px;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-icon img {
    width: 48px;
    height: 48px;
}

.contact-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #121212;
}

.contact-card p {
    font-size: 1rem;
    color: #666;
}

.divider {
    width: 100%;
    height: 1px;
    background-color: #ccc;
    max-width: 900px;
}

@media (max-width: 1024px) {
    .contact-info-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-text-area {
        align-items: center;
        text-align: center;
        margin-bottom: 3rem;
    }

    .contact-icons-area {
        flex-wrap: wrap;
    }
}
/* ... (保留所有舊的 CSS 樣式) ... */

/* Footer 樣式 */
footer {
    background-color: #121212;
    color: #f0f0f0;
    padding: 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.back-to-top {
    color: #f0f0f0;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-to-top:hover {
    color: #ccc;
}

.copyright {
    font-size: 0.9rem;
    color: #a0a0a0;
    margin: 1rem 0;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icons a {
    color: #f0f0f0;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #ccc;
}

/* 媒體查詢：手機版樣式 */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }

    .back-to-top, .copyright, .social-icons {
        margin: 0;
    }
}