:root {
    --bg: #ffffff;
    --text: #333333;
    --accent: #0070f3;
    --secondary: #666666;
    --light-grey: #f4f4f4;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text);
    margin: 0;
    padding: 0;
}

.container { max-width: 1000px; margin: 0 auto; padding: 2rem; }

nav {
    background: white;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

nav ul { list-style: none; display: flex; gap: 1.5rem; margin: 0; }
nav a { text-decoration: none; color: var(--text); font-weight: 500; }

.cv-btn {
    background: var(--accent);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

header { padding: 4rem 0; background: var(--light-grey); }
h1 { margin: 0; font-size: 2.5rem; }
.subtitle { font-size: 1.25rem; color: var(--secondary); margin-bottom: 2rem; }

.skills span {
    background: #e0e0e0;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.project-card {
    margin-bottom: 4rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 2rem;
}

.project-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

@media (max-width: 600px) {
    .project-content { grid-template-columns: 1fr; }
}

video, img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.live-link, .github-link {
    display: inline-block;
    margin-top: 1rem;
    margin-right: 1rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: bold;
}

.about-layout {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.profile-picture {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 100px 50px 200px 10px; /* Matching your original style */
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .about-layout {
        flex-direction: column;
        text-align: center;
    }
}