/* SafeCase 기본 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Malgun Gothic', '맑은 고딕', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* 네비게이션 */
header {
    background-color: #1a3a5c;
    padding: 0 2rem;
}

header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    height: 70px;
    padding: 0 1rem;
}

.logo a {
    color: #fff;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
}

.logo-domain {
    font-size: 0.72rem;
    color: #a8bfd4;
    font-weight: 400;
    letter-spacing: 0.03em;
}

.logo-img {
    height: 42px;
    max-height: 42px;
    width: auto;
    display: block;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-menu a {
    color: #cdd8e3;
    text-decoration: none;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: #fff;
}

.nav-auth a {
    color: #cdd8e3;
    text-decoration: none;
    font-size: 0.9rem;
}

/* 메인 컨텐츠 */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
    min-height: calc(100vh - 180px);
}

/* 메시지 */
.messages {
    margin-bottom: 1rem;
}

.message {
    padding: 0.75rem 1rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

/* 히어로 섹션 */
.hero {
    text-align: center;
    padding: 4rem 0;
    background-color: #f0f4f8;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 2rem;
    color: #1a3a5c;
    margin-bottom: 1rem;
}

/* 푸터 */
footer {
    background-color: #1a3a5c;
    color: #cdd8e3;
    text-align: center;
    padding: 1.5rem;
    font-size: 0.85rem;
}

/* 페이지 제목 */
.page-title {
    font-size: 1.8rem;
    color: #1a3a5c;
    margin-bottom: 0.5rem;
    border-bottom: 3px solid #1a3a5c;
    padding-bottom: 0.5rem;
}

.page-desc {
    color: #666;
    margin-bottom: 1.5rem;
}

/* 섹션 */
.section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.3rem;
    color: #1a3a5c;
    margin-bottom: 1rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid #ddd;
}

.section-more {
    text-align: right;
    margin-top: 0.75rem;
}

.section-more a {
    color: #1a3a5c;
    font-size: 0.9rem;
    text-decoration: none;
}

/* 카드 그리드 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.card {
    background: #fff;
    border: 1px solid #dde3ea;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.card h2, .card h3 {
    color: #1a3a5c;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

/* 테이블 */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.data-table th, .data-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.95rem;
}

.data-table th {
    background-color: #1a3a5c;
    color: #fff;
}

.data-table tr:hover {
    background-color: #f5f8fb;
}

/* 자료실 목록 */
.resource-list {
    list-style: none;
}

.resource-list li {
    padding: 0.6rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.resource-date {
    color: #888;
    font-size: 0.85rem;
    white-space: nowrap;
}

/* 약력 */
.career-list {
    list-style: none;
}

.career-list li {
    padding: 0.6rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    gap: 1.5rem;
}

.career-year {
    font-weight: bold;
    color: #1a3a5c;
    min-width: 60px;
}

/* 버튼 */
.btn-primary {
    display: inline-block;
    background-color: #1a3a5c;
    color: #fff;
    padding: 0.7rem 1.8rem;
    border-radius: 4px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 1rem;
}

.btn-primary:hover {
    background-color: #14304d;
}

.btn-download {
    display: inline-block;
    background-color: #e8f0fe;
    color: #1a3a5c;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
}

.btn-download:hover {
    background-color: #c5d8f5;
}

/* 문의 폼 */
.inquiry-form {
    max-width: 800px;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #dde3ea;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group.full-width {
    margin-bottom: 1.2rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
}

.form-group input,
.form-group textarea {
    padding: 0.6rem 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: inherit;
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a3a5c;
    box-shadow: 0 0 0 2px rgba(26,58,92,0.15);
}

.required {
    color: #e74c3c;
}

.form-submit {
    text-align: center;
    margin-top: 1rem;
}

.empty-msg {
    color: #888;
    padding: 2rem;
    text-align: center;
}

/* 준비중 팝업 */
.popup-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.popup-box {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem 3rem;
    max-width: 460px;
    width: 90%;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.popup-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.popup-box h2 {
    font-size: 1.3rem;
    color: #1a3a5c;
    margin-bottom: 1rem;
}

.popup-box p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.popup-box strong {
    color: #1a3a5c;
}

.popup-check {
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
    color: #555;
}

.popup-check input {
    margin-right: 0.4rem;
    cursor: pointer;
}

/* 히어로 버튼 */
.hero .btn-primary {
    background-color: #fff;
    color: #1a3a5c;
    font-weight: bold;
}

.hero .btn-primary:hover {
    background-color: #e8f0fe;
}

