/* ===================================
   安居物業科技有限公司 - 主要樣式表
   主色系：米白 + 金棕色
   =================================== */

/* === 基礎變數設定 === */
:root {
    /* 主色系 - 深藍專業風格 */
    --color-primary: #1a3a5c;          /* 深藍色 */
    --color-primary-dark: #0f2740;      /* 極深藩 */
    --color-primary-light: #2d5278;     /* 淺深藍 */
    --color-secondary: #f8f9fa;         /* 淺灰白色 */
    --color-accent: #4a90e2;            /* 亮藍強調色 */
    
    /* 背景色 */
    --bg-light: #f5f7fa;
    --bg-white: #FFFFFF;
    --bg-dark: #0f1419;
    
    /* 文字色 */
    --text-primary: #1a1a1a;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --text-light: #FFFFFF;
    
    /* 陰影 */
    --shadow-sm: 0 2px 4px rgba(26, 58, 92, 0.08);
    --shadow-md: 0 4px 12px rgba(26, 58, 92, 0.12);
    --shadow-lg: 0 8px 24px rgba(26, 58, 92, 0.15);
    --shadow-xl: 0 12px 40px rgba(26, 58, 92, 0.2);
    
    /* 漸變 */
    --gradient-primary: linear-gradient(135deg, #1a3a5c 0%, #2d5278 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(26, 58, 92, 0.9) 0%, rgba(45, 82, 120, 0.9) 100%);
    
    /* 其他 */
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === 全局樣式重置 === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container 基礎設定 */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* 手機優化 - 防止橫向滾動 */
.row {
    margin-left: -15px;
    margin-right: -15px;
}

.row > * {
    padding-left: 15px;
    padding-right: 15px;
}

img {
    max-width: 100%;
    height: auto;
}

/* === Bootstrap 覆寫樣式 === */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: var(--text-light);
    font-weight: 500;
    padding: 12px 32px;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--color-primary-dark);
}

