:root {
    --bg-color: #f8f8f8;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --spacing-unit: 1rem;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.layout-container {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 1440px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .layout-container {
        grid-template-columns: 400px 1fr;
    }
}

/* Left Column Styling */
.left-column {
    padding: 4rem 2rem;
}

@media (min-width: 768px) {
    .left-column {
        position: sticky;
        top: 0;
        height: 100vh;
        padding: 4rem 4rem;
        display: flex;
        flex-direction: column;
    }
}

.header-top {
    margin-bottom: 3rem;
}

h1 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.role {
    color: var(--text-secondary);
    font-size: 1rem;
}

.bio p {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    max-width: 300px;
}

/* Right Column Styling */
.right-column {
    padding: 2rem 2rem 4rem 2rem;
}

@media (min-width: 768px) {
    .right-column {
        padding: 4rem 4rem 4rem 2rem;
    }
}

/* Navigation */
.top-nav {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
    font-size: 1rem;
}

.top-nav a {
    text-decoration: none;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.top-nav a:hover,
.top-nav a.active {
    color: var(--text-primary);
}

/* Portfolio Feed */
.portfolio-feed {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.project-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
}

.project-year {
    color: var(--text-secondary);
    font-size: 1rem;
}

.project-image-wrapper {
    width: 100%;
    background-color: #ffffff;
    padding: 4rem;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-image-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.project-image {
    max-width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.project-footer p {
    font-size: 1rem;
    max-width: 400px;
}

.learn-more {
    text-decoration: none;
    color: var(--text-primary);
    border-bottom: 1px solid var(--text-primary);
    padding-bottom: 2px;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.learn-more:hover {
    opacity: 0.7;
}

/* Micro-animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
