/* CSS Variables - Customize these values */
:root {
    --container-max-width: 900px;
    --container-margin-top: 80px;
    --container-margin-bottom: 80px;
    --container-padding: 20px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier Prime', monospace;
    line-height: 1.4;
    color: #ffffff;
    background-color: #030F10;
    font-weight: 400;
    font-size: 14px;
    display: grid;
    grid-template-columns: 1fr 1.6fr 1fr;
    gap: 0;
    margin: 0;
}

/* Container */
.container {
    grid-column: 2;
    padding: var(--container-padding);
    background-color: #030F10;
    min-height: 100vh;
    position: relative;
    padding-top: var(--container-margin-top);
    padding-bottom: var(--container-margin-bottom);
}

/* Header */
.header {
    margin-bottom: 30px;
    position: relative;
}

.profile {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 20px;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    object-fit: cover;
    border: none;
    flex-shrink: 0;
    position: absolute;
    left: -140px;
    top: 0px;
    z-index: 10;
}

.profile-info {
    flex: 1;
    width: 100%;
}

/* Info Rows - Two column layout like reference */
.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    gap: 40px;
}

.info-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.label {
    color: #888888;
}

.value {
    color: #ffffff;
}

.info-right a {
    color: #ffffff;
    text-decoration: none;
}

.info-right a:hover {
    color: #cccccc;
    text-decoration: underline;
}

.separator {
    color: #888888;
}

/* Main Content Layout */
.main-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    margin-bottom: 30px;
}

.left-column {
    min-width: 120px;
    flex-shrink: 0;
}

.right-column {
    flex: 1;
}

/* Section Navigation */
.section-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-item {
    color: #ffffff;
    font-weight: 400;
    font-size: 1.1em;
    cursor: pointer;
}

.nav-item:hover {
    color: #cccccc;
}

/* Sections */
.section {
    margin-bottom: 40px;
}

.section-title {
    display: none; /* Hide section titles by default */
}

.section-title.visible {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Courier Prime', monospace;
    font-size: 1.65em;
    font-weight: 400;
    margin-bottom: 15px;
    color: #ffffff;
    padding: 0;
    background-color: #1e2028;
    border-radius: 1px;
    width: 70px;
    height: 30px;
}

/* Work and Projects Sections with Left Subsection Titles */
.work-subsection {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.subsection-left {
    min-width: 120px;
    flex-shrink: 0;
}

.subsection-right {
    flex: 1;
}

/* Regular Sections */
.regular-sections {
    margin-top: 30px;
}

.regular-sections .section {
    margin-bottom: 30px;
}

/* Subsections */
.subsection {
    margin-bottom: 20px;
}

.subsection-title {
    font-family: 'Courier Prime', monospace;
    font-size: 0.9em;
    font-weight: 400;
    margin-bottom: 8px;
}

.subsection-title.current {
    color: #00ff00;
}

.subsection-title.volunteer {
    color: #0099ff;
}

.subsection-title.past {
    color: #ff0000;
}

.subsection-title.inactive {
    color: #ff0000;
}

/* Work Items */
.work-item {
    margin-bottom: 3px;
    line-height: 1.5;
}

.role {
    font-weight: 400;
    color: #888888;
    display: inline;
    margin-right: 5px;
}

.company {
    color: #888888;
    font-weight: 400;
    display: inline;
    margin-right: 0;
}

/* Projects */
.projects {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.project-category {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.project-type {
    font-weight: 400;
    color: #ffffff;
}

.project-type.main {
    color: #00ff00;
}

.project-type.main.volunteer {
    color: #9966ff;
}

.project-type.side {
    color: #0099ff;
}

.project-type.inactive {
    color: #ff0000;
}

.project-list {
    color: #888888;
}

/* Education */
.education-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.degree {
    font-weight: 400;
    color: #ffffff;
    flex: 1;
}

.year {
    color: #cccccc;
    font-weight: 400;
    font-family: 'Courier Prime', monospace;
}

/* Knowledge */
.knowledge-list {
    color: #cccccc;
    line-height: 1.4;
}

/* Skills */
.skills {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.skill-category {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.skill-type {
    font-weight: 400;
    color: #ffffff;
    min-width: 100px;
}

.skill-list {
    flex: 1;
    color: #888888;
}

/* Languages */
.languages {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.language-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.language {
    font-weight: 400;
    color: #ffffff;
}

.level {
    color: #888888;
}

/* Certificates */
.certificates {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.certificate-item {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    flex-wrap: wrap;
}

.cert-org {
    font-weight: 400;
    color: #ffffff;
}

.cert-name {
    color: #888888;
    flex: 1;
}

/* Blog */
.blog {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-entry {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 6px 0;
    border-bottom: 1px solid #333;
}

.blog-entry:last-child {
    border-bottom: none;
}

.blog-date {
    font-family: 'Courier Prime', monospace;
    font-weight: 400;
    color: #888888;
    min-width: 80px;
    font-size: 0.8em;
}

.blog-content {
    flex: 1;
    color: #cccccc;
    line-height: 1.4;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .profile-image {
        position: relative;
        left: 0;
        top: 0;
        margin-bottom: 20px;
    }
    
    .header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .profile-image {
        align-self: center;
    }
    
    .header {
        align-items: center;
    }
    
    .info-row {
        flex-direction: column;
        gap: 8px;
    }
    
    .info-left,
    .info-right {
        justify-content: center;
    }
    
    .main-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .left-column {
        min-width: unset;
    }
    
    .section-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .nav-item {
        font-size: 0.9em;
    }
    
    .work-subsection {
        flex-direction: column;
        gap: 10px;
    }
    
    .subsection-left {
        min-width: unset;
    }
}