.btn-outline-primary {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    font-weight: 500;
    padding: 12px 32px;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    border-color: var(--color-primary);
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid var(--text-light);
    color: var(--text-light);
    font-weight: 500;
    padding: 12px 32px;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-outline-light:hover {
    background: var(--text-light);
    color: var(--color-primary);
    border-color: var(--text-light);
}

.bg-light {
    background-color: var(--bg-light) !important;
}

.text-primary {
    color: var(--color-primary) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

/* === 導航列樣式 === */
.navbar {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--text-primary) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand i {
    font-size: 1.8rem;
    color: var(--color-primary);
}

.brand-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 手機版漢堡選單按鈕優化 */
.navbar-toggler {
    border: 2px solid var(--color-primary);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: var(--transition);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(26, 58, 92, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231a3a5c' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.nav-link:hover {
    color: var(--color-primary) !important;
}

/* Logo 圖片樣式 */
.navbar-logo {
    height: 45px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    transition: var(--transition);
}

.navbar-brand:hover .navbar-logo {
    transform: scale(1.05);
}

/* === 導航下拉選單樣式 === */
.navbar .dropdown-menu-custom {
    background: var(--bg-white);
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 0.75rem 0;
    margin-top: 0.5rem;
    min-width: 220px;
}

.navbar .dropdown-menu-custom .dropdown-item {
    padding: 0.75rem 1.5rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar .dropdown-menu-custom .dropdown-item i {
    color: var(--color-primary);
    font-size: 1.1rem;
    transition: var(--transition);
}

.navbar .dropdown-menu-custom .dropdown-item:hover {
    background: linear-gradient(135deg, rgba(26, 58, 92, 0.08) 0%, rgba(74, 144, 226, 0.08) 100%);
    color: var(--color-primary);
    padding-left: 1.75rem;
}

.navbar .dropdown-menu-custom .dropdown-item:hover i {
    color: var(--color-accent);
    transform: scale(1.15);
}

.navbar .dropdown-toggle::after {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.navbar .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* === Hero Section === */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a3a5c 0%, #2d5278 50%, #4a90e2 100%);
    overflow: hidden;
    /*padding-top: 80px;*/
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('../img/home.jpg') center/cover no-repeat;
        opacity: 0.3;
        z-index: 0;
    }

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 58, 92, 0.85) 0%, rgba(45, 82, 120, 0.75) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section .row {
    padding-top: 20px;
    padding-bottom: 20px;
}

.hero-stats .stat-box {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.hero-stats .stat-box:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator i {
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* === 服務卡片樣式 === */
.service-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(194, 157, 107, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.featured {
    background: var(--gradient-primary);
    color: var(--text-light);
    border: none;
}

.service-card.featured .text-muted {
    color: rgba(255, 255, 255, 0.9) !important;
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary);
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--color-primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features i {
    color: var(--color-primary);
    font-size: 1.1rem;
}

.service-card.featured .service-features li {
    color: rgba(255, 255, 255, 0.95);
}

.service-card.featured .service-features i {
    color: var(--text-light);
}

/* === 案例卡片樣式 === */
.case-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.case-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(44, 36, 22, 0.9);
    color: var(--text-light);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.case-badge.success {
    background: rgba(40, 167, 69, 0.9);
}

.case-content {
    padding: 1.5rem;
}

.case-details {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.case-details span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.case-details span i {
    color: var(--color-primary);
}

.case-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(26, 58, 92, 0.15);
}

/* === 管理功能區塊 === */
.management-features .feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--text-light);
    flex-shrink: 0;
    transition: var(--transition);
}

.feature-item:hover .feature-icon-wrapper {
    transform: rotate(5deg) scale(1.1);
}

.feature-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

/* === 商業空間類型卡片 === */
.type-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid rgba(26, 58, 92, 0.08);
    height: 100%;
}

.type-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
    background: linear-gradient(135deg, rgba(26, 58, 92, 0.03) 0%, rgba(74, 144, 226, 0.03) 100%);
}

.type-card i {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    display: block;
}

.type-card h5 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* === 聯絡表單樣式 === */
.contact-form-wrapper {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.form-label {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    border: 2px solid rgba(26, 58, 92, 0.15);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(26, 58, 92, 0.25);
}

/* === 聯絡資訊樣式 === */
.contact-info-wrapper {
    background: var(--gradient-primary);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    color: var(--text-light);
    display: flex;
    flex-direction: column;
}

.contact-info-wrapper h4 {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.info-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

    .info-item:last-of-type {
        margin-bottom: 0;
    }

.info-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.info-item:hover .info-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.info-content {
    flex: 1;
    min-width: 0;
}

    .info-content h6 {
        color: var(--text-light);
        font-weight: 600;
        margin-bottom: 0.5rem;
        font-size: 0.95rem;
        opacity: 0.9;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .info-content p {
        margin: 0;
        color: var(--text-light);
        font-size: 1.05rem;
        line-height: 1.6;
        word-wrap: break-word;
    }

    .info-content a {
        color: var(--text-light);
        text-decoration: none;
        transition: var(--transition);
        font-weight: 500;
    }

        .info-content a:hover {
            opacity: 0.85;
            text-decoration: underline;
        }

    .info-content .btn {
        margin-top: 0.5rem;
    }

        .info-content .btn:disabled {
            opacity: 0.7;
            cursor: not-allowed;
        }

.contact-info-wrapper hr {
    border-color: rgba(255, 255, 255, 0.3);
    margin: 2rem 0;
}

.contact-info-wrapper > h6 {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-info-wrapper > p {
    color: var(--text-light);
    opacity: 0.95;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

    .contact-info-wrapper > p:last-of-type {
        margin-bottom: 0;
    }

/* === Google 地圖樣式 === */
.map-wrapper {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid #e8edf2;
}

.map-wrapper iframe {
    display: block;
}

/* === 頁尾樣式 === */
.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.8);
}

.footer h5,
.footer h6 {
    color: var(--text-light);
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(74, 144, 226, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-size: 1.2rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--color-accent);
    color: var(--text-light);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--color-accent);
    font-size: 1.1rem;
    margin-top: 0.2rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--color-accent);
}

/* === 返回頂部按鈕 === */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* === 響應式設計 === */

/* 平板尺寸 (768px - 991px) */
@media (max-width: 991px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .service-card,
    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 2rem;
    }
    
    /* 平板版選單優化 */
    .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem;
        background: linear-gradient(135deg, rgba(26, 58, 92, 0.03) 0%, rgba(74, 144, 226, 0.03) 100%);
        border-radius: 12px;
    }
    
    .navbar-nav {
        padding: 0;
    }
    
    .nav-item {
        margin: 0.25rem 0;
    }
    
    .nav-link {
        padding: 0.875rem 1rem !important;
        border-radius: 8px;
        background: var(--bg-white);
        border-left: 3px solid transparent;
        transition: var(--transition);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link:hover {
        background: rgba(26, 58, 92, 0.08);
        border-left-color: var(--color-primary);
        padding-left: 1.25rem !important;
    }
    
    /* 平板版下拉選單樣式 */
    .navbar .dropdown-menu-custom {
        border: none;
        box-shadow: none;
        background: transparent;
        border-radius: 0;
        margin: 0.5rem 0 0 0;
        padding: 0;
    }
    
    .navbar .dropdown-menu-custom .dropdown-item {
        padding: 0.75rem 1rem 0.75rem 2rem;
        font-size: 0.95rem;
        background: rgba(26, 58, 92, 0.05);
        border-left: 3px solid var(--color-accent);
        margin: 0.25rem 0;
        border-radius: 6px;
    }
    
    .navbar .dropdown-menu-custom .dropdown-item:hover {
        padding-left: 2.25rem;
        background: rgba(74, 144, 226, 0.12);
        border-left-color: var(--color-primary);
    }
    
    /* 平板版產業資訊選單 */
    .navbar-collapse .nav-item.dropdown .nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: linear-gradient(135deg, rgba(26, 58, 92, 0.08) 0%, rgba(74, 144, 226, 0.08) 100%);
        font-weight: 600;
    }
    
    /* 平板版立即諮詢按鈕 */
    .navbar-collapse .btn-primary {
        margin-top: 1rem;
        width: 100%;
        padding: 1rem;
        font-size: 1.05rem;
    }
}

/* 手機尺寸 (小於 768px) */
@media (max-width: 767px) {
    html {
        scroll-padding-top: 70px;
    }
    
    /* 導航欄優化 */
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .navbar-brand i {
        font-size: 1.5rem;
    }
    
    /* 手機版選單優化 */
    .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem;
        background: linear-gradient(135deg, rgba(26, 58, 92, 0.05) 0%, rgba(74, 144, 226, 0.05) 100%);
        border-radius: 12px;
        max-height: 70vh;
        overflow-y: auto;
    }
    
    .navbar-nav {
        padding: 0;
    }
    
    .nav-item {
        margin: 0.4rem 0;
    }
    
    .nav-link {
        padding: 1rem !important;
        border-radius: 10px;
        background: var(--bg-white);
        border-left: 4px solid transparent;
        font-size: 1rem;
        display: flex;
        align-items: center;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link:active {
        transform: scale(0.98);
    }
    
    .nav-link:hover {
        background: linear-gradient(135deg, rgba(26, 58, 92, 0.1) 0%, rgba(74, 144, 226, 0.1) 100%);
        border-left-color: var(--color-primary);
        padding-left: 1.25rem !important;
    }
    
    /* 手機版下拉選單 */
    .navbar-collapse .navbar .dropdown-menu-custom,
    .navbar .navbar-collapse .dropdown-menu-custom,
    .navbar .dropdown-menu-custom {
        border: none;
        box-shadow: none;
        background: transparent;
        margin: 0.5rem 0 0 0;
        padding: 0;
        display: none !important; /* 強制預設隱藏 */
        position: static !important; /* 取消絕對定位 */
        float: none;
        width: auto;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
    }
    
    .navbar-collapse .navbar .dropdown-menu-custom.show,
    .navbar .navbar-collapse .dropdown-menu-custom.show,
    .navbar .dropdown-menu-custom.show {
        display: block !important; /* 點擊後顯示 */
        max-height: 1000px !important;
        opacity: 1 !important;
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }
    
    .navbar .dropdown-menu-custom .dropdown-item {
        padding: 0.875rem 1rem 0.875rem 2.5rem;
        font-size: 0.95rem;
        background: rgba(74, 144, 226, 0.08);
        border-left: 3px solid var(--color-accent);
        margin: 0.3rem 0;
        border-radius: 8px;
        transition: var(--transition);
        display: block;
    }
    
    .navbar .dropdown-menu-custom .dropdown-item i {
        margin-right: 0.5rem;
    }
    
    .navbar .dropdown-menu-custom .dropdown-item:active {
        transform: scale(0.98);
    }
    
    .navbar .dropdown-menu-custom .dropdown-item:hover,
    .navbar .dropdown-menu-custom .dropdown-item:focus {
        padding-left: 2.75rem;
        background: linear-gradient(135deg, rgba(26, 58, 92, 0.15) 0%, rgba(74, 144, 226, 0.15) 100%);
        border-left-width: 4px;
    }
    
    /* 手機版產業資訊選單 */
    .navbar-collapse .nav-item.dropdown .nav-link {
        background: linear-gradient(135deg, rgba(26, 58, 92, 0.1) 0%, rgba(74, 144, 226, 0.1) 100%);
        font-weight: 600;
        border-left-color: var(--color-primary);
        justify-content: space-between;
    }
    
    .navbar-collapse .nav-item.dropdown .nav-link[aria-expanded="true"] {
        background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
        color: white !important;
        box-shadow: var(--shadow-md);
    }
    
    .navbar-collapse .nav-item.dropdown .nav-link[aria-expanded="true"]::after {
        border-top-color: white;
    }
    
    /* 手機版下拉選單顯示控制 - 最高優先級 */
    @media (max-width: 767px) {
        ul.dropdown-menu.dropdown-menu-custom {
            display: none !important;
            visibility: hidden !important;
            height: 0 !important;
            overflow: hidden !important;
        }
        
        ul.dropdown-menu.dropdown-menu-custom.show {
            display: block !important;
            visibility: visible !important;
            height: auto !important;
            overflow: visible !important;
        }
    }
    
    /* 手機版立即諮詢按鈕 */
    .navbar-collapse .btn-primary {
        margin-top: 1rem;
        width: 100%;
        padding: 1rem;
        font-size: 1.05rem;
        border-radius: 10px;
        box-shadow: var(--shadow-md);
    }
    
    .navbar-collapse .btn-primary:active {
        transform: scale(0.98);
    }
    
    /* Container 優化 */
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    /* Section 間距優化 */
    section {
        padding: 3rem 0 ;
    }
    
    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    /* Hero Section 優化 */
    .hero-section {
        min-height: 100vh;
        padding-top: 70px;
        display: flex;
        align-items: center;
    }
    
    .hero-section .row {
        min-height: auto !important;
    }
    
    .hero-section .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-section .btn-lg {
        padding: 12px 28px;
        font-size: 0.95rem;
    }
    
    /* 標題優化 */
    .display-5 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3, .h3 {
        font-size: 1.25rem;
    }
    
    /* 卡片間距優化 */
    .service-card,
    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .case-card {
        margin-bottom: 1rem;
    }
    
    /* 按鈕優化 */
    .btn-lg {
        padding: 10px 24px;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
    
    .btn {
        font-size: 0.9rem;
    }
    
    /* Row 間距優化 */
    .row {
        margin-left: -10px;
        margin-right: -10px;
    }
    
    .row > * {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .g-4 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }
    
    /* 統計數據優化 */
    .hero-stats {
        margin-top: 2rem !important;
        padding-top: 2rem !important;
    }
    
    .hero-stats .stat-box {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    /* 案例卡片優化 */
    .case-image {
        height: 200px;
    }
    
    .case-content {
        padding: 1rem;
    }
    
    /* 功能項目優化 */
    .feature-item {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-icon-wrapper {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    /* 表單優化 */
    .form-control,
    .form-select {
        font-size: 1rem;
        padding: 0.65rem 1rem;
    }
    
    /* 導航優化 */
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Footer 優化 */
    .footer {
        padding: 2.5rem 0 !important;
    }
    
    .footer .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .footer h5,
    .footer h6 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    /* 返回頂部按鈕 */
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    /* 地圖優化 */
    .map-wrapper iframe {
        height: 300px !important;
    }
    
    /* 手機版下拉選單優化 */
    .navbar .dropdown-menu-custom {
        border: none;
        box-shadow: none;
        background: transparent;
        border-radius: 0;
        margin: 0.5rem 0;
        padding: 0;
        display: none; /* 預設隱藏 */
        position: static !important;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }
    
    .navbar .dropdown-menu-custom.show {
        display: block !important;
        max-height: 1000px !important;
        opacity: 1 !important;
    }
    
    .navbar .dropdown-menu-custom .dropdown-item {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
        background: rgba(26, 58, 92, 0.05);
        border-left: 3px solid var(--color-primary);
        margin: 0.25rem 0;
        border-radius: 4px;
        transition: var(--transition);
        display: block;
    }
    
    .navbar .dropdown-menu-custom .dropdown-item:hover,
    .navbar .dropdown-menu-custom .dropdown-item:active {
        padding-left: 1.5rem;
        background: rgba(26, 58, 92, 0.12);
    }
    
    .navbar .dropdown-menu-custom .dropdown-item i {
        font-size: 1rem;
        margin-right: 0.5rem;
    }
    
    /* 手機版產業資訊選單按鈕 */
    .navbar-collapse .nav-item.dropdown .nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 1rem !important;
        background: rgba(26, 58, 92, 0.08);
        border-radius: 6px;
        margin: 0.25rem 0;
        font-weight: 600;
    }
    
    .navbar-collapse .nav-item.dropdown .nav-link[aria-expanded="true"] {
        background: rgba(26, 58, 92, 0.15);
    }
    
    .navbar-collapse .nav-item:not(.dropdown) .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0.1rem 0;
    }
    
    /* 手機版立即諮詢按鈕 */
    .navbar-collapse .btn-primary {
        margin-top: 1rem;
        width: 100%;
        text-align: center;
        padding: 0.85rem 1rem;
    }
}

/* 超小手機 (小於 576px) */
@media (max-width: 575px) {
    /* Container 更緊湊 */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Hero Section */
    .hero-section {
        padding-top: 70px;
        min-height: 100vh;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .hero-section .lead {
        font-size: 0.95rem;
    }
    
    .hero-section .btn-lg {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* 標題 */
    .display-5 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .display-4 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.35rem;
    }
    
    h3, .h3 {
        font-size: 1.15rem;
    }
    
    /* 按鈕 */
    .btn {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
    
    .btn-lg {
        font-size: 0.95rem;
        padding: 10px 20px;
    }
    
    /* 服務卡片 */
    .service-card {
        padding: 1.25rem;
    }
    
    .service-icon {
        width: 65px;
        height: 65px;
        font-size: 1.5rem;
    }
    
    .service-features {
        font-size: 0.9rem;
    }
    
    /* 類型卡片 */
    .type-card {
        padding: 1rem;
    }
    
    .type-card i {
        font-size: 2rem;
    }
    
    .type-card h5 {
        font-size: 1rem;
    }
    
    /* 案例卡片 */
    .case-image {
        height: 180px;
    }
    
    .case-content h4 {
        font-size: 1.1rem;
    }
    
    .case-details {
        font-size: 0.85rem;
    }
    
    /* 功能項目 */
    .feature-icon-wrapper {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .feature-content h4 {
        font-size: 1.1rem;
    }
    
    /* 表單 */
    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 1.25rem;
    }
    
    /* 資訊項目 */
    .info-item {
        margin-bottom: 1rem;
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0 !important;
    }
    
    .footer h5,
    .footer h6 {
        font-size: 1rem;
    }
    
    .footer-links li,
    .footer-contact li {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    /* 返回頂部按鈕 */
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        bottom: 15px;
        right: 15px;
    }
}

/* === 通用工具類 === */
.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
}

/* 印刷樣式 */
@media print {
    .navbar,
    .back-to-top,
    .scroll-indicator {
        display: none !important;
    }
    
    .hero-section {
        min-height: auto;
        page-break-after: always;
    }
    
    section {
        page-break-inside: avoid;
    }
}

/* === 無障礙優化 === */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus 樣式優化 */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* === 載入動畫 === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* === 高對比度模式支援 === */
@media (prefers-contrast: high) {
    :root {
        --color-primary: #A67C52;
        --text-primary: #000000;
    }
    
    .btn-primary,
    .service-card,
    .case-card {
        border: 2px solid var(--text-primary);
    }
}

/* === 減少動畫模式 === */
/*@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-indicator i {
        animation: none;
    }
}*/

/* === 內頁樣式 === */
/* Page Header */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, rgba(26, 58, 92, 0.85) 0%, rgba(74, 144, 226, 0.85) 100%), url('../img/bg.jpg') center/cover no-repeat;
    border-bottom: 1px solid rgba(26, 58, 92, 0.1);
    position: relative;
    color: white;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 58, 92, 0.3);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-header .lead {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-item {
    color: rgba(255, 255, 255, 0.9);
}
.breadcrumb-item a {
        color: #FFFFFF;
        text-decoration: none;
        transition: var(--transition);
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    }

.item_Property_detail {
    color: #495057 !important;
}


.breadcrumb-item a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item a:hover {
    color: var(--color-accent);
}

    .breadcrumb-item.active {
        color: #b1b1b1;
    }

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--text-muted);
}

/* Blog Card */
.blog-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(26, 58, 92, 0.08);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--color-primary);
    color: var(--text-light);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 2;
}

