/* Custom Font - 온글잎 바닷바람 */
@font-face {
    font-family: 'OngleIpSeaBreeze';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2510-1@1.0/Ownglyph_the_sea_breeze-Rg.woff2') format('woff2');
    font-weight: normal;
    font-display: swap;
}

/* Custom Font - 일본어 폰트 (851MkPOP) */
@font-face {
    font-family: 'JapaneseFont';
    src: url('../assets/fonts/KleeOne-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* CSS Reset / Normalize */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 21px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'OngleIpSeaBreeze', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #faf8f5;
    overflow-x: hidden;
}

/* CSS Variables - 따뜻한 감성 컬러 팔레트 */
:root {
    /* Primary Colors */
    --primary-color: #8B6F47;
    --primary-light: #A6895F;
    --primary-dark: #6B5535;
    
    /* Background Colors */
    --bg-primary: #faf8f5;
    --bg-secondary: #f5f2ed;
    --bg-envelope: #e8e3d9;
    
    /* Text Colors */
    --text-primary: #333;
    --text-secondary: #666;
    --text-light: #999;
    
    /* Paper Colors */
    --paper-color: #fffef9;
    --paper-shadow: rgba(0, 0, 0, 0.1);
    
    /* Accent Colors */
    --accent-warm: #d4a574;
    --accent-soft: #f0e6d6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Responsive Base Settings */
@media (max-width: 768px) {
    html {
        font-size: 19px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 18px;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}

