/* Fuentes y colores base */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Playfair+Display:wght@700&display=swap');

:root {
    --primary: #6c63ff;
    --secondary: #4a45b1;
    --dark: #333;
    --light: #f9f9f9;
    --accent: #ff6b6b;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
}

.container {
    display: flex;
    max-width: 1200px;
    margin: 2rem auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

/* Sidebar */
.sidebar {
    width: 30%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 2rem;
    text-align: center;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    margin-bottom: 1rem;
}

.profile h1 {
    font-family: 'Playfair Display', serif;
    margin: 0;
    font-size: 1.8rem;
}

.profession {
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.contact-info, .skills, .languages {
    margin-bottom: 2rem;
    text-align: left;
}

.contact-info ul, .skills ul, .languages ul {
    list-style: none;
    padding: 0;
}

.contact-info li, .skills li, .languages li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Main Content */
.main-content {
    width: 70%;
    padding: 2rem;
}

section {
    margin-bottom: 2rem;
}

.about p {
    font-size: 1.1rem;
}

.job, .project, .degree {
    margin-bottom: 1.5rem;
}

.company, .institute {
    font-style: italic;
    color: #666;
    margin-bottom: 0.5rem;
}

.project a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

.project a:hover {
    color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .sidebar, .main-content {
        width: 100%;
    }
}