/* 전역 스타일 */
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fcfcfc;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 헤더 */
.main-header {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: -1px;
}

.logo span { color: #ff6b6b; }

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
}

nav a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
}

/* 히어로 섹션 */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #212529;
}

.hero p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 30px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    transition: 0.3s;
}

.btn-primary:hover { background: #ff6b6b; }

/* 포스트 그리드 */
.section-title {
    margin: 60px 0 30px;
    text-align: center;
    font-size: 2rem;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.post-card:hover { transform: translateY(-10px); }

.post-thumb {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
}

.post-info { padding: 25px; }

.post-date { font-size: 0.8rem; color: #adb5bd; }

.post-info h3 {
    font-size: 1.25rem;
    margin: 10px 0;
    line-height: 1.4;
}

.post-info p {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 20px;
}

.read-more {
    text-decoration: none;
    color: #ff6b6b;
    font-weight: bold;
    font-size: 0.9rem;
}

/* 푸터 */
.main-footer {
    background: #343a40;
    color: #fff;
    padding: 40px 0;
    text-align: center;
    margin-top: 80px;
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .hero h1 { font-size: 1.8rem; }
    .post-grid { grid-template-columns: 1fr; }
}