/* ====== RESET ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #0b0c10;
  color: #fff;
  overflow-x: hidden;
}

/* ====== FUNDO DE PARTÍCULAS ====== */
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: #0b0c10;
}

/* ====== HEADER ====== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background: rgba(0, 0, 0, 0.7);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

/* ====== FONTE TECNOLÓGICA ====== */
:root {
  --tech-color: #00d8ff;
}

/* ====== LOGO E TÍTULO ====== */
header h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  color: var(--tech-color);
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(0, 216, 255, 0.7);
}

header h1 span {
  color: #fff;
}

/* ====== TEXTO DO BANNER ====== */
.banner-text h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--tech-color);
  text-shadow: 0 0 15px rgba(0, 216, 255, 0.8);
}

.banner-text p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  color: #ddd;
  max-width: 600px;
  margin: 0 auto;
}

.banner-text .btn {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}


/* ====== MENU FUTURISTA AVANÇADO ====== */

nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

nav a {
  position: relative;
  padding: 10px 18px;
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  overflow: hidden;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Linha neon inferior */
nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--tech-color), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s ease;
}

/* Hover: ativa o brilho e a linha neon */
nav a:hover {
  color: var(--tech-color);
  text-shadow: 0 0 10px var(--tech-color);
}
nav a:hover::after {
  transform: scaleX(1);
}

/* Animação de brilho contínuo para o item ativo */
nav a.active {
  color: var(--tech-color);
  text-shadow: 0 0 15px var(--tech-color), 0 0 30px var(--tech-color);
  animation: pulseGlow 2s infinite alternate ease-in-out;
}

@keyframes pulseGlow {
  from {
    text-shadow: 0 0 10px var(--tech-color);
  }
  to {
    text-shadow: 0 0 25px var(--tech-color), 0 0 50px var(--tech-color);
  }
}

/* ====== ANIMAÇÃO MOBILE ====== */
@media (max-width: 768px) {
  nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    width: 200px;
    text-align: center;
    display: none;
    border-left: 2px solid var(--tech-color);
    box-shadow: 0 0 20px rgba(0, 216, 255, 0.3);
  }

  nav.active {
    display: flex;
    animation: fadeInMenu 0.5s ease forwards;
  }

  nav a {
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInLink 0.5s forwards;
  }

  nav a:nth-child(1) { animation-delay: 0.1s; }
  nav a:nth-child(2) { animation-delay: 0.2s; }
  nav a:nth-child(3) { animation-delay: 0.3s; }
  nav a:nth-child(4) { animation-delay: 0.4s; }

  @keyframes fadeInMenu {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes fadeInLink {
    to { opacity: 1; transform: translateY(0); }
  }
}

/* ====== MENU HAMBURGUER ====== */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle div {
  width: 25px;
  height: 3px;
  background: white;
  margin: 4px;
  transition: 0.3s;
}

@media (max-width: 768px) {
  nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    width: 200px;
    text-align: center;
    display: none;
  }

  nav.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }
}

/* ====== BANNER ====== */
.banner {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
  margin-top: 80px;
}

.slides {
  display: flex;
  width: 300%;
  animation: slide 12s infinite;
}

.slide {
  width: 100%;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}

.slide1 {
  background-image: url('https://images.unsplash.com/photo-1535223289827-42f1e9919769');
}

.slide2 {
  background-image: url('https://images.unsplash.com/photo-1518770660439-4636190af475');
}

.slide3 {
  background-image: url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d');
}

@keyframes slide {
  0%, 33% { transform: translateX(0); }
  33.01%, 66% { transform: translateX(-100%); }
  66.01%, 100% { transform: translateX(-200%); }
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  padding: 20px 40px;
  border-radius: 10px;
}

.banner-text h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.banner-text .btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: #00d8ff;
  color: #000;
  border-radius: 25px;
  text-decoration: none;
  transition: 0.3s;
}

.banner-text .btn:hover {
  background: #fff;
}

/* ====== SEÇÕES ====== */
section {
  padding: 80px 50px;
  text-align: center;
}

section h2 {
  color: #00d8ff;
  margin-bottom: 20px;
  font-size: 2rem;
}

section p {
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
  color: #ccc;
}

/* ====== CARDS ====== */
.cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: #111;
  border-radius: 10px;
  width: 300px;
  padding: 20px;
  transition: 0.3s;
  box-shadow: 0 0 15px rgba(0, 216, 255, 0.2);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(0, 216, 255, 0.5);
}

.card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* ====== FOOTER ====== */
footer {
  background: #000;
  text-align: center;
  padding: 30px;
  font-size: 0.9rem;
  color: #aaa;
}

footer strong {
  color: #00d8ff;
}

/* ====== ANIMAÇÃO SCROLL ====== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: 0.8s ease;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ====== LOGO ====== */
.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo {
  height: 80px; /* ajuste conforme o tamanho do seu logo */
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

header h1 {
  font-size: 1.6rem;
  color: #00d8ff;
  letter-spacing: 1px;
}

header h1 span {
  color: #fff;
}

@media (max-width: 768px) {
  .logo {
    height: 80px;
  }
  header h1 {
    font-size: 1.2rem;
  }
}

@keyframes glow {
  0% { text-shadow: 0 0 10px rgba(0, 216, 255, 0.5); }
  50% { text-shadow: 0 0 25px rgba(0, 216, 255, 1); }
  100% { text-shadow: 0 0 10px rgba(0, 216, 255, 0.5); }
}

.banner-text h2 {
  animation: glow 3s infinite ease-in-out;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  color: #00ffff;
  border: 2px solid #00ffff;
  border-radius: 30px;
  text-decoration: none;
  background: transparent;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.btn:hover {
  background: #00ffff;
  color: #000;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
  transform: translateY(-3px);
}

/* ====== CARDS SOBRE COM GLOW ====== */
#sobre .cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 30px;
}

#sobre .card {
  background: #111;
  border-radius: 12px;
  width: 250px;
  padding: 25px;
  box-shadow: 0 0 15px rgba(0, 216, 255, 0.2);
  transition: 0.3s;
  text-align: center;
}

#sobre .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 25px rgba(0, 216, 255, 0.6);
}

#sobre .card h3 {
  font-family: 'Orbitron', sans-serif;
  color: var(--tech-color);
  text-shadow: 0 0 12px rgba(0, 216, 255, 0.7);
  margin-bottom: 10px;
  font-size: 1.2rem;
  animation: iconGlow 2.5s infinite alternate ease-in-out;
}

#sobre .card p {
  color: #ccc;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ====== ANIMAÇÃO GLOW ====== */
@keyframes iconGlow {
  from {
    text-shadow: 0 0 10px rgba(0, 216, 255, 0.6);
    transform: scale(1);
  }
  to {
    text-shadow: 0 0 25px rgba(0, 216, 255, 1), 0 0 40px rgba(0, 216, 255, 0.8);
    transform: scale(1.05);
  }
}

#sobre .icon {
  color: var(--tech-color);
  margin-bottom: 15px;
  animation: iconGlow 2.5s infinite alternate ease-in-out;
}

#sobre .icon svg {
  width: 50px;
  height: 50px;
}

@keyframes iconGlow {
  from {
    filter: drop-shadow(0 0 5px rgba(0, 216, 255, 0.6));
    transform: scale(1);
  }
  to {
    filter: drop-shadow(0 0 20px rgba(0, 216, 255, 1));
    transform: scale(1.1);
  }
}
