/* ✅ HEADER 전체 영역 */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}


header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: white;
  z-index: 9999;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  
}

header .inner {
 width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ✅ 로고 */
header .logo img {
  width:280px; ;height: auto;
}

/* ✅ 오른쪽 영역 묶음 (메뉴 + 햄버거) */
.right-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  flex-shrink: 0;
}

/* ✅ 상단 메뉴 (ul.menu) */
.menu {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
}

.menu li {
  position: relative;
}

.menu > li > a {
  display: block;
  padding: 12px 0;
  color: #111;
  text-decoration: none;
}

/* ✅ 드롭다운 서브메뉴 */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  padding: 10px 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  min-width: 140px;
  z-index: 100;
  border-radius: 6px;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
}

.menu li:hover .submenu {
  display: block;
  opacity: 1;
  visibility: visible;
}

.submenu li a {
  padding: 8px 16px;
  display: block;
  color: #333;
  font-size: 14px;
  text-decoration: none;
  text-align: left;
}




