@charset "utf-8";

.debug {
    background-color: #FFFFFF;
    border: 4px double #FF0000;
    color: #000000;
    display: block;
    padding: 4px;
    line-height: 20px;
    word-wrap: break-word;
	word-break: break-all;
}

.debugHidden {
    display: none;
}

.logo {
	z-index: 10;
}

.about-section,
.about-section p {
	font-size: 1.25em;
}
.about-section hr {
	margin: 5px 0px 10px;
}
.about-section .paragraph {
	margin: 40px auto;
}

/* 主要卡片容器樣式 */
.about-section .company-location-card {
    width: 90%;
    max-width: 750px; /* 限制最大寬度，避免在大螢幕上過寬 */
    margin: 20px 0; /* 增加上下外邊距，讓卡片更突出 */
    padding: 20px;
    border: 1px solid #ddd; /* 淺灰色邊框 */
    border-radius: 8px; /* 圓角 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* 柔和的陰影 */
    background-color: #ffffff; /* 白色背景 */
    font-family: Arial, sans-serif; /* 設置字體 */
}

/* 標題樣式 */
.about-section .location-heading {
    border-bottom: 2px solid #007bff; /* 藍色底線，突出標題 */
    padding-bottom: 10px;
    margin-bottom: 15px;
    color: #333; /* 深色文字 */
    font-size: 1.5em;
}

/* 公司名稱樣式 */
.about-section .company-name {
    font-weight: bold;
    font-size: 1.2em;
    color: #007bff; /* 藍色，更醒目 */
    margin-bottom: 10px;
}

/* 聯絡資訊列表樣式 */
.about-section .contact-list {
    list-style: none; /* 移除項目符號 */
    padding: 0;
    margin: 0;
}

.about-section .contact-list li {
    line-height: 1.8; /* 增加行高，提升可讀性 */
    border-bottom: 1px dotted #eee; /* 淺色點狀分隔線 */
    display: grid; /* 使用 Flexbox 讓標籤和值對齊 */
    /* 設置兩欄：第一欄最小寬度剛好容納內容，第二欄佔據剩餘空間 */
    grid-template-columns: min-content 1fr;
    /* 設置欄間距 */
    gap: 5px;
}

/* 移除地址項目的底線，或使用不同的分隔方式 */
.about-section .contact-list .address-item {
    border-bottom: none; 
    padding-bottom: 0;
}

/* 標籤文字（聯絡人、電話等）樣式 */
.about-section .contact-list .label {
    /* 由於 Grid 佈局已經控制了欄寬，這裡的 min-width 可移除 */
    white-space: nowrap; /* 確保標籤本身絕對不換行 */
    color: #666;
    font-weight: normal;
    
    /* 移除之前的 padding-right，間距由 Grid 的 gap 控制 */
    padding-right: 0;
}

/* 值文字（姓名、號碼、地址）樣式 */
.about-section .contact-list .value {
    /* Grid 佈局下，這些屬性會自動生效 */
    color: #333;
    font-weight: 500;
    white-space: normal; 
    word-break: break-word;
}

/* --------------------------------- */
/* 恆勇優勢 區塊樣式 */
/* --------------------------------- */

.section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 10px;
    border-bottom: 3px solid #007bff; /* 藍色底線，呼應品牌色 */
    display: inline-block; /* 讓底線只在標題下方 */
    margin: 0 auto 20px;
    width: auto;
    display: block;
}

.features-section {
    padding: 20px 0;
}

.advantage-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    /* 讓項目呈現網格佈局，小於 600px 顯示一行，大於 600px 顯示兩行 */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; /* 網格間距 */
}

/* 每個特色項目的卡片樣式 */
.advantage-item {
    background-color: #f8f9fa; /* 淺灰色背景 */
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid #007bff; /* 左側藍色邊框，增加設計感 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.advantage-item:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px); /* 輕微上浮效果 */
}

/* 特色標題容器：使用 Flex 讓圖標和文字對齊 */
.advantage-title {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

/* 圖標樣式 */
.advantage-title .fa {
    font-size: 1.8em;
    margin-right: 15px;
}

.icon-color {
    color: #007bff; /* 藍色圖標 */
}

/* 標題文字樣式 (取代原來的紅色粗體) */
.advantage-title h3 {
    margin: 0;
    font-size: 1.2em;
    font-weight: 700;
    color: #333; /* 深色文字 */
}

/* 描述文字樣式 */
.advantage-description {
    font-size: 1em;
    line-height: 1.6;
    color: #555;
    margin-bottom: 0;
    padding-left: 0; /* 移除原來的 padding-left: 25px */
}

/* 針對「台灣企業聯盟整合」這個較長的項目，強制佔滿整行 */
.advantage-item.full-width {
    grid-column: 1 / -1; 
}

/* --------------------------------- */
/* 品牌列表容器樣式 */
/* --------------------------------- */
.brand-cooperation-section {
    padding: 20px 0;
}

.brand-logo-list {
    list-style: none;
    padding: 0;
    margin: 0;
    
    /* 核心 RWD 佈局：使用 Grid */
    display: grid;
    /* 設置列：根據視窗寬度自動調整，最小列寬為 150px */
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 30px 20px; /* 上下間距 30px，左右間距 20px */
    
    /* 確保項目從左側開始排列 */
    justify-content: start; 
}

/* 品牌單項樣式 */
.brand-item {
    display: flex; /* 讓圖片和文字在垂直方向上對齊 */
    flex-direction: column; /* 圖片在上，文字在下 */
    align-items: flex-start; /* 確保整個項目（圖片和文字）靠左對齊 */
    text-align: left;
    padding: 15px;
    border: 1px solid #eee; /* 輕微邊框，視覺上區分開 */
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

.brand-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 圖片容器樣式 */
.brand-image-wrap {
    width: 100%;
    /* 設置高度比例，例如 4:3，確保 logo 圖片框統一大小 */
    height: 0;
    /* 調整高度比例：例如從 75% 增加到 85% 或 90%，讓圖片看起來更高 */
    padding-bottom: 90%;
    position: relative;
    margin-bottom: 10px;
    
    /* 居中圖片並裁剪 */
    overflow: hidden; 
}

.brand-image-wrap img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    /* 確保圖片適應容器，使用 cover 或 contain 都可以 */
    max-width: 90%; 
    max-height: 90%; 
    width: auto;
    height: auto;
    object-fit: contain; /* 確保圖片完整顯示在框內 */
}

/* 品牌名稱樣式 */
.brand-name {
    font-size: 1.1em;
    font-weight: 600;
    color: #555;
    margin-top: 5px; /* 增加與圖片的間隔 */
}