/* ============================================
   ACDesign Stage 1 — 視覺對比度 + 留白修復
   2026-05-04 (yeungmingkei)
   目的：
   - 提高次級文字對比度（從 0.55 → 0.85）
   - 去除 FAQ/作品列表的 #666666 灰板
   - 「致電查詢」按鈕改實色（與 WhatsApp 視覺平衡）
   - 縮短首頁過量留白
   ============================================ */

/* === 1. 提升次級文字對比度（暖香檳金） === */
:root {
    --text-secondary: rgba(232, 228, 222, 0.88) !important;
    --text-dim: rgba(232, 228, 222, 0.68) !important;
    --gold-glow: rgba(198, 169, 98, 0.18);
}

body, body p, .column_attr,
.column_attr p,
.column_attr a:not(.btn-primary):not(.btn-ghost):not(.wa-float):not(.borderLink):not(.mapButton) {
    color: rgba(232, 228, 222, 0.88) !important;
}

/* === 2. FAQ 列表：去掉 #666666 灰板 + 加 hover 金色高亮 === */
.entry-content ul li a[style*="#666666"],
.entry-content ul li a[style*="background-color:#666"],
.entry-content ul li a[style*="background:#666"] {
    background-color: transparent !important;
    background: transparent !important;
    border-bottom: 1px solid rgba(198, 169, 98, 0.25) !important;
    display: block !important;
    padding: 18px 12px !important;
    transition: all 0.3s ease;
    text-decoration: none !important;
}
.entry-content ul li a[style*="#666666"]:hover,
.entry-content ul li a[style*="background-color:#666"]:hover,
.entry-content ul li a[style*="background:#666"]:hover {
    background-color: var(--gold-glow) !important;
    border-bottom-color: var(--gold) !important;
    padding-left: 24px !important;
}
.entry-content ul li a[style*="#666666"] h4,
.entry-content ul li a[style*="background-color:#666"] h4 {
    color: var(--text-primary) !important;
    margin: 0 !important;
    font-size: 17px !important;
    letter-spacing: 0.02em !important;
    transition: color 0.3s;
}
.entry-content ul li a[style*="#666666"]:hover h4 {
    color: var(--gold) !important;
}

/* === 3. 作品集（The Grid Plugin）：去掉默認白板 === */
.tg-item,
.tg-item-content,
.tg-item-bottom,
.tg-references,
.tg-item-meta,
.tg-grid-wrapper,
.tg-grid-mansory,
.tg-grid {
    background-color: transparent !important;
    background: transparent !important;
}
.tg-item-media-holder { background: transparent !important; }
.tg-item-title,
.tg-item .tg-item-title.tg-element-1 {
    color: var(--text-primary) !important;
    background: transparent !important;
    padding: 8px 0 !important;
    font-size: 15px !important;
    letter-spacing: 0.03em !important;
}
.tg-item:hover .tg-item-title { color: var(--gold) !important; }

/* === 4. 首頁 CTA：副標題明亮化 === */
.mcb-section-cta p[style*="color:#aaa"],
.mcb-section-cta p[style*="#aaa"] {
    color: rgba(232, 228, 222, 0.85) !important;
}

/* === 5. 「致電查詢」按鈕：實色金（與 WhatsApp 平衡） === */
.mcb-section-cta a[href^="tel:"] {
    background: var(--gold) !important;
    color: var(--dark) !important;
    border: 1px solid var(--gold) !important;
    font-weight: 600 !important;
}
.mcb-section-cta a[href^="tel:"]:hover {
    background: var(--gold-light) !important;
    border-color: var(--gold-light) !important;
    color: var(--dark) !important;
}

/* === 6.「查看位置」mapButton 加強 === */
.mapButton {
    padding: 14px 36px !important;
    font-weight: 500 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    font-size: 13px !important;
}

/* === 7. 地圖區避免淺灰底（強制暗底） === */
.section[style*="background-color:#f4f4f4"],
.section[style*="background:#f4f4f4"],
.section.bg-cover[style*="#f4f4f4"] {
    background-color: #0C0C0C !important;
    background: #0C0C0C !important;
}

/* === 8. 縮短首頁過量留白 === */
.colSpaceMap { padding: 5em 0 !important; }   /* 原 15em */
.section-page-footer { padding: 20px 0 !important; }

/* === 9. 副標題（聯絡我們等）色彩穩定 === */
h3.subTitle,
.subTitle {
    color: var(--text-primary) !important;
    margin-bottom: 30px !important;
}
.antFont.contact,
.antFont.contact a {
    color: rgba(232, 228, 222, 0.92) !important;
    font-size: 15px !important;
    line-height: 1.9 !important;
}
.antFont.contact a:hover { color: var(--gold) !important; }

/* === 10. 浮動 WhatsApp 按鈕字色穩定 === */
.wa-float .wa-label,
.wa-float .wa-number {
    color: #fff !important;
}
