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

body {
    font-family: 'Source Code Pro', monospace;
    line-height: 1.7;
    color: #2c3e50;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.header-section {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    gap: 30px;
}

.header-text {
    flex: 1;
}

.headshot-container {
    flex-shrink: 0;
}

.headshot {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #6b46c1;
    box-shadow: 0 4px 12px rgba(107, 70, 193, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.headshot:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(107, 70, 193, 0.3);
}

h1 {
    font-size: 3em;
    color: #1a202c;
    margin-bottom: 5px;
    font-weight: 700;
    letter-spacing: -1px;
}

h2 {
    font-size: 1.8em;
    color: #2d3748;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #6b46c1;
    font-weight: 600;
}

h3 {
    font-size: 1.5em;
    color: #2d3748;
    margin-top: 30px;
    margin-bottom: 10px;
    font-weight: 600;
}

p {
    margin-bottom: 15px;
    color: #4a5568;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

a {
    color: #6b46c1;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #553c9a;
    text-decoration: underline;
}

strong {
    color: #2d3748;
    font-weight: 600;
}

.subtitle {
    font-size: 1.2em;
    color: #718096;
    margin-top: 0;
    margin-bottom: 30px;
    font-weight: 500;
}

.contact-info {
    background: #f7fafc;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #6b46c1;
}

.contact-info p {
    margin-bottom: 0;
}

.skills-grid {
    background: #f7fafc;
    padding: 25px;
    border-radius: 8px;
    line-height: 2;
}

.project {
    background: #ffffff;
    padding: 30px;
    margin: 30px 0;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.project h3 {
    margin-top: 0;
    color: #1a202c;
}

.project em {
    color: #718096;
    font-size: 0.95em;
}

.project-title {
    color: #1a202c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-title:hover {
    color: #6b46c1;
    text-decoration: none;
}

.link-icon {
    font-size: 0.7em;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.project-title:hover .link-icon {
    opacity: 1;
}

.tech-tag {
    display: inline-block;
    background: #edf2f7;
    color: #2d3748;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85em;
    margin: 5px 5px 5px 0;
}

.highlight-box {
    background: #faf5ff;
    border-left: 4px solid #6b46c1;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.highlight-box strong {
    color: #553c9a;
}

.image-container {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.image-container img {
    max-width: 300px;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.image-container img:hover {
    transform: scale(1.05);
}

.image-container img.large-image {
    max-width: 600px;
}

.image-caption {
    text-align: center;
    font-style: italic;
    color: #718096;
    margin-top: -5px;
    font-size: 0.9em;
}

footer {
    margin-top: 50px;
    padding: 30px 0;
    border-top: 2px solid #e2e8f0;
    text-align: center;
    color: #718096;
}

footer p {
    margin: 5px 0;
}

footer a {
    color: #6b46c1;
    font-weight: 500;
}

.badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85em;
    display: inline-block;
    margin-left: 10px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .container {
        padding: 30px 20px;
    }

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

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

    h1 {
        font-size: 2.2em;
    }

    h2 {
        font-size: 1.5em;
    }

    .image-container img {
        max-width: 100%;
    }

    .image-container img.large-image {
        max-width: 80%;
    }
}
