/* 기본 초기화 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pretendard', sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
}

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

/* 헤더 */
header {
    height: 80px;
    background: #fff;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 24px;
    color: #0056b3;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav ul li a {
    text-decoration: none;
    color: #444;
    font-weight: 500;
    font-size: 17px;
}

/* 메인 비주얼 */
.hero {
    height: 500px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('hero_bg.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero h2 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.btn-primary {
    padding: 12px 30px;
    background: #0056b3;
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
}

/* 카드 섹션 */
.services {
    display: grid;
    grid-template-columns: repeat(3, 1dfr);
    gap: 20px;
    margin-top: -50px;
}

.card {
    background: #fff;
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

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

.card .icon {
    font-size: 40px;
    margin-bottom: 15px;
}

/* 뉴스 섹션 */
.news {
    margin-top: 80px;
    padding-bottom: 80px;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.news-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eee;
}

.news-item .thumb {
    height: 180px;
    background-color: #ddd;
}

.news-item h4 {
    padding: 15px;
    font-size: 15px;
    height: 70px;
}

.news-item span {
    padding: 0 15px 15px;
    display: block;
    font-size: 12px;
    color: #888;
}