* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: pretendard, sans-serif;
  font-weight: 100;
  background-color: #fff;
  color: #000;
}
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: 1.2rem 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 {
  text-align: center; padding: 5rem 2rem 2rem;
}

.contact-info span {
  color: #888; font-size: 1rem;
}
.contact-info a {
  color: inherit; font-size: inherit; text-decoration: none;
}

#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;
}
footer {
  text-align: center; background-color: #000;
  font-size: 1rem; padding: 4rem; color: #fff;
}
footer a {
  color: white; text-decoration: none;
}




.contact {
  background-color: #fff; padding: 150px 40px 40px 40px; text-align: center;
    }
    .contact-section img {
      max-width: 400px;
      margin-bottom: 60px;
      align-items: center;
    }

    h2 {
      align-items: center;
      font-size: 36px;
      font-weight: 700;
      margin-bottom: 10px;
    }

.contact-section {
  background-color: #f5f5f5; padding: 10px 40px 80px 40px; text-align: center;
    }

   .contact-box {
      background-color: #fff;
      padding: 20px;
      margin: 20px auto;
      max-width: 500px;
      border-radius: 6px;
      font-size: 1.1rem;
    }

    .label {
      font-weight: 700;
      font-size: 20px;
      margin-top: 50px;
      margin-bottom: 20px;
    }

.contact-illustration {
  width: 100%;
  max-width: 420px;
  height: auto;
  margin-bottom: 40px;
}

/* 마우스 오버 효과 */
.contact-box.hover-effect {
  display: block;
  text-decoration: none;
  font-size: 1.1rem;
  transition: background-color 0.3s, color 0.3s, transform 0.3s;
  color: #000;
}

.contact-box.hover-effect:hover {
  background-color: #000;
  color: #fff;
  font-weight: 700;
  transform: scale(1.05);
}




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

.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;
}
