/* 品牌字體系統 */

/* 引入Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;700&family=Roboto:wght@400;500;700&display=swap');

/* 中文字體：優雅黑體 */
@font-face {
    font-family: 'YouYuan';
    src: url('../fonts/YouYuan.woff2') format('woff2'),
         url('../fonts/YouYuan.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* 設定字體層級 */
:root {
    --font-primary: 'YouYuan', 'Noto Sans TC', sans-serif;
    --font-secondary: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

/* 標題字體樣式 */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 1rem;
}

/* 正文字體樣式 */
body, p, div, span, a {
    font-family: var(--font-primary);
    line-height: 1.6;
}

/* 導航字體樣式 */
nav ul, nav li, nav a {
    font-family: var(--font-secondary);
    font-weight: 500;
}

/* 按鈕字體樣式 */
.btn {
    font-family: var(--font-secondary);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* 表單字體樣式 */
input, select, textarea, label {
    font-family: var(--font-primary);
}

/* 特殊元素字體樣式 */
.quote, .testimonial {
    font-family: var(--font-primary);
    font-style: italic;
}

/* 響應式字體大小 */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    body {
        font-size: 0.9rem;
    }
}