/* 全局樣式 */
body {
    font-family: "Microsoft JhengHei", Arial, sans-serif;
}

/* 語言選擇欄 */
.language-bar {
    font-size: 0.9rem;
}

.language-bar a {
    color: #666;
    text-decoration: none;
}

.language-bar a:hover {
    color: #000;
}

/* 導航欄 */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.nav-link {
    font-weight: 500;
}

/* 主視覺區域 */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
}

/* 服務卡片 */
.card {
    transition: transform 0.3s;
    border: none;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.card:hover {
    transform: translateY(-5px);
}

/* 最新消息 */
.news-date {
    color: #666;
    margin-right: 15px;
}

.news-title {
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

.news-title:hover {
    color: #007bff;
}

/* 重要新聞樣式 */
.list-group-item-warning .news-date {
    color: #856404;
}

.list-group-item-warning .news-title {
    color: #856404;
    font-weight: 500;
}

/* 頁尾 */
footer {
    font-size: 0.9rem;
}

footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* 響應式調整 */
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
    }
}

/* 公司名稱樣式 */
.company-name {
    font-size: 1.2rem;
    font-weight: 500;
    color: #333;
}

@media (max-width: 768px) {
    .company-name {
        font-size: 1rem;
    }
}

/* 新聞模態框樣式 */
#newsModalContent {
    white-space: pre-line;
    line-height: 1.6;
}

.modal-body {
    max-height: 70vh;
    overflow-y: auto;
} 