/* ===== GLOBAL ===== */
body {
  font-family: 'Pretendard', 'Noto Sans KR', Arial, sans-serif;
  margin: 0;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

* {
  box-sizing: border-box;
}

/* ===== HEADER ===== */
.header {
  background: #fff;
  border-bottom: 1px solid #ddd; /* 전체 폭 구분선 */
  padding: 1rem 0;
}

.header .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 80px;
}

/* 메인 메뉴 */
.nav-menu {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-menu a {
  font-weight: 500;
  color: #333;
}

.nav-menu a:hover {
  text-decoration: underline;
}

/* 메뉴 활성화 */
.nav-menu a.active,
.nav-item.active > .nav-toggle {
  color: #614620;
  font-weight: 700;
}

/* 메뉴 토글 버튼 (모바일) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #333;
  font-size: 24px;
  cursor: pointer;
}

/* 드롭다운 메뉴 */
.nav-item {
  position: relative;
}

.nav-toggle {
  background: none;
  border: none;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  font-size: 16px;
}

.sub-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  min-width: 160px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 1000;
}

.sub-nav a {
  display: block;
  padding: 8px 12px;
  color: #333;
}

.sub-nav a:hover {
  background: #f5f5f5;
}

.sub-nav a.active {
  background: #f5f5f5;
  font-weight: 600;
}

/* 데스크톱: hover 시 표시 */
@media (min-width: 769px) {
  .nav-item:hover .sub-nav {
    display: block;
  }
}

/* 모바일 메뉴 및 서브 메뉴 */

/* ===== MAIN CONTENT ===== */
.content {
  padding: 20px;
}

.page-box {
  background: #fff;
  margin: 20px auto;
  padding: 20px;
  border-radius: 10px;
  max-width: 1200px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .page-box {
    margin: 10px;
    border-radius: 8px;
  }

  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 0;
    left: 0;
    padding: 10px 20px;
    display: none;
    border-top: 1px solid #ddd;
  }

  .nav-menu.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .sub-nav {
    position: static;
    border: none;
    box-shadow: none;
    margin-top: 5px;
    width: 100%;
  }

  .sub-nav a {
    padding: 8px 16px;
  }
}

.sub-content {
  flex: 1;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.global-sub-nav {
  display: flex;
  justify-content: center;
  background: #f9f9f9;
  border-bottom: 1px solid #ddd;
  gap: 20px;
  padding: 10px 0;
}

.global-sub-nav a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  padding: 8px 12px;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
}

.global-sub-nav a:hover {
  border-bottom: 3px solid #614620;
  color: #614620;
}

.global-sub-nav a.active {
  border-bottom: 3px solid #614620;
  color: #614620;
  font-weight: 600;
}

/* 모바일 대응 */
@media (max-width: 768px) {
  .global-sub-nav {
    flex-wrap: wrap;
    gap: 10px;
    padding: 8px;
  }

  .global-sub-nav a {
    flex: 1;
    text-align: center;
    border-bottom: 2px solid transparent;
    font-size: 13px;
  }
}



/* ===== FOOTER ===== */
.footer {
  background: #fff;
  border-top: 1px solid #ddd;
}

.footer .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 20px;
  text-align: center;
  font-size: 14px;
  color: #555;
}

/*==========오시는길=========*/

.root_daum_roughmap {
  margin: 20px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width:100%!important;
}

.map-links {
  margin: 15px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.map-btn {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 4px;
  text-decoration: none;
  color: #fff;
  font-size: 14px;
}

.map-btn.naver {
  background: #2DB400;
}

.map-btn.kakao {
  background: #F7E600;
  color: #000;
}
.hide {display:none!important;}

.root_daum_roughmap .cont {
	display:none!important;
}
/* 행사장 정보 카드 */
/* 행사장 정보 카드 */
.map-info-card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 15px 0;
  background: #f9f9f9;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

.info-item {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.info-item .label {
  font-weight: bold;
  margin-bottom: 4px;
}

.info-item .value {
  display: flex;
  align-items: center;
  gap: 5px;
}

.copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.copy-btn svg {
  width: 16px;
  height: 16px;
  color: #333;
}

.copy-btn:hover svg {
  color: #614620;
}

/* 지도 아이콘 */
.map-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.icon-with-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #333;
  width: 80px;
  text-align: center;
}

.icon-with-text svg {
  transition: transform 0.2s ease;
}

.icon-with-text svg:hover {
  transform: scale(1.1);
}

.transport-cards {
  display: flex;
  gap: 15px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.transport-card {
  flex: 1;
  min-width: 200px;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  color: #fff;
}

.transport-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* 카드 색상 매칭 */
.transport-card.subway {
  background: #614620;
}

.transport-card.bus {
  background: #2DB400;
}

.transport-card.parking {
  background: #6B7280;
}

.transport-card .icon img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1); /* 흰색으로 변환 */
}

.transport-card .text {
  display: flex;
  flex-direction: column;
}

.transport-card .text strong {
  font-size: 14px;
  color: #fff;
}

.transport-card .text p {
  margin: 2px 0 0;
  font-size: 13px;
  color: #f0f0f0;
}




/* ===================== */
/* 모바일 최적화 (max-width: 768px) */
/* ===================== */
@media (max-width: 768px) {
  .map-info-card {
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
  }

  .icon-with-text {
    width: 50%;
  }

  .map-icons {
    gap: 15px;
  }

  .transport-cards {
    flex-direction: column;
  }

  .transport-card {
    width: 100%;
  }
}
/* 사전주문 CTA: 배경색만 적용 (배지/애니메이션 없음) */
.nav-menu .nav-link.cta {
    display: inline-flex
;
    align-items: center;
    padding: .95rem .95rem;
    border-radius: 15px;
    font-weight: 700;
    line-height: 1;
    background: #e8c447;
    color: #614620 !important;
    text-decoration: none;
}

.nav-menu .nav-link.cta:hover,
.nav-menu .nav-link.cta:focus {
  background: #614620;     /* hover 색상 */
  text-decoration: none;
	color:#fff!important;
}

.nav-menu .nav-link.cta:active {
  transform: translateY(1px);
}


