/* app.css */

/* 페이지 레이아웃 설정 */
.container {
    display: flex;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    gap: 2rem;
}

/* 사이드바 영역 */
.sidebar {
    flex: 0 0 280px;
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 2rem;
    height: fit-content;
}

/* 프로필 이미지 */
.profile-img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 1.5rem;
}

/* 이름 및 영문 이름 */
.name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
}

.name span {
    display: block;
    font-size: 0.95rem;
    font-weight: normal;
    color: #666;
}

/* 기본 정보 리스트 */
.info {
    list-style: none;
    font-size: 0.95rem;
    color: #333;
    padding-left: 0;
}

.info li {
    margin-bottom: 0.5rem;
}

.info a {
    color: #1e88e5;
    text-decoration: none;
}

/* 메인 콘텐츠 */
.main {
    flex: 1;
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

/* 앵커로 이동 시 고정 navbar에 안 가리도록 여백 추가 */
.portfolio-section {
  scroll-margin-top: 60px; /* navbar 높이보다 약간 더 여유롭게 설정 */
}

/* 소개 섹션 타이틀 - marker 효과 추가 */
.portfolio-section h2 {
    position: relative;
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #1e88e5; /* 밑줄 유지 */
    display: inline-block;
    padding-bottom: 0.3rem;
    z-index: 1; /* 텍스트가 형광펜 위로 오도록 */
}

.portfolio-section h2::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0.4rem; /* 텍스트보다 살짝 아래 */
    width: 100%;
    height: 0.8em;
    background: #d3e9ff; /* 형광펜 색상 */
    z-index: -1;
    opacity: 0.6;
    border-radius: 0.2em; /* 붓 느낌 부드럽게 */
}


.job .company-name {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

/* 소개 문단 스타일 */
.portfolio-section p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    color: #333;
    line-height: 1.7;
}

/* 강조 텍스트 */
.portfolio-section strong {
    font-weight: bold;
}

/* 링크 스타일 */
.portfolio-section a {
    color: #1e88e5;
    text-decoration: none;
}

/* 반응형 대응 */
@media screen and (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .sidebar {
        position: static;
        width: 100%;
    }

    .main {
        width: 100%;
    }
}

/* contact 섹션 스타일 */
.contact {
    margin-top: 2rem;
}

.contact h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
    border-bottom: 2px solid #1e88e5;
    padding-bottom: 0.3rem;
}

.contact ul {
    list-style: none;
    padding-left: 0;
}

.contact li {
    font-size: 1rem;
    color: #333;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact li i {
    font-size: 1.2rem;
    color: #1e88e5;
    margin-right: 0.8rem;
}

.contact li a {
    color: #1e88e5;
    text-decoration: none;
}

.contact li a:hover {
    text-decoration: underline;
}

/* job 섹션 스타일 */
.job {
    margin-bottom: 30px;
}

.job p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.5;
}

.job .company-name {
    font-weight: bold;
    font-size: 1.2rem;
}

.job .period {
    font-size: 0.8rem;
    color: #6c757d;
}

.job .period span {
    font-weight: bold;
    color: #495057;
}

.job .company-desc,
.job .project-desc,
.job .functions {
    font-size: 1rem;
    color: #343a40;
}

/* 역할 (role) 스타일 */

.role h4 {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    color: #343a40;
    margin-bottom: 12px;
    font-weight: 600;
}

.role ul {
    padding-left: 20px;
    list-style-type: disc;
}

.role ul li {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 8px;
}

.role ul li:last-child {
    margin-bottom: 0;
}

/* 반응형 대응 */
@media screen and (max-width: 768px) {
    .job p {
        font-size: 0.95rem;
    }

    .job .company-name {
        font-size: 1.1rem;
    }

    .job .period {
        font-size: 0.9rem;
    }

    .job .company-desc,
    .job .project-desc,
    .job .functions {
        font-size: 1rem;
    }

    .role h4 {
        font-size: 1.1rem;
    }

    .role ul li {
        font-size: 0.95rem;
    }
}

/* 학력 */

.education-item {
    border-left: 4px solid #adb5bd;
    padding-left: 16px;
    margin-bottom: 16px;
}

.school-name {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 8px;
    color: #212529;
}

.education-detail {
    list-style-type: disc;
    padding-left: 20px;
    margin: 0;
}

.education-detail li {
    margin-bottom: 4px;
    font-size: 14px;
    color: #495057;
}
.portfolio-section .section-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 16px;
    color: #343a40;
}

/* skills */
.portfolio-section .skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.portfolio-section .skill-category {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.portfolio-section .skill-category h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #495057;
}

