/* 傳家寶誌網站 - 頁面特定樣式表
   ========================================================================== */

/* 
 * 目錄:
 * 1. 通用頁面樣式
 * 2. 為何記錄頁面
 * 3. 服務方案頁面
 * 4. 成功案例頁面
 * 5. 專業傳承專區頁面
 * 6. 常見問答頁面
 * 7. 關於我們頁面
 * 8. 部落格頁面
 * 9. 聯絡我們頁面
 */

/* 1. 通用頁面樣式
   ========================================================================== */

.page-header {
    background-color: #f9f5f0;
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
}

.page-header:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #A87C4F;
}

.page-header h1 {
    font-size: 38px;
    margin-bottom: 15px;
    color: #383838;
}

.page-header p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* 2. 為何記錄頁面
   ========================================================================== */

/* 核心價值圖片區塊 */
.value-icons-section {
    padding: 40px 0;
    background-color: #f9f5f0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.value-icons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.value-icon-item {
    text-align: center;
    flex: 1;
    padding: 0 15px;
}

.value-title-icon {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.value-icon-item:hover .value-title-icon {
    transform: scale(1.1);
}

.value-icon-item h3 {
    font-family: 'Noto Serif TC', serif;
    color: #A87C4F;
    font-size: 22px;
    margin: 0;
}

/* 情感訴求區塊 */
.emotion-appeal {
    display: flex;
    align-items: center;
    gap: 50px;
}

.emotion-content {
    flex: 1;
}

.emotion-image {
    flex: 1;
}

.emotion-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.emotion-image img:hover {
    transform: scale(1.02);
}

.highlight-text {
    font-size: 24px;
    color: #D05353;
    font-weight: 600;
    font-style: italic;
    margin: 20px 0;
}

/* 科學依據區塊 */
.science-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.science-graphic,
.science-content {
    flex: 1;
}

.science-content ul {
    list-style: none;
    padding-left: 0;
}

.science-content ul li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 15px;
}

