/* Existing CSS (keep this as is for desktop styles) */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  font-family: Arial, sans-serif;
}

h1 {
  margin-bottom: 1rem;
}

h2 {
  margin-bottom: 1rem;
}

.container {
  display: flex;
  height: 100vh;
  overflow: hidden; /* impede que a esquerda role */
}

.coluna-esquerda {
  width: 30%;
  background-color: #0c1221;
  color: #fff;
  padding: 20px;
  position: fixed;
  height: 100vh;
  left: 0;
  top: 0;
  flex-direction: column;
}

.coluna-direita {
  margin-left: 30%; /* empurra para a direita da fixa */
  width: 70%;
  height: 100vh;
  overflow-y: auto;
  padding: 20px;
  background-color: #0c1221;
  color: #fff;
  display: flex;
  justify-content: center;
}

.conteudo-scroll {
  max-width: 100%;
}

.destaque {
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.1rem;
}

.btn-menu {
  margin-top: 5rem;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.texto-sobre {
  height: 13rem;
  width: 40rem;
  color: #e8eafcc9;
  line-height: 1.8;
  margin-bottom: 25rem;
}

.texto {
  color: #e8eafcc9;
  line-height: 1.8;
}

.texto {
  letter-spacing: 0.1rem;
}

.box-formacao {
  margin-bottom: 2rem;
}

.formacao {
  margin-top: 0.3rem;
  letter-spacing: 0.3rem;
}

.redes-sociais {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 20rem;
  gap: 1rem;
  margin-left: 12rem;
  margin-bottom: 2rem;
}

.icone {
  height: 1.9rem;
  width: 1.9rem;
}

.btn {
  display: inline-block;
  font-size: 1rem;
  font-weight: bold;
  position: relative;
  transition: transform 0.3s ease;
  cursor: pointer;
  background-color: transparent;
  color: #e8eafcc9;
  border: none;
  padding: 1rem;
  letter-spacing: 0.1rem;
}

button {
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn::after {
  content: " →";
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  color: #ffffff;
}

.btn:hover {
  transform: translateX(-10px);
  color: #ffffff;
}

.btn:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.box-job {
  display: flex;
  justify-content: center;
  flex-direction: row;
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 4rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05); /* leve fundo para manter estrutura */
  border: 1px solid transparent; /* evita pulo no hover */
  border-radius: 16px;
  transition: background 0.8s ease, backdrop-filter 0.8s ease, border 0.8s ease;
  backdrop-filter: blur(0px); /* valor inicial */
  -webkit-backdrop-filter: blur(0px);
  box-shadow: none;
}

.box-job-5 {
  /* ... outros estilos ... */
  position: relative; /* Adicione esta linha */
  min-height: 450px; /* Adicione uma altura mínima para o card não sobrepor outros elementos */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.box-job:hover {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.area-com-luz:hover .box-job:hover {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.cargo {
  font-weight: 900;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  letter-spacing: 0.2rem;
}
.data {
  width: 5rem;
  margin-top: 0.3rem;
}

.descricao {
  width: 40rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  color: #e8eafcc9;
  letter-spacing: 0.1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/*feito de lux no mouse*/

.area-com-luz {
  position: relative;
  width: 100%;
  height: 100vh;
  background: #0c1221;
  overflow: hidden;
}

.luz {
  position: fixed;
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.freelancer {
  flex-direction: column;
}

.atividades-freela {
  color: #e8eafcc9;
  margin-bottom: 1rem;
  margin-top: 0.8rem;
}

/* imagens dos sites */

.imagem_site {
  width: 30rem;
  height: 15rem;
  border-radius: 10px;
}

.descricao {
  color: #e8eafcc9;
  font-weight: 700;
  letter-spacing: 0.1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: 1rem;
  margin-bottom: 5rem;
  gap: 1rem;
  letter-spacing: 0.2rem;
  border: #e8eafc27 solid 1px;
  border-radius: 5px;
}

a {
  text-decoration: none;
  background-color: transparent;
  font-weight: 600;
  letter-spacing: 0.1rem;
  color: #0c1221;
}

button {
  background-color: #e8eafcc9;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  padding: 10px 20px;
}

button:hover {
  transition: 0.6s;
  background-color: #0c1221;
}

a:hover {
  transition: 0.6s;
  color: #e8eafcc9;
}

/*  scroll  reveal  */

.texto-sobre,
.box-job-1,
.box-job-2,
.box-job-3,
.box-job-4,
.box-job-5 {
  opacity: 0;
  transform: translateY(60px);
  transition: all 2s ease-out;
  will-change: opacity, transform;
}

.box-job-1.show {
  opacity: 1;
  transform: translateY(0);
}

.box-job-2.show {
  opacity: 1;
  transform: translateY(0);
}

.box-job-3.show {
  opacity: 1;
  transform: translateY(0);
}

.box-job-4.show {
  flex-direction: column;
  opacity: 1;
  transform: translateY(0);
}

.box-job-5.show {
  opacity: 1;
  transform: translateY(0);
  flex-direction: column;
}

.texto-sobre.show {
  opacity: 1;
  transform: translateY(0);
}

/* CARDS PHOTSHOP */

.carrousel{
  margin-top: 10rem; 
}

.iframe{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50rem;
  height: 30rem;  
}

/* --- */
/* Mobile Responsiveness */
/* --- */

@media (max-width: 768px) {
  .container {
    flex-direction: column; /* Stacks columns vertically on smaller screens */
    height: auto; /* Allows content to dictate height */
    overflow: auto; /* Allows scrolling on the entire page */
  }

  .coluna-esquerda {
    width: 100%; /* Full width for the left column */
    position: static; /* Removes fixed positioning */
    height: auto; /* Adapts height to content */
    padding-bottom: 0; /* Adjust padding as needed */
  }

  .principal {
    text-align: center; /* Center aligns text in the main section */
    padding: 20px 0; /* Add some vertical padding */
  }

  .btn-menu {
    margin-top: 2rem; /* Reduce top margin for buttons */
    align-items: center; /* Center buttons horizontally */
  }

  .btn {
    padding: 0.8rem 1.5rem; /* Adjust button padding */
    margin-bottom: 1rem; /* Space between buttons */
    width: 80%; /* Make buttons take up more width */
    text-align: center; /* Center text within buttons */
  }

  .redes-sociais {
    justify-content: center; /* Center social icons */
    margin-top: 2rem; /* Adjust margin */
    margin-left: 0; /* Remove left margin */
    padding-bottom: 20px; /* Add padding at the bottom */
  }

  .coluna-direita {
    margin-left: 0; /* Remove left margin */
    width: 100%; /* Full width for the right column */
    padding: 20px; /* Maintain consistent padding */
    justify-content: flex-start; /* Align content to the start */
    height: auto; /* Allow content to define height */
  }

  .conteudo-scroll {
    max-width: 100%; /* Ensure content fits within the screen */
    padding: 0 10px; /* Add some horizontal padding */
  }

  .texto-sobre {
    height: auto; /* Allow height to adjust based on content */
    width: auto; /* Allow width to adjust based on content */
    margin-bottom: 2rem; /* Reduce bottom margin */
    padding: 0 10px; /* Add padding for better readability */
  }

  .box-formacao {
    margin-bottom: 1.5rem; /* Adjust margin */
  }

  .cargo {
    font-size: 1.1rem; /* Slightly smaller font for mobile */
    text-align: center; /* Center align cargo titles */
  }

  .box-job {
    flex-direction: column; /* Stack data and content vertically */
    align-items: center; /* Center items in the box */
    padding: 1rem; /* Adjust padding */
    margin-bottom: 2rem; /* Adjust margin */
  }

  .box-data {
    display: flex; /* Keep data in a row */
    justify-content: center; /* Center the dates */
    gap: 1rem; /* Space between dates */
    margin-bottom: 1rem; /* Space below dates */
    width: 100%; /* Ensure data takes full width */
  }

  .data {
    width: auto; /* Let content dictate width */
    text-align: center; /* Center align dates */
  }

  .empresa {
    text-align: center; /* Center align company name */
    margin-bottom: 1rem; /* Add space below company name */
  }

  .descricao {
    width: 100%; /* Full width for descriptions */
    text-align: center; /* Center align description text */
    padding: 0 10px; /* Add horizontal padding */
  }

  .atividades-freela {
    text-align: center; /* Center align freelancer activities */
  }

  .imagem_site {
    width: 90%; /* Make images take up most of the width */
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 1rem; /* Space below image */
  }

  nav {
    width: 95%; /* Make project cards take more width */
    padding: 1rem; /* Add padding to project cards */
  }

  button a {
    font-size: 0.9rem; /* Adjust font size for button text */
  }

  .luz {
    display: none; /* Hide the light effect on mobile for performance and better UX */
  }
}

/* Optional: Further adjustments for very small screens (e.g., iPhones SE) */
@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem; /* Smaller heading for very small screens */
  }

  h2 {
    font-size: 1.2rem; /* Smaller subheading */
  }

  .btn {
    font-size: 0.9rem;
    padding: 0.7rem 1.2rem;
  }

  .cargo {
    font-size: 1rem;
  }

  .descricao,
  .atividades-freela,
  .formacao {
    font-size: 0.9rem;
  }
}

/* Modal para imagens do carrossel */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 30rem;
  height: 60rem;
  background: rgba(0, 0, 0, 0.603);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  animation: zoomIn 0.3s ease;
}

.modal-content img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.close-btn {
  position: absolute;
  top: -15px;
  right: -15px;
  background: #ff6666;
  color: white;
  border: none;
  border-radius: 100%;
  width: 50px;
  height: 50px;
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.close-btn:hover {
  background: #ff6666;
}

@keyframes zoomIn {
  from { 
    transform: scale(0.8); 
    opacity: 0; 
  }
  to { 
    transform: scale(1); 
    opacity: 1; 
  }
}