/* Variables globales */
:root {
    --color-primary: #000000;
    --color-secondary: #5FD7D0;
    --color-text: #ffffff;
    --color-text-dark: #333333;
    --color-background: #adadad;
    --color-card: #f8f9fa;
    --color-border: #e9ecef;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Raleway', sans-serif;
}

/* Estilos generales */
* {
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: var(--color-background);
    color: var(--color-text-dark);
    line-height: 1.6;
}

/* Header */
header {
    text-align: center;
    padding: 2rem;
    background-color: var(--color-primary);
    color: var(--color-text);
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--color-secondary);
}

header h1 {
    font-family: var(--font-secondary);
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

header h2 {
    font-family: var(--font-secondary);
    color: var(--color-secondary);
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 400;
    letter-spacing: 1px;
}

header img {
    border-radius: 50%;
    border: 3px solid var(--color-secondary);
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Navegación */
nav {
    background-color: var(--color-background);
    padding: 1.5rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

nav a {
    color: var(--color-text-dark);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    transition: all 0.3s ease;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    font-family: var(--font-secondary);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;    
    height: 48px;
}

nav a:hover {
    color: var(--color-secondary);
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

nav a:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Secciones */
section {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--color-background);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

section h2 {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-size: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-secondary);
    display: inline-block;
    font-family: var(--font-secondary);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Habilidades */
#habilidades ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

#habilidades li {
    background-color: var(--color-card);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    font-weight: 400;
    letter-spacing: 0.3px;
}

#habilidades li:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Proyectos */
#proyectos article {
    background-color: var(--color-card);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

#proyectos article:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#proyectos h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1.4rem;
    letter-spacing: 0.3px;
}

#proyectos p {
    font-weight: 300;
    line-height: 1.8;
}

/* Contacto */
#contacto ul {
    list-style: none;
    background-color: var(--color-card);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

#contacto li {
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

#contacto li:hover {
    background-color: rgba(95, 215, 208, 0.1);
}

#contacto a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

#contacto a:hover {
    color: var(--color-secondary);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--color-card);
    margin-top: 2rem;
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.05);
    font-family: var(--font-secondary);
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Media Queries para responsive */
@media (max-width: 768px) {
    nav {
        position: static;
        box-shadow: none;
        padding: 0.5rem 0;
        background-color: var(--color-background);
    }
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0.2rem;
        padding: 0;
    }
    nav li {
        width: auto;
        display: flex;
        justify-content: center;
    }
    nav a {
        width: auto;
        font-size: 1rem;
        padding: 0.3rem 1rem;
        margin: 0;
    }
    section {
        padding: 1.2rem 0.5rem;
    }
    body {
        padding-top: 0;
    }
} 