/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    background-color: #0d1117;
    color: #c9d1d9;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #21262d;
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

a {
    color: #58a6ff;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #79c0ff;
    text-decoration: underline;
}

/* Hero Section */
.hero {
    padding: 80px 0 60px;
    text-align: center;
    border-bottom: 1px solid #21262d;
}

.headshot {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #30363d;
    margin-bottom: 1.5rem;
}

.title {
    font-size: 1.25rem;
    color: #58a6ff;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1rem;
    color: #8b949e;
    margin-bottom: 0.75rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.location {
    font-size: 0.9rem;
    color: #6e7681;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    font-weight: 500;
}

/* Skills Section */
.skills {
    padding: 60px 0;
    border-bottom: 1px solid #21262d;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.skill-category h3 {
    font-size: 1rem;
    color: #58a6ff;
    margin-bottom: 0.5rem;
}

.skill-category p {
    font-size: 0.9rem;
    color: #8b949e;
}

/* Experience Section */
.experience {
    padding: 60px 0;
    border-bottom: 1px solid #21262d;
}

.job {
    margin-bottom: 2.5rem;
}

.job:last-child {
    margin-bottom: 0;
}

.company {
    color: #8b949e;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.job ul {
    list-style: none;
    padding-left: 0;
}

.job li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
    color: #c9d1d9;
}

.job li::before {
    content: ">";
    position: absolute;
    left: 0;
    color: #58a6ff;
    font-weight: 600;
}

/* Education Section */
.education {
    padding: 60px 0;
    border-bottom: 1px solid #21262d;
}

.degree {
    margin-bottom: 1.5rem;
}

.degree:last-child {
    margin-bottom: 0;
}

.school {
    color: #8b949e;
    font-size: 1rem;
}

/* Contact Section */
.contact {
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #21262d;
}

.contact p {
    margin-bottom: 1rem;
    color: #8b949e;
}

.email-link {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

/* Footer */
footer {
    padding: 30px 0;
    text-align: center;
}

footer p {
    color: #484f58;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero {
        padding: 60px 0 40px;
    }

    .headshot {
        width: 120px;
        height: 120px;
    }

    .skills,
    .experience,
    .education,
    .contact {
        padding: 40px 0;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .social-links {
        gap: 1rem;
    }
}
