/* Reset e base */
html {
  scroll-behavior: smooth;
}
body {
  background-color: #121212;
  color: #e0e0e0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  padding-top: 70px;
}

/* Navbar preta com texto branco */
nav.navbar {
  background-color: #000000;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1030;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
nav.navbar .navbar-brand,
nav.navbar .nav-link {
  color: #fff !important;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
  border-radius: 4px;
  padding: 0.3rem 0.6rem;
}
nav.navbar .nav-link:hover {
  background-color: #222222; /* cinza escuro */
  color: #fff !important;
}
nav.navbar .navbar-toggler {
  border-color: #fff;
}
nav.navbar .navbar-toggler-icon {
  filter: invert(1);
}

/* Hero */
.hero {
  background-color: #000000;
  color: #003f91;
  padding: 4rem 1rem 4rem;
  border-bottom: 0px solid #ffd700;
  width: 100%;
}
.hero-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  gap: 2rem;
}
.hero-photo img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #ffd700;
  box-shadow: 0 0 10px #ffd700aa;
}
.hero-text {
  flex: 1 1 300px;
  color: #e0e0e0;
}
.hero-text h1 {
  font-weight: 700;
  font-size: 2.8rem;
  margin-bottom: 0.3rem;
}
.hero-text p {
  font-size: 1.3rem;
  font-weight: 500;
  color: #8888cc;
  margin-bottom: 1.5rem;
}

/* Circles dos temas */
.hero-themes {
  position: relative;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  padding: 1rem 0 2rem 0;
  user-select: none;
}
.theme-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: #222222;
  color: #ffd700;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  box-shadow: 0 0 5px #ffd700bb;
  cursor: default;
  position: relative;
  z-index: 2;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.theme-circle:hover {
  background-color: #ffd700;
  color: #000;
}

/* SVG linhas */
.hero-themes svg.connections {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Sobre Mim */
section#sobre,
section#projetos,
section#contato {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1rem;
}
h2 {
  color: #ffd700;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Cards de projeto */
.project-card {
  background-color: #222222;
  border-radius: 12px;
  padding: 1.5rem;
  color: #fff;
  box-shadow: 0 0 12px #ffd700aa;
  text-decoration: none;
  transition: background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.project-card:hover {
  background-color: #333333;
  text-decoration: none;
}
.project-title {
  font-weight: 700;
  font-size: 1.4rem;
  margin: 0;
}
.project-desc,
.project-objective {
  font-size: 0.95rem;
  color: #ccc;
}
.icons i {
  font-size: 1.6rem;
  margin-right: 0.5rem;
  filter: drop-shadow(0 0 1px #ffd700);
}

/* Contato */
.social-icons {
  display: flex;
  gap: 1.2rem;
  font-size: 2rem;
  justify-content: center;
  margin-top: 1rem;
}
.social-icons a {
  color: #ffd700;
  transition: color 0.3s ease;
}
.social-icons a:hover {
  color: #fff;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem 0;
  background-color: #000;
  color: #555;
  font-size: 0.9rem;
  border-top: 1px solid #222;
}

/* Responsividade */
@media (max-width: 720px) {
  .hero-content {
    flex-direction: column;
  }
  .hero-photo img {
    width: 140px;
    height: 140px;
  }
  .theme-circle {
    width: 70px;
    height: 70px;
    font-size: 0.8rem;
  }
}
