/* Fonte */
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

/* Títulos */
h1, h2, h3 {
  font-weight: 600;
}

h2 {
  border-bottom: 2px solid #eee;
  padding-bottom: 6px;
  margin-bottom: 20px;
}

/* Links: subtle but visible */
a {
  color: #2C3E50;
  text-decoration: underline;
  text-decoration-color: rgba(44, 62, 80, 0.3);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a:hover {
  color: #18BC9C;
  text-decoration-color: #18BC9C;
}


/* Parágrafos */
p {
  margin-bottom: 1em;
}

/* Layout da home */
.home-container {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

/* Texto da home */
.home-text {
  max-width: 600px;
}

/* Foto de perfil */
.profile-pic {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Responsivo */
@media (max-width: 768px) {
  .home-container {
    flex-direction: column;
    text-align: center;
  }
}


/* Education layout */
.edu-item {
  margin-bottom: 35px;
}

.edu-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.edu-title {
  font-weight: 600;
  font-size: 1.1em;
}

.edu-date {
  font-size: 0.9em;
  color: #777;
  white-space: nowrap;
}

/* Mobile: empilha título e data */
@media (max-width: 768px) {
  .edu-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .edu-date {
    margin-top: 4px;
  }
}


/* Tutorials */
.tutorial-item {
  margin-bottom: 35px;
  padding-left: 10px;
  border-left: 3px solid #eee;
}

.tutorial-item h3 {
  margin-bottom: 6px;
}

.tutorial-item strong {
  font-weight: 600;
}


/* Projects / Research */
.project-item {
  margin-bottom: 60px;
}

.project-header {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.project-text {
  flex: 1;
}

.project-image {
  width: 280px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Publications list */
.project-item ul {
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .project-header {
    flex-direction: column;
  }

  .project-image {
    width: 100%;
    max-width: 400px;
  }
}

.edu-sublist {
  margin-top: 8px;
  margin-bottom: 0;
  padding-left: 20px;
  font-size: 0.95em;
  color: #555;
}

.edu-sublist li {
  margin-bottom: 4px;
}
