:root {
  --site-header-bg: transparent; /* 완전 투명 */
  --site-header-border: transparent;
  --site-header-text: #ffffff;
  --site-header-text-hover: #00cccc; /* 에이프레임 시그니처 시안 */
  --site-header-menu-bg: rgba(17, 17, 17, 0.95);
  --site-header-menu-shadow: rgba(0, 0, 0, 0.5);
}

/* 로고 스타일링 (에이프레임 스타일 32px 볼드) */
.a-frame-logo {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 2rem;
  letter-spacing: -0.02em;
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  transition: opacity 0.2s ease;
}

.a-frame-logo:hover {
  opacity: 0.85;
}

.a-frame-logo .upper {
  text-transform: uppercase;
}

.a-frame-logo .lower {
  text-transform: lowercase;
}

/* 헤더 래퍼: 완전 투명 & 보더 없음 */
.a-frame-nav {
  width: 100%;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.a-frame-nav nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 85px;
  min-height: 85px;
  gap: 0.5rem;
}

.a-frame-nav nav > a,
.a-frame-nav nav > .a-frame-dropdown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 85px;
  min-height: 85px;
  line-height: 1;
  margin: 0;
  padding: 0;
}

/* 네비게이션 대메뉴 텍스트: 에이프레임 스타일 (17~18px, 볼드, 시안 호버) */
.a-frame-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 85px;
  min-height: 85px;
  line-height: 1;
  position: relative;
  color: #ffffff;
  letter-spacing: 0.06em;
  font-size: 1.1rem; /* 큼직한 메뉴 텍스트 */
  font-weight: 800;
  text-transform: uppercase;
  font-family: 'Noto Sans KR', sans-serif;
  padding: 0 24px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
  transition: color 0.25s ease, transform 0.2s ease;
}

.a-frame-nav a:hover,
.a-frame-nav a:focus-visible {
  color: var(--site-header-text-hover) !important;
}

/* 드롭다운 메뉴 래퍼 */
.a-frame-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 85px;
  min-height: 85px;
  padding: 0;
  margin: 0;
  z-index: 10;
}

.a-frame-dropdown > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 85px;
  min-height: 85px;
  padding: 0 24px;
  margin: 0;
}

.a-frame-dropdown:hover,
.a-frame-dropdown:focus-within {
  z-index: 20;
}

/* 서브 드롭다운 패널: 에이프레임 다크 서식 */
.a-frame-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 200px;
  padding: 8px 0;
  background: var(--site-header-menu-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px var(--site-header-menu-shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  border-radius: 8px;
}

.a-frame-dropdown:hover .a-frame-dropdown-menu,
.a-frame-dropdown:focus-within .a-frame-dropdown-menu,
.a-frame-dropdown-menu:hover,
.a-frame-dropdown-menu:focus-within {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.a-frame-dropdown-menu a {
  display: block;
  height: auto !important;
  min-height: auto !important;
  padding: 12px 22px;
  color: #aaaaaa;
  letter-spacing: 0;
  font-size: 0.95rem; /* 서브메뉴 가독성 강화 */
  font-weight: 600;
  text-transform: none;
  white-space: nowrap;
  text-shadow: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.a-frame-dropdown-menu a:hover,
.a-frame-dropdown-menu a:focus-visible {
  background: #222222 !important;
  color: var(--site-header-text-hover) !important;
}

@media (max-width: 767px) {
  .a-frame-nav a {
    font-size: 0.95rem;
    padding: 0 12px;
  }
}
