/* --- Seoul256 Inspired Palette --- */
:root {
    --background: #3a3a3a;
    --foreground: #d0d0d0;
    --comment: #8a8a8a;
    --accent-red: #d68787;
    --accent-green: #87d7af;
}

body {
    background-color: var(--background);
    color: var(--foreground);
    font-family: 'Roboto Mono', monospace;
    line-height: 1.6;
    margin: 0;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

#owner-name {
    color: var(--accent-red);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1.1rem;
    color: var(--comment);
    margin-top: 0;
    min-height: 2.2rem; /* Reserve space to prevent layout shift */
}

/* --- Navigation & Links --- */
nav ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

nav li {
    margin: 1rem 0;
}

nav a {
    color: var(--foreground);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

nav a:hover,
nav a:focus {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-green);
    outline: none;
}

.subtitle {
    font-size: 0.9rem;
    color: var(--comment);
    margin-top: 0.25rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Footer --- */
footer {
    margin-top: 4rem;
    color: var(--comment);
}

.contact-links {
    margin-bottom: 1.5rem;
}

.contact-links a {
    color: var(--foreground);
    text-decoration: none;
    margin: 0 1rem;
    padding-bottom: 3px;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.contact-links a:hover,
.contact-links a:focus {
    color: var(--accent-green);
    border-bottom: 1px solid var(--accent-green);
}

/* --- Typewriter Cursor --- */
.cursor {
    display: inline-block;
    background-color: var(--foreground);
    margin-left: 2px;
    animation: blink 1s infinite;
    width: 8px;
}

@keyframes blink {
    49% { background-color: var(--foreground); }
    50% { background-color: transparent; }
    99% { background-color: transparent; }
}

/* --- Final Resume Page Styles --- */

.resume-container {
    max-width: 900px;
    text-align: left;
    margin: 4rem auto;
}

.back-link,
.contact-info a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.back-link:visited,
.contact-info a:visited {
    color: var(--accent-blue);
}

.back-link:hover,
.contact-info a:hover {
    color: var(--accent-green);
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    font-weight: 700;
}

.resume-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
}

.resume-header h1 {
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.contact-info {
    color: var(--comment);
}

.resume-section h2 {
    font-size: 1.5rem;
    color: var(--accent-red);
    border-bottom: 1px solid var(--comment);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.job-entry {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 2.5rem 0;
    border-bottom: 1px solid #4a4a4a;
}

.job-entry:last-of-type {
    border-bottom: none;
}

.job-header {
    flex-basis: 70%;
}

.job-title {
    font-size: 1.25rem;
    color: var(--accent-green);
    font-weight: 700;
    margin: 0;
}

.job-meta {
    font-size: 1rem;
    color: var(--comment);
    margin-top: 0.25rem;
}

.job-company {
    color: var(--foreground);
}

.job-date {
    flex-basis: 30%;
    text-align: right;
    color: var(--accent-yellow);
    font-weight: 700;
    padding-top: 0.1rem;
}

.resume-list {
    flex-basis: 100%;
    margin-top: 1.5rem;
    list-style: none;
    padding-left: 0;
}

/* --- The Fix is Here --- */
.resume-item {
    position: relative; /* Establishes a positioning context for the bullet */
    padding-left: 2rem; /* Creates space for the bullet */
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.resume-item::before {
    content: '›';
    color: var(--accent-blue);
    font-weight: 700;
    position: absolute; /* Takes the bullet out of the text flow */
    left: 0; /* Aligns it to the far left of the padded space */
    top: 0.1rem; /* Fine-tunes vertical alignment */
}

.resume-item strong {
    font-weight: 700; /* This makes the text properly bold */
    margin-right: 0.5rem;
}