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

:root {
    --accent: #ffcd38;
    --accent-hover: #e6b82e;
    --text-dark: #222;
    --text-body: #555;
    --text-light: #888;
    --bg: #f5f5f5;
    --bg-white: #fff;
    --border: #e0e0e0;
}

body {
    font-family: 'PT Sans', sans-serif;
    background: var(--bg);
    color: var(--text-body);
    line-height: 1.7;
    font-size: 16px;
}

/* Sidebar */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 260px;
    background: var(--bg-white);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.sidebar-content {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.logo {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--accent);
}

.nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav a {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    color: var(--text-light);
    text-decoration: none;
    padding: 8px 0;
    border-left: 3px solid transparent;
    padding-left: 12px;
    margin-left: -12px;
    transition: all 0.2s;
}

.nav a:hover,
.nav a.active {
    color: var(--text-dark);
    border-left-color: var(--accent);
}

.sidebar-footer {
    margin-top: auto;
    font-size: 0.85rem;
}

.sidebar-footer a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.sidebar-footer a:hover {
    color: var(--accent-hover);
}

.social-links {
    margin-top: 12px;
    display: flex;
    gap: 16px;
}

/* Main Content */
.main {
    margin-left: 260px;
    min-height: 100vh;
}

.section {
    padding: 60px;
    max-width: 800px;
}

.section + .section {
    border-top: 1px solid var(--border);
}

/* Section Headers */
h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dark);
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

/* About Section */
.section-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 30px;
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
}

.section-header h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 4px;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-body);
    margin-bottom: 2px;
}

.location {
    font-size: 0.9rem;
    color: var(--text-light);
}

.about-content p {
    margin-bottom: 16px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Experience */
.experience-item {
    margin-bottom: 32px;
}

.experience-item:last-child {
    margin-bottom: 0;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
}

.experience-header h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
}

.experience-date {
    font-size: 0.85rem;
    color: var(--accent-hover);
    font-weight: 700;
}

.experience-company {
    font-weight: 700;
    color: var(--text-body);
    margin-bottom: 8px;
}

.experience-item p {
    color: var(--text-body);
}

/* Education */
.education-item {
    margin-bottom: 28px;
}

.education-item:last-child {
    margin-bottom: 0;
}

.education-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
}

.education-header h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.4;
}

.education-date {
    font-size: 0.85rem;
    color: var(--accent-hover);
    font-weight: 700;
}

.education-school {
    font-weight: 700;
    color: var(--text-body);
    margin-bottom: 8px;
}

.education-item p {
    margin-bottom: 8px;
}

.education-item p:last-child {
    margin-bottom: 0;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.project-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    padding: 20px 24px;
    text-decoration: none;
    transition: all 0.2s;
}

.project-item:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.project-item h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.project-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Footer */
.footer {
    padding: 40px 60px;
    border-top: 1px solid var(--border);
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
    .sidebar {
        position: relative;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .sidebar-content {
        padding: 24px;
    }

    .logo {
        margin-bottom: 20px;
        padding-bottom: 12px;
    }

    .nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px 16px;
    }

    .nav a {
        border-left: none;
        padding-left: 0;
        margin-left: 0;
        padding-bottom: 4px;
        border-bottom: 2px solid transparent;
    }

    .nav a:hover,
    .nav a.active {
        border-left: none;
        border-bottom-color: var(--accent);
    }

    .sidebar-footer {
        display: none;
    }

    .main {
        margin-left: 0;
    }

    .section {
        padding: 40px 24px;
    }

    .section-header {
        flex-direction: column;
        text-align: center;
    }

    .experience-header,
    .education-header {
        flex-direction: column;
        gap: 2px;
    }
}
