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

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* CSS Variables for theming */
:root {
    --bg-color: #0a0a0a;
    --text-color: #e5e5e5;
    --text-color-heading: #f5f5f5;
    --link-color: #60a5fa;
    --link-hover-color: #93c5fd;
    --border-color: #262626;
    --toggle-color: #a3a3a3;
}

[data-theme="light"] {
    --bg-color: #fafafa;
    --text-color: #171717;
    --text-color-heading: #0a0a0a;
    --link-color: #2563eb;
    --link-hover-color: #1d4ed8;
    --border-color: #e5e5e5;
    --toggle-color: #525252;
}

body {
    font-family: "SF Mono", "Monaco", "Inconsolata", "Roboto Mono", 
                 "Source Code Pro", "Consolas", monospace;
    font-size: 16px;
    line-height: 1.6;
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Container */
.container {
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 30px;
}

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

/* Header with profile photo */
.header {
    margin-bottom: 32px;
}

.profile-photo {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
    transition: border-color 0.3s ease;
}

/* Bio section */
.bio {
    margin-bottom: 40px;
}

.bio h1 {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 1em;
    color: var(--text-color-heading);
    line-height: 1.5;
    transition: color 0.3s ease;
}

.bio p {
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: 1em;
    color: var(--text-color-heading);
    line-height: 1.5;
    transition: color 0.3s ease;
}

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

/* Links */
a {
    color: var(--link-color);
    text-decoration: underline;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--link-hover-color);
}

/* Footer with LinkedIn and theme toggle */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Theme toggle */
.theme-toggle {
    background: none;
    border: none;
    color: var(--toggle-color);
    font-family: inherit;
    font-size: 0.875rem;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.2s ease;
}

.theme-toggle:hover {
    color: var(--link-color);
}
