:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --secondary-text-color: #888888;
    --border-color: #333333;
    --accent-color: #ffffff;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 600px;
    /* Constrain width for that focused look */
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    display: flex;
    justify-content: flex-end;
    padding-bottom: 2rem;
}

#theme-toggle {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

#theme-toggle:hover {
    background-color: #222;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Profile Section */
.profile-section {
    margin-bottom: 3rem;
}

.profile-image-container {
    margin-bottom: 1.5rem;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    filter: grayscale(100%);
    /* Match the B&W aesthetic */
    border: 2px solid var(--border-color);
}

.name {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.title {
    font-size: 0.875rem;
    color: var(--secondary-text-color);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    font-weight: 500;
}

.bio {
    font-size: 1rem;
    color: var(--secondary-text-color);
    max-width: 450px;
    margin: 0 auto;
    font-weight: 400;
}

/* Projects Section */
.projects-section {
    width: 100%;
    border-top: 1px solid #222;
    padding-top: 2rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-size: 0.75rem;
    color: var(--secondary-text-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--text-color);
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    /* Pill shape */
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.btn:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
    border-color: var(--text-color);
}

.icon-external {
    opacity: 0.7;
}

/* Footer */
footer {
    display: flex;
    justify-content: center;
    padding-top: 2rem;
    padding-bottom: 1rem;
    border-top: 1px solid #111;
    width: 100%;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.social-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
    text-transform: uppercase;
}

.social-link:hover {
    border-bottom-color: var(--text-color);
}

.divider {
    color: var(--secondary-text-color);
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .name {
        font-size: 1.75rem;
    }

    .buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}