/* 常見遺憾情境 */
.regrets-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.regret-card {
    text-align: center;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.regret-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.regret-icon {
    font-size: 48px;
    color: #A87C4F;
    margin-bottom: 20px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.regret-icon i {
    font-size: 48px;
    display: block;
    text-align: center;
}

.regret-card h3 {
    font-family: 'Noto Serif TC', serif;
    color: #A87C4F;
    margin-bottom: 15px;
    font-weight: 600;
}

.regret-card p {
    margin-bottom: 20px;
    color: #666;
}

.regret-card blockquote {
    font-style: italic;
    border-left: 3px solid #A87C4F;
    padding-left: 15px;
    margin-top: auto;
    color: #666;
    font-size: 14px;
    text-align: left;
}

/* 錯過的寶藏 */
.treasures-content {
    max-width: 800px;
    margin: 0 auto;
}

.intro-text {
    font-size: 18px;
    text-align: center;
    margin-bottom: 30px;
}

.treasures-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.treasures-column {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.treasures-column h3 {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.treasures-column h3 i {
    color: #A87C4F;
    margin-right: 10px;
}

.treasures-column ul {
    list-style: none;
    padding-left: 0;
}

.treasures-column ul li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 10px;
}

.treasures-column ul li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #A87C4F;
    font-weight: bold;
}

.treasures-highlight {
    background-color: #f0e8df;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
}

.treasures-highlight p {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 500;
}

/* 專業記錄的優勢 */
.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-item {
    display: flex;
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(168, 124, 79, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    color: #A87C4F;
    font-size: 24px;
}

.benefit-content {
    flex: 1;
}

.benefit-content h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

/* 見證分享 */
.large-testimonial {
    display: flex;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.testimonial-image {
    flex: 0 0 40%;
    position: relative;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.testimonial-content {
    flex: 0 0 60%;
    padding: 40px;
    position: relative;
}

.testimonial-content blockquote {
    margin: 0 0 20px 0;
    padding: 0;
    font-size: 18px;
    line-height: 1.6;
    position: relative;
}

.testimonial-content blockquote:before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 60px;
    position: absolute;
    top: -20px;
    left: -10px;
    color: rgba(168, 124, 79, 0.2);
    line-height: 1;
}

.testimonial-content cite {
    display: block;
    font-style: normal;
    font-weight: 600;
    color: #A87C4F;
    margin-top: 15px;
}

/* 行動召喚 */
.cta-block {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1536749690856-972400a01a6d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center;
    background-size: cover;
    color: #fff;
    text-align: center;
}

.cta-title {
    font-size: 32px;
    margin-bottom: 15px;
    font-family: 'Noto Serif TC', serif;
    color: #fff;
    font-weight: 700;
}

.cta-text {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.cta-buttons .btn {
    width: 100%;
    max-width: 260px;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 40px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .page-header p {
        font-size: 16px;
    }
    
    .value-icons {
        flex-direction: column;
        gap: 30px;
    }
    
    .value-title-icon {
        width: 120px;
        height: 120px;
    }

    .highlight-text {
        font-size: 20px;
    }
    
    .benefits-container {
        grid-template-columns: 1fr;
    }
    
    .benefit-item {
        flex-direction: column;
    }
    
    .benefit-icon {
        margin-bottom: 15px;
        margin-right: 0;
    }
    
    .treasures-highlight p {
        font-size: 16px;
    }
    
    .cta-title {
        font-size: 26px;
    }
    
    .cta-text {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 260px;
    }
}

/* 見證區塊優化 */
.testimonials-section {
    background-color: #F9F5F0;
}

.large-testimonial {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.testimonial-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.testimonial-content blockquote {
    font-style: italic;
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    position: relative;
    padding-left: 30px;
    border-left: 3px solid #A87C4F;
}

.testimonial-content cite {
    display: block;
    margin-top: 20px;
    font-style: normal;
    font-weight: 600;
    color: #A87C4F;
    text-align: right;
}

@media (max-width: 992px) {
    .large-testimonial {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .testimonial-image {
        max-width: 400px;
        margin: 0 auto 30px;
    }
    
    .testimonial-content blockquote {
        text-align: left;
    }
}

/* 3. 專業傳承專區頁面
   ========================================================================== */

/* 頁面英雄區 */
.page-hero {
    background-color: #383838;
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
    margin-top: 30px;
}

.hero-cta .btn-secondary {
    margin-right: 15px;
}

/* 行業別傳承價值 */
.industry-values {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.industry-value-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.industry-value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.icon-container {
    width: 70px;
    height: 70px;
    background-color: rgba(168, 124, 79, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-container i {
    font-size: 30px;
    color: #A87C4F;
}

.industry-value-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.industry-value-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.industry-stats {
    border-top: 1px solid #eee;
    padding-top: 15px;
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #D05353;
    margin-bottom: 5px;
}

.stat-desc {
    font-size: 0.9rem;
    color: #666;
}

/* 專業知識保存方法 */
.methods-container {
    margin-top: 50px;
}

.method-card {
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.method-card:hover {
    transform: translateY(-5px);
}

.method-image {
    flex: 0 0 300px;
    overflow: hidden;
}

.method-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.method-card:hover .method-image img {
    transform: scale(1.05);
}

.method-content {
    flex: 1;
    padding: 30px;
}

.method-content h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: #333;
    font-weight: 600;
}

.method-content h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #A87C4F;
    font-weight: 500;
}

.method-content p {
    color: #666;
    line-height: 1.6;
}

/* 專業傳承案例展示 */
.cases-container {
    margin-top: 50px;
}

.case-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
}

.case-header {
    background-color: #F9F5F0;
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
}

.case-tag {
    display: inline-block;
    background-color: #A87C4F;
    color: #fff;
    font-size: 0.8rem;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.case-header h3 {
    font-size: 1.5rem;
    color: #333;
    margin: 0;
    font-weight: 600;
}

.case-content {
    padding: 30px;
}

.case-person {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.case-person p {
    font-size: 1rem;
    color: #666;
}

.case-details h4 {
    font-size: 1.1rem;
    color: #A87C4F;
    margin-bottom: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.case-details h4:before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 18px;
    background-color: #A87C4F;
    margin-right: 10px;
}

.case-challenge, .case-solution, .case-result {
    margin-bottom: 20px;
}

.case-solution ul {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.case-solution ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: #666;
}

.case-solution ul li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #A87C4F;
    font-size: 1.2rem;
}

.case-result blockquote {
    background-color: #F9F5F0;
    border-left: 4px solid #A87C4F;
    padding: 15px;
    margin: 15px 0;
    font-style: italic;
    color: #555;
}

.case-result cite {
    display: block;
    text-align: right;
    font-style: normal;
    font-weight: 600;
    color: #666;
    margin-top: 5px;
}

/* 專業團隊介紹 */
.teams-container {
    margin-top: 50px;
}

.team-card {
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-image {
    flex: 0 0 300px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-content {
    flex: 1;
    padding: 30px;
}

.team-content h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: #333;
    font-weight: 600;
}

.team-content h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #A87C4F;
    font-weight: 500;
}

.team-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.team-member {
    background-color: #F9F5F0;
    padding: 15px;
    border-radius: 6px;
}

.team-member h5 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 5px;
    font-weight: 600;
}

.team-member p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
}

/* 行動呼籲區塊 */
.btn-outline {
    display: inline-block;
    padding: 12px 25px;
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* 響應式設計 */
@media (max-width: 992px) {
    .method-card, .team-card {
        flex-direction: column;
    }
    
    .method-image, .team-image {
        flex: 0 0 200px;
    }
    
    .industry-values {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .team-members {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 70px 0;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .page-hero p {
        font-size: 1rem;
    }
    
    .hero-cta .btn-secondary {
        margin-right: 0;
        margin-bottom: 15px;
        display: block;
    }
    
    .industry-values {
        grid-template-columns: 1fr;
    }
    
    .method-content, .team-content {
        padding: 20px;
    }
    
    .case-header {
        padding: 15px 20px;
    }
    
    .case-content {
        padding: 20px;
    }
    
    .team-members {
        grid-template-columns: 1fr;
    }
}

/* 4. 成功案例頁面
   ========================================================================== */

/* 案例篩選區 */
.filter-container {
    margin: 40px 0;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    padding-left: 15px;
}

.filter-group h3:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 20px;
    background-color: #A87C4F;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-option {
    display: inline-block;
    padding: 8px 15px;
    background-color: #F9F5F0;
    color: #666;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.filter-option:hover,
.filter-option.active {
    background-color: #A87C4F;
    color: #FFF;
}

@media (max-width: 768px) {
    .filter-options {
        flex-direction: column;
        gap: 8px;
    }
    
    .filter-option {
        width: 100%;
        text-align: center;
    }
}

/* 案例展示 */
.case-section {
    padding: 70px 0;
}

.case-grid {
    margin-top: 40px;
}

.case-item {
    display: flex;
    flex-wrap: wrap;
    background-color: #FFF;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.case-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.case-image {
    flex: 0 0 35%;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-item:hover .case-image img {
    transform: scale(1.05);
}

.case-content {
    flex: 0 0 65%;
    padding: 30px;
}

.case-title {
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #E4D5C3;
    padding-bottom: 15px;
}

.case-details h4 {
    font-size: 1.1rem;
    color: #A87C4F;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.case-details h4:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-color: #A87C4F;
    border-radius: 50%;
}

.case-details p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.case-character,
.case-motivation,
.case-process,
.case-product {
    margin-bottom: 20px;
}

.case-testimonial {
    margin: 25px 0;
    padding: 20px;
    background-color: #F9F5F0;
    border-left: 4px solid #A87C4F;
    border-radius: 0 5px 5px 0;
}

.case-testimonial blockquote {
    margin: 0;
    font-style: italic;
    color: #333;
}

.case-testimonial cite {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-weight: 600;
    color: #A87C4F;
    text-align: right;
}

.case-cta {
    margin-top: 25px;
    text-align: right;
}

@media (max-width: 992px) {
    .case-image {
        flex: 0 0 100%;
        height: 250px;
    }
    
    .case-content {
        flex: 0 0 100%;
    }
}

@media (max-width: 768px) {
    .case-image {
        height: 200px;
    }
    
    .case-title {
        font-size: 1.4rem;
    }
    
    .case-details h4 {
        font-size: 1rem;
    }
    
    .case-cta {
        text-align: center;
    }
}

/* 案例分類導航 - 新樣式 */
.case-categories {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    position: relative;
    z-index: 10;
}

.case-categories .category-item {
    padding: 12px 25px;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #E4D5C3;
    color: #666;
    margin: 0 5px;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    min-width: 150px;
}

.case-categories .category-item:hover {
    background-color: #F9F5F0;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.case-categories .category-item.active {
    background-color: #A87C4F;
    color: #fff;
    border-color: #A87C4F;
}

/* 案例頁面標題區塊 - 新樣式 */
.case-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/case-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.case-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.case-hero .container {
    position: relative;
    z-index: 2;
}

.case-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.case-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* 篩選器區域 - 改良樣式 */
.filter-container {
    background-color: #F9F5F0;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.filter-container .section-title {
    margin-bottom: 25px;
    text-align: center;
    color: #333;
}

.filter-groups {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.filter-group {
    flex: 1;
    min-width: 250px;
}

.filter-group h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    padding-left: 15px;
}

.filter-group h3:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 20px;
    background-color: #A87C4F;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-option {
    display: inline-block;
    padding: 8px 15px;
    background-color: #fff;
    color: #666;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid #E4D5C3;
}

.filter-option:hover,
.filter-option.active {
    background-color: #A87C4F;
    color: #FFF;
    border-color: #A87C4F;
}

@media (max-width: 768px) {
    .case-categories {
        flex-wrap: wrap;
    }
    
    .case-categories .category-item {
        margin: 5px;
        flex: 1 0 45%;
    }
    
    .case-hero h1 {
        font-size: 2.2rem;
    }
    
    .case-hero p {
        font-size: 1rem;
    }
}

/* 5. 常見問答頁面
   ========================================================================== */

.faq-section {
    background: #fff;
}

/* FAQ 分類導航 */
.faq-nav {
    margin-bottom: 50px;
    border-bottom: 1px solid #eee;
}

.faq-nav-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.faq-nav-list li {
    margin: 0 10px;
}

.faq-nav-list a {
    display: inline-block;
    padding: 15px 25px;
    color: #666;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.faq-nav-list a:hover {
    color: #A87C4F;
}

.faq-nav-list a.active {
    color: #A87C4F;
    border-bottom-color: #A87C4F;
}

/* FAQ 類別與內容 */
.faq-category {
    display: none;
    margin-bottom: 60px;
}

.faq-category.active {
    display: block;
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(168, 124, 79, 0.1);
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.faq-item.active {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: rgba(168, 124, 79, 0.3);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
}

.faq-question h3 {
    margin: 0;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 18px;
    color: #333;
    transition: color 0.3s ease;
    padding-right: 40px;
    position: relative;
}

.faq-item.active .faq-question h3 {
    color: #A87C4F;
}

.toggle-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(168, 124, 79, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #A87C4F;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .toggle-icon {
    background: #A87C4F;
    color: #fff;
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 25px 25px;
    color: #666;
    line-height: 1.6;
}

.faq-answer p:first-child {
    margin-top: 0;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul, .faq-answer ol {
    padding-left: 20px;
    margin-bottom: 15px;
}

.faq-answer li {
    margin-bottom: 8px;
}

.faq-answer strong {
    color: #333;
}

/* 通話引導區塊 */
.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn-outline {
    background: transparent;
    border: 2px solid #A87C4F;
    color: #A87C4F;
}

.btn-outline:hover {
    background: rgba(168, 124, 79, 0.1);
}

/* 響應式設計 */
@media (max-width: 768px) {
    .faq-nav-list {
        flex-direction: column;
        align-items: center;
    }
    
    .faq-nav-list li {
        margin: 5px 0;
        width: 100%;
        text-align: center;
    }
    
    .faq-nav-list a {
        width: 100%;
        padding: 12px 15px;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-question h3 {
        font-size: 16px;
        padding-right: 20px;
    }
    
    .faq-answer {
        padding: 0 20px 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .cta-buttons .btn {
        width: 100%;
        text-align: center;
    }
}

/* 6. 聯絡我們頁面
   ========================================================================== */

.contact-section {
    background: #fff;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* 左側：聯絡資訊 */
.contact-info {
    padding-right: 30px;
}

.contact-title, .form-title {
    font-family: 'Noto Serif TC', serif;
    color: #333;
    margin-bottom: 20px;
    font-size: 28px;
}

.contact-desc, .form-desc {
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.info-items {
    margin-bottom: 50px;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(168, 124, 79, 0.1);
    color: #A87C4F;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 20px;
    flex-shrink: 0;
}

.info-content h3 {
    color: #333;
    font-size: 18px;
    margin: 0 0 10px;
    font-weight: 600;
}

.info-content p {
    color: #555;
    margin: 0 0 5px;
}

.info-detail {
    font-size: 14px;
    color: #888;
}

.urgent-contact {
    background: #FFF8F3;
    border-left: 4px solid #D05353;
    padding: 20px;
    margin-bottom: 40px;
}

.urgent-title {
    color: #D05353;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.urgent-title i {
    margin-right: 10px;
}

.urgent-contact p {
    margin-bottom: 10px;
}

.urgent-phone {
    font-size: 20px;
    font-weight: 700;
    color: #D05353;
    text-decoration: none;
    display: block;
}

.urgent-phone:hover {
    text-decoration: underline;
}

.social-connect h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(168, 124, 79, 0.1);
    color: #A87C4F;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #A87C4F;
    color: #fff;
}

/* 右側：表單 */
.contact-form-container {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 40px;
    border: 1px solid rgba(168, 124, 79, 0.1);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 0;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 16px;
    color: #333;
    transition: border-color 0.3s ease;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: #A87C4F;
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    grid-column: 1 / -1;
}

.form-checkbox input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.form-checkbox label {
    font-weight: normal;
    color: #666;
    margin-bottom: 0;
}

.text-link {
    color: #A87C4F;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

.required {
    color: #D05353;
}

.full-width {
    width: 100%;
    grid-column: 1 / -1;
}

/* 地圖區塊 */
.map-section {
    width: 100%;
    height: 450px;
}

.map-container {
    width: 100%;
    height: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* 小型FAQ區塊 */
.mini-faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.mini-faq-item {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.mini-faq-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.mini-faq-item h3 {
    color: #333;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 15px;
}

.mini-faq-item p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.text-link {
    color: #A87C4F;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.text-link i {
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.text-link:hover i {
    transform: translateX(5px);
}

/* 響應式設計 */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        padding-right: 0;
    }
    
    .mini-faq-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .mini-faq-grid {
        grid-template-columns: 1fr;
    }
    
    .info-item {
        flex-direction: column;
    }
    
    .info-icon {
        margin-bottom: 15px;
    }
}

/* 服務流程視覺化 */
.process-timeline {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 60px 0;
    position: relative;
}

.process-timeline:before {
    content: '';
    position: absolute;
    top: 80px;
    left: 60px;
    right: 60px;
    height: 2px;
    background-color: #E4D5C3;
    z-index: 1;
}

.process-step {
    position: relative;
    width: 18%;
    text-align: center;
    z-index: 2;
}

.step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    margin: 0 auto 15px;
    background-color: #A87C4F;
    color: #FFF;
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 700;
}

.step-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: #F9F5F0;
    border: 2px solid #A87C4F;
    border-radius: 50%;
    font-size: 2rem;
    color: #A87C4F;
    transition: all 0.3s ease;
}

.process-step:hover .step-icon {
    background-color: #A87C4F;
    color: #FFF;
    transform: scale(1.05);
}

.step-content h3 {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.4;
}

@media (max-width: 992px) {
    .process-timeline:before {
        top: 60px;
        left: 30px;
        right: 30px;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .process-timeline {
        flex-direction: column;
        margin: 40px 0;
    }
    
    .process-timeline:before {
        display: none;
    }
    
    .process-step {
        width: 100%;
        display: flex;
        align-items: center;
        text-align: left;
        margin-bottom: 30px;
        padding-left: 15px;
        border-left: 2px solid #E4D5C3;
    }
    
    .step-number {
        margin: 0 15px 0 0;
    }
    
    .step-icon {
        margin: 0 20px 0 0;
    }
    
    .step-content {
        flex: 1;
    }
}

/* 服務方案卡片 */
.service-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 50px 0;
}

.service-card {
    background-color: #FFF;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    width: calc(33.33% - 20px);
    display: flex;
    flex-direction: column;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card.featured {
    transform: scale(1.05);
    border: 2px solid #A87C4F;
    z-index: 1;
}

.service-card.featured:hover {
    transform: translateY(-10px) scale(1.05);
}

.service-header {
    background-color: #F9F5F0;
    padding: 25px 20px;
    text-align: center;
    position: relative;
}

.service-header h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 5px;
}

.service-type {
    display: inline-block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #A87C4F;
}

.popular-tag {
    position: absolute;
    top: 0;
    right: 20px;
    background-color: #D05353;
    color: #FFF;
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 0 0 5px 5px;
}

.service-body {
    padding: 25px 20px;
    flex: 1;
}

.suitable-for h4,
.service-features h4,
.service-showcase h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.suitable-for h4:before,
.service-features h4:before,
.service-showcase h4:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: #A87C4F;
    border-radius: 50%;
}

.suitable-for p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.service-features {
    margin-bottom: 20px;
}

.service-features ul {
    padding-left: 20px;
}

.service-features li {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 8px;
    position: relative;
    list-style-type: none;
}

.service-features li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #A87C4F;
    position: absolute;
    left: -20px;
    top: 0;
}

.showcase-image {
    margin-top: 15px;
}

.showcase-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.image-caption {
    font-size: 0.85rem;
    color: #777;
    text-align: center;
    margin-top: 8px;
}

.service-footer {
    padding: 20px;
    background-color: #F9F5F0;
    text-align: center;
}

@media (max-width: 992px) {
    .service-card {
        width: calc(50% - 15px);
    }
    
    .service-card.featured {
        transform: none;
        width: calc(50% - 15px);
    }
    
    .service-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .service-card {
        width: 100%;
    }
    
    .service-card.featured {
        width: 100%;
        transform: none;
        border: 2px solid #A87C4F;
    }
    
    .service-card.featured:hover {
        transform: translateY(-10px);
    }
}

/* 方案比較表 */
.comparison-table-container {
    margin: 50px 0;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: center;
    border: 1px solid #EFEFEF;
}

.comparison-table th {
    background-color: #A87C4F;
    color: #FFF;
    font-weight: 600;
    font-size: 1.1rem;
}

.comparison-table th:first-child {
    text-align: left;
    background-color: #866339;
}

.comparison-table td {
    background-color: #FFF;
    color: #666;
    font-size: 0.95rem;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: #333;
    background-color: #F9F5F0;
}

.small {
    font-size: 0.8rem;
    font-weight: normal;
    opacity: 0.8;
}

.comparison-cta {
    margin-top: 30px;
}

.comparison-cta p {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .comparison-table th,
    .comparison-table td {
        padding: 10px;
        font-size: 0.85rem;
    }
    
    .comparison-table th {
        font-size: 0.9rem;
    }
}

/* 服務頁面 FAQ 樣式 */
.faq-mini-container {
    max-width: 800px;
    margin: 40px auto;
}

/* 案例篩選區 */
.filter-container {
    margin: 40px 0;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    padding-left: 15px;
}

.filter-group h3:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 20px;
    background-color: #A87C4F;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-option {
    display: inline-block;
    padding: 8px 15px;
    background-color: #F9F5F0;
    color: #666;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.filter-option:hover,
.filter-option.active {
    background-color: #A87C4F;
    color: #FFF;
}

@media (max-width: 768px) {
    .filter-options {
        flex-direction: column;
        gap: 8px;
    }
    
    .filter-option {
        width: 100%;
        text-align: center;
    }
}

/* 案例展示 */
.case-section {
    padding: 70px 0;
}

.case-grid {
    margin-top: 40px;
}

.case-item {
    display: flex;
    flex-wrap: wrap;
    background-color: #FFF;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.case-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.case-image {
    flex: 0 0 35%;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-item:hover .case-image img {
    transform: scale(1.05);
}

.case-content {
    flex: 0 0 65%;
    padding: 30px;
}

.case-title {
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #E4D5C3;
    padding-bottom: 15px;
}

.case-details h4 {
    font-size: 1.1rem;
    color: #A87C4F;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.case-details h4:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-color: #A87C4F;
    border-radius: 50%;
}

.case-details p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.case-character,
.case-motivation,
.case-process,
.case-product {
    margin-bottom: 20px;
}

.case-testimonial {
    margin: 25px 0;
    padding: 20px;
    background-color: #F9F5F0;
    border-left: 4px solid #A87C4F;
    border-radius: 0 5px 5px 0;
}

.case-testimonial blockquote {
    margin: 0;
    font-style: italic;
    color: #333;
}

.case-testimonial cite {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-weight: 600;
    color: #A87C4F;
    text-align: right;
}

.case-cta {
    margin-top: 25px;
    text-align: right;
}

@media (max-width: 992px) {
    .case-image {
        flex: 0 0 100%;
        height: 250px;
    }
    
    .case-content {
        flex: 0 0 100%;
    }
}

@media (max-width: 768px) {
    .case-image {
        height: 200px;
    }
    
    .case-title {
        font-size: 1.4rem;
    }
    
    .case-details h4 {
        font-size: 1rem;
    }
    
    .case-cta {
        text-align: center;
    }
}

/* 案例分類導航 - 新樣式 */
.case-categories {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    position: relative;
    z-index: 10;
}

.case-categories .category-item {
    padding: 12px 25px;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #E4D5C3;
    color: #666;
    margin: 0 5px;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    min-width: 150px;
}

.case-categories .category-item:hover {
    background-color: #F9F5F0;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.case-categories .category-item.active {
    background-color: #A87C4F;
    color: #fff;
    border-color: #A87C4F;
}

/* 案例頁面標題區塊 - 新樣式 */
.case-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/case-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.case-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.case-hero .container {
    position: relative;
    z-index: 2;
}

.case-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.case-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* 篩選器區域 - 改良樣式 */
.filter-container {
    background-color: #F9F5F0;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.filter-container .section-title {
    margin-bottom: 25px;
    text-align: center;
    color: #333;
}

.filter-groups {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.filter-group {
    flex: 1;
    min-width: 250px;
}

.filter-group h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    padding-left: 15px;
}

.filter-group h3:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 20px;
    background-color: #A87C4F;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-option {
    display: inline-block;
    padding: 8px 15px;
    background-color: #fff;
    color: #666;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid #E4D5C3;
}

.filter-option:hover,
.filter-option.active {
    background-color: #A87C4F;
    color: #FFF;
    border-color: #A87C4F;
}

@media (max-width: 768px) {
    .case-categories {
        flex-wrap: wrap;
    }
    
    .case-categories .category-item {
        margin: 5px;
        flex: 1 0 45%;
    }
    
    .case-hero h1 {
        font-size: 2.2rem;
    }
    
    .case-hero p {
        font-size: 1rem;
    }
}

/* 7. 關於我們頁面
   ========================================================================== */

.story-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.story-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.story-image img {
    width: 100%;
    height: auto;
    display: block;
}

.story-text {
    flex: 1;
    line-height: 1.8;
}

.story-text .highlight-text {
    font-size: 1.2em;
    font-style: italic;
    color: #A87C4F;
    border-left: 3px solid #A87C4F;
    padding-left: 15px;
    margin: 20px 0;
    font-weight: normal;
}

.values-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.value-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #f9f5f0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.value-icon i {
    font-size: 28px;
    color: #A87C4F;
}

.value-item h3 {
    margin-bottom: 15px;
    color: #383838;
}

.team-category-title {
    margin: 50px 0 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    color: #383838;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.team-member {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-photo {
    height: 250px;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .member-photo img {
    transform: scale(1.05);
}

.member-info {
    padding: 20px;
}

.member-info h4 {
    margin-bottom: 5px;
    color: #383838;
}

.member-title {
    font-weight: 600;
    color: #A87C4F;
    margin-bottom: 10px;
}

.member-bg {
    color: #777;
    font-style: italic;
    margin-bottom: 10px;
}

.member-motto, .member-specialty {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
    font-style: italic;
}

.advisors-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
}

.advisor-item {
    display: flex;
    align-items: flex-start;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.advisor-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f9f5f0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
}

.advisor-icon i {
    font-size: 18px;
    color: #A87C4F;
}

.advisor-info h4 {
    margin-bottom: 8px;
    color: #383838;
}

.media-container {
    margin-top: 40px;
}

.media-item {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.media-item:hover {
    transform: translateY(-5px);
}

.media-logo {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background-color: #f8f9fa;
}

.media-logo img {
    max-width: 180px;
    max-height: 70px;
    object-fit: contain;
}

.media-content {
    padding: 25px;
}

.media-content h4 {
    margin-bottom: 5px;
    color: #383838;
}

.media-title {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #A87C4F;
}

.media-excerpt {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.media-content .read-more {
    color: #A87C4F;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: color 0.3s ease;
}

.media-content .read-more:hover {
    color: #8a6540;
}

.media-content .read-more i {
    margin-left: 5px;
    font-size: 0.8em;
}

.partners-category {
    margin-bottom: 50px;
}

.partners-category-title {
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    color: #383838;
}

.partners-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.partner-logo {
    width: 180px;
    text-align: center;
    margin-bottom: 20px;
}

.partner-logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 10px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-logo p {
    font-size: 0.9em;
    color: #666;
}

/* 8. 部落格頁面
   ========================================================================== */

.blog-header {
    background: #7E6A4A; /* 使用單一色調，避免任何漸變效果 */
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden; /* 確保不會有內容溢出 */
    border: none; /* 確保沒有邊框 */
    background-image: none; /* 確保沒有背景圖像 */
}

.blog-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
    background-image: none; /* 確保沒有背景圖像 */
    border: none; /* 確保沒有邊框 */
}

.blog-header .container {
    position: relative;
    z-index: 2;
    background: transparent; /* 確保容器背景透明 */
    border: none; /* 確保沒有邊框 */
    box-shadow: none; /* 確保沒有陰影 */
}

.blog-header h1 {
    position: relative;
    z-index: 2;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    display: inline-block;
    padding: 8px 15px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.blog-header p {
    position: relative;
    z-index: 2;
    font-weight: 500;
    font-size: 1.2rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    max-width: 800px;
    margin: 0 auto;
}

.blog-main {
    background-color: #fafafa;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.featured-post {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    margin-bottom: 50px;
}

/* 特色文章圖片樣式 */
.featured-image {
    position: relative;
    height: 350px;
    overflow: hidden; /* 確保內容不溢出 */
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease; /* 只保留平滑過渡效果，移除亮度濾鏡 */
}

.featured-image:hover img {
    transform: scale(1.05); /* 保留滑鼠懸停時輕微放大效果 */
}

.featured-label {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #A87C4F;
    color: #fff;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.9em;
    font-weight: 600;
    z-index: 2; /* 確保標籤在最上層 */
}

.featured-content {
    padding: 30px;
}

.post-category {
    display: inline-block;
    background-color: #f9f5f0;
    color: #A87C4F;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 15px;
}

.featured-content h2 {
    margin-bottom: 10px;
    color: #383838;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    color: #777;
    font-size: 0.9em;
}

.post-excerpt {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #555;
}

.section-title {
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    color: #383838;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.post-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
}

/* 文章卡片圖片樣式 */
.post-thumbnail {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    background-color: #f5f5f5;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease; /* 只保留平滑過渡效果 */
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0); /* 移除覆蓋層，完全透明 */
    z-index: 1;
}

.post-card:hover .post-thumbnail::before {
    opacity: 0; /* 確保懸停時也不顯示覆蓋層 */
}

/* 文章小縮圖樣式 */
.post-thumb {
    width: 80px;
    height: 80px;
    margin-right: 15px;
    border-radius: 5px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease; /* 只保留平滑過渡效果 */
}

.popular-post:hover .post-thumb img {
    transform: scale(1.05);
}

.post-card .post-category {
    margin: 20px 20px 10px;
}

.post-card h3 {
    padding: 0 20px;
    margin-bottom: 10px;
}

.post-card h3 a {
    color: #383838;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-card h3 a:hover {
    color: #A87C4F;
}

.post-card .post-meta {
    padding: 0 20px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.post-card .post-excerpt {
    padding: 0 20px;
    margin-bottom: 20px;
    font-size: 0.95em;
}

.post-card .read-more {
    padding: 0 20px 20px;
    display: inline-block;
    color: #A87C4F;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.post-card .read-more:hover {
    color: #8a6540;
}

.post-card .read-more i {
    margin-left: 5px;
    font-size: 0.8em;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f5f5;
    color: #555;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination a.active {
    background-color: #A87C4F;
    color: #fff;
}

.pagination a:hover:not(.active) {
    background-color: #e5e5e5;
}

.pagination a.next {
    width: auto;
    padding: 0 15px;
    border-radius: 20px;
}

.pagination a.next i {
    margin-left: 5px;
}

.blog-sidebar {
    position: relative;
}

.sidebar-widget {
    background-color: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.widget-title {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    color: #383838;
}

.search-form {
    display: flex;
}

.search-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #eee;
    border-radius: 4px 0 0 4px;
    font-size: 1em;
}

.search-form button {
    background-color: #A87C4F;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    padding: 0 15px;
    cursor: pointer;
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    margin-bottom: 12px;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #555;
    transition: color 0.3s ease;
}

.category-list a:hover {
    color: #A87C4F;
}

.category-list span {
    background-color: #f5f5f5;
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 0.8em;
    color: #777;
}

.popular-posts {
    list-style: none;
    padding: 0;
}

.popular-post {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.popular-post:last-child {
    margin-bottom: 0;
}

.post-info h4 {
    margin-bottom: 5px;
    font-size: 1em;
    line-height: 1.4;
}

.post-info h4 a {
    color: #383838;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-info h4 a:hover {
    color: #A87C4F;
}

.post-info .post-date {
    color: #888;
    font-size: 0.85em;
}

.subscribe-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 1em;
}

.subscribe-widget p {
    margin-bottom: 20px;
    color: #666;
}

.resources-list {
    list-style: none;
    padding: 0;
}

.resources-list li {
    margin-bottom: 15px;
}

.resources-list li:last-child {
    margin-bottom: 0;
}

.resource-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #555;
    padding: 10px;
    background-color: #f5f5f5;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.resource-link:hover {
    background-color: #f9f5f0;
    color: #A87C4F;
}

.resource-link i {
    color: #A87C4F;
}

.cta-subscribe {
    background-color: #f9f5f0;
}

.cta-subscribe-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.cta-text h2 {
    margin-bottom: 15px;
    color: #383838;
}

.cta-text p {
    margin-bottom: 25px;
    color: #555;
    line-height: 1.6;
}

.subscribe-benefits {
    list-style: none;
    padding: 0;
}

.subscribe-benefits li {
    margin-bottom: 10px;
    color: #555;
}

.subscribe-benefits li i {
    color: #A87C4F;
    margin-right: 10px;
}

.subscribe-form-large {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.form-group input {
    padding: 12px 15px;
    border: 1px solid #eee;
    border-radius: 4px;
    font-size: 1em;
}

.subscribe-form-large button {
    width: 100%;
    padding: 15px;
    font-size: 1em;
}

.privacy-note {
    text-align: center;
    margin-top: 15px;
    font-size: 0.85em;
    color: #888;
}

.courses-section {
    background-color: #fff;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.course-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-image {
    position: relative;
    height: 200px;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #D05353;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: 600;
}

.course-content {
    padding: 25px;
}

.course-content h3 {
    margin-bottom: 10px;
    color: #383838;
}

.course-instructor {
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
}

.course-details {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: #777;
    font-size: 0.9em;
}

.course-details span {
    display: flex;
    align-items: center;
}

.course-details i {
    margin-right: 5px;
    color: #A87C4F;
}

.course-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.course-price {
    font-weight: 700;
    color: #383838;
    font-size: 1.1em;
}

.mt-4 {
    margin-top: 40px;
}

.text-center {
    text-align: center;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #A87C4F;
    color: #A87C4F;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.btn-outline:hover {
    background-color: #A87C4F;
    color: #fff;
}

@media (max-width: 992px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
    
    .cta-subscribe-content {
        grid-template-columns: 1fr;
    }
    
    .form-fields {
        grid-template-columns: 1fr;
    }
    
    .media-item {
        flex-direction: column;
    }
    
    .story-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .post-grid, .courses-grid, .team-members, .advisors-container, .values-container {
        grid-template-columns: 1fr;
    }
    
    .featured-post {
        flex-direction: column;
    }
    
    .featured-image {
        height: 250px;
    }
    
    .partners-list {
        gap: 15px;
    }
    
    .partner-logo {
        width: 150px;
    }
}

@media (min-width: 768px) {
    .story-content {
        flex-direction: row;
    }
    
    .media-item {
        flex-direction: row;
    }
    
    .media-logo {
        width: 180px;
        height: auto;
    }
} 