/* 스크롤 성능 최적화 CSS - 일반적인 수준 */

/* 기본 스크롤 최적화 */
html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

body {
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

/* 스크롤 방향별 최적화 */
body.scrolling-down {
  transform: translateZ(0);
}

body.scrolling-up {
  transform: translateZ(0);
}

/* 스크롤된 상태 최적화 */
body.scrolled {
  transform: translateZ(0);
}

/* 스크롤바 스타일 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0.1);
}

/* 모바일 관련 CSS 제거됨 */

/* 스크롤 중일 때 시각적 피드백 */
body.scrolled .header {
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}