/* YT 심리발달 아카데미 Custom Stylesheet */
/* Design Tone: Natural Warm Organic & Healing Aesthetic (자연안에한의원 스타일 무드) */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Noto+Serif+KR:wght@300;400;500;600;700&display=swap');

:root {
  --color-nature-page: #F4F3EC;
  --color-nature-card: #FAF9F5;
  --color-nature-section: #ECEBE4;
  --color-nature-line: #D8D6CC;
  --color-nature-border: #CDC9BC;
  --color-nature-sage: #7D955E;
  --color-nature-forest: #2C3322;
  --color-nature-earth: #51442E;
  --color-nature-gold: #C59141;
  --color-nature-text: #1C1E18;
  --color-nature-sub: #5F6156;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;
}

body {
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;
}

/* Pretendard Font fallback and base styles */
body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  word-break: keep-all;
  color: #1C1E18;
  background-color: #F4F3EC;
  -webkit-font-smoothing: antialiased;
  font-size: 1rem; /* 16px = 12pt 기본 */
  line-height: 1.6;
}

/* 12pt 표준 가독성 타이포그래피 스케일 */
/* 본문 설명글: 16px (12pt), 보조 배지/태그: 최소 14~15px */
.text-2xs, .text-\[9px\], .text-\[10px\], .text-\[11px\], .text-\[12px\] {
  font-size: 0.875rem !important; /* 최소 14px */
  line-height: 1.45 !important;
}

.text-xs {
  font-size: 0.9375rem !important; /* 15px = ~11.5pt */
  line-height: 1.5 !important;
}

.text-sm {
  font-size: 1rem !important; /* 16px = 12pt 표준 */
  line-height: 1.6 !important;
}

.text-base {
  font-size: 1.0625rem !important; /* 17px */
  line-height: 1.65 !important;
}

/* 드롭다운 메뉴 글자 크기 가독성 강화 (15~16px) */
.nav-dropdown a {
  font-size: 0.9375rem !important; /* 15px */
  line-height: 1.5 !important;
}

.font-cormorant {
  font-family: 'Cormorant Garamond', 'Noto Serif KR', serif;
}

.category-tag {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}

/* J-Min / Yonseitree Dropdown Transitions */
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Banner Zoom Effect */
.card-hover-zoom:hover .zoom-target {
  transform: scale(1.04);
}
.zoom-target {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Subtle Shimmer & Glow */
.gold-shimmer {
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  background-size: 200% 100%;
}

/* Custom Scrollbar for Modal and Lists */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Accordion transition helper */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, opacity 0.3s ease-out;
  opacity: 0;
}
.faq-answer.open {
  max-height: 500px;
  opacity: 1;
}

/* Badge pulse */
@keyframes pulse-subtle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
.badge-pulse {
  animation: pulse-subtle 2s infinite ease-in-out;
}


@media (max-width: 640px) {
  html {
    scroll-padding-top: 4rem;
  }
}


/* ============================================================
   Compact & Subdued Footer Styles (모바일/데스크톱 하단 축소 디자인)
   ============================================================ */
.site-footer {
  font-size: 11px !important;
  line-height: 1.55 !important;
  color: #828078 !important;
  background-color: #1A1E14 !important;
  border-top: 1px solid #282E20 !important;
  padding-top: 1.75rem !important;
  padding-bottom: 1.75rem !important;
}

@media (min-width: 640px) {
  .site-footer {
    padding-top: 2.25rem !important;
    padding-bottom: 2.25rem !important;
  }
}

.site-footer .footer-brand-title {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #C2BFB2 !important;
  line-height: 1.2 !important;
}

.site-footer .footer-brand-sub {
  font-size: 10px !important;
  color: #6E8453 !important;
  letter-spacing: 0.05em !important;
  line-height: 1.1 !important;
}

.site-footer .footer-desc {
  font-size: 11px !important;
  line-height: 1.5 !important;
  color: #828078 !important;
}

.site-footer .footer-section-title {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #B2AFA2 !important;
  line-height: 1.3 !important;
}

.site-footer .footer-info-text,
.site-footer .footer-info-text p,
.site-footer .footer-info-text span {
  font-size: 11px !important;
  line-height: 1.55 !important;
  color: #828078 !important;
}

.site-footer .footer-info-label {
  color: #9E9C91 !important;
  font-weight: 500 !important;
}

.site-footer .footer-info-text a {
  color: #A8A599 !important;
  text-decoration: none !important;
}

.site-footer .footer-info-text a:hover {
  color: #D8D6CC !important;
  text-decoration: underline !important;
}

.site-footer .footer-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  font-size: 10.5px !important;
  line-height: 1 !important;
  padding: 3px 7px !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  transition: all 0.15s ease !important;
}

.site-footer .footer-copy {
  font-size: 10.5px !important;
  color: #605E57 !important;
  line-height: 1.4 !important;
}

.site-footer .footer-copy a {
  color: #7A7870 !important;
  text-decoration: none !important;
}

.site-footer .footer-copy a:hover {
  color: #A8A599 !important;
}

/* ============================================================
   Header Scroll Transparency (스크롤 다운 시 투명 글래스모피즘 효과)
   ============================================================ */
header {
  transition: background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              backdrop-filter 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              -webkit-backdrop-filter 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* 스크롤 시 반투명하게 변하는 상단 메뉴 */
header.header-scrolled {
  background-color: rgba(250, 249, 245, 0.45) !important;
  backdrop-filter: blur(16px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(140%) !important;
  border-bottom-color: rgba(216, 214, 204, 0.45) !important;
  box-shadow: 0 1px 3px rgba(44, 51, 34, 0.03) !important;
}

/* ============================================================
   Profile Bullet List (전문가 프로필 불릿 리스트 내어쓰기 / 들여쓰기)
   - 모바일 등 화면이 좁아져 줄바꿈이 될 때, 두 번째 줄부터 불릿 점(•) 뒷쪽으로 들여쓰기 정렬
   ============================================================ */
.profile-bullet-list {
  list-style-type: disc !important;
  list-style-position: outside !important;
  padding-left: 1.15rem !important;
  margin-left: 0 !important;
}

.profile-bullet-list li {
  padding-left: 0.15rem !important;
  word-break: keep-all;
}


