:root {
    --primary-color: #0078d4;
    --secondary-color: #50e6ff;
    --text-color: #323130;
    --background-color: #faf9f8;
    --section-background: #ffffff;
}

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

nav {
    background: var(--primary-color);
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: rgba(255,255,255,0.1);
}

nav a.active {
    background-color: rgba(255,255,255,0.2);
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

section {
    background: var(--section-background);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

h1, h2, h3 {
    color: var(--primary-color);
}

.profile-header {
    text-align: center;
    margin-bottom: 3rem;
}

.profile-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.profile-header h2 {
    font-size: 1.5rem;
    font-weight: normal;
    color: var(--text-color);
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 2rem;
    display: block;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.competencies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.contact-item {
    padding: 1rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

footer {
    text-align: center;
    padding: 2rem;
    background: var(--primary-color);
    color: white;
    margin-top: 4rem;
}

.site-implementation {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--section-background);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.site-implementation ul {
    list-style-type: none;
    padding-left: 1.5rem;
}

.site-implementation li {
    position: relative;
    margin: 0.5rem 0;
}

.site-implementation li::before {
    content: "→";
    position: absolute;
    left: -1.5rem;
    color: var(--primary-color);
}

.site-implementation a {
    color: var(--primary-color);
    text-decoration: none;
}

.site-implementation a:hover {
    text-decoration: underline;
}

/* Project Cards */
.project-card {
    background: var(--section-background);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.project-card h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.timeline {
    color: #666;
    font-style: italic;
}

.technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.technologies span {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 16px;
    font-size: 0.9rem;
}

.projects h2 {
    margin: 2rem 0 1.5rem;
}

.project-card ul {
    padding-left: 1.5rem;
}

.project-card li {
    margin: 0.5rem 0;
}

@media (max-width: 768px) {
    .competencies-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
}