/* RESET E CONFIGURAÇÕES BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --cor-primaria: #10b981;
  --cor-secundaria: #38bdf8;
  --cor-fundo: #0f172a;
  --cor-texto: #e2e8f0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #0f172a;
  color: #e2e8f0;
  line-height: 1.6;
   overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1000px;
  margin: auto;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(90deg, #10b981, #065f46);
  padding: 40px 0;
  color: #fff;
  text-align: center;
}

.logo {
  font-size: 2rem;
  color: #10b981;
  margin-bottom: 10px;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ffe600;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.hero span {
  color: #ffe600;
}

.profile-img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* SEÇÕES GERAIS */
main {
  padding: 40px 0;
}

.card {
  background-color: #1e293b;
  padding: 30px;
  margin-bottom: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

/* LISTA DE LINGUAGENS */
.linguagens-list {
  list-style: none;
  padding-left: 0;
  margin-top: 15px;
}

.linguagens-list li {
  margin-bottom: 10px;
  padding: 10px;
  background-color: #0f172a;
  border-left: 4px solid #10b981;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* PROJETOS */
.projetos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.projeto-logo {
  width: 100%;
  max-width: 200px;
  margin: 0 auto 15px auto;
  display: block;
  object-fit: contain;
  height: 100px;
}


.projeto {
  background-color: #0f172a;
  padding: 1.5rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.projeto:hover {
  transform: scale(1.02);
}

.projeto p {
  margin: 0.5rem 0;
  flex-grow: 1;
}

.projeto-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  max-height: 200px;
}


.projeto h4 {
  font-size: 1.2rem;
  margin-top: 1rem;
  color: #10b981;
}


.projeto a {
  margin-top: auto;
  color: #3b82f6;
  text-decoration: underline;
}

.projeto a:hover {
  text-decoration: underline;
}

.subtitulo-projetos {
  font-size: 1.3rem;
  color: #38bdf8;
  margin: 30px 0 15px;
  border-bottom: 2px solid #334155;
  padding-bottom: 5px;
}

.tech-tag {
  display: inline-block;
  background-color: #374151;
  color: #10b981;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-right: 0.25rem;
  font-size: 0.85rem;
}

/* CONTACTO */
.contact-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.email_text {
  color: #38bdf8;
  margin-left: 5px;
}

.copy-btn {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  margin-left: 8px;
  font-size: 1rem;
}

.copy-btn:hover {
  color: #10b981;
}

/* FOOTER */
footer {
  width: 100vw; /* força o footer a ocupar toda a largura da viewport */
  background-color: #1e293b;
  padding: 30px 0;
  color: #94a3b8;
  text-align: center;
  font-size: 0.95rem;
  margin-top: 40px;
  border-top: 1px solid #334155;
}

.footer-content {
  max-width: 1200px; /* define uma largura máxima para o conteúdo interno */
  margin: 0 auto;     /* centraliza o conteúdo dentro do footer */
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.footer-links a {
  margin: 0 10px;
  color: #94a3b8;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #38bdf8;
}

/* RESPONSIVO */
@media (max-width: 768px) {


  .hero-content {
    flex-direction: column;
    text-align: center;
  }
}

.projeto-icone {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.projeto-icon {
  color: #38bdf8;
  margin-bottom: 15px;
}


.moove{
  margin-left: 23px;
}
/* Botão de menu hamburguer */
/* Botão hamburguer */
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
}


/* Estilo do menu colapsado em mobile */
@media (max-width: 768px) {
  #menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1001;
  }
  

  .nav-links {
  position: absolute;
  top: 0px; /* ajusta conforme tua navbar */
  right: 0;
  left: 0;
  background-color: rgba(20, 20, 40, 0.95);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 30px 0;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);

  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s;
  z-index: 999;
}

.nav-links.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition: all 0.3s ease;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #f5c518; /* amarelo destaque */
}
}

