/* Paleta minimalista */
:root {
    --main-color: #222;
    --accent-color: #007acc;
    --bg-color: #f9f9f9;
    --white: #fff;
    --gray: #eaeaea;
    --text: #222;
    --shadow: 0 2px 8px rgba(0,0,0,0.04);
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    background: var(--bg-color);
    color: var(--text);
    line-height: 1.6;
}

header {
    background: var(--white);
    color: var(--main-color);
    padding: 2.5rem 0 1.5rem 0;
    text-align: center;
    border-bottom: 1px solid var(--gray);
    box-shadow: var(--shadow);
}

header img {
    width: 96px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 2px solid var(--gray);
    box-shadow: none;
}

nav {
    margin-top: 1rem;
}

nav a {
    color: var(--main-color);
    margin: 0 1.2rem;
    text-decoration: none;
    font-weight: 500;
    padding: 0.3rem 0.7rem;
    border-radius: 3px;
    transition: background 0.2s, color 0.2s;
}

nav a:hover {
    background: var(--accent-color);
    color: var(--white);
}

section {
    max-width: 700px;
    margin: 2.5rem auto;
    background: var(--white);
    padding: 2rem 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray);
}

h2 {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
    letter-spacing: -1px;
}

.proyectos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 700px) {
    .proyectos {
        grid-template-columns: 1fr;
    }
    section {
        padding: 1.2rem;
    }
}

.proyecto {
    background: var(--bg-color);
    padding: 1.2rem 1rem;
    border-radius: 8px;
    box-shadow: none;
    border: 1px solid var(--gray);
    transition: box-shadow 0.2s;
}

.proyecto:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.proyecto h3 {
    margin-top: 0;
    font-size: 1.2rem;
    color: var(--main-color);
    font-weight: 500;
}

footer {
    text-align: center;
    padding: 1.5rem 0 1rem 0;
    background: var(--white);
    color: var(--main-color);
    border-top: 1px solid var(--gray);
    margin-top: 2rem;
    font-size: 0.95rem;
}

.button {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1rem;
    border: none;
    transition: background 0.2s;
}

.button:hover {
    background: #005f99;
}

.flex-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 16rem;
    height: 6rem;
    background: var(--white);
    border: 1.5px solid var(--accent-color);
    font-size: 2rem;
    color: var(--accent-color);
    margin: 2rem 1rem 3rem 0;
    border-radius: 6px;
    box-shadow: none;
    transition: border 0.2s, color 0.2s;
}

.flex-container:hover {
    border: 1.5px solid var(--main-color);
    color: var(--main-color);
}