/* 🍔 HAMBURGER BUTTON */
.hamburger.custom {
  width: 28px;
  height: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  z-index: 10000;
}



.hamburger.custom .bar {
  width: 100%;
  height: 3px;
  background-color: #333;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* 애니메이션 전용 열림 상태 */
.hamburger.custom.open .top {
  transform-origin: center;
  transform: rotate(55deg) translate(8px, 8px);
  background: #0a74ba;
}

.hamburger.custom.open .middle {
  opacity: 0;
}

.hamburger.custom.open .bottom {
  transform-origin: center;
  transform: rotate(-55deg) translate(8px, -8px);
  background: #19917d;
}



/* 색 기본값 */
.bar.top    { background: #0a74ba; } /* 파랑 */
.bar.middle { background: #19917d; } /* 청록 */
.bar.bottom { background: #19917d; } /* 초록 */
/* 🍔 HAMBURGER BUTTON  여기까지*/





/* 📱 MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .menu {
    display: none;
    flex-direction: column;
    background: white;
    color: #111;
    position: absolute;
    top: 80px;
    right: 20px;
    width: 220px;
    padding: 10px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
  }

  .menu.open {
    display: flex;
  }

  .menu li a {
    color: #111;
    text-align: left;
    padding: 10px 20px;
  }
}

/* 📦 MOBILE FULLSCREEN MENU (선택적 구조용) */
.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  right: 0;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: #fff;
  z-index: 9999;
  padding: 20px;
  overflow-y: auto;
  box-shadow: -2px 0 6px rgba(0,0,0,0.2);
}


.mobile-menu ul .section-title{
  color:#111;
}


.mobile-menu ul.sub {
  background: #f8f8f8;
  padding: 10px 15px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-weight: bold;
}

.mobile-menu ul.sub li {
  list-style: none;
  padding: 6px 0;
  font-weight: normal;
}

.mobile-menu ul.sub li a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

/* 스크롤바 스타일 (선택) */
.mobile-menu ul.sub::-webkit-scrollbar {
  width: 6px;
}
.mobile-menu ul.sub::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 3px;
}

.mobile-menu.open {
  display: block;
}