/* adriana r.f. (@adrmisty) / feb 2026 */

:root {
    --primary: #2c3e50;
    --accent: #db605c; /* Azul profesional */
    --bg-sidebar: #f8f9fa;
    --text: #333;
    --light-text: #666;
    --border: #e1e4e8;
}

body { margin: 0; font-family: 'Segoe UI', Roboto, Helvetica, sans-serif; color: var(--text); height: 100vh; overflow: hidden; }

/** LAYOUT **/
.container { display: flex; height: 100%; }

/** SIDEBAR **/
.sidebar {
    width: 300px;
    background: var(--bg-sidebar);
    padding: 40px 20px;
    text-align: center;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
}


/** PROFILE PICTURE **/
.profile-pic { 
    width: 140px; height: 140px; 
    border-radius: 50%; object-fit: cover; 
    margin-bottom: 15px; 
    border: 4px solid white; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
}

/** SIDE BAR WITH MY CONTACT INFO **/
.sidebar h2 { margin: 10px 0 5px; font-size: 1.4rem; }
.role { font-weight: bold; color: var(--accent); margin: 0 0 5px; font-size: 1rem; }
.tagline { font-size: 0.9rem; color: var(--light-text); margin-bottom: 20px; }
.contact-info { list-style: none; padding: 0; width: 100%; text-align: left; }
.contact-item { margin: 12px 0; font-size: 0.95rem; display: flex; align-items: center; }
.contact-icon { width: 25px; text-align: center; color: var(--accent); margin-right: 10px; }
.contact-item a { text-decoration: none; color: var(--text); transition: color 0.2s; }
.contact-item a:hover { color: var(--accent); }
.sidebar-separator { margin: 25px 0; border: 0; border-top: 1px solid #ddd; }

/** MAIN CONTENT **/
.content { flex: 1; padding: 40px; overflow-y: auto; background: white; }

/** NAVIGATION TABS **/
.tabs-nav { margin-bottom: 30px; border-bottom: 2px solid #eee; display: flex; gap: 20px; flex-wrap: wrap; }
.tab-btn {
    background: none; border: none; padding: 10px 5px;
    font-size: 1.05rem; cursor: pointer; color: var(--light-text);
    border-bottom: 3px solid transparent; margin-bottom: -2px; font-weight: 500;
}
.tab-btn:hover { color: var(--accent); }
.tab-btn.active { border-bottom: 3px solid var(--accent); color: var(--accent); }

/** SECTIONS **/
h1 { font-size: 2rem; margin-bottom: 1.5rem; color: var(--primary); }
h2.section-title { font-size: 1.3rem; margin-top: 2rem; border-bottom: 1px solid #eee; padding-bottom: 10px; color: var(--primary); }
p.intro-text { font-size: 1.1rem; line-height: 1.6; color: #444; }

/** EXPERIENCE AND EDUCATION **/
.resume-item { margin-bottom: 25px; display: flex; gap: 20px; }
.resume-item .date { min-width: 140px; font-weight: bold; color: var(--light-text); font-size: 0.9rem; margin-top: 4px; }
.resume-item .details h3 { margin: 0; font-size: 1.1rem; }
.resume-item .institution { display: block; color: var(--accent); font-weight: 500; margin-bottom: 8px; font-size: 0.95rem; }
.resume-item ul { margin: 5px 0 0 20px; padding: 0; color: #555; }
.resume-item li { margin-bottom: 5px; }

/** SKILLS **/
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.skill-category { background: #fdfdfd; padding: 20px; border: 1px solid #eee; border-radius: 8px; }
.skill-category h3 { margin-top: 0; font-size: 1.1rem; color: var(--primary); display: flex; align-items: center; gap: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tags span { background: #eef2f7; color: var(--primary); padding: 4px 10px; border-radius: 4px; font-size: 0.9rem; font-weight: 500; }
.lang-list { list-style: none; padding: 0; margin-top: 10px; }
.lang-list li { margin-bottom: 5px; font-size: 0.95rem; }

/** PROJECTS **/
.project-card { border: 1px solid #eee; padding: 20px; border-radius: 8px; margin-bottom: 20px; transition: transform 0.2s; }
.project-card:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.project-card h3 { margin: 0 0 5px; }
.project-card .role { background: var(--accent); color: white; padding: 2px 8px; border-radius: 12px; font-size: 0.75rem; vertical-align: middle; }

/** RESPONSIVITY **/
@media (max-width: 768px) {
    .container { flex-direction: column; height: auto; overflow: visible; }
    .sidebar { width: 100%; padding: 20px; border-right: none; border-bottom: 1px solid #eee; }
    .content { padding: 20px; overflow: visible; }
    .resume-item { flex-direction: column; gap: 5px; }
    .tabs-nav { gap: 10px; justify-content: center; }
}

/* MAP STYLES */
.map-container {
    width: 100%;
    height: 350px; /* map height */
    border-radius: 12px;
    margin-top: 15px;
    margin-bottom: 25px;
    border: 2px solid #eee;
    z-index: 1; /* do not go over menu */
}

/* ABOUT ME */
.personal-section {
    background: #f1d9d8;
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
    border-left: 5px solid var(--accent, #e46454);
}

.personal-section h3 { margin-top: 0; color: #2c3e50; }

.hobbies-grid {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.hobbies-grid span {
    background: white;
    padding: 8px 15px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hobbies-grid span i { color: var(--accent, #e46454); }