/* Custom Styles & Animation for Mr. Placard (미스터플래카드) */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

:root {
  --primary: #1e3a8a;       /* 딥 블루 */
  --primary-hover: #172554;
  --accent: #2563eb;        /* 밝은 블루 포인트 */
  --text-main: #0f172a;     /* 짙은 차콜/블랙 */
  --text-muted: #64748b;    /* 슬레이트 그레이 */
  --border-color: #e2e8f0;  /* 얇은 정돈된 선 */
}

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;
  letter-spacing: -0.018em;
  color: var(--text-main);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

/* 부드러운 스크롤 */
html {
  scroll-behavior: smooth;
}

/* 포트폴리오 이미지 카드 호버 */
.portfolio-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.portfolio-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
}

/* 절제된 배지 및 탭 */
.filter-btn.active {
  background-color: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

/* 진행상태 스테퍼 스타일링 */
.step-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.step-item::after {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  width: 100%;
  height: 2px;
  background-color: #e2e8f0;
  z-index: 1;
}

.step-item:last-child::after {
  display: none;
}

.step-item.active::after {
  background-color: #2563eb;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  position: relative;
  z-index: 2;
  transition: all 0.2s ease;
}

.step-item.completed .step-circle {
  background-color: #1e3a8a;
  color: #ffffff;
}

.step-item.current .step-circle {
  background-color: #2563eb;
  color: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.step-item.pending .step-circle {
  background-color: #f8fafc;
  color: #94a3b8;
  border: 1px solid #cbd5e1;
}

/* 스마트폰 및 모바일 기기 반응형 최적화 */
@media (max-width: 640px) {
  /* iOS Safari 자동 확대 방지 (최소 16px) */
  input[type="text"],
  input[type="number"],
  input[type="tel"],
  input[type="email"],
  input[type="password"],
  select,
  textarea {
    font-size: 16px !important;
  }

  /* 하단 안전 영역 대응 */
  .safe-area-bottom {
    padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
  }
}

/* 인쇄용 스타일 */
@media print {
  header, footer, #notice-bar-container, .no-print {
    display: none !important;
  }
  body {
    background: #fff !important;
    color: #000 !important;
  }
}
