/* 顏色定義 */
:root {
    --bg-color: #062d35;     /* 深藍綠色背景 */
    --gold: #c5a46d;         /* 金色主色 */
    --gold-light: #e2cfab;   /* 淺金色 */
    --text-main: #f5f5f5;    /* 主文字白色 */
    --text-dim: #a0b0b3;     /* 輔助文字灰 */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Noto Sans TC', sans-serif;
    line-height: 1.8;
}

/* 導覽列 */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(6, 45, 53, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
}

.nav-logo {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold);
}

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

nav ul li a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 30px;
    font-size: 0.9rem;
    transition: 0.3s;
}

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

/* 首頁 Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #0a434d 0%, #062d35 80%);
}

.main-logo {
    height: 180px; /* 放大 Logo 比例 */
    margin-bottom: 40px;
    /* 核心修正：讓帶白底的 Logo 融入背景 */
    mix-blend-mode: screen; 
    filter: brightness(1.1);
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--gold);
    line-height: 1.1;
    margin-bottom: 25px;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 40px;
    letter-spacing: 2px;
}

/* 按鈕 */
.btn {
    display: inline-block;
    padding: 12px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: 0.4s;
    margin: 0 10px;
}

.btn.primary {
    background-color: var(--gold);
    color: var(--bg-color);
}

.btn.secondary {
    border: 1px solid var(--gold);
    color: var(--gold);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(197, 164, 109, 0.3);
}

/* 通用區塊 */
.section {
    padding: 120px 5%;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 15px;
}

.line {
    width: 50px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto;
}

/* 服務卡片 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(197, 164, 109, 0.1);
    transition: 0.3s;
}

.service-card:hover {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.05);
}

.service-card .icon {
    font-size: 0.8rem;
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 2px;
}

/* 聯絡區塊 */
.contact-box {
    text-align: center;
    background: linear-gradient(145deg, #073a44, #05262d);
    padding: 80px 40px;
    border-radius: 30px;
    border: 1px solid rgba(197, 164, 109, 0.2);
}

.email-link {
    display: block;
    font-size: clamp(1.2rem, 4vw, 2.5rem);
    color: var(--gold);
    text-decoration: none;
    margin-top: 30px;
    font-weight: 700;
    transition: 0.3s;
}

.email-link:hover {
    color: var(--gold-light);
    letter-spacing: 1px;
}

footer {
    text-align: center;
    padding: 40px;
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* 響應式調整 */
@media (max-width: 768px) {
    .nav-container { padding: 0 20px; }
    nav ul { display: none; } /* 手機端建議收起導覽列或改用漢堡選單 */
    .hero h1 { font-size: 2rem; }
    .main-logo { height: 120px; }
}