/**
 * Estilos para o background de partículas
 */

#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  background: linear-gradient(135deg, #262c35 0%, #1a1f28 100%);
}

/* Garantir que o conteúdo fique acima das partículas */
body {
  position: relative;
  z-index: 1;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Corrigir problemas de scroll */
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Garantir que o particles.js não interfira no scroll */
#particles-js {
  pointer-events: none;
}

/* Efeito de sobreposição sutil para melhor legibilidade */
.hero, 
#sobre-mim, 
#conhecimentos, 
#projetos, 
#contatos {
  position: relative;
  z-index: 2;
}

/* Overlay sutil para seções com muito texto */
#sobre-mim::before,
#conhecimentos::before,
#contatos::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(38, 44, 53, 0.05);
  z-index: -1;
  pointer-events: none;
}

/* Garantir que as seções sejam visíveis */
#sobre-mim,
#conhecimentos,
#projetos,
#contatos {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Responsividade para dispositivos móveis */
@media (max-width: 768px) {
  #particles-js {
    opacity: 0.7;
  }
}

@media (max-width: 480px) {
  #particles-js {
    opacity: 0.5;
  }
}