/* ====== ESTILOS DO SITE (em português) ====== */
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(to bottom, #000, #001f3f);
  color: #fff;
  line-height: 1.5;
  transition: background 0.3s, color 0.3s;
}
body.light-mode {
  background-color: #f5f5f5;
  color: #222;
}
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 191, 255, 0.3);
}
header .logo {
  color: #00bfff;
  font-size: 1.5rem;
  font-weight: bold;
}
.desktop-nav a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
  transition: color 0.3s ease;
}
.desktop-nav a:hover {
  color: #00bfff;
}
.theme-toggle {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #00bfff;
  margin-left: 10px;
}
.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #00bfff;
}
.section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}
.light-bg {
  background-color: #111;
}
.hero {
  height: 100vh;
  background: url('https://c.wallhere.com/photos/6d/c9/ASUS_motherboards_hardware_technology_numbers_microchip_computer-2077717.jpg!d') no-repeat center center/cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}
.hero-content {
  z-index: 1;
}
.hero-content h1 {
  font-size: 2.5rem;
}
.hero-content .highlight {
  color: #00bfff;
}
.btn {
  background: #00bfff;
  color: #000;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}
.btn:hover {
  background: #33ccff;
}

/* ====== Seção de Habilidades (Skills) ====== */
.skill-bar {
  margin: 20px auto;
  max-width: 600px;
  text-align: left;
}
.skill-bar span {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}
.bar {
  background: #333;
  border-radius: 20px;
  overflow: hidden;
  height: 20px;
}
.progress {
  height: 20px;
  width: 0;
  background: linear-gradient(90deg, #00bfff, #1e90ff);
  border-radius: 20px;
  transition: width 2s ease;
}

/* ====== Seção de Ferramentas (Tools) ====== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  justify-items: center;
  align-items: center;
}
.tool {
  background: #111;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s;
}
.tool img {
  width: 50px;
  height: 50px;
  margin-bottom: 5px;
}
.tool:hover {
  transform: scale(1.05);
}

/* ====== Carrossel de Feedbacks ====== */
.carousel-container {
  overflow: hidden;
  position: relative;
  max-width: 800px;
  margin: auto;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.feedback {
  min-width: 100%;
  box-sizing: border-box;
  padding: 20px;
  background: #111;
  margin: 0 5px;
  border-radius: 10px;
}

/* ====== Cartões (Cards) ====== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.card {
  background: #111;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 10px #00bfff;
}

footer {
  text-align: center;
  padding: 20px;
  background: transparent;
  color: #aaa;
  border-top: 1px solid rgba(0, 191, 255, 0.3);
}
@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .menu-btn { display: block; }
  .hero-content h1 { font-size: 1.8rem; }
}

/* ====== Linha do Tempo ====== */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.timeline-item {
  background: #111;
  padding: 20px;
  border-radius: 10px;
  border-left: 5px solid #00bfff;
  text-align: left;
}

/* ====== Estatísticas Horizontais ====== */
.stats-grid.horizontal {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.stats-grid.horizontal .stat {
  background: #111;
  padding: 15px;
  border-radius: 10px;
}

/* ====== Seção de Serviços ====== */
#servicos .card .icon {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
}

/* ====== Seção Sobre Mim ====== */
.sobre-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.sobre-img {
  max-width: 250px;
  border-radius: 50%;
  box-shadow: 0 0 10px #00bfff;
}
.sobre-text {
  max-width: 600px;
  text-align: left;
}

/* ====== Chamada para Ação (CTA) ====== */
.cta {
  background: #111;
  padding: 60px 20px;
  border-radius: 10px;
}

/* ====== Rodapé ====== */
footer .footer-links a {
  color: #00bfff;
  text-decoration: none;
  margin: 0 5px;
}

/* ====== Redes Sociais (Neon) ====== */
.neon-bg { background: #000; color: #00f0ff; }
.social-grid {
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
}
.social.neon {
  padding: 10px 20px; border: 2px solid #00f0ff; border-radius: 8px;
  color: #00f0ff; text-decoration: none; transition: 0.3s;
}
.social.neon:hover { background: #00f0ff; color: #000; }

/* ====== Projetos em Destaque ====== */
.destaque-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px; text-align: center;
}
.destaque-card img {
  width: 100%; border-radius: 10px; margin-bottom: 10px;
}

/* ====== Galeria de Imagens ====== */
.galeria-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}
.galeria-grid img {
  width: 100%; border-radius: 8px; transition: transform 0.3s;
}
.galeria-grid img:hover { transform: scale(1.05); }

/* ====== Perguntas Frequentes (FAQ) ====== */
.faq-item { margin-bottom: 10px; text-align: left; max-width: 600px; margin: 10px auto; }
.faq-question {
  background: #111; color: #fff; border: none; padding: 10px; width: 100%; text-align: left;
  cursor: pointer; border-radius: 5px;
}
.faq-answer { display: none; padding: 10px; background: #222; border-radius: 5px; margin-top: 5px; }

/* ====== Formulário de Contato ====== */
#contactForm {
  display: flex; flex-direction: column; gap: 10px; max-width: 500px; margin: auto;
}
#contactForm input, #contactForm textarea {
  padding: 10px; border: 1px solid #00bfff; border-radius: 5px; background: #111; color: #fff;
}
