/* 로컬 호스팅 폰트 - 성능 최적화된 버전 */

/* Pretendard - 메인 폰트 (변수 폰트 대신 정적 폰트 사용) */
@font-face {
    font-family: 'Pretendard';
    src: url('../fonts/Pretendard-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('../fonts/Pretendard-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Paperlogy - 제목용 폰트 */
@font-face {
    font-family: 'Paperlogy-8ExtraBold';
    src: url('../fonts/Paperlogy-8ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}


/* Nanum Myeongjo - 인사말/특별 섹션용 (TTF를 WOFF2로 변환 필요시 대체) */
@font-face {
    font-family: 'Nanum Myeongjo';
    src: url('../fonts/NanumMyeongjo-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nanum Myeongjo';
    src: url('../fonts/NanumMyeongjo-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Paperlogy-6SemiBold - 특별한 텍스트용 */
@font-face {
    font-family: 'Paperlogy-6SemiBold';
    src: url('../fonts/Paperlogy-6SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* 한글 폰트 스택 최적화 */
:root {
    --font-primary: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
    --font-heading: 'Paperlogy-8ExtraBold', var(--font-primary);
    --font-serif: 'Nanum Myeongjo', 'Noto Serif KR', serif;
    --font-special: 'Paperlogy-6SemiBold', var(--font-primary);
}
