/* 기본 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* 네비게이션 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #007bff;
}

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

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

/* 메인 히어로 섹션 */
.main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    padding: 0 40px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
}

.text-line {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
    justify-content: center;
}

.hero-text {
    font-size: clamp(4rem, 8vw, 8rem);
    font-weight: 900;
    color: #000;
    letter-spacing: -0.02em;
    line-height: 0.9;
    text-transform: uppercase;
}

/* 타원형 이미지 플레이스홀더 */
.image-placeholder {
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #6c757d, #495057);
    position: relative;
    overflow: hidden;
}

.oval-1 {
    width: 280px;
    height: 160px;
    border-radius: 140px / 80px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
}

.oval-2 {
    width: 320px;
    height: 180px;
    border-radius: 160px / 90px;
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
}

.oval-3 {
    width: 300px;
    height: 170px;
    border-radius: 150px / 85px;
    background: linear-gradient(135deg, #45b7d1, #96c93d);
}

.oval-4 {
    width: 340px;
    height: 190px;
    border-radius: 170px / 95px;
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

/* 이미지 플레이스홀더 호버 효과 */
.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-placeholder:hover::before {
    opacity: 1;
}

/* 섹션 스타일 */
.section {
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.section h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: #000;
}

/* 소개 섹션 */
.about-section {
    background-color: #f8f9fa;
}

.about-section p {
    font-size: 1.5rem;
    text-align: center;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

/* 기술 스택 섹션 */
.skills-section {
    background-color: #ffffff;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.skill-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 20px;
    text-align: center;
    border-radius: 15px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

/* 프로젝트 섹션 */
.portfolio-section {
    background-color: #f8f9fa;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.portfolio-item {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.portfolio-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #000;
}

.portfolio-item p {
    color: #6c757d;
    line-height: 1.6;
}

/* 경력 섹션 */
.experience-section {
    background-color: #ffffff;
}

.timeline {
    margin-top: 60px;
}

.timeline-item {
    margin-bottom: 50px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border-left: 4px solid #007bff;
}

.timeline-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #000;
}

.timeline-item .company {
    font-weight: 600;
    color: #007bff;
    margin-bottom: 10px;
}

.timeline-item p:last-child {
    color: #6c757d;
    line-height: 1.6;
}

/* 학력 섹션 */
.education-section {
    background-color: #f8f9fa;
}

.education-item {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
}

.education-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #000;
}

.education-item p {
    color: #6c757d;
    font-weight: 500;
}

/* 연락처 섹션 */
.contact-section {
    background-color: #000;
    color: white;
}

.contact-section h2 {
    color: white;
}

.contact-info {
    text-align: center;
    margin-top: 40px;
}

.contact-info p {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #e9ecef;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .nav-menu {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .hero-content {
        gap: 40px;
    }
    
    .text-line {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-text {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }
    
    .oval-1, .oval-2, .oval-3, .oval-4 {
        width: 200px;
        height: 120px;
        border-radius: 100px / 60px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-text {
        font-size: clamp(2rem, 15vw, 3rem);
    }
    
    .oval-1, .oval-2, .oval-3, .oval-4 {
        width: 150px;
        height: 90px;
        border-radius: 75px / 45px;
    }
    
    .nav-menu {
        gap: 15px;
    }
}