/* 전역 초기화 및 폰트 설정 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Noto Sans KR', 'Poppins', sans-serif;
    background-color: #0b0f19; /* 깊은 다크 테마 배경 */
    color: #e2e8f0;
    line-height: 1.6;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 그리드 & 레이아웃 유틸리티 */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }

/* 포인트 컬러 변수 정의 (아보카도 라임 그린) */
:root {
    --point-color: #8ce600; 
    --bg-card: #161e2e;
}

/* 네비게이션 헤더 */
header {
    background-color: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #1e293b;
}
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

/* [업데이트] 이미지 없이 코드로 동작하는 SVG 로고 레이아웃 */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}
.logo a:hover {
    transform: scale(1.03);
}
.logo-svg {
    height: 64px;  /* 로고 아이콘 세로 크기 */
    width: auto;
}
.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--point-color);
}

nav a {
    color: #94a3b8;
    text-decoration: none;
    margin-left: 25px;
    font-size: 15px;
    transition: 0.3s;
}
nav a:hover { color: var(--point-color); }

/* 섹션 공통 스타일 */
section { padding: 100px 0; }
section h2 {
    font-size: 36px;
    margin-bottom: 40px;
    font-weight: 700;
}
section h2 span { color: var(--point-color); }
.section-subtitle {
    color: #64748b;
    margin-top: -30px;
    margin-bottom: 50px;
    font-size: 16px;
}

/* 1. 히어로 섹션 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 20%, rgba(140, 230, 0, 0.06), transparent 45%);
}
.badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(140, 230, 0, 0.1);
    color: var(--point-color);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}
.hero h1 {
    font-size: 48px;
    line-height: 1.3;
    margin-bottom: 20px;
}
.hero h1 span { color: var(--point-color); }
.hero p {
    font-size: 18px;
    color: #94a3b8;
    margin-bottom: 40px;
}
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--point-color);
    color: #0b0f19;
    text-decoration: none;
    font-weight: 700;
    border-radius: 6px;
    transition: 0.3s;
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(140, 230, 0, 0.2);
}

/* 2. 소개 섹션 */
.about { background-color: #0f172a; }
.about p { font-size: 17px; color: #94a3b8; margin-bottom: 20px; }

/* 3. 기술 스택 섹션 */
.tech-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #1e293b;
    transition: 0.3s;
}
.tech-card:hover {
    border-color: var(--point-color);
    transform: translateY(-5px);
}
.tech-card h3 { color: var(--point-color); margin-bottom: 15px; font-size: 20px; }
.tech-card h3 i { margin-right: 8px; }
.tech-card ul { list-style: none; }
.tech-card ul li { margin-bottom: 10px; color: #cbd5e1; font-size: 15px; }

/* 4. 경력 타임라인 */
.timeline {
    border-left: 2px solid #1e293b;
    padding-left: 30px;
    margin-left: 10px;
}
.timeline-item {
    position: relative;
    margin-bottom: 50px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -37px;
    top: 5px;
    width: 12px;
    height: 12px;
    background-color: #1e293b;
    border: 2px solid #0b0f19;
    border-radius: 50%;
    transition: 0.3s;
}
.timeline-item.현재::before {
    background-color: var(--point-color);
    box-shadow: 0 0 10px var(--point-color);
}
.time { font-weight: 700; color: #64748b; margin-bottom: 5px; font-family: 'Poppins', sans-serif; }
.timeline-item.현재 .time { color: var(--point-color); }
.content h3 { font-size: 20px; margin-bottom: 8px; }
.content h3 span {
    font-size: 15px;
    color: #94a3b8;
    font-weight: 400;
    margin-left: 8px;
}
.task {
    color: #cbd5e1;
    font-weight: 700;
    margin: 6px 0;
    font-size: 16px;
}
.desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}
.timeline-item.현재 .desc {
    color: #94a3b8;
}

/* 푸터 */
footer {
    background-color: #0b0f19;
    padding: 40px 0;
    border-top: 1px solid #1e293b;
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

/* 반응형 레이아웃 */
@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; gap: 20px; }
    .hero h1 { font-size: 32px; }
    section { padding: 60px 0; }
}
