/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #f2f2f2;
  color: #333;
  padding-bottom: 50px;
}

a {
  color: #007acc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3 {
  color: #222;
  margin-bottom: 10px;
}

/* Header */
.header {
  text-align: center;
  padding: 60px 20px 20px;
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.profile-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #007acc;
  margin-bottom: 15px;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background-color: #007acc;
  padding: 10px 0;
}

.navbar a {
  color: #fff;
  margin: 10px 15px;
  font-weight: 500;
}

/* Sections */
section {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

section h2 {
  font-size: 28px;
  margin-bottom: 20px;
  border-bottom: 2px solid #007acc;
  display: inline-block;
}

/* About */
#about p {
  font-size: 1.1rem;
}

/* Timeline (Experience) */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.timeline-item {
  padding: 15px 20px;
  background-color: #fff;
  border-left: 4px solid #007acc;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.timeline-item h3 {
  margin-bottom: 5px;
}

/* Education */
.education-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.education-item {
  background-color: #fff;
  padding: 15px 20px;
  border-left: 4px solid #007acc;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.education-item h3 {
  margin-bottom: 5px;
}

/* Certificates */
.certificate-list {
  list-style: none;
  padding: 0;
}

.certificate-list li {
  background-color: #fff;
  padding: 15px 20px;
  margin-bottom: 15px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  border-left: 4px solid #007acc;
}

/* Projects */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.project-card {
  background-color: #fff;
  padding: 20px;
  border-left: 4px solid #007acc;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* Contact */
#contact ul {
  list-style: none;
  padding-left: 0;
  font-size: 1.1rem;
}

#contact li {
  margin-bottom: 10px;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px 0;
  background-color: #ffffff;
  color: #777;
  font-size: 0.9rem;
  margin-top: 40px;
  box-shadow: 0 -1px 4px rgba(0,0,0,0.05);
}

/* Responsividade */
@media (max-width: 600px) {
  .profile-photo {
    width: 100px;
    height: 100px;
  }

  section h2 {
    font-size: 24px;
  }

  .navbar a {
    margin: 5px 10px;
  }
}

html {
  scroll-behavior: smooth;
}

.timeline-item, .education-item, .certificate-list li {
  display: flex;
  align-items: center;
  gap: 20px;
}

.institution-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 4px;
}

.content-block {
  flex: 1;
}

@media (max-width: 600px) {
  .timeline-item, .education-item, .certificate-list li {
    flex-direction: column;
    align-items: flex-start;
  }

  .institution-logo {
    margin-bottom: 10px;
  }
}

