/*---------- GERAL ---------- */ 

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

* {
    margin: 0;
    padding: 0;
}

body{
     font-family: 'Poppins', sans-serif;
     background-color: #0A0A0A;
}

html {
    scroll-behavior: smooth;
}

p {
    color: white;
}

a, .btn {
    transition: all 0.3s ease;
}

section {
  min-height: 100vh;        /* cada section ocupa pelo menos uma tela inteira */
  padding: 80px 10%;        /* espaço interno para o conteúdo */
  box-sizing: border-box;   /* garante que padding não aumente altura total */
  scroll-snap-align: start; /* caso use scroll-snap */
  position: relative;
}

/* Ajuste específico para projetos */
#projetos {
  padding-top: 100px;
  padding-bottom: 120px; /* aumenta espaço inferior para separar do contato */
}

/* Ajuste específico para contato */
#contato {
  padding-top: 100px;     /* garante distância do topo */
  padding-bottom: 100px;
}
/*---------- NAVEGAÇÃO ----------*/

nav, .nav-links {
    display: flex;
}

nav {
    justify-content: space-around;
    align-items: center;
    height: 17vh;
}

.nav-links {
    gap: 2rem;
    list-style: none;
    font-size: 1.5rem;
}

a {
    color: white;
    text-decoration: none;
    position: relative;
}

a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background: #00e5ff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}

a:hover {
    color: #00e5ff;
}

a:hover::after {
    transform: scaleX(1);
}

.logo {
    color: white;
    font-size: 2rem;
}

.logo span {
    color: #00e5ff;
}
.logo:hover {
    cursor : default;
}

/*---------- HAMBURGER ----------*/

#hamburguer-nav {
    display: none;
}

.hamburguer-menu {
    position: relative;
    display: none; /* 🔥 ESCONDE POR PADRÃO */
}

.hamburguer-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    cursor: pointer;
}

.hamburguer-icon span {
    height: 2px;
    width: 100%;
    background-color: white;
    transition: all 0.3s ease-in-out;
}

.menu-links {
    position: absolute;
    top: 100%;
    margin-top: 40px; 
    right: 0;
    transform: translateX(30px);
    padding-bottom: 10px;
    background: black;
    backdrop-filter: blur(10px);
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.menu-links a {
    display: block;
    padding: 10px;
    position: relative;
    width: fit-content;
    margin: 0 auto;
}

.menu-links li {
    list-style: none;
}

.menu-links.open {
    max-height: 500px;
}

.hamburguer-icon.open span:first-child {
    transform: rotate(45deg) translate(10px, 5px);
}

.hamburguer-icon.open span:nth-child(2) {
    opacity: 0;
}

.hamburguer-icon.open span:last-child {
    transform: rotate(-45deg) translate(10px, -5px);
}

.hamburguer-icon span:first-child {
    transform: none;
}

.hamburguer-icon span:first-child {
    opacity: 1;
}

.hamburguer-icon span:first-child {
    transform: none;
}

/*---------- SECTIONS INICIAL ----------*/

#perfil {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  height: 100vh;
  padding: 0 10%;
}

.section_pic-container img {
  width: 350px;
  height: 350px;
  object-fit: cover;
}

.section_text {
  max-width: 500px;

  display: flex;
  flex-direction: column;
  align-items: flex-start; 
  text-align: left;        
}

.section_text_p1 {
  font-size: 18px;
  color: #aaa;
  margin-bottom: 7px;
}

.title {
color: white;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 7px;
}

.title span {
  color: #00e5ff;
}

.section_text_p2 {
  font-size: 22px;
  color: #ccc;
  margin-bottom: 25px;
}

.btn-container {
  display: flex;
  justify-content: center; 
  gap: 15px;
  margin: 25px 0;
}

.btn {
  padding: 12px 22px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: 0.3s;
}

.btn-color-1 {
  background-color: #00e5ff;
  color: white;
}

.btn-color-1:hover {
  background-color: #00e5ff;
}

.btn-color-2 {
  background-color: transparent;
  border: 2px solid #fff;
  color: white;
}

.btn-color-2:hover {
  background-color: white;
  color: black;
}

/* ÍCONES */
.midias-sociais {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  justify-content: flex-start; 
  margin-left: 100px;
}

.midias-sociais a {
  font-size: 22px;
  color: white;
  transition: 0.3s;
}

.midias-sociais a:hover {
  color: #00e5ff; 
}

.midias-sociais a::after {
  display: none !important;
  content: none !important;
}

/*---------- SECTION SOBRE ----------*/

#sobre {
  padding: 100px 10%;
}

.sobre-subtitle {
  text-align: center;
  color: #aaa;
  margin-bottom: 5px;
}

#sobre .title {
  text-align: center;
  margin-bottom: 50px;
}

.sobre-container {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-left: 5%;
}

.sobre-img img {
  width: 350px;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  filter: grayscale(100%);
}

.sobre-content {
  flex: 1;
}

.card {
  max-width: 280px;
  flex: 1;
  border: 1px solid #00e5ff; 
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  transition: 0.3s;
  background-color: #111;
}

