/* 커스텀 스타일 */
body {
    scroll-behavior: smooth;
}

/* 섹션 구분을 위한 약간의 여백 */
section {
    scroll-margin-top: 70px; /* 네비게이션 높이 고려 */
}

/* 프로젝트 카드 호버 효과 */
.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* 기술 스킬 바 */
.skill-bar {
    height: 10px;
    border-radius: 5px;
    margin-top: 8px;
    overflow: hidden;
    background-color: #e5e7eb;
}

.skill-progress {
    height: 100%;
    border-radius: 5px;
}

/* 애니메이션 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* 링크 애니메이션 */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #3b82f6;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* 버튼 스타일 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: #3b82f6;
    color: white;
}

.btn-primary:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid #3b82f6;
    color: #3b82f6;
}

.btn-outline:hover {
    background-color: #3b82f6;
    color: white;
}

/* 라이트/다크 모드 토글러 */
.theme-toggle {
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    background: #f3f4f6;
    transition: background 0.3s;
}

.theme-toggle:hover {
    background: #e5e7eb;
}

/* 반응형 디자인 개선 */
@media (max-width: 768px) {
    .hero-text {
        font-size: 1.5rem;
    }
    
    .section-padding {
        padding: 2rem 1rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
}

/* 애니메이션 딜레이 */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

/* 텍스트 그라데이션 */
.text-gradient {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 카드 라운드 효과 */
.card {
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}