/* TailwindCSS 커스텀 설정 - CDN 모드용 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@300;400;500;600;700&family=Noto+Sans+KR:wght@300;400;500;600;700&display=swap');

/* 모든 기존 폰트 강제 덮어쓰기 */
*, 
*::before, 
*::after,
html, 
body,
h1, h2, h3, h4, h5, h6,
p, span, div, a, button, input, textarea, select {
  font-family: 'Noto Sans', 'Noto Sans KR', sans-serif !important;
}

/* 햄버거 버튼 애니메이션 */
#mobile_menu_btn,
#mobile_menu_close {
  background: transparent !important;
  border: none !important;
  outline: none !important;
}

#mobile_menu_btn.menu-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
#mobile_menu_btn.menu-open span:nth-child(2) {
  opacity: 0;
}
#mobile_menu_btn.menu-open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* 모바일 메뉴 arrow */
.mobile-menu-arrow {
  display: block;
  width: 12px;
  height: 12px;
  border-right: 2px solid #fff;
  border-top: 2px solid #fff;
  transform: rotate(135deg);
  transition: transform 0.2s ease-out;
}
.mobile-menu-item.open .mobile-menu-arrow {
  transform: rotate(-45deg);
}

/* 모바일 서브메뉴 */
.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}
.mobile-menu-item.open .mobile-submenu {
  max-height: 300px;
}

/* LangOverlay */
#LangOverlay .close {
  position: absolute;
  top: 28px;
  right: 20px;
  color: #fff;
  font-size: 24px;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  cursor: pointer;
}
@media (max-width: 1023px) {
  #LangOverlay {
    padding: 20px;
  }
  #LangOverlay .content {
    row-gap: 40px;
    padding-top: 60px;
  }
  #LangOverlay .content h3 {
    font-size: 24px;
  }
}

/* 컴포넌트 */
.btn-primary {
  background-color: #2563eb;
  color: white;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  transition: background-color 0.2s;
}
.btn-primary:hover {
  background-color: #1d4ed8;
}

.btn-secondary {
  background-color: #e5e7eb;
  color: #1f2937;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  transition: background-color 0.2s;
}
.btn-secondary:hover {
  background-color: #d1d5db;
}

.card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
}

.input-field {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
}
.input-field:focus {
  outline: none;
  box-shadow: 0 0 0 2px #3b82f6;
  border-color: transparent;
}

.container-responsive {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 1024px) {
  .container-responsive {
    padding: 0 2rem;
  }
}
