/* ===== Botão de Modo Escuro ===== */
#dark-mode-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(145deg, #6366f1, #4f46e5);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: all 0.3s ease;
}

#dark-mode-toggle:hover {
  background: linear-gradient(145deg, #4f46e5, #6366f1);
  transform: translateY(-3px);
}

/* ===== Dark Mode Global ===== */
body.dark-mode {
  background-color: #121212;
  color: #e0e0e0;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Header */
body.dark-mode header {
  background-color: rgba(18, 18, 18, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Links */
body.dark-mode a {
  color: #c0c0ff;
  transition: color 0.3s;
}

body.dark-mode a:hover {
  color: #ffffff;
}

/* Botão Contato */
body.dark-mode .btn-contato {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #fff;
}

body.dark-mode .btn-contato:hover {
  background: transparent;
}

/* Sobre e Projetos */
body.dark-mode .sobre,
body.dark-mode .projetos,
body.dark-mode .tecnologias,
body.dark-mode .contato {
  background-color: #1b1b1b;
  color: #e0e0e0;
}

/* Cards de projetos e tecnologia */
body.dark-mode .projeto-card,
body.dark-mode .tecnologia-item {
  background-color: #222222;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

body.dark-mode .projeto-card:hover,
body.dark-mode .tecnologia-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
}

/* Footer */
body.dark-mode footer {
  background-color: #121233;
  color: #e0e0e0;
  border-top: 1px solid #333;
}

body.dark-mode .footer-column h3 {
  color: #fff;
}

body.dark-mode .social-icons a {
  color: #c0c0ff;
  transition: color 0.3s, transform 0.3s;
}

body.dark-mode .social-icons a:hover {
  color: #fff;
  transform: translateY(-2px);
}

/* Inputs e textarea */
body.dark-mode input,
body.dark-mode textarea {
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #000000;
}

body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
  color: #000000;
}

/* Botões de formulário */
body.dark-mode form button {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

body.dark-mode form button:hover {
  background: linear-gradient(135deg, #000000, #4f46e5);
}
