@import url("root.css");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}

body {
    background-color: var(--color-bg);
    color: var(--color-txt);
    font-family: system-ui, -apple-system, sans-serif; 
    line-height: 1.5; 
    transition: background-color 0.3s ease, color 0.3s ease;
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    background-color: var(--color-header);
    color: var(--color-txt-header);
    padding: 1rem 2rem;
}

header h1 {
    font-size: 1.5rem;
}

header nav {
    display: flex;
    align-items: center; 
    gap: 1.5rem; 
}

header nav a {
    color: var(--color-txt-header);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

header nav a:hover, header nav a:focus {
    background-color: rgba(34, 40, 49, 0.1); 
    outline: 2px solid var(--color-txt-header);
}

.theme-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    font-size: 1.3rem;
    font-weight: bold;
    margin-left: 0.5rem; 
}

.theme-indicator::before {
    content: var(--theme-symbol);
    color: var(--theme-symbol-color);
    transition: color 0.3s ease; 
}


.resume-container {
    max-width: 800px;
    margin: 2.5rem auto;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    
    background-color: var(--color-bg-resume, #ffffff);
    color: var(--color-txt-resume, #2d3748);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.resume-header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--color-border-resume, #e2e8f0);
    padding-bottom: 1.5rem;
}

.candidate-name {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--color-title-resume, #1a202c);
}

.candidate-title {
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
    color: var(--color-subtitle-resume, #4a5568);
}

.contact-info {
    font-style: normal;
    font-size: 0.9rem;
    margin: 0.75rem 0;
    color: var(--color-meta-resume, #718096);
}

.contact-info a {
    color: inherit;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.summary {
    font-size: 0.95rem;
    max-width: 700px;
    margin: 0.75rem auto 0 auto;
    line-height: 1.6;
    color: var(--color-subtitle-resume, #4a5568);
}

.resume-section {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--color-border-resume, #e2e8f0);
    padding-bottom: 0.25rem;
    margin-bottom: 1rem;
    color: var(--color-section-title-resume, #2d3748);
}

.resume-item {
    margin-bottom: 1.25rem;
}

.resume-item .item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    background: transparent;
    padding: 0;
    position: static;
}

.item-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-title-resume, #1a202c);
}

.item-meta {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-meta-resume, #718096);
}

.item-sub-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    font-style: italic;
    margin-top: 0.1rem;
    color: var(--color-subtitle-resume, #4a5568);
}

.location {
    font-style: normal;
    font-size: 0.85rem;
    color: var(--color-location-resume, #a0aec0);
}

.item-bullets {
    margin-left: 1.25rem;
    margin-top: 0.4rem;
    list-style-type: disc;
}

.item-bullets li {
    font-size: 0.925rem;
    margin-bottom: 0.25rem;
    line-height: 1.5;
    color: var(--color-subtitle-resume, #4a5568);
}

.courses-section {
    margin-top: 0.5rem;
}

.courses-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-section-title-resume, #2d3748);
}

.courses-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-left: 1.25rem;
    margin-top: 0.25rem;
    list-style-type: circle;
}

.courses-list li {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
    color: var(--color-subtitle-resume, #4a5568);
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
    list-style: none;
}

.skills-list li {
    padding: 0.35rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
    
    background-color: var(--color-badge-bg-resume, #edf2f7);
    color: var(--color-badge-txt-resume, #2d3748);
}

@media (max-width: 640px) {
    .resume-container {
        margin: 1rem;
        padding: 1.25rem;
    }
    .resume-item .item-header, .item-sub-header {
        flex-direction: column;
    }
    .item-meta, .location {
        margin-top: 0.2rem;
    }
    .courses-list {
        grid-template-columns: 1fr;
    }
}

footer {
    text-align: center;
    padding: 2rem 1.5rem;
    margin-top: auto;
    font-size: 0.9rem;
    opacity: 0.75;
    border-top: 1px solid var(--color-border-resume, rgba(0, 0, 0, 0.05));
}