/* 基本重置與變數設定 */
:root {
    --primary-color: #0b3d91; /* 科技深藍 */
    --secondary-color: #1e88e5; /* 亮藍色 */
    --text-color: #333333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
*     margin: 0;
*         padding: 0;
*             box-sizing: border-box;
*             }
*
*             body {
*                 font-family: 'Helvetica Neue', Arial, 'Microsoft JhengHei', sans-serif;
*                     color: var(--text-color);
*                         line-height: 1.6;
*                             background-color: var(--white);
*                             }
*
*                             .container {
*                                 width: 90%;
*                                     max-width: 1200px;
*                                         margin: 0 auto;
*                                         }
*
*/* 導覽列 */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--secondary-color);
}

/* 橫幅區塊 (Hero - 使用辦公室背景圖) */
.hero {
    height: 100vh;
    min-height: 600px;
    background: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 60px; /* 預留導覽列空間 */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 61, 145, 0.85); /* 深藍色半透明遮罩，營造專業穩重感 */
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #1565c0;
    transform: translateY(-2px);
}

/* 營業項目 (Services) */
.services {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-top: 4px solid var(--secondary-color);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
}

/* 信任感區塊 (Trust Section) */
.trust-section {
    padding: 5rem 0;
}

.trust-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.trust-image {
    flex: 1;
}

.trust-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.trust-content {
    flex: 1;
}

.trust-content h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.trust-content p {
    margin-bottom: 1rem;
    color: #555;
    font-size: 1.1rem;
}

/* 聯絡與頁尾 (Footer) */
footer {
    background-color: #051d45; /* 更深的藍色 */
    color: var(--white);
    padding: 4rem 0 0 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-info p {
    opacity: 0.7;
}

.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-contact p {
    opacity: 0.7;
    margin-bottom: 1rem;
}

.contact-email {
    display: inline-block;
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    transition: var(--transition);
}

.contact-email:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.footer-bottom {
    background-color: #03122e;
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* 響應式設計 (RWD) */
@media (max-width: 768px) {
    .trust-container {
        flex-direction: column;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    nav ul {
        display: none; /* 行動版可自行擴充漢堡選單 */
    }
}