.blog-category.bg-success {
    background: #28a745 !important;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-content h3 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    transition: var(--transition);
}

.blog-card:hover .blog-content h3 {
    color: var(--color-primary);
}

/* Pagination */
.pagination .page-link {
    color: var(--color-primary);
    border: 1px solid rgba(26, 58, 92, 0.2);
    padding: 0.5rem 0.9rem;
    margin: 0 0.25rem;
    border-radius: 8px;
    transition: var(--transition);
}

.pagination .page-link:hover {
    background: var(--color-primary);
    color: var(--text-light);
    border-color: var(--color-primary);
}

.pagination .page-item.active .page-link {
    background: var(--gradient-primary);
    border-color: var(--color-primary);
    color: var(--text-light);
}

/* 內頁響應式 */
@media (max-width: 767px) {
    .page-header {
        padding: 100px 0 40px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .blog-image {
        height: 200px;
    }
    
    .blog-content {
        padding: 1.25rem;
    }
    
    .blog-meta {
        font-size: 0.85rem;
        gap: 1rem;
    }
}
.policy-section {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

    .policy-section h2 {
        color: #1a3a5c;
        font-size: 1.75rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
        border-bottom: 3px solid #4a90e2;
    }

    .policy-section h3 {
        color: #1a3a5c;
        font-size: 1.3rem;
        font-weight: 600;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

    .policy-section p {
        color: #495057;
        line-height: 1.8;
        margin-bottom: 1rem;
    }

    .policy-section ul {
        margin-bottom: 1.5rem;
    }

    .policy-section li {
        color: #495057;
        line-height: 1.8;
        margin-bottom: 0.75rem;
    }

.highlight-box {
    background: #e8f4fd;
    border-left: 4px solid #4a90e2;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

    .highlight-box p {
        margin-bottom: 0;
        color: #1a3a5c;
    }

.last-updated {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.table-of-contents {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

    .table-of-contents h4 {
        color: #1a3a5c;
        font-size: 1.3rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .table-of-contents ul {
        list-style: none;
        padding-left: 0;
    }

    .table-of-contents li {
        margin-bottom: 0.75rem;
    }

    .table-of-contents a {
        color: #4a90e2;
        text-decoration: none;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

        .table-of-contents a:hover {
            color: #1a3a5c;
            padding-left: 0.5rem;
        }

.service-detail-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 3rem;
    transition: all 0.3s ease;
}

.service-detail-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}

.service-header {
    background: linear-gradient(135deg, #1a3a5c 0%, #2c5f8d 100%);
    color: white;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

    .service-header::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 300px;
        height: 300px;
        background: rgba(255,255,255,0.05);
        border-radius: 50%;
        transform: translate(50%, -50%);
    }

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.service-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 0;
}

.service-body {
    padding: 2.5rem;
}

.service-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

    .feature-list li {
        padding: 1rem;
        background: #f8f9fa;
        border-radius: 12px;
        margin-bottom: 1rem;
        display: flex;
        align-items: start;
        gap: 1rem;
        transition: all 0.3s ease;
    }

        .feature-list li:hover {
            background: #e8f4fd;
            transform: translateX(5px);
        }

.feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.feature-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a3a5c;
    margin-bottom: 0.5rem;
}

.feature-content p {
    margin-bottom: 0;
    color: #6c757d;
    font-size: 0.95rem;
}

/* 流程步驟 */
.process-steps {
    position: relative;
    padding: 2rem 0;
}

.process-step {
    position: relative;
    padding-left: 80px;
    margin-bottom: 2.5rem;
}

    .process-step:last-child {
        margin-bottom: 0;
    }

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(74,144,226,0.3);
}

.step-content h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a3a5c;
    margin-bottom: 0.75rem;
}

.step-content p {
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.6;
}

/* 比較表格 */
.comparison-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

    .comparison-table table {
        margin-bottom: 0;
    }

    .comparison-table thead {
        background: linear-gradient(135deg, #1a3a5c 0%, #2c5f8d 100%);
        color: white;
    }

        .comparison-table thead th {
            padding: 1.25rem;
            font-weight: 600;
            border: none;
        }

    .comparison-table tbody td {
        padding: 1.25rem;
        vertical-align: middle;
        border-color: #e9ecef;
    }

    .comparison-table tbody tr:hover {
        background: #f8f9fa;
    }

.check-icon {
    color: #28a745;
    font-size: 1.5rem;
}

/* 價格方案 */
.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

    .pricing-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    }

    .pricing-card.featured {
        border: 3px solid #4a90e2;
        transform: scale(1.05);
    }

.pricing-badge {
    display: inline-block;
    background: #dc3545;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 1rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4a90e2;
    margin-bottom: 0.5rem;
}

.pricing-period {
    color: #6c757d;
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

    .pricing-features li {
        padding: 0.75rem 0;
        border-bottom: 1px solid #e9ecef;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

        .pricing-features li:last-child {
            border-bottom: none;
        }

    .pricing-features i {
        color: #4a90e2;
        font-size: 1.2rem;
    }

/* FAQ 手風琴 */
.faq-section {
    background: #f8f9fa;
    padding: 3rem 0;
    margin-top: 3rem;
}

.accordion-button {
    font-weight: 600;
    color: #1a3a5c;
    background: white;
}

    .accordion-button:not(.collapsed) {
        background: #e8f4fd;
        color: #1a3a5c;
    }

.accordion-body {
    color: #495057;
    line-height: 1.8;
}

/* CTA 區塊 */
.cta-banner {
    background: linear-gradient(135deg, #1a3a5c 0%, #2c5f8d 100%);
    color: white;
    padding: 4rem 2rem;
    border-radius: 16px;
    text-align: center;
    margin: 3rem 0;
}

    .cta-banner h2 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
    }

    .cta-banner p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        opacity: 0.95;
    }

/* 技術堆疊標籤 */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.tech-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .service-header {
        padding: 2rem 1.5rem;
    }

    .service-title {
        font-size: 1.5rem;
    }

    .service-body {
        padding: 1.5rem;
    }

    .process-step {
        padding-left: 70px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .cta-banner h2 {
        font-size: 1.75rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }
}

/* 搜尋過濾區 */
.search-filters {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.filter-group {
    margin-bottom: 1rem;
}

    .filter-group label {
        font-weight: 500;
        color: #1a3a5c;
        margin-bottom: 0.5rem;
        display: block;
    }

/* 物件卡片 */
.property-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

    .property-card:hover {
        box-shadow: 0 8px 24px rgba(0,0,0,0.15);
        transform: translateY(-4px);
    }

.property-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

    .property-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.property-card:hover .property-image img {
    transform: scale(1.1);
}

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #1a3a5c;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
}

    .property-badge.featured {
        background: #dc3545;
    }

.property-price {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255,255,255,0.95);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a3a5c;
}

.property-content {
    padding: 1.5rem;
}

.property-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a3a5c;
    margin-bottom: 0.75rem;
}

.property-location {
    color: #6c757d;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #495057;
    font-size: 0.9rem;
}

    .feature-item i {
        color: #4a90e2;
    }

.property-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.property-tag {
    background: #e8f4fd;
    color: #4a90e2;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.property-agent {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    font-size: 0.9rem;
}

/* 統計資訊 */
.stats-banner {
    background: linear-gradient(135deg, #1a3a5c 0%, #2c5f8d 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* 快速篩選按鈕 */
.quick-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.quick-filter-btn {
    padding: 0.5rem 1.25rem;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    background: white;
    color: #495057;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .quick-filter-btn:hover,
    .quick-filter-btn.active {
        background: #1a3a5c;
        color: white;
        border-color: #1a3a5c;
    }

/* 響應式設計 */
@media (max-width: 768px) {
    .property-image {
        height: 200px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .search-filters {
        padding: 1.5rem;
    }
}

/* 商空類型卡片 */
.space-type-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    cursor: pointer;
}

.space-type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.space-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 3rem;
    color: white;
}

.space-type-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 1rem;
}

.space-type-card p {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.space-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

    .space-features li {
        padding: 0.5rem 0;
        color: #495057;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .space-features i {
        color: #4a90e2;
    }

/* 商空物件卡片 */
.commercial-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

    .commercial-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    }

.commercial-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

    .commercial-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.commercial-card:hover .commercial-image img {
    transform: scale(1.1);
}

.commercial-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.commercial-status {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(40, 167, 69, 0.95);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.commercial-price {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255,255,255,0.95);
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a3a5c;
}

.commercial-content {
    padding: 2rem;
}

.commercial-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 1rem;
}

.commercial-location {
    color: #6c757d;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
}

.commercial-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e9ecef;
}

.spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.spec-icon {
    width: 50px;
    height: 50px;
    background: #e8f4fd;
    color: #4a90e2;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.spec-label {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.spec-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a3a5c;
}

.commercial-description {
    color: #495057;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.commercial-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.amenity-tag {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #495057;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .amenity-tag i {
        color: #4a90e2;
    }

.commercial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.contact-agent {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* 優勢特色區 */
.advantage-section {
    background: linear-gradient(135deg, #1a3a5c 0%, #2c5f8d 100%);
    color: white;
    padding: 4rem 0;
    margin: 3rem 0;
}

.advantage-card {
    text-align: center;
    padding: 2rem;
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: white;
}

.advantage-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.advantage-card p {
    opacity: 0.95;
    margin-bottom: 0;
}

/* 篩選器 */
.filter-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-tab {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    color: #495057;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .filter-tab:hover,
    .filter-tab.active {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        border-color: transparent;
    }

/* CTA區塊 */
.cta-commercial {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 2rem;
    border-radius: 20px;
    text-align: center;
    margin: 3rem 0;
}

    .cta-commercial h2 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
    }

    .cta-commercial p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        opacity: 0.95;
    }

/* 流程步驟 */
.process-timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

    .timeline-item:last-child {
        margin-bottom: 0;
    }

.timeline-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(102,126,234,0.3);
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

    .timeline-content h4 {
        font-size: 1.3rem;
        font-weight: 700;
        color: #1a3a5c;
        margin-bottom: 0.75rem;
    }

    .timeline-content p {
        color: #6c757d;
        margin-bottom: 0;
        line-height: 1.7;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .commercial-image {
        height: 220px;
    }

    .space-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .commercial-specs {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-commercial h2 {
        font-size: 1.75rem;
    }

    .timeline-item {
        flex-direction: column;
        gap: 1rem;
    }

    .timeline-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* 物件圖片輪播區 */
.property-gallery {
    position: relative;
    margin-bottom: 2rem;
}

.swiper {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
}

.swiper-slide {
    position: relative;
}

    .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.image-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    z-index: 10;
}

.swiper-button-next,
.swiper-button-prev {
    color: white;
    background: rgba(0,0,0,0.5);
    width: 44px;
    height: 44px;
    margin-top: -22px;
    border-radius: 50%;
}

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 16px;
    }

.swiper-pagination-bullet {
    background: rgba(255,255,255,0.5);
}

.swiper-pagination-bullet-active {
    background: white;
}

/* 縮圖輪播 */
.thumbsSwiper {
    height: 80px;
    margin-top: 1rem;
}

    .thumbsSwiper .swiper-slide {
        cursor: pointer;
        opacity: 0.5;
        border-radius: 6px;
        overflow: hidden;
        transition: all 0.3s ease;
        border: 2px solid transparent;
    }

        .thumbsSwiper .swiper-slide:hover {
            opacity: 0.8;
            transform: scale(1.05);
        }

    .thumbsSwiper .swiper-slide-thumb-active {
        opacity: 1;
        border: 2px solid #1a3a5c;
        transform: scale(1.1);
    }

    .thumbsSwiper .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 4px;
    }

/* 物件資訊卡片 */
.property-info-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.property-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 1rem;
}

