:root {
    --primary-color: #34495e; /* Azul oscuro */
    --secondary-color: #e9ecef; /* Gris claro */
    --accent-color: #3498db; /* Azul */
    --text-color: #2c3e50; /* Gris azulado */
    --light-text-color: #ecf0f1; /* Gris muy claro */
    --card-bg: #ffffff; /* Blanco */
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
}

header {
    background: var(--primary-color);
    color: var(--light-text-color);
}

.profile-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--accent-color);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease-in-out;
}

.profile-photo:hover {
    transform: scale(1.05);
}

.navbar {
    background-color: var(--card-bg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    top: 0;
    z-index: 1000;
}

.navbar .nav-link {
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar .nav-link:hover {
    color: var(--accent-color);
}

.card {
    border: none;
    background-color: var(--card-bg);
    border-radius: 12px;
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
}

.section-title, .sub-section-title {
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.list-group-item {
    background-color: transparent;
    border: none;
    border-left: 3px solid var(--accent-color);
    padding-left: 15px;
    margin-bottom: 8px;
    transition: background-color 0.3s ease;
}

.list-group-item:hover {
    background-color: rgba(52, 152, 219, 0.1);
}

.timeline {
    position: relative;
    list-style: none;
    padding-left: 30px;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--accent-color);
}

.timeline-item {
    margin-bottom: 20px;
    position: relative;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -10px;
    top: 5px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--accent-color);
    border: 3px solid var(--card-bg);
}

.social-links a {
    color: var(--primary-color);
    margin: 0 10px;
    transition: transform 0.3s ease-in-out, color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px) scale(1.1);
}

footer {
    background: var(--primary-color);
    color: var(--light-text-color);
}

/* Animación al hacer scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}