@charset "utf-8";

/* ============================================
   PC导航条 - 全新专业设计
   ============================================ */

/* === 基础容器 === */
#header-wrap.pc-hlmando-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  height: 90px;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.scrolled #header-wrap.pc-hlmando-header {
  background: rgba(0, 0, 0, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

#header-wrap.pc-hlmando-header #header {
  width: 100%;
  height: 90px;
  margin: 0;
  padding: 0 40px 0 32px;
  box-sizing: border-box;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
   margin: 0 auto;
    max-width: 1200px;
    position: relative;
}
#header{
    background:unset!important;
}
#header-wrap.pc-hlmando-header .pc-header-inner {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* === Logo区域 === */
.logo {
  width: 180px;
  height: 100%;
  float: none;
  text-align: left;
  flex-shrink: 0;
}

.pc-header-logo {
  display: inline-flex;
  align-items: center;
  height: 90px;
  transition: opacity 0.2s ease;
}

.pc-header-logo:hover {
  opacity: 0.85;
}

.pc-header-logo img {
  display: block;
  /*height: 38px;*/
  /*width: auto;*/
  /*max-width: 200px;*/
}

/* === 主导航区域 === */
.pc-header-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
}

#lnb {
  float: none;
  margin: 0 !important;
  background: transparent !important;
  line-height: normal !important;
  width: 100%;
}

#lnb > ul.depth1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#lnb > ul > li {
  float: none;
  display: block;
  height: 90px;
  line-height: 90px;
  padding: 0;
  margin: 0;
  position: relative;
}

#lnb > ul > li > a {
  display: block;
  height: 90px;
  line-height: 90px;
  padding: 0 20px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ffffff;
  text-decoration: none;
  position: relative;
  transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

/* 主菜单项悬停效果 */
#lnb > ul > li:hover > a,
#lnb > ul > li.is-open > a {
  color: #f57c00;
}

/* 主菜单项底部指示线 */
#lnb > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #f57c00, #f57c00);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px 2px 0 0;
}

#lnb > ul > li:hover > a::after,
#lnb > ul > li.is-open > a::after {
  transform: translateX(-50%) scaleX(1);
  width: 60%;
}

#lnb .arrow {
  display: none !important;
}

/* === 右侧工具区域 === */
.pc-header-utils {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}

