/* === RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #0d0f17;
  color: #fff;
  line-height: 1.6;
}

/* === HERO HEADER === */
.hero {
  height: 60vh;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.8)), url('../img/bg-tech.jpg') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.hero-content .title {
  font-size: 2.8rem;
  font-weight: 700;
  text-shadow: 0 0 10px #00eaff;
}

.subtitle {
  font-size: 1.2rem;
  opacity: 0.8;
  margin-top: 10px;
}

.hero-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 26px;
  background: #00eaff;
  color: #000;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0 0 10px #00eaff;
}

.hero-btn:hover {
  box-shadow: 0 0 18px #00eaff;
  transform: scale(1.05);
}

/* === CARDS === */
.card {
  background: #11131c;
  padding: 25px;
  margin: 20px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
}

/* === SOBRE MIM === */
.about-flex {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  text-align: justify;
}
 
.perfil {
  width: 230px;
  height: 230px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 10px #00eaff;
}

/* === TIMELINE === */
.timeline {
  border-left: 2px solid #00eaff;
  padding-left: 20px;
}

.timeline-item {
  margin-bottom: 20px;
}

.timeline-item h3 {
  color: #00eaff;
  font-size: 1.2rem;
}

.time {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* === TAGS === */
.tags span {
  display: inline-block;
  margin: 6px;
  padding: 8px 16px;
  background: rgba(0,234,255,0.1);
  border: 1px solid #00eaff;
  border-radius: 6px;
  text-shadow: 0 0 5px #00eaff;
  transition: 0.3s;
}

.tags span:hover {
  background: #00eaff;
  color: #000;
  transform: scale(1.05);
}

/* === IDIOMAS EM NEON COM BANDEIRA === */
.idioma-neon {
  padding: 16px;
  margin: 12px 0;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  font-size: 1.1rem;
  font-weight: 600;
  text-shadow: 0 0 6px #000;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  transition: 0.25s ease-in-out;
}

.idioma-neon:hover {
  border-color: #00eaff;
  box-shadow: 0 0 18px #00eaff;
  transform: scale(1.03);
}

/* Bandeira EUA */
.idioma-us {
  background-image: url('https://flagcdn.com/us.svg');
}

/* Bandeira Espanha */
.idioma-es {
  background-image: url('https://flagcdn.com/es.svg');
}

/* === LISTA DE CURSOS === */
.list li {
  margin: 10px 0;
  padding-left: 10px;
  border-left: 2px solid #00eaff;
}

/* === GALERIA === */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.gallery img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0,0,0,0.5);
  transition: 0.3s;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 18px #00eaff;
}

/* === CONTATOS === */
.contato-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.btn {
  padding: 12px;
  background: #00eaff;
  color: #000;
  text-decoration: none;
  text-align: center;
  font-weight: 600;
  border-radius: 6px;
  transition: 0.3s;
  box-shadow: 0 0 8px #00eaff;
}

.btn:hover {
  box-shadow: 0 0 14px #00eaff;
  transform: scale(1.05);
}

/* === FOOTER === */
footer {
  text-align: center;
  padding: 20px 0;
  opacity: 0.6;
  font-size: 0.9rem;
}

/* === ANIMAÇÃO SCROLL === */
.fade {
  opacity: 0;
  transform: translateY(15px);
  transition: 0.7s ease;
}

.fade.show {
  opacity: 1;
  transform: translateY(0);
}

/* ================================
   RESPONSIVIDADE
================================ */

/* ===== Tablets (até 1024px) ===== */
@media (max-width: 1024px) {
  .hero {
    height: 50vh;
  }

  .hero-content .title {
    font-size: 2.3rem;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .card {
    margin: 16px;
    padding: 22px;
  }

  .perfil {
    width: 200px;
    height: 200px;
  }
}

/* ===== Tablets / Mobile grandes (até 768px) ===== */
@media (max-width: 768px) {
  .hero {
    height: auto;
    padding: 60px 20px;
  }

  .hero-content .title {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .hero-btn {
    padding: 10px 22px;
    font-size: 0.95rem;
  }

  /* SOBRE MIM */
  .about-flex {
    flex-direction: column;
    text-align: justify;
  }

  .perfil {
    width: 180px;
    height: 180px;
    margin-bottom: 15px;
  }

  /* TIMELINE */
  .timeline {
    padding-left: 15px;
  }

  .timeline-item h3 {
    font-size: 1.1rem;
  }

  /* TAGS */
  .tags span {
    padding: 6px 14px;
    font-size: 0.9rem;
  }

  /* CONTATOS */
  .contato-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    font-size: 0.95rem;
  }
}

/* ===== Mobile (até 480px) ===== */
@media (max-width: 480px) {
  body {
    font-size: 0.95rem;
  }

  .hero-content .title {
    font-size: 1.6rem;
  }

  .subtitle {
    font-size: 0.95rem;
  }

  .hero-btn {
    width: 100%;
    padding: 12px;
  }

  .card {
    margin: 12px;
    padding: 18px;
  }

  .perfil {
    width: 150px;
    height: 150px;
  }

  /* IDIOMAS */
  .idioma-neon {
    font-size: 1rem;
    padding: 14px;
  }

  /* GALERIA */
  .gallery {
    grid-template-columns: 1fr;
  }

  footer {
    font-size: 0.8rem;
    padding: 15px 10px;
  }
}

/* === SLIDE AUTOMÁTICO DE DEPOIMENTOS === */
.depoimentos-slider {
  position: relative;
  min-height: 140px;
}

.depoimento {
  position: absolute;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  text-align: center;
}

.depoimento.active {
  opacity: 1;
  position: relative;
}

.depoimento p {
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 12px;
}

.depoimento span {
  font-size: 0.9rem;
  color: #00eaff;
  opacity: 0.9;
}

.carousel {
  width: 100%;
  max-width: 900px;
  margin: auto;
}

.main-image {
  text-align: center;
}

.main-image img {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  border-radius: 12px;
}

.main-image p {
  margin-top: 10px;
  font-size: 16px;
  color: #ccc;
}

/* MINIATURAS */
.thumbnail-container {
  overflow: hidden;
  margin-top: 15px;
  position: relative;
}

.thumbnails {
  display: flex;
  gap: 10px;
  animation: scroll 25s linear infinite;
}

.thumbnails img {
  width: 100px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  opacity: 0.7;
}

.thumbnails img:hover {
  transform: scale(1.1);
  opacity: 1;
}

/* EFEITO FILME ROLANDO */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}