.property-price_detail {
    font-size: 2.5rem;
    font-weight: 700;
    color: #dc3545;
    margin-bottom: 1rem;
}

.property-location {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-badge {
    display: inline-block;
    background: #1a3a5c;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

    .property-badge.featured {
        background: #dc3545;
    }

/* 基本資訊 */
.basic-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.info-item {
    text-align: center;
}

.info-icon {
    font-size: 2rem;
    color: #4a90e2;
    margin-bottom: 0.5rem;
}

.info-label {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a3a5c;
}

/* 特色標籤 */
.features-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.feature-tag {
    background: #e8f4fd;
    color: #4a90e2;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* 詳細描述 */
.description-section {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a3a5c;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.description-text {
    line-height: 1.8;
    color: #495057;
}

/* 設備設施 */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.facility-category {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
}

    .facility-category h6 {
        font-weight: 600;
        color: #1a3a5c;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

.facility-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .facility-list li {
        padding: 0.5rem 0;
        color: #495057;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

        .facility-list li:not(:last-child) {
            border-bottom: 1px solid #e9ecef;
        }

/* 交通資訊 */
.transport-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
}

.transport-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

    .transport-item:last-child {
        border-bottom: none;
    }

.transport-icon {
    width: 40px;
    height: 40px;
    background: #4a90e2;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.transport-details h6 {
    margin: 0 0 0.25rem 0;
    font-weight: 600;
    color: #1a3a5c;
}

.transport-details p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

/* 聯絡資訊 */
.contact-card {
    background: linear-gradient(135deg, #1a3a5c 0%, #2c5f8d 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.agent-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #1a3a5c;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-right: 1.5rem;
}

.agent-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.agent-title {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid white;
    border-radius: 25px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .contact-btn:hover {
        background: white;
        color: #1a3a5c;
    }

.combo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.policy-btn {
    background: #4a90e2;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .policy-btn:hover {
        background: #357abd;
        color: white;
    }

/* 地圖容器 */
.map-container {
    height: 300px;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    margin-bottom: 2rem;
}

/* 相關推薦 */
.related-properties {
    margin-top: 3rem;
}

.property-card-small {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

    .property-card-small:hover {
        box-shadow: 0 8px 24px rgba(0,0,0,0.15);
        transform: translateY(-4px);
    }

.card-image-small {
    height: 200px;
    position: relative;
    overflow: hidden;
}

    .card-image-small img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.card-price-small {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(255,255,255,0.95);
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    color: #1a3a5c;
    font-size: 0.9rem;
}

/* 返回按鈕 */
.back-button {
    margin-bottom: 2rem;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .swiper {
        height: 300px;
    }

    .thumbsSwiper {
        height: 60px;
    }

    .property-title {
        font-size: 1.5rem;
    }

    .property-price {
        font-size: 2rem;
    }

    .basic-info {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-btn {
        width: 100%;
        justify-content: center;
    }

    .facilities-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .thumbsSwiper {
        height: 50px;
    }

        .thumbsSwiper .swiper-slide {
            border-radius: 4px;
        }

        .thumbsSwiper .swiper-slide-thumb-active {
            border-width: 1px;
        }
}

/* 文章內容樣式 */
.article-header {
    background: linear-gradient(135deg, rgba(26, 58, 92, 0.9), rgba(44, 95, 141, 0.9)), url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?w=1200&h=600&fit=crop') center/cover;
    color: white;
    padding: 6rem 0 4rem;
    margin-top: 76px;
}

.article-meta {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

    .article-meta-item:last-child {
        margin-bottom: 0;
    }

.article-category {
    background: #dc3545;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1rem;
}

.article-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.article-excerpt {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* 文章內容 */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

    .article-content h2 {
        font-size: 1.8rem;
        font-weight: 600;
        color: #1a3a5c;
        margin: 3rem 0 1.5rem 0;
        padding-bottom: 0.5rem;
        border-bottom: 3px solid #4a90e2;
        position: relative;
    }

    .article-content h3 {
        font-size: 1.5rem;
        font-weight: 600;
        color: #1a3a5c;
        margin: 2.5rem 0 1rem 0;
    }

    .article-content h4 {
        font-size: 1.3rem;
        font-weight: 600;
        color: #1a3a5c;
        margin: 2rem 0 1rem 0;
    }

    .article-content p {
        margin-bottom: 1.5rem;
    }

    .article-content ul,
    .article-content ol {
        margin-bottom: 1.5rem;
        padding-left: 2rem;
    }

    .article-content li {
        margin-bottom: 0.5rem;
    }

    .article-content blockquote {
        background: #f8f9fa;
        border-left: 4px solid #4a90e2;
        padding: 1.5rem;
        margin: 2rem 0;
        font-style: italic;
        font-size: 1.1rem;
    }

    .article-content .highlight-box {
        background: linear-gradient(135deg, #e8f4fd, #f0f8ff);
        border: 1px solid #4a90e2;
        border-radius: 12px;
        padding: 2rem;
        margin: 2rem 0;
    }

        .article-content .highlight-box h4 {
            color: #1a3a5c;
            margin-top: 0;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

    .article-content .warning-box {
        background: linear-gradient(135deg, #fff3cd, #ffeaa7);
        border: 1px solid #ffc107;
        border-radius: 12px;
        padding: 2rem;
        margin: 2rem 0;
    }

        .article-content .warning-box h4 {
            color: #856404;
            margin-top: 0;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

    .article-content .table-responsive {
        margin: 2rem 0;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .article-content table {
        margin: 0;
    }

        .article-content table th {
            background: #1a3a5c;
            color: white;
            font-weight: 600;
            padding: 1rem;
            border: none;
        }

        .article-content table td {
            padding: 1rem;
            border-bottom: 1px solid #e9ecef;
            vertical-align: top;
        }

        .article-content table tr:nth-child(even) {
            background: #f8f9fa;
        }

/* 側邊欄 */
.article-sidebar .sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.sidebar-widget h5 {
    color: #1a3a5c;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toc-list {
    list-style: none;
    padding: 0;
}

    .toc-list li {
        margin-bottom: 0.5rem;
    }

    .toc-list a {
        color: #495057;
        text-decoration: none;
        padding: 0.5rem 0;
        display: block;
        border-left: 3px solid transparent;
        padding-left: 1rem;
        transition: all 0.3s ease;
    }

        .toc-list a:hover,
        .toc-list a.active {
            color: #4a90e2;
            border-left-color: #4a90e2;
            background: rgba(74, 144, 226, 0.1);
        }

    .toc-list .toc-h3 {
        padding-left: 2rem;
        font-size: 0.9rem;
    }

.related-articles .article-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

    .related-articles .article-item:last-child {
        border-bottom: none;
    }

.related-articles .article-image {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

    .related-articles .article-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.related-articles .article-info h6 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.related-articles .article-info a {
    color: #1a3a5c;
    text-decoration: none;
}

    .related-articles .article-info a:hover {
        color: #4a90e2;
    }

.related-articles .article-meta {
    font-size: 0.8rem;
    color: #6c757d;
}

/* 作者資訊 */
.author-info {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem 0;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #1a3a5c;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-right: 1.5rem;
}

.author-details h5 {
    color: #1a3a5c;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.author-details .author-title {
    color: #6c757d;
    margin-bottom: 1rem;
}

.author-details .author-bio {
    color: #495057;
    line-height: 1.6;
}

/* 分享按鈕 */
.share-buttons {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

    .share-buttons h5 {
        color: #1a3a5c;
        margin-bottom: 1.5rem;
    }

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    margin: 0.25rem;
    transition: all 0.3s ease;
}

    .share-btn.facebook {
        background: #1877f2;
        color: white;
    }

    .share-btn.line {
        background: #00c300;
        color: white;
    }

    .share-btn.copy {
        background: #6c757d;
        color: white;
    }

    .share-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    /*background: #4a90e2;*/
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .back-button:hover {
        background: #357abd;
        color: white;
    }

/* 滾動進度條 */
.reading-progress {
    position: fixed;
    top: 76px;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #4a90e2, #1a3a5c);
    z-index: 1000;
    transition: width 0.3s ease;
}

