/* ====== CONFIGURAÇÃO GERAL ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: #fff;
  background-color: #111;
}

/* ====== NAVBAR ====== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  z-index: 1000;
}

header .name {
  font-size: 1.5rem;
  font-weight: 600;
  color: #f5c542;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

header nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
}

header nav a:hover {
  color: #f5c542;
}

/* ====== SEÇÕES ====== */
section {
  min-height: 100vh;
  padding: 90px 80px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ====== HOME ====== */
#home {
  background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
  text-align: center;
}

#home h1 {
  font-size: 3rem;
  color: #f5c542;
  margin-bottom: 20px;
}

#home p {
  max-width: 600px;
  margin: 0 auto;
  color: #ccc;
  font-size: 1.2rem;
}

.graduation {
    display: flex;
    justify-content: center; /* Alinha os elementos ao centro verticalmente */
    align-items: center;
    gap: 5px; /* Espaço entre os elementos */
    font-size: 30px;
    margin: 0% 20px 0px 20px;
    text-shadow: 7px 7px 10px #000000b3;
}

.title {
    width: 70%;
    font-size: 70px;
    font-weight: bold;
    text-align: left;
}

span {
    color: #f5c542;
}

.text-container {
    display: flex;
    flex-direction: column; /* Empilha title e subtitle */
    width: 60%;
}

.subtitle {
    text-align: left;
    margin-top: 15px;
    font-size: 25px;
    color: #ECE2D3;
    width: 70%;
}

.square-img-container { 
    margin: 30px;
    width: 400px;
    height: 400px;
    border-radius: 0px;
    border: 2px solid #f5c542; /* Aumentei um pouco a borda para mais destaque */
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Garante que a imagem não ultrapasse o contêiner */
    box-shadow: 7px 7px 10px #000000b3;
}

.square-img {
    width: 100%; /* Garante que a imagem ocupe todo o espaço disponível no contêiner */
    height: 100%; /* Garante que a imagem ocupe todo o espaço disponível no contêiner */
    border-radius: 0px; /* Define o raio da borda para fazer a imagem parecer um círculo */
    object-fit: cover;
    object-position: 0;
}

/* ====== JOURNEY ====== */
#journey {
  background: linear-gradient(135deg, #131a22, #1f2a35);
}

#journey h2 {
  color: #a4d4ff;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

#journey p {
  max-width: 700px;
  color: #d6e6f2;
  line-height: 1.8;
}

.girl-img {
    max-width: 80%; /* Garante que a imagem ocupe o tamanho correto */
    height: auto;
}

.container-text-image {
    display: flex; /* Usando Flexbox para layout horizontal */
    justify-content: space-between; /* Espaço entre os elementos */
    align-items: flex-start; /* Alinha os itens no topo */
    height: 100vh; /* Faz o contêiner ocupar toda a altura da página */
}

.left-container {
    margin: 10px;
    display: flex;
    flex-direction: column; /* Empilha os elementos verticalmente */
    flex: 1; /* Faz essa coluna ocupar a metade da largura */
}

.folks .text {
    padding: 20px;
    border-radius: 8px;
}

.right-container {
    margin: 10px;
    flex: 1; /* Faz a imagem ocupar a outra metade da largura */
    display: flex;
    justify-content: center; /* Centraliza a imagem horizontalmente */
    align-items: center; /* Centraliza a imagem verticalmente */
}

.girl-img {
    max-width: 100%; /* Garante que a imagem ocupe o tamanho correto */
    height: auto;
}

.folks {
    margin: 0px 20px 5px 100px;
    font-weight: bold;
    font-size: 50px;
}

.text {
    text-align: justify;
    width: 100%;
    line-height: 25px; /* Espaço entre as linhas de texto */
}

.introduction {
    margin: 0px 100px 10px 100px;
}

.development {
    margin: 20px 100px 20px 100px;
}

.conclusion {
    margin: 20px 100px 20px 100px;
}

/* ====== PROJECTS ====== */
#projects {
  background: linear-gradient(135deg, #1a1a1a, #262626);
}

#projecttitle {
  text-align: left;
  color: #d6e6f2;
  font-size: 40px;
  font-weight: bold;
  margin: 5px;
  padding: 5px;
  border: 5px;
}

#projects h2 {
  color: #f5c542;
  font-size: 40px;
  margin-bottom: 40px;
  text-align: center;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.project-card {
  background: #2e2e2e;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
}

.project-card h3 {
  margin-bottom: 10px;
  color: #fff;
}

.project-card p {
  color: #ccc;
}

/* ====== CONTACT ====== */
#contact {
 background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
  text-align: center;
}

#contact h2 {
  color: #f5c542;
  font-size: 40px;
  margin-bottom: 20px;
}

