/* 全局樣式 */
:root {
    --primary-color: #2c6e49;
    --secondary-color: #4c956c;
    --accent-color: #d68c45;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    color: #333;
    line-height: 1.6;
    position: relative;
    background-color: #f8f9fa;
}

/* 背景浮水印 */
body::before {
    content: "焌宥 0906-707-964";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5vw;
    color: rgba(0, 0, 0, 0.03);
    transform: rotate(-30deg);
    pointer-events: none;
    z-index: -1;
    white-space: nowrap;
    overflow: hidden;
}

/* 導航欄樣式 */
.navbar {
    background-color: var(--primary-color) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
}

/* 頁首樣式 */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem 0;
    position: relative;
}

.hero-section::after {
    content: "焌宥 0906-707-964";
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.hero-section h1 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-section .lead {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.contact-info {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffe066;
    margin-top: 1.5rem;
}

/* 區塊標題樣式 */
.section-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-divider {
    height: 4px;
    width: 80px;
    background-color: var(--accent-color);
    margin: 0 auto 2rem;
    border-radius: 2px;
}

.sub-title {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    border-left: 4px solid var(--accent-color);
    padding-left: 12px;
}

/* 圖片樣式 */
.area-image {
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.area-image:hover {
    transform: scale(1.02);
}

.area-image img {
    box-shadow: var(--box-shadow);
}

/* 表格樣式 */
.table-responsive {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.table {
    margin-bottom: 0;
}

.table-primary {
    background-color: var(--primary-color) !important;
    color: white;
}

/* 高亮框樣式 */
.highlight-box, .guide-box, .status-box, .conclusion-box {
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    margin-bottom: 1.5rem;
}

.highlight-box h4, .guide-box h4, .status-box h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.highlight-box ul, .guide-box ol, .status-box ul {
    padding-left: 1.2rem;
}

.highlight-box li, .guide-box li, .status-box li {
    margin-bottom: 0.5rem;
}

.conclusion-box {
    background-color: #e9f5db;
    border-left: 5px solid var(--primary-color);
}

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

/* 聯絡區塊樣式 */
.contact-box {
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.contact-info-large {
    margin: 2rem 0;
}

.contact-info-large p {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.contact-info-large .phone {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

/* 響應式調整 */
@media (max-width: 768px) {
    .hero-section .lead {
        font-size: 1.4rem;
    }
    
    .contact-info {
        font-size: 1.2rem;
    }
    
    .contact-info-large .phone {
        font-size: 1.6rem;
    }
    
    body::before {
        font-size: 8vw;
    }
}

/* 動畫效果 */
.area-image img, .highlight-box, .guide-box, .status-box {
    transition: all 0.3s ease;
}

.area-image img:hover {
    transform: translateY(-5px);
}

.highlight-box:hover, .guide-box:hover, .status-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* 頁尾浮水印 */
footer {
    position: relative;
}

footer::before {
    content: "焌宥 0906-707-964";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}
