/* ================================
   Reset e Base
=================================*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #f9fafb;
  color: #333;
  line-height: 1.6;
}

/* ================================
   Container Principal
=================================*/
.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ================================
   Cabeçalho / Navbar
=================================*/
header {
  background-color: #0d1b2a;
  padding: 1rem 2rem;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  color: #ffffff;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #00b4d8;
}

/* ================================
   Seção Hero
=================================*/
.hero {
  text-align: center;
  padding: 4rem 2rem;
  background-color: #00b4d8;
  color: white;
}

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

/* ================================
   Sessões Genéricas
=================================*/
.section {
  max-width: 1100px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #0d1b2a;
}

/* ================================
   Projetos - Grid e Cards
=================================*/
.projetos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.projeto-card {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: left;
}

.projeto-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.projeto-card h3 {
  margin-bottom: 0.5rem;
  color: #007acc;
}

.projeto-card p {
  font-size: 0.95rem;
  color: #444;
}

.projeto-img {
  width: 100%;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 1rem;
}

/* Links do Projeto */
.titulo-projeto {
  color: #007acc;
  font-weight: 700;
  text-decoration: none;
}

.titulo-projeto:hover {
  text-decoration: underline;
}

.link-github {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
  color: #444;
  text-decoration: none;
}

.link-github:hover {
  color: #007acc;
  text-decoration: underline;
}

/* ================================
   Seção Contato
=================================*/
.contato-lista {
  list-style: none;
  padding: 0;
}

.contato-lista li {
  margin-bottom: 0.8rem;
}

.contato-lista a {
  color: #0077b6;
  text-decoration: none;
}

.contato-lista a:hover {
  text-decoration: underline;
}

/* ================================
   Rodapé
=================================*/
footer {
  background-color: #0d1b2a;
  color: white;
  text-align: center;
  padding: 1.5rem;
  margin-top: auto;
}

/* ================================
   Responsividade
=================================*/
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .hero {
    padding: 3rem 1rem;
  }
}
