/* General Body Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f2f5;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease;
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a202c;
        color: #e2e8f0;
    }

    .profile-card {
        background-color: #2d3748;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    .name-ko {
        color: #f7fafc;
    }

    .name-en {
        color: #cbd5e0;
        border-bottom-color: #4a5568;
    }

    .introduction {
        color: #e2e8f0;
        background-color: #374151;
    }

    .profile-picture img {
        border-color: #4a5568;
    }

    .job-title {
        color: #63b3ed;
    }

    .social-icon.github {
        color: #e2e8f0;
    }
}

/* Profile Card */
.profile-card {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
    text-align: center;
    padding: 40px 30px;
    overflow: hidden;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Profile Picture */
.profile-picture {
    margin-top: 10px;
    margin-bottom: 20px;
}

.profile-picture img {
    width: 220px;
    height: 220px;
    border-radius: 20px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    object-fit: cover;
}

/* Profile Information */
.name-ko {
    font-size: 1.9em;
    font-weight: 600;
    margin: 0;
    color: #000;
}

.name-en {
    font-size: 1.4em;
    font-weight: 400;
    margin: 5px auto 0;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    color: #666;
    max-width: 350px;
}

.introduction {
    font-size: 1em;
    line-height: 1.6;
    color: #555;
    margin: 20px auto 15px;
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    max-width: 350px;
}

/* Job Titles Section */
.job-titles {
    margin-top: 15px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.job-title {
    text-align: left;
    width: 100%;
    max-width: 250px;
    padding: 5px 0;
    font-size: 1.1em;
    font-weight: 600;
    color: #2c5282;
}

/* Social Links */
.social-links {
    margin-top: 25px;
}

.social-links a {
    margin: 0 15px;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s ease;
}

.social-links a:hover {
    transform: scale(1.1);
}

.social-icon {
    width: 50px;
    height: 50px;
    fill: currentColor;
}

.social-icon.linkedin {
    color: #0077B5;
}

.social-icon.github {
    color: #181717;
}

/* Responsive Design for smaller screens */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .profile-card {
        padding: 30px 20px;
    }

    .profile-picture img {
        width: 180px;
        height: 180px;
    }

    .name-ko {
        font-size: 1.6em;
    }

    .name-en {
        font-size: 1.2em;
        max-width: 280px;
    }

    .introduction {
        max-width: 280px;
        padding: 12px 16px;
        font-size: 0.95em;
    }

    .job-title {
        max-width: 200px;
        font-size: 1em;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }
}
