/* ===== RESET / BASE ===== */
html,
body {
  overflow-x: hidden;
  min-height: 100vh;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: black;
  padding: 0;
  color: white;
}

/* ===== HEADER ===== */
header {
  padding: 20px;
}

header nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

header nav ul li a {
  color: rgb(227, 226, 226);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  transition: color 0.3s;
}

header nav ul li a:hover {
  color: #0328cb;
}

/* ===== TÍTULO COM EFEITO ===== */
.titulo-secao {
  position: relative;
  display: inline-block;
  font-size: 2rem;
  color: white;
}

.titulo-secao::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #00ffff, #0080ff);
  transition: width 0.5s ease;
}

.titulo-secao:hover::after {
  width: 100%;
}

/* ===== SEÇÃO PROJETOS ===== */
#MeusProjetos {
  padding: 100px 0 50px;
  min-height: calc(100vh - 150px);
}

.container-MeusProjetos {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.texto-MeusProjetos h1 {
  font-size: 44px;
  font-weight: bold;
  margin-bottom: 40px;
  text-align: center;
}

/* ===== GRID ===== */
.projetos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* ===== CARD ===== */
.card-projeto {
  background: #151313;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  transition: all 0.3s ease;
}

.card-projeto h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.card-projeto p {
  font-size: 14px;
  margin-bottom: 25px;
  line-height: 1.5;
}

.card-projeto:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 255, 255, 0.12);
}

/* ===== TECNOLOGIAS ===== */
.tecnologias {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.tech {
  background-color: #1a1a1a;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  border: 2px solid #333;
  font-size: 14px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.tech:hover {
  color: #ffffff;
  border-color: #00ffff;
  box-shadow:
    0 0 10px #00ffff,
    0 0 20px #0d25b0,
    0 0 30px #253232;
  text-shadow: 0 0 10px #0033ff;
  transform: translateY(-2px);
}

/* ===== BOTÕES ===== */
.botoes {
  margin-top: auto;
}

.btn,
.btn2 {
  color: rgb(35, 90, 207);
  text-decoration: none;
  font-style: oblique;
  transition: color 0.3s;
}

.btn2 {
  margin-left: 15px;
}

.btn:hover,
.btn2:hover {
  color: white;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
  header nav {
    justify-content: center;
  }

  header nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .texto-MeusProjetos h1 {
    font-size: 28px;
  }

  .card-projeto {
    min-height: auto;
  }
}
