body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    background: #f7f9fb;
    color: #222;
}

header {
    background: #2d3e50;
    color: #fff;
    padding: 2rem 0 1rem 0;
    text-align: center;
}

header .subtitle {
    font-size: 1.2rem;
    color: #b0c4de;
    margin-bottom: 1rem;
}

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

nav a {
    color: #b0c4de;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}

nav a:hover {
    color: #fff;
}

main {
    max-width: 800px;
    margin: 2rem auto;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(44, 62, 80, 0.08);
}

h2 {
    color: #2d3e50;
    border-bottom: 2px solid #b0c4de;
    padding-bottom: 0.3rem;
    margin-top: 2rem;
}

.project {
    margin-bottom: 2rem;
    background: #f3f6fa;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    transition: box-shadow 0.2s;
    box-shadow: 0 1px 4px rgba(44, 62, 80, 0.05);
}

.project:hover {
    box-shadow: 0 4px 16px rgba(44, 62, 80, 0.12);
}

.cv-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.7rem 1.5rem;
    background: #2d3e50;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.2s;
}

.cv-btn:hover {
    background: #1a232e;
}

footer {
    text-align: center;
    padding: 1rem 0;
    background: #2d3e50;
    color: #b0c4de;
    margin-top: 2rem;
    border-radius: 0 0 12px 12px;
}

img.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid #b0c4de;
}

#contact a {
    color: #2d3e50;
    font-weight: bold;
    text-decoration: underline;
    transition: color 0.2s;
}

#contact a:hover {
    color: #1a232e;
}

@media (max-width: 600px) {
    main {
        padding: 1rem;
    }
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }
}