* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "IBM Plex Sans KR", sans-serif;
    color: aliceblue;
}

body {
    background-color: black;
}

a {
    text-decoration: none;
    vertical-align: middle;
}

/* 네비게이션 */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

nav h1 {
    color: rgb(0, 233, 0);
    font-weight: bold;
    font-size: 28px;
}

.nav-right {
    display: flex;
    gap: 40px;
    align-items: center;
}

nav a {
    color: rgb(0, 233, 0);
    font-weight: 600;
    font-size: 17px;
    position: relative;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #00e056;
    left: 50%;
    bottom: -3px;
    transform: translateX(-50%);
    transition: width 0.2s ease;
}

nav a:hover::after {
    width: 100%;
}

/* 섹션 공통 스타일 */
section {
    max-width: 960px;
    margin: 0 auto;
    padding: 60px 20px;
}

h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 40px;
    color: rgb(0, 233, 0);
}

/* 인트로 섹션 */
#intro {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.intro-content h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
}

.intro-content p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 15px;
    opacity: 0.9;
}

.intro-content a {
    color: rgb(0, 233, 0);
    font-weight: 600;
    position: relative;
}

.intro-content a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    background: #00e056;
    left: 0;
    bottom: -2px;
    transition: width 0.2s ease;
}

.intro-content a:hover::after {
    width: 100%;
}

/* 스킬 섹션 */
#skills {
    padding: 80px 20px;
}

.skills-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skill-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 2px solid #ffffff;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: default;
}

.skill-card h3 {
    font-size: 20px;
    font-weight: bold;
    min-width: 120px;
}

.skill-description {
    font-size: 17px;
    font-weight: 600;
    color: #00e056;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.skill-card:hover {
    border-color: #00e056;
    background-color: rgba(0, 224, 86, 0.05);
}

.skill-card:hover .skill-description {
    opacity: 1;
    transform: translateY(0);
}

/* 프로젝트 섹션 */
#projects {
    padding: 80px 20px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.project-card {
    position: relative;
    height: 240px;
    padding: 25px;
    border: 2px solid #ffffff;
    border-radius: 10px;
    background-image: url(https://i.ibb.co/YBZrvJym/pngegg-1.png);
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: center;
    background-color: rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-card:hover {
    transform: scale(1.05);
    border-color: #00e056;
}

.project-card h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}

.project-description {
    font-size: 15px;
    line-height: 1.4;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.5s ease;
}

.project-card:hover .project-description {
    opacity: 1;
    transform: scale(1);
}

.project-link {
    color: rgb(0, 233, 0);
    font-weight: bold;
    font-size: 16px;
    opacity: 0;
    animation: fadeIn 0.8s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.project-card:hover .project-link {
    display: block;
}

/* 연락처 섹션 */
#contact {
    padding: 80px 20px;
    text-align: center;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.contact-links a {
    color: rgb(0, 233, 0);
    font-size: 18px;
    font-weight: 600;
    padding: 15px 30px;
    border: 2px solid rgb(0, 233, 0);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-links a:hover {
    background-color: rgb(0, 233, 0);
    color: black;
    transform: translateY(-3px);
}

/* 푸터 */
footer {
    text-align: center;
    padding: 30px;
    font-size: 14px;
    opacity: 0.6;
}

/* 반응형 */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 20px;
    }

    .nav-right {
        gap: 20px;
    }

    .intro-content h1 {
        font-size: 36px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
    }
}