/**
 * 주식회사 옌 (YEN Corp) 웹사이트
 * 메인 스타일시트
 * 
 * @version 1.0.0
 * @author YEN Corp Development Team
 */

/* ===== CSS 변수 (색상 가이드라인) ===== */
:root {
    /* Primary Colors */
    --primary-color: #854E7A;
    --accent-color: #F9BF53;
    
    /* Secondary Colors */
    --secondary-wine: #77313D;
    --secondary-yellow: #F5D823;
    --secondary-olive: #9BB067;
    
    /* Neutral Colors */
    --bg-color: #f9fafc;
    --text-color: #333333;
    --secondary-text: #666666;
    --muted-text: #999999;
    --divider-color: #e9e0ea;
    
    /* Other Colors */
    /* 푸터 관련 변수는 footer.css로 이동 */
    --shadow-color: rgba(0, 0, 0, 0.05);
    --shadow-color-hover: rgba(0, 0, 0, 0.1);
}

/* ===== 초기화 ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

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

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

a:hover {
    color: var(--accent-color);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== 컨테이너 ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    flex: 1;
    padding: 0 15px;
}

/* ===== 그리드 시스템 ===== */
.col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

/* ===== 타이포그래피 ===== */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--secondary-text);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--accent-color); }
.text-wine { color: var(--secondary-wine); }
.text-yellow { color: var(--secondary-yellow); }
.text-olive { color: var(--secondary-olive); }
.text-muted { color: var(--muted-text); }

/* ===== 버튼 ===== */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-color);
}

.btn-primary:hover {
    background-color: var(--secondary-yellow);
    color: var(--text-color);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--secondary-wine);
    color: white;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-lg {
    padding: 12px 24px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* 헤더 스타일은 header.css로 분리 */

/* ===== 