.portfolio-section .skill-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.portfolio-section .skill-category ul li {
    margin-bottom: 6px;
    font-size: 14px;
    color: #212529;
}

.portfolio-section .articles .icon-pin {
    color: #e08aa5;
    margin-right: 6px;
}

.portfolio-section .articles ul {
    padding: 0;
    margin: 0;
    padding-left: 20px;
}

.articles ul li {
    font-size: 1rem;
    margin-bottom: 8px;
}

.portfolio-section .project {
    margin-bottom: 40px;
}

.project {
    display: flex;
}

.period-area{
    flex: 0 0 200px;
}

.period-area p {
    font-size: 1.3rem;
    font-weight: 600;
    color: #7d838a;
}

.project h4{
    font-size:1.5rem;
    font-weight: bold;
    margin-bottom: 12px;
    color: #495057;
}

.project ul {
    padding-left: 20px;
}

.project ul li {
    font-size: 1rem;
    margin-bottom: 8px;
}

/* 1. 찐한 글자 (Bold 강조) */
.em-bold {
  font-weight: bold;
  color: #343a40;
}

/* 2. 찐한 글자 + 형광펜 강조 */
/* 찐한 글자 + 하늘색 형광펜 느낌 강조 */
.em-highlight {
  position: relative;
  font-weight: bold;
  display: inline-block;
  z-index: 1;
  color: #343a40;
}

.em-highlight::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.15em; /* 텍스트 아랫부분만 덮도록 조정 */
  width: 100%;
  height: 0.6em; /* 살짝 덮는 형광펜 느낌 */
  background-color: #85c1f5; /* 하늘색 */
  z-index: -1;
  opacity: 0.4;
  border-radius: 2px;
}


/* 3. 찐한 글자 + 밑줄 강조 */
.em-underline {
  font-weight: bold;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  color: #343a40;
}

/* flow 관련 */
/* 공통 색상 변수 */
.flow-purple {
  --flow-main: #9f00ba;  /* 밝은 보라 */
  --flow-dark: #520060;  /* 진한 보라 */
  color: var(--flow-dark);
}

/* 질문 제목 */
.flow-q {
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: 1.5rem;
  color: var(--flow-main);
}

/* 찐한 글자 */
.flow-bold {
  font-weight: bold;
  color: var(--flow-dark);
}

/* 보라색 형광펜 강조 */
.flow-highlight {
  position: relative;
  font-weight: bold;
  color: var(--flow-dark);
  display: inline-block;
  z-index: 1;
}

.flow-highlight::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.15em;
  width: 100%;
  height: 0.4em;
  background-color: var(--flow-main);
  opacity: 0.35;
  z-index: -1;
  border-radius: 3px;
}

/* 보라색 밑줄 강조 */
.flow-underline {
  font-weight: bold;
  text-decoration: underline;
  text-decoration-color: var(--flow-main);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

#flow-h2-underline {
  position: relative;
  font-size: 1.5rem;
  margin-top: 0.3rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #9f00ba; /* 보라색 밑줄 */
  display: inline-block;
  padding-bottom: 0.3rem;
  z-index: 1; /* 텍스트가 형광펜 위로 */
}

#flow-h2-underline::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.4rem;
  width: 100%;
  height: 0.8em;
  background: #eecdf8; /* 보라색 형광펜 느낌 */
  z-index: -1;
  opacity: 0.6;
  border-radius: 0.2em;
}

.flow-q-marker {
  display: inline-block;
  font-weight: bold;
  color: #520060; /* 진한 보라 텍스트 */
  background-color: #f6e9fb; /* 연한 보라 배경 */
  padding: 0.2rem 0.5rem;
  border-radius: 0.5rem;
}

/* FlyBrief 서비스 바로가기 버튼 */
.flybrief-btn {
  display: inline-block;
  padding: 0.38em 1em;
  font-size: 0.98rem;
  font-weight: 500;
  color: #1e88e5;
  background: #f3f8fd;
  border: 1.5px solid #1e88e5;
  border-radius: 1.5em;
  box-shadow: none;
  transition: background 0.18s, color 0.18s, border 0.18s, transform 0.13s;
  text-align: center;
  text-decoration: none;
  margin-bottom: 0.5em;
  margin-top: 0.2em;
}
.flybrief-btn:hover, .flybrief-btn:focus {
  background: linear-gradient(90deg, #1e88e5 60%, #42a5f5 100%);
  color: #fff;
  border: 1.5px solid #1e88e5;
  transform: translateY(-1px) scale(1.03);
  text-decoration: none;
  outline: none;
}

.intro-subtitle {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 2em;
  margin-bottom: 0.5em;
  color: #2363a9;
  letter-spacing: 0.5px;
  text-align: left;
  position: relative;
}
