:root {
  --point: #167c95;         /* 메인 포인트 컬러 */
  --point-light: #f0f7f9;   /* 연한 배경용 */
  --text: #1f2937;
  --subtext: #484a50;
  --line: rgba(22, 124, 149, 0.15);
}

*{ box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Noto Sans KR", sans-serif;
  color: var(--text);
  font-size: 16px; /* 기본 폰트 살짝 조정 */
  line-height: 1.7;
  word-break: keep-all; /* 한글 가독성 향상 */
}

a{
  color: inherit;
  text-decoration: none;
}

.menu {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  background-color: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--point); /* 강조 라인 */
  padding: 14px 20px;
  justify-content: space-between; /* 양 끝 정렬 */
  align-items: center;
}

.brand{
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.6px;
  color: var(--point);
}

.brand a {
  font-size: 20px;
  font-weight: 900;
  color: var(--point) !important; /* 브랜드명 포인트 컬러 */
}

.nav{
  display: flex;
  gap: 18px;
}

.nav a{
  font-weight: 700;
  color: var(--point);
  padding: 6px 10px;
  border-radius: 10px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.nav a:hover {
  color: var(--point);
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 30px 20px;
}

.back-link{
  display: inline-block;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--point);
}

.bar {
  width: 60px;
  height: 4px;
  background-color: var(--point);
  margin: 15px 0;
}

.project-title {
  font-size: 28px; /* 모바일 고려하여 기본 크기 조정 */
  font-weight: 900;
  margin-bottom: 10px;
  line-height: 1.3;
}

.period{
  color: var(--subtext);
  margin-bottom: 18px;
}

.section-title{
  font-size: 20px;
  font-weight: 800;
  margin-top: 36px;
}

hr{
  border: none;
  border-top: 1px solid var(--line);
  margin: 12px 0 16px;
}


.tag-area {
  color: #393939;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;


}


.tag {
  display: inline-flex;
  align-items: center;
  background: var(--point-light);
  color: var(--point);
  border: 1px solid var(--point);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 13px;
  text-align: center;
  transition: background-color 0.5s ease;

}

.tag:hover {
  background-color: var(--point);
  color: var(--point-light);

}

.project-image{
  width: 100%;
  border-radius: 16px;
  margin: 24px 0;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.project-content {
  font-size: 20px;
  font-weight: 400;
  color: var(--subtext);
  display: block; /* 모바일에서 제목 아래로 떨어지게 */
  margin-top: 5px;
}

.footer{
  text-align: center;
  padding: 18px;
  font-size: 13px;
  color: #fff;
  background: #111827;
}

.fa-solid.fa-link {
  margin-top: 10px;
}

.click {
  cursor: pointer;
  background-color: var(--point); /* 버튼 배경색 변경 */
  font-weight: 700;
  padding: 7px 15px;
  font-size: 14px;
  color: white;
  border-radius: 0.5em;
  justify-content: center;
  text-align: center;
}

.link-click {
  animation: smooth-blink 1.5s infinite; /* 1.5초 동안 무한 반복 */
}

@keyframes smooth-blink {
  0% { opacity: 1; }   /* 시작: 선명함 */
  50% { opacity: 0; }  /* 중간: 투명함 */
  100% { opacity: 1; } /* 끝: 다시 선명함 */
}

@media (max-width: 768px) {
  .project-title { font-size: 24px; }
  .project-content { font-size: 18px; }

  /* 모바일에서 상단 정보 레이아웃 조정 */
  div[style*="display: flex; align-items: center"] {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 15px;
  }

  .nav { gap: 10px; font-size: 14px; }
}

/* 기존 애니메이션 및 이미지 유지 */
.project-image {
  width: 100%;
  border-radius: 12px;
  margin: 20px 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}