/* header 스타일 */
header {
  position: fixed;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  /* background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
}

.header-inner {
  /* max-width: 1280px; */
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.logo {
}

.logo img {
  width: auto;
  height: 40px;
}

.main-nav {
  display: flex;
  gap: 24px;
}

.main-nav a {
  font-size: 2em;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}

.main-nav a:hover {
  color: #00c2db;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: #1f2937;
  display: block;
}

/* 모바일 메뉴 */
/* 모바일 메뉴 */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: white;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease; /* 부드러운 투명도 */
}

.mobile-menu.hidden {
  opacity: 0;
  pointer-events: none;
}

.menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  font-size: 1.5rem;
  font-weight: 600;
}

.menu-content a.mobile-link {
  font-size: 20vw;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  font-weight: bold;
  background: none;
  border: none;
  color: #374151;
  cursor: pointer;
}

.mobile-link {
  text-decoration: none;
  color: #374151;
}

.mobile-link:hover {
  color: #26ebe4;
}

.icon-menu {
}

#menuToggle {
  display: none;
}

button#menuToggle .icon-menu {
  color: #fff;
  font-size: 2.5rem;
}
/*  */

/* 768px 이상일 때만 */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  #menuToggle {
    display: block;
  }
}