.pc-header-auth {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pc-header-auth a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  box-sizing: border-box;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.pc-header-auth a:first-child {
  background: linear-gradient(135deg, #e53935, #c62828);
}

.pc-header-auth a:first-child:hover {
  background: linear-gradient(135deg, #f44336, #d32f2f);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.4);
}

.pc-header-auth a.btn2,
.pc-header-utils a.btn2 {
  background: linear-gradient(135deg, #ff9800, #f57c00) !important;
  color: #ffffff !important;
}

.pc-header-auth a.btn2:hover,
.pc-header-utils a.btn2:hover {
  background: linear-gradient(135deg, #ffa726, #ff9800) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.4);
}

/* === Mega Menu 下拉容器 === */
#lnb > ul > li > .depth2-wrap {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  top: 100%;
  width: auto;
  min-width: 200px;
  display: block;
  opacity: 0;
  visibility: hidden;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  padding: 8px 0;
  z-index: 1000;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

/* 여행코스菜单：全屏宽度，保持原有样式 */
#lnb > ul > li > .depth2-wrap.depth2-wrap-course {
  position: fixed;
  left: 0;
  right: 0;
  transform: translateY(-10px);
  width: 100%;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  padding: 32px 0 40px;
}

#lnb > ul > li:hover > .depth2-wrap,
#lnb > ul > li.is-open > .depth2-wrap {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* 여행코스菜单的transform */
#lnb > ul > li:hover > .depth2-wrap.depth2-wrap-course,
#lnb > ul > li.is-open > .depth2-wrap.depth2-wrap-course {
  transform: translateY(0);
}

/* === 通用二级菜单：垂直列表样式（黑色背景，在菜单项正下方） === */
.depth2:not(.depth2-course) {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}

.depth2:not(.depth2-course) > li {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  height: auto;
  line-height: 1.5;
  box-sizing: border-box;
  transition: background-color 0.2s ease;
}

.depth2:not(.depth2-course) > li:hover {
  background: rgba(255, 255, 255, 0.08);
}

.depth2:not(.depth2-course) > li > a {
  display: block;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
  text-align: center;
}

.depth2:not(.depth2-course) > li > a:hover {
  color: #f57c00;
  background: rgba(255, 255, 255, 0.1);
}

.depth2:not(.depth2-course) ul.depth3 {
  position: static !important;
  display: none !important;
  width: auto !important;
  border: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  list-style: none;
}

.depth2:not(.depth2-course) ul.depth3 > li {
  border-top: 0;
  background: transparent;
  height: auto;
  line-height: 1.6;
  padding: 0;
  margin: 0;
}

.depth2:not(.depth2-course) ul.depth3 > li > a {
  display: block;
  padding: 8px 24px 8px 40px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

.depth2:not(.depth2-course) ul.depth3 > li > a::before {
  display: none;
}

.depth2:not(.depth2-course) ul.depth3 > li > a:hover {
  color: #f57c00;
  background: rgba(255, 255, 255, 0.1);
  padding-left: 44px;
}

/* === 여행코스专用：瀑布流布局（由JS控制） === */
.depth2-course {
  display: block;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  /*padding: 0 50px;*/
  box-sizing: border-box;
  list-style: none;
  position: relative;
  min-height: 200px;
}

.depth2-course > li {
  position: absolute;
  width: 200px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  height: auto;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.depth2-course > li.masonry-ready {
  opacity: 1;
}

/* 隐藏空的菜单项 */
.depth2-course > li:empty,
.depth2-course > li.no-submenu:not([href]) {
  display: none;
}

.depth2-course > li > a {
  display: block;
  padding: 0 0 12px;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s ease;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
}

.depth2-course > li > a:hover {
  color: #f57c00;
  border-bottom-color: rgba(0, 212, 255, 0.3);
}

.depth2-course > li.no-submenu {
  padding-bottom: 0;
}

.depth2-course > li.no-submenu > a {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.depth2-course ul.depth3 {
  position: static !important;
  display: block !important;
  width: auto !important;
  border: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  list-style: none;
}

.depth2-course ul.depth3 > li {
  border-top: 0;
  background: transparent;
  height: auto;
  line-height: 1.8;
  padding: 8px 0 0;
  margin: 0;
}

.depth2-course ul.depth3 > li > a {
  display: block;
  padding: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
  padding-left: 0;
}

.depth2-course ul.depth3 > li > a::before {
  content: '→';
  display: inline-block;
  margin-right: 10px;
  color: rgba(255, 255, 255, 0.25);
  transition: all 0.2s ease;
  font-size: 12px;
}

.depth2-course ul.depth3 > li > a:hover {
  color: #f57c00;
  padding-left: 6px;
}

.depth2-course ul.depth3 > li > a:hover::before {
  color: #f57c00;
  transform: translateX(2px);
}

/* === 防止旧样式干扰 === */
#lnb > ul > li li {
  background: transparent;
  border-top: 0;
}

#lnb > ul > li > .depth2-wrap {
  height: auto !important;
}

/* === 响应式设计 === */
@media screen and (max-width: 1600px) {
  .depth2-course {
    /*padding: 0 40px;*/
  }
}

@media screen and (max-width: 1400px) {
  #header-wrap.pc-hlmando-header #header {
    padding: 0 32px 0 28px;
  }
  
  .depth2 {
    max-width: 1200px;
    padding: 0 40px;
  }
  
  .depth2-course {
    padding: 0 32px;
  }
}

@media screen and (max-width: 1200px) {
  #header-wrap.pc-hlmando-header #header {
    padding: 0 24px;
    /*display: none;*/
  }
  
  #lnb > ul > li > a {
    padding: 0 14px;
    font-size: 16px;
  }
  
  .depth2 {
    padding: 0 32px;
  }
  
  .depth2 > li {
    padding: 0 16px;
  }
  
  .depth2-course {
    padding: 0 24px;
  }
  
  .pc-header-auth a {
    padding: 0 18px;
    font-size: 13px;
  }
}

@media screen and (max-width: 1366px) {
  #header-wrap.pc-hlmando-header {
    height: 80px;
    /*display: none;*/
  }
  
  #header-wrap.pc-hlmando-header #header {
    height: 80px;
    padding: 0 20px;
  }
  
  #header-wrap.pc-hlmando-header .pc-header-inner {
    height: 80px;
  }
  
  .pc-header-logo {
    height: 80px;
  }
  
  .pc-header-logo img {
    height: 32px;
  }
  
  #lnb > ul > li {
    height: 80px;
    line-height: 80px;
  }
  
  #lnb > ul > li > a {
    height: 80px;
    line-height: 80px;
    padding: 0 12px;
    font-size: 15px;
  }
  
  #lnb > ul > li > .depth2-wrap {
    top: 80px;
    max-height: calc(100vh - 80px);
  }
  
  .depth2-course {
    padding: 0 20px;
  }
}