.sobre-cards {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  justify-content: flex-start; 
}

.card i {
  font-size: 26px;
  margin-bottom: 12px;
  color: white; 
  display: block;
}

.card h3 {
  margin-bottom: 10px;
  color: white;
}

.card p,
.card li {
  color: white;
  font-size: 14px;
}

.card ul {
  list-style: none; 
  padding: 0;
  margin-top: 10px;
}

.sobre-text {
  color: white;
  line-height: 1.7;
  font-size: 15px;
  max-width: 690px; 
}

.sobre-text p {
  text-align: justify;
}

.hidden {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.6s ease;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

/*---------- SECTION PROJETOS ----------*/

#projetos {
  padding: 100px 10%;
  text-align: center;
}

.projetos-subtitle {
  color: #aaa;
  margin-bottom: 5px;
}

.projetos-container {
  display: flex;
  gap: 30px;
  margin-top: 50px;
}

.projeto-card {
  flex: 1;
  background-color: #111;
  border: 1px solid white; 
  border-radius: 20px;
  overflow: hidden;
  transition: 0.3s;
}

.projeto-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 0 20px rgba(0, 224, 255, 0.2);
}

.projeto-card img {
  width: 100%;
  height: auto; /* 🔥 não corta mais */
}

.projeto-info {
  padding: 20px;
}

.projeto-info h3 {
  color: #fff;
  margin-bottom: 10px;
}

.title span {
  color: #00e0ff;
}

.projeto-info p {
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.projeto-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.btn-outline {
  border: 1px solid white;
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-outline:hover {
  background-color: white;
  color: #000;
}

.btn-fill {
  background-color: #00e0ff;
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-fill:hover {
  background-color: #00e0ff !important;
  color: #000 !important;
  transform: none !important;
  box-shadow: none !important;
}

.projetos-more {
  margin-top: 50px;
}

/* 1️⃣ Remove underline de todos os botões da seção projetos */
.projeto-buttons a,
.projetos-more a {
  text-decoration: none !important; /* remove underline */
  position: relative;               /* importante */
}

.projeto-buttons a::after,
.projetos-more a::after {
  content: none !important;        /* remove linha animada */
  display: none !important;
}

/* BOTÃO PRINCIPAL VER MAIS — corrigido */
.projetos-more a {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 25px;
  background-color: #fff !important; /* força branco */
  color: #000 !important;            /* força texto preto */
  border: 1px solid transparent !important;
  text-decoration: none !important;  /* remove underline */
  transition: 0.3s;
  position: relative; /* importante para sobrescrever ::after */
}

/* Hover → transparente, borda branca, texto branco */
.projetos-more a:hover {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid #fff !important;
  transform: none;
}

/* HOVER → cresce */
.projetos-more a:hover {
  transform: scale(1.08);
}


/* GITHUB SEM NENHUM EFEITO */
.btn-fill,
.btn-fill:hover {
  background-color: #00e0ff !important;
  color: #000 !important;
  transform: none !important;
  box-shadow: none !important;
  transition: none !important;
}

.projeto-card {
  flex: 1;
  background-color: #111;
  border: 1px solid white;
  border-radius: 20px;
  overflow: hidden;
  transition: 0.3s;
  display: flex;              /* torna o card flexível */
  flex-direction: column;     /* empilha imagem + conteúdo */
}

.projeto-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;               /* faz a info ocupar o espaço disponível */
}

.projeto-info p {
  flex-grow: 1;               /* empurra os botões para baixo */
}

.projeto-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;           /* sempre um espaço entre texto e botões */
}

/* ---------- SECTION CONTATO ---------- */
#contato {
  padding: 100px 10%;
  text-align: center;
}

.contato-subtitle {
  color: #aaa;
  margin-bottom: 5px;
}

#contato .title {
  margin-bottom: 50px;
}

.title span {
  color: #00e0ff; /* azul do site */
}

.contato-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 600px;
  margin: 0 auto;
}

.contato-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.contato-form input {
  padding: 12px 15px;
  border-radius: 20px;
  border: 1px solid #fff;
  background-color: #111;
  color: #fff;
  font-size: 14px;
  transition: all 0.3s ease;
}

.contato-form input::placeholder {
  color: #aaa;
}

/* ✅ efeito de foco */
.contato-form input:focus {
  outline: none;
  border-color: #00e0ff;  /* borda azul do site */
  box-shadow: 0 0 10px rgba(0, 224, 255, 0.4);
}

.btn-submit {
  padding: 12px 20px;
  border-radius: 25px;
  background-color: #00e0ff;
  color: #000;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: 0.3s;
}

.btn-submit:hover {
  opacity: 0.8;
}

.contato-email {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: white;
}

.contato-email i {
  font-size: 20px;
}

.contato-email a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.contato-email a:hover {
  color: #00e0ff;
}

/* animação ao rolar */
.hidden {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.6s ease;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

/* 🔥 GARANTE: desktop nunca mostra hamburguer */
@media (min-width: 769px) {
    .hamburguer-menu {
        display: none !important;
    }
}