label {
  align-self: flex-start;
  margin-left: 30%;
  font-weight: 600;
  color:  #d6e6f2;
  margin-bottom: 3px;
  margin-top: 10px;
  font-size: 0.95rem;
}

h2 {
  text-align: center;
  margin: 20px;
}

.message-container {
  text-align: center;
  margin: 20px;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

input, textarea {
  width: 40%;
  padding: 10px;
  margin: 0px 10px 10px;
  border: 1px solid #ECE1D3;
  border-radius: 5px;
  color: fff;
  box-shadow: inset 0 0 5px rgba(245, 197, 66, 0.3);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

input:focus, textarea:focus {
  outline: none;
  background-color: #f8f4ea;
  box-shadow: 0 0 8px #f5c542;
}

textarea {
  height: 120px;
  resize: none;
}

button {
  background: #f5c542;
  color: #111;
  padding: 12px 30px;
  border-radius: 25px;
  width: 40%;
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
  transition: all 0.3s ease;
  margin-top: 20px;
}

button:hover {
  background: #d6b23d;
  transform: translateY(-2px);
}

.social-midia {
  display: flex;
  align-items: center;
  margin: auto;
  filter: drop-shadow(3px 3px 5px #b9b1b180); 
  margin-top: 20px;
  gap: 7px;
}

.social-midia p {
  margin: 10px;
  font-weight: 600;
}

.email {
  margin-right: 0px; 
  width: 45px;
}

.email:hover {
  filter: drop-shadow(4px 4px 7px #ffffffb4);
}

.linkedin {
  margin-right: 10px; 
  width: 50px;
}

.linkedin:hover {
  filter: drop-shadow(4px 4px 7px #ffffffb3); /* Sombra mais forte no hover */
}

.github {
  margin: 10px;
  width: 50px; 
}

.github:hover {
  filter: drop-shadow(4px 4px 7px #ffffffb3); /* Sombra mais forte no hover */
}

.instagram {
  margin-right: 10px;
  width: 50px; 
}

.instagram:hover {
  filter: drop-shadow(4px 4px 7px #ffffffb3); /* Sombra mais forte no hover */
}


 @media (max-width: 600px) {
  header {
    padding: 15px 20px;
    flex-direction: column;
    align-items: flex-start;
    align-items: center;
  }

  header nav ul {
    flex-direction:row;
    gap: 10px;
    margin-top: 10px;
  }

  section {
    padding: 100px 20px 60px;
  }

  /* ====== HOME ====== */
  .graduation {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .text-container {
    align-items: center;
    width: 100%;
  }

  .title {
    font-size: 30px;
    text-align: left;
  }

  .subtitle {
    font-size: 18px;
    text-align: left;
  }

  .square-img-container {
    width: 250px;
    height: 250px;
    margin: 20px 0;
  }
/* ====== JOURNEY ====== */

  .container-text-image {
    flex-direction: column;
    height: auto;
  }

  .folks {
    font-size: 32px;
    text-align: left;
    margin: 20px 10px 0px 10px;
  }

  .text {
    font-size: 16px;
    margin: 10px;
    width: 100%;
  }

  .introduction {
    margin:  0px 10px 10px 0px;
  }

  .development {
    margin: 0px 10px 10px 0px;
  }

  .conclusion {
    margin: 0px 10px 10px 0px;
  }

/* ====== CONTACT ====== */

  form input, form textarea, form button {
    width: 90%;
  }

  label {
    margin-left: 5%;
  }

  .social-midia {
    flex-wrap: wrap;
    justify-content: center;
  }

  .social-midia p {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }
}

/* === TABLETS (601px até 1024px) === */
@media (min-width: 601px) and (max-width: 1024px) {
  header {
    padding: 20px 30px;
  }

  section {
    padding: 90px 40px 70px;
  }

  .graduation {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .text-container {
    width: 80%;
    text-align: center;
  }

  .title {
    font-size: 55px;
    text-align: center;
  }

  .subtitle {
    font-size: 22px;
    text-align: center;
  }

  .square-img-container {
    width: 300px;
    height: 300px;
  }

  .container-text-image {
    flex-direction: column;
    align-items: center;
    height: auto;
  }

  .left-container, .right-container {
    width: 100%;
    text-align: center;
  }

  .folks {
    font-size: 40px;
    margin: 15px;
    text-align: center;
  }

  form input, form textarea, form button {
    width: 70%;
  }

  .social-midia {
    justify-content: center;
  }
}

/* === DESKTOPS GRANDES (a partir de 1025px) === */
@media (min-width: 1025px) {
  .graduation {
    flex-direction: row;
  }

  .text-container {
    width: 60%;
  }

  .square-img-container {
    width: 400px;
    height: 400px;
  }

  form input, form textarea, form button {
    width: 40%;
  }

  .container-text-image {
    flex-direction: row;
  }

  .folks {
    font-size: 50px;
  }
}



