/* 글로벌 리셋 및 기본 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #f8f9fa;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 헤더 영역 */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #e9ecef;
    padding: 15px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    display: block;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav a.active {
    font-weight: bold;
    color: #007bff;
}

/* 메인 콘텐츠 영역 */
.main-content {
    padding: 40px 0;
}

.hero-section {
    text-align: center;
    padding: 60px 0;
    /* css 폴더(assets/css/) 기준으로 한 단계 상위의 images 폴더 경로 지정 */
    background-image: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    border-radius: 8px;
    margin-bottom: 40px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 20px;
}

/* 푸터 영역 */
.footer {
    background-color: #343a40;
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
    margin-top: auto;
}