:root {
  --main-red: #a83232;
  --dark-gray: #333;
  --light-bg: #f7f7f7;
  --text: #222;
  --accent: #a83232;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
}

/* 전체 구조 */
body {
  margin: 0;
  display: flex;
  background: #f2f2f2 url('../yjh/yjh_gp_bg.png') repeat;
  background-size: cover;      /* 화면에 꽉 차게 */
  background-position: center; /* 중앙 정렬 */
  background-repeat: no-repeat;/* 반복 방지 */
  background-attachment: fixed;/* 스크롤해도 고정 */
  min-height: 100vh;
}

/* ===== 왼쪽 사이드바 ===== */
.sidebar {
  width: 120px;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
}

/* BACK 버튼 */
.back-btn {
  background: #444;
  color: white;
  border: none;
  border-radius: 24px;
  padding: 10px 18px;
  font-size: 14px;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: background 0.3s ease;
  text-decoration: none; /* 밑줄 제거하는 코드 */
}

.back-btn:hover {
  background: #666;
}

/* 원형 버튼 */
.circle-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 60px;
}

.circle-btns img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.circle-btns img:hover {
  transform: scale(1.08);
}

/* ===== 메인 콘텐츠 영역 ===== */
.content {
  margin-left: 160px; /* 사이드바 여백 */
  flex: 1;
  padding: 60px 80px;
  background: none;
  position: relative;
}

/* 프로젝트 영역 */
.project {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* 메인 이미지 */
.project-img img {
  max-width: 900px;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* 텍스트 영역 */
.text-area {
  text-align: left;
  max-width: 900px;
  margin-top: 40px;
}

.text-area h2 {
  font-size: 20px;
  color: var(--accent);
  letter-spacing: 1px;
}

.text-area h3 {
  font-size: 28px;
  font-weight: 700;
  margin: 10px 0 5px;
  color: var(--text);
}

.text-area .en {
  color: #777;
  font-size: 15px;
  margin-bottom: 20px;
}

.text-area .desc {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  border-top: 3px solid var(--main-red);
  padding-top: 20px;
}

/* TOP 버튼 */
.top-btn {
  position: fixed;
  bottom: 40px;
  right: 60px;
  background: #444;
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 10px 24px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.top-btn:hover {
  background: #666;
}