:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --background: #ffffff;
    --text: #333333;
    --max-width: 800px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
}

.top-nav {
    background-color: var(--primary);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    gap: 0;
}

.nav-link {
    color: #ffffff;
    padding: 1rem 1.5rem;
    display: inline-block;
    transition: background-color 0.2s;
    border-bottom: 3px solid transparent;
}

.nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    text-decoration: none;
}

.nav-link.active {
    border-bottom-color: var(--secondary);
    background-color: rgba(255,255,255,0.05);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem;
}

header {
    text-align: center;
    margin-bottom: 3rem;
}

h1 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.tagline {
    color: #666;
    font-size: 1.1rem;
}

h2 {
    color: var(--primary);
    margin: 2rem 0 1rem;
}

section {
    margin-bottom: 2rem;
}

a {
    color: var(--secondary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    text-align: center;
    color: #666;
}

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

.experience-item, .education-item {
    margin-bottom: 1.5rem;
}

.experience-item h3, .education-item h3 {
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.company, .institution {
    color: #666;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.experience-item ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

.experience-item li {
    margin-bottom: 0.25rem;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background-color: var(--secondary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .container {
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
    }
}
