* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: pretendard, sans-serif;
  font-style: normal;
  font-weight: 100;
  color: #000;
  background-color: #fff;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  z-index: 2000;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: flex;
  justify-content: space-between; /* ✅ 핵심: 양쪽 끝으로 정렬 */
  align-items: center;
}

button.hamburger {
  all: unset; /* 기본 버튼 스타일 제거 */
  width: 28px;
  height: 30px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
}

button.hamburger span {
  position: absolute;
  width: 100%;
  height: 4px;
  background-color: black;
  left: 0;
  transition: 0.3s ease;
  border-radius: 2px;
}
button.hamburger span:nth-child(1) { top: 0; }
button.hamburger span:nth-child(2) { top: 10px; }
button.hamburger span:nth-child(3) { top: 20px; }

.menu-open button.hamburger span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
  background: white;
}
.menu-open button.hamburger span:nth-child(2) {
  opacity: 0;
}
.menu-open button.hamburger span:nth-child(3) {
  transform: rotate(-45deg);
  top: 10px;
  background: white;
}

.menu-open header {
  background-color: rgba(0, 0, 0, 0.01);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 500vh;
  width: 100vw;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 999;
}

.menu-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 250px;
  height: 100vh;
  background-color: #000;
  color: white;
  padding: 100px 40px;
  transition: right 0.3s ease;
  z-index: 1000;
}

.menu-panel a {
  display: block;
  margin: 10px 0;
  text-decoration: none;
  font-size: 1.8rem;
  color: white;
}

.menu-panel a:hover {
  color: #d01a6f;
}

.menu-open .menu-panel {
  right: 0;
}

.menu-open .overlay {
  opacity: 1;
  pointer-events: auto;
}






.hero {
  background-color: #000;
  text-align: center;
  padding: 11rem 2rem 2rem;
}

.hero-logo {
  width: 100%;
  max-width: 600px; /* 데스크탑에서 최대 크기 제한 */
  height: auto;
}



@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}



.who-we-are {
  max-width: 1000px;
  margin: 100px auto;
  padding: 0 20px;
  text-align: center;
}

.who-we-are h2 {
  font-size: 36px;
  margin-bottom: 50px;
}

.who-we-are p {
  font-size: 20px;
  line-height: 1.8;
}

.what-we-do {
  background-color: #f5f5f5;
  padding: 100px 40px;
  text-align: center;
}

.what-we-do h2 {
  font-size: 36px;
  margin-bottom: 50px;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 3fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.service {
  background: #000;
  color: #fff;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

.service img {
  width: 100%;
  height: auto;
  opacity: 1;
  display: block;
  transition: filter 0.3s ease;
}

.service:hover img {
  opacity: 0.5;
  filter: blur(7px); /* 블러 효과 적용 */
}

.service-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  padding: 0.1rem;
  text-align: center;
}

.service-text h3 {
  font-size: 32px;
  margin-bottom: 24px;
}

.service-text p {
  font-size: 22px;
  line-height: 1.4;
}








@media (max-width: 1024px) {
  
}
@media (max-width: 680px) {
  
}

@media (max-width: 768px) {
  .hero-logo {
    max-width: 600px;
  }
}

@media (max-width: 480px) {
  .hero-logo {
    max-width: 450px;
  }
}


#topBtn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 1001;
  background-color: #222;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#topBtn:hover {
  opacity: 1;
  transform: scale(1.1);
}

#topBtn.hide {
  opacity: 0;
  pointer-events: none;
}

#topBtn svg {
  width: 24px;
  height: 24px;
}





/* ===== PROCESS SECTION ===== */
.process {
  padding: 100px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.process h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
}

.process-step {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 40px;
  padding: 0 10px;
}

.process-step.reverse {
  flex-direction: row-reverse;
}

.process-step.reverse .text {
  margin-left: 5%;
}


/* 제목 영역 */
.process-step .title {
  flex: 0 0 240px;
  display: flex;
  align-items: center;
}

.process-step .title h3 {
  font-size: 1.6rem;
  margin: 0;
  white-space: nowrap;
}

/* 설명 영역 */
.process-step .desc {
  flex: 1 1 auto;
  display: flex;
  align-items: center; /* 설명글도 수직 가운데 정렬 */
}

.process-step .desc p {
  margin: 0;
  line-height: 1.6;
  font-size: 1.2rem;
}

.process-step .icon {
  flex: 0 0 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 50px;

}

.process-step .icon img {
  width: 100%;
  max-width: 80px;
  height: auto;
}


.process-step:last-child .connector-line {
  display: none;
}

.connector-line {
  height: 1px;
  background-color: #ccc;
  margin: 60px auto;
  width: 100%;
  max-width: 1000px;
}



/* 반응형 - 작은 화면 (680px 이하)에서 가운데 정렬 */
@media screen and (max-width: 680px) {
  .process-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    margin-bottom: 20px;
    padding: 0;
  }

  .process-step .title {
    flex: none !important;       /* flex 고정폭 해제 */
    width: auto !important;      /* 폭을 콘텐츠에 맞춤 */
    display: block !important;   /* flex → block */
    margin: 0 auto !important;   /* 가운데 정렬 유지 */
    padding: 0 !important;
  }
  .process-step .icon,
  .process-step .desc {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .process-step .title h3 {
    font-size: 1.4rem;
    margin: 0;
    line-height: 1.3;
    text-align: center;
  }

  .process-step .desc p {
    font-size: 1.2rem;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    display: block;
  }

  /* 요소 사이 간격 강제로 줄이기 */
  .process-step .title {
    margin-bottom: 0.3rem;
  }

  .process-step .desc {
    margin-top: 0;
  }
}


@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}



footer {
  text-align: center; background-color: #000;
  font-size: 1rem; padding: 4rem; color: #fff;
}
footer a {
  color: white; text-decoration: none;
}

@media (max-width: 680px) {
  .menu-panel {
    width: 60%;
  }
}

.contact-info span {
  color: #888;         /* 원하는 색상으로 변경 가능 */
  font-size: 1rem;     /* 원하는 크기로 변경 가능 */
}

.contact-info a {
  color: inherit;      /* 상속받게 하여 색상을 같게 함 */
  font-size: inherit;  /* 크기도 같게 함 */
  text-decoration: none;  /* 필요 시 밑줄 제거 */
}


.menu-open .logo img {
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

@media (max-width: 768px) {
  .menu-open .menu-panel {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    text-align: center;
  }

  .menu-panel a {
    color: white;
    font-size: 1.8rem;
    margin: 1.2rem 0;
    text-align: center;
  }

  .menu-open .logo img {
    filter: brightness(0) invert(1);
  }

  .menu-open button.hamburger span {
    background-color: white;
  }
}

.menu-open .logo img {
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}
