/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #222222;
    --text-primary: #e0e0e0;
    --text-secondary: #999999;
    --link-color: #b0b0b0;
    --link-hover: #ffffff;
    --heading-color: #d0d0d0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 4rem 2rem;
}

/* Layout */
.container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 900px;
    width: 100%;
}

@media (min-width: 768px) {
    .container {
        flex-direction: row;
        justify-content: space-between;
        gap: 6rem;
    }
}

.content {
    flex: 1;
    max-width: 600px;
}

.sidebar {
    width: 200px;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Typography & Content */
header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--heading-color);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.personal-info {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.personal-info p {
    margin-bottom: 0.25rem;
}

.flag {
    font-size: 1rem;
    margin-left: 4px;
}

.profile-picture {
    margin-bottom: 2rem;
    width: fit-content;
}

.profile-picture img {
    max-width: 280px;
    height: auto;
    border-radius: 4px;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.profile-picture img:hover {
    filter: grayscale(0%);
}

.bio p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

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

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

.bio .link {
    text-decoration: underline;
    text-decoration-color: #555;
    text-underline-offset: 4px;
}

.bio .link:hover {
    text-decoration-color: var(--link-hover);
}

/* Sidebar Specifics */
.link-group h3 {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.link-group ul {
    list-style: none;
}

.link-group li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.2rem;
}

.link-group li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #555;
}

.link-group li a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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