/* 공통 스타일 설정 */
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

/* PC 화면에서만 Full Page Scroll (Snap Scroll) 적용 */
@media (min-width: 1024px) and (min-height: 800px) {
    html {
        scroll-snap-type: y mandatory;
        scroll-behavior: smooth;
    }

    section {
        height: 100vh;
        scroll-snap-align: center;
        padding-top: 80px;
        /* 헤더 공간 여백 확보 */
    }

    .nav-dots {
        display: flex;
    }
}

/* 모바일 등 일반 스크롤 화면 적용 */
@media (max-width: 1023px),
(max-height: 799px) {
    .snap-container {
        height: auto;
        overflow-y: visible;
        scroll-snap-type: none;
    }

    section {
        height: auto;
        min-height: 100vh;
        padding: 100px 0;
    }

    .nav-dots {
        display: none;
    }
}

/* 스크롤바 디자인 */
.snap-container::-webkit-scrollbar {
    width: 8px;
}

.snap-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

.snap-container::-webkit-scrollbar-thumb {
    background: rgba(15, 45, 74, 0.4);
    border-radius: 4px;
}

.snap-container::-webkit-scrollbar-thumb:hover {
    background: rgba(15, 45, 74, 0.6);
}

/* 섹션 기본 속성 */
section {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* justify/align center는 내부 container 클래스가 처리하므로 생략 가능 */
}

/* 내비게이션 도트 (PC화면 우측 고정) */
.nav-dots {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    flex-direction: column;
    gap: 12px;
}

.nav-dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.nav-dot.active {
    background-color: #3b82f6;
    transform: scale(1.3);
    border-color: #3b82f6;
}

/* 밝은 배경(#light 테마)에서의 네비게이션 도트 */
.light-section .nav-dot {
    background-color: rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 0, 0, 0.3);
}

.light-section .nav-dot.active {
    background-color: #0f2d4a;
    border-color: #0f2d4a;
}

/* Typed JS 커서 색상 변경 */
.typed-cursor {
    color: #3b82f6;
}