/* 香港吉恆貿易公司 - 企業風格CSS */
/* 基於嘉能可集團和维多集團設計風格 */

/* 全局樣式重置 */
body {
    font-family: 'Helvetica Neue', Arial, 'PingFang TC', 'Heiti TC', 'Microsoft JhengHei', sans-serif;
    color: #333;
    --primary-color: #0a2c4e;  /* 更深沉的藍色 */
    --secondary-color: #1e5180;
    --accent-color: #d4a017;   /* 金色點綴 */
    --text-color: #333;
    --light-text: #fff;
    --light-gray: #f8f8f8;
    --medium-gray: #e0e0e0;
    --dark-gray: #444;
}

/* 自定義大小類 */
.text-xxs {
    font-size: 0.625rem; /* 10px */
    line-height: 0.75rem; /* 12px */
}

/* 布局與間距調整 */
.container {
    max-width: 1400px;
}

section {
    padding: 5rem 0;
}

/* 導航欄優化 */
nav.bg-white {
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

nav .text-blue-900 {
    color: var(--primary-color);
}

nav .hover\:text-blue-700:hover {
    color: var(--secondary-color) !important;
}

/* 頁面標題區域 */
header.bg-gradient-to-r {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color)) !important;
    position: relative;
}

header.pt-24, header.pt-28 {
    padding-top: 7rem;
    padding-bottom: 7rem;
}

/* 全幅背景覆蓋效果 */
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

header .container {
    position: relative;
    z-index: 2;
}

/* 專業標題樣式 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    letter-spacing: 0.02em;
}

/* 按鈕樣式更新 */
.bg-blue-900,
.hover\:bg-blue-800:hover,
button.category-btn.active {
    background-color: var(--primary-color) !important;
}

.bg-white.text-blue-900 {
    color: var(--primary-color) !important;
}

.hover\:bg-gray-100:hover {
    background-color: rgba(255, 255, 255, 0.9) !important;
}

.rounded-lg {
    border-radius: 0.25rem !important;
}

/* 圖片與卡片優化 */
.shadow-xl {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important;
}

.shadow-lg {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
}

.rounded-lg {
    border-radius: 4px !important;
}

/* 產品卡片改為更專業的樣式 */
.product-item, 
.bg-white.rounded-lg.shadow-lg {
    transition: all 0.3s ease;
    border: 1px solid var(--medium-gray);
}

.product-item:hover,
.bg-white.rounded-lg.shadow-lg:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-5px);
}

/* 產品分類導航 */
.category-btn {
    border-radius: 2px !important;
    font-weight: 500;
    letter-spacing: 0.03em;
    padding: 0.5rem 1.25rem;
    border: 1px solid transparent;
}

.category-btn:not(.active) {
    background-color: transparent !important;
    color: var(--dark-gray) !important;
    border: 1px solid var(--medium-gray);
}

.category-btn:not(.active):hover {
    background-color: var(--light-gray) !important;
}

/* 底部優化 */
footer.bg-blue-900 {
    background-color: var(--primary-color) !important;
}

footer .border-blue-800 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* 面包屑導航 - 專業網站通常有這個元素 */
.breadcrumb {
    display: flex;
    padding: 1rem 0;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.breadcrumb a {
    color: var(--primary-color);
    margin: 0 0.5rem;
}

.breadcrumb a:first-child {
    margin-left: 0;
}

/* 全球業務展示樣式 */
.global-presence {
    background-color: var(--light-gray);
    padding: 4rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--dark-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* 專業表格樣式 */
table.corporate-table {
    width: 100%;
    border-collapse: collapse;
}

table.corporate-table th {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 500;
}

table.corporate-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--medium-gray);
}

table.corporate-table tr:hover {
    background-color: var(--light-gray);
}

/* 首頁特色區塊 */
.feature-section {
    position: relative;
    overflow: hidden;
}

.feature-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(10, 44, 78, 0.9), rgba(10, 44, 78, 0.4));
    z-index: 1;
}

.feature-content {
    position: relative;
    z-index: 2;
    color: white;
}

/* 動畫優化 - 更加細緻和專業 */
@keyframes fadeInUpRefined {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUpRefined 0.6s ease-out forwards;
}

/* 標題下劃線更換為更簡潔的方式 */
.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 80px;
    height: 3px;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    margin: 0;
}

/* 產品列表標題 - 特別左對齊樣式 */
.product-list-title {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
}

.product-list-title::after {
    left: 0;
    transform: none;
} 