/* 전체 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #f8faf8;
}

/* 헤더 스타일 */
.header {
    background-color: #ffffff;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.header h1 {
    margin-bottom: 1.5rem;
    color: #1b5e20;
    font-size: 2.5rem;
    font-weight: 700;
}

.header nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.header nav a {
    color: #2e7d32;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e8f5e9;
}

.header nav a:hover {
    background-color: #2e7d32;
    color: #ffffff;
    border-color: #2e7d32;
}

/* 메인 컨텐츠 */
main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 섹션 공통 스타일 */
section {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

section h2 {
    color: #1b5e20;
    margin-bottom: 2.5rem;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
}

/* About 섹션 */
.about-content {
    max-width: 700px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #37474f;
    line-height: 1.8;
}

/* Projects 섹션 */
.project-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 1px solid #e8f5e9;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    border-color: #4caf50;
}

.project-card h3 {
    color: #1b5e20;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.project-content h4 {
    color: #2e7d32;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.project-content ul {
    list-style: none;
    margin: 1rem 0;
}

.project-content li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.project-content li::before {
    content: "•";
    color: #4caf50;
    position: absolute;
    left: 0;
}

.project-link {
    display: inline-block;
    margin-top: 2rem;
    color: #2e7d32;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border: 2px solid #2e7d32;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-link:hover {
    background-color: #2e7d32;
    color: #ffffff;
}

/* Skills 섹션 */
.skills-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.skill-category {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e8f5e9;
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    border-color: #4caf50;
}

.skill-category h3 {
    color: #1b5e20;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.skill-category p {
    color: #37474f;
    line-height: 1.6;
}

/* Contact 섹션 */
.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact-content a {
    color: #2e7d32;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.contact-content a:hover {
    color: #1b5e20;
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 2rem;
    color: #37474f;
    font-size: 0.9rem;
    background-color: #ffffff;
    margin-top: 4rem;
    box-shadow: 0 -4px 6px rgba(0,0,0,0.05);
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .header {
        padding: 2rem;
    }

    .header h1 {
        font-size: 2rem;
    }

    .header nav {
        flex-direction: column;
        gap: 1rem;
    }

    main {
        padding: 0 1rem;
    }

    section {
        padding: 2rem;
    }

    .skills-content {
        grid-template-columns: 1fr;
    }
}