:root {
    --bg-color: #1d1d1d;
    --text-color: #EFEFEF;
    --text-secondary: #909090;
    --text-date: #666666;
    --link-hover: #333333;
    --border-color: #222222;
    --pill-bg: #2a2a2a;
    --pill-hover: #2A2A2A;
}

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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: "liga" 1, "kern" 1;
    letter-spacing: -0.01em;
}

/* Main Content Styles */
.content {
    padding: 64px 32px;
    width: 100%;
    max-width: 640px;
}

/* Profile Section */
.profile {
    margin-bottom: 64px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: center;
}

.profile-image img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.profile h1 {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--text-color);
}

.profile .title {
    color: var(--text-secondary);
    font-size: 15px;
}

.profile .website a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    background-color: var(--pill-bg);
    padding: 4px 12px;
    border-radius: 6px;
    display: inline-block;
    font-size: 14px;
}

.profile .website a:hover {
    color: var(--text-color);
    background-color: var(--pill-hover);
}

/* Section Styles */
section {
    margin-bottom: 48px;
}

section:last-child {
    margin-bottom: 0;
}

h2 {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Timeline Items */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Projects Section */
.project-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 16px;
    align-items: baseline;
}

.project-status {
    color: var(--text-date);
    font-size: 13px;
    font-feature-settings: "tnum" 1;
    font-variant-numeric: tabular-nums;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.project-content h3 {
    margin-bottom: 12px;
}

.project-content h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 15px;
    font-weight: 400;
}

.project-content h3 a:hover {
    color: var(--text-secondary);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.project-description,
.project-role {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.project-role {
    margin-bottom: 0;
}

/* Project Gallery */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.gallery-item {
    position: relative;
    /*aspect-ratio: 16/9;*/
    border-radius: 8px;
    overflow: hidden;
    display: block;
    transition: transform 0.2s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Experience and Education Items */
.experience-item,
.education-item,
.contact-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 16px;
    align-items: baseline;
}

.date,
.contact-type {
    color: var(--text-date);
    font-size: 13px;
    font-feature-settings: "tnum" 1;
    font-variant-numeric: tabular-nums;
}

.experience-content h3,
.education-content h3 {
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 4px;
}

.experience-content h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.experience-content h3 a:hover {
    color: var(--text-secondary);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.location {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Contact Section */
.contact-value a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.contact-value a:hover {
    color: var(--text-secondary);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Modal Customization */
.modal-content {
    border: none;
    border-radius: 12px;
    background-color: var(--bg-color);
}

.modal-header {
    padding: 16px;
    border: none;
}

.btn-close-white {
    opacity: 0.8;
}

.btn-close-white:hover {
    opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .content {
        padding: 48px 24px;
    }

    .experience-item,
    .education-item,
    .contact-item,
    .project-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .date,
    .contact-type,
    .project-status {
        font-size: 12px;
    }

    .project-gallery {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 32px 16px;
    }

    .profile {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 16px;
    }

    .profile-image {
        justify-self: center;
    }

    .project-gallery {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 8px;
        margin-top: 16px;
    }
} 