/* ===================================페이지 공통 스타일 */
html, body {
  scroll-behavior: smooth;
}

/* ===================================Navigation 시작 */
nav {
  position: fixed;
  top: 53px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}

nav ul {
  display: flex;
  justify-items: center;
}

nav ul li {
  margin-left: 40px;
  font-family: "Red Hat Mono", monospace;
  color: #26290E;
  font-size: 1.3rem;
  cursor: pointer;
  padding-bottom: 10px;
}

nav ul li:nth-child(1) {
  margin: 0;
}

ul li.on::after {
  content: '';
  display: inline-block;
  width: 100%;
  height: 1.4px;
  background: #6C6A5D;
  position: relative;
  top: -12px;
}

/* ===================================About Me 섹션 */
#aboutWrap {

  padding: 111px 111px 30px 111px;
  background-color: #F7FFF7;
  color: #6C6A5D;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.profile-image {
  display: block;
  width: 400px;
  object-fit: cover;
  margin: 0 auto 40px auto;
}

.about-section {
  margin-bottom: 10px;
}

.about-header {
  text-align: center;
  margin-bottom:20px;
}

.about-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #6C6A5D;
  margin: 0;
}

.about-simple {
  max-width: 650px;
  margin: 0 auto;
}

.about-item {
  display: flex;
  margin-bottom: 15px;
  align-items: flex-start;
}

.about-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: #6C6A5D;
  min-width: 100px;
  margin-right: 30px;
}

.about-value {
  font-size: 1.1rem;
  font-weight: 500;
  color: #6C6A5D;
  line-height: 1.5;
  flex: 1;
}

/* ===================================Skills 섹션 */
#skillsWrap {
  padding: 120px 111px;
  background-color: #F0F8FF;
  color: #6C6A5D;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.skills-section {
  margin-bottom: 0px;
}

.skills-header {
  text-align: center;
}

.skills-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #6C6A5D;
  margin: 0;
}

.skills-container {
  padding-top: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.skill-category {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(108, 106, 93, 0.1);
}

.skill-category:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.category-icon {
  font-size: 1.5rem;
  min-width: 50px;
  text-align: center;
}

.category-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #6C6A5D;
  min-width: 150px;
  margin-right: 30px;
}

.skill-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex: 1;
}

.skill-badge {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.9rem;
  color: white;
  text-align: center;
  min-width: 70px;
}

/* 기술별 색상 */
.skill-badge.java { background-color: #007396; }
.skill-badge.js { background-color: #F7DF1E; color: black; }

.skill-badge.spring { background-color: #6DB33F; }
.skill-badge.springboot { background-color: #6DB33F; }
.skill-badge.mybatis { background-color: #B52E31; }
.skill-badge.jsp { background-color: #007396; }
.skill-badge.jdbc { background-color: #007396; }
.skill-badge.supabase { background-color: #3ECF8E; }

.skill-badge.html { background-color: #E34F26; }
.skill-badge.css { background-color: #1572B6; }
.skill-badge.react { background-color: #61DAFB; color: black; }
.skill-badge.jquery { background-color: #0769AD; }
.skill-badge.bootstrap { background-color: #7952B3; }

.skill-badge.sql { background-color: #336791; }
.skill-badge.oracle { background-color: #F80000; }
.skill-badge.postgresql { background-color: #4169E1; }
.skill-badge.aws { background-color: #232F3E; }
.skill-badge.git { background-color: #F05032; }
.skill-badge.github { background-color: #181717; }

.skill-badge.figma { background-color: #F24E1E; }
.skill-badge.ps { background-color: #31A8FF; }
.skill-badge.ai { background-color: #FF9A00; }

.skill-badge.jira { background-color: #0052CC; }

.borderCenter {
  border-bottom: 1px solid #6C6A5D;
  margin-top: auto;
}

/* 반응형 */
@media (max-width: 1024px) {
  .skill-category {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .category-title {
    min-width: auto;
    margin-right: 0;
  }
  
  #aboutWrap, #skillsWrap {
    padding: 0 50px;
  }
}

@media (max-width: 768px) {
  .skills-container {
    padding: 25px;
  }
  
  .about-item {
    flex-direction: column;
    gap: 5px;
  }
  
  .about-label {
    min-width: auto;
    margin-right: 0;
  }
}

/* ===================================슬라이더 공통 스타일 */
.slider-container {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 clamp(20px, 10vw, 180px);
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.4s ease-in-out;
}

.slide.active {
  opacity: 1;
  transform: translateX(0);
}

.slide.prev {
  opacity: 0;
  transform: translateX(-50px);
}

/* 슬라이드별 배경색 */
#fullStackWrap .slide:nth-child(1) { background: #F8F5FF; }
#fullStackWrap .slide:nth-child(2) { background: #FFF7ED; }
#fullStackWrap .slide:nth-child(3) { background: #E6F1FB; }

#webDesignWrap .slide:nth-child(1) { background: #E6F1FB; }
#webDesignWrap .slide:nth-child(2) { background: #F4ECF6; }
#webDesignWrap .slide:nth-child(3) { background: #F7F7F7; }

/* 프로젝트 공통 스타일 */
.project-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding-right: clamp(20px, 5vw, 50px);
  position: relative;
  z-index: 100;
}

.project-left h1 {
  color: #26290E;
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 500;
  margin-bottom: 20px;
}

.project-left h2 {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: bold;
  letter-spacing: -3px;
  margin-bottom: 30px;
}

.project-left h3 {
  font-size: clamp(2rem, 4vw, 3.44rem);
  line-height: 1.2;
  letter-spacing: -3px;
  margin-bottom: 60px;
}

.project-info {
  margin-bottom: 40px;
}

.project-info dl {
  display: flex;
  margin-bottom: 20px;
  align-items: center;
}

.project-info dt {
  margin-right: 15px;
  font-size: clamp(1rem, 1.5vw, 1.38rem);
  font-weight: bold;
  min-width: clamp(100px, 12vw, 120px);
}

.project-info dd {
  font-size: clamp(1rem, 1.5vw, 1.38rem);
  margin-right: 10px;
}

.project-buttons {
  display: flex;
  gap: 15px;
  position: relative;
  z-index: 300;
}

.project-buttons li a {
  display: block;
  font-size: clamp(0.7rem, 1vw, 0.88rem);
  color: #414141;
  width: clamp(90px, 10vw, 115px);
  line-height: 30px;
  text-align: center;
  border: 1px solid #868686;
  transition: all 0.3s;
  position: relative;
  z-index: 301;
}

.project-buttons li:hover a {
  color: #f2f2f2;
  background-color: #414141;
}

.project-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.project-right img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ===================================슬라이더 컨트롤 */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  width: 80px;
  height: 80px;
  transition: all 0.2s ease;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn .material-symbols-outlined {
  font-variation-settings:
    'FILL' 0,
    'wght' 200,
    'GRAD' -25,
    'opsz' 48;
  font-size: 64px;
  color: #6C6A5D;
  transition: all 0.2s ease;
}

.prev-btn {
  left: 80px;
}

.next-btn {
  right: 80px;
}

.slider-btn:hover .material-symbols-outlined {
  color: #26290E;
  transform: scale(1.2);
}

/* 슬라이더 인디케이터 */
.slider-indicators {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 200;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(108, 106, 93, 0.4);
  transition: all 0.3s ease;
}

.indicator.active {
  background: #6C6A5D;
  transform: scale(1.2);
}

.indicator:hover {
  background: rgba(108, 106, 93, 0.8);
}

.slide:not(.active) {
  pointer-events: none;
}

.slide.active {
  pointer-events: auto;
}