@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@400;700&display=swap');

/* Reset de fonte para garantir legibilidade nos textos longos, mantendo o estilo do index */
body {
  background-color: #1a1a1a;
  color: #ffffff;
  font-family: 'Urbanist', sans-serif;
  overflow-x: hidden;
}

/* === HERO SECTION (Cabeçalho da página) === */
.teaching-hero {
  padding: 140px 20px 60px; /* Espaço superior para compensar a navbar */
  text-align: center;
  background: radial-gradient(circle at center, #2d2d2d 0%, #1a1a1a 70%);
  border-bottom: 1px solid #333;
}

.teaching-hero h1 {
  font-family: 'Press Start 2P', cursive; /* Fonte Retro do tema */
  font-size: 2rem;
  color: #d7ff00; /* Verde Neon */
  margin-bottom: 20px;
  text-transform: uppercase;
  line-height: 1.5;
  text-shadow: 3px 3px 0 #000;
}

.teaching-hero p {
  font-size: 1.1rem;
  color: #ccc;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* === GRID DE VÍDEOS === */
.video-section {
  padding: 60px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
}

.section-label img {
  width: 40px;
  height: 40px;
}

.section-label span {
  font-weight: bold;
  color: #d7ff00;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Arial', sans-serif;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

/* === CARD DE VÍDEO === */
.video-card {
  background-color: #2b2b2b;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 1px solid #333;
  display: flex;
  flex-direction: column;
}

.video-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-color: #d7ff00;
}

/* Container responsivo para o iframe do YouTube (Aspect Ratio 16:9) */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; 
  height: 0;
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.card-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-tag {
  display: inline-block;
  background-color: #1E90FF; /* Azul */
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 15px;
}

.card-tag.series {
  background-color: #d7ff00;
  color: #000;
}

.video-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #fff;
  font-weight: 700;
  line-height: 1.3;
}

.video-card p {
  font-size: 0.95rem;
  color: #aaa;
  line-height: 1.5;
  margin-bottom: 20px;
}

.watch-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d7ff00;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.watch-btn:hover {
  color: #fff;
}

/* Responsividade */
@media (max-width: 768px) {
  .teaching-hero {
    padding-top: 100px;
  }
  
  .teaching-hero h1 {
    font-size: 1.5rem;
  }
  
  .video-grid {
    grid-template-columns: 1fr;
  }
  
  .material-content {
    flex-direction: column;
    text-align: center;
  }
  
  .material-text h2 {
    font-size: 1.5rem;
  }
}

/* === TRILHAS DE CONHECIMENTO === */
.tracks-section {
  padding: 60px 40px;
  background-color: #141414; /* Um pouco mais escuro que o body */
  text-align: center;
}

.tracks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto 0;
}

.track-card {
  background: #2b2b2b;
  padding: 30px 20px;
  border-radius: 12px;
  border: 1px solid #333;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.track-card:hover {
  border-color: #1E90FF; /* Azul no hover */
  transform: translateY(-5px);
  background: #333;
}

.track-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.track-card h3 {
  font-size: 1.1rem;
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
}

.track-card p {
  font-size: 0.9rem;
  color: #aaa;
  line-height: 1.4;
}

/* === SEÇÃO MATERIAL DIDÁTICO (CTA) === */
.material-cta {
  padding: 80px 40px;
  background: linear-gradient(90deg, #1a1a1a 0%, #222 100%);
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
}

.material-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  background-color: #2b2b2b;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid #d7ff00; /* Borda Neon */
  box-shadow: 0 0 20px rgba(215, 255, 0, 0.1);
}

.material-text h2 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.4;
}

.material-text p {
  color: #ccc;
  margin-bottom: 30px;
  font-size: 1rem;
  max-width: 500px;
}

.material-img {
  max-width: 300px;
  width: 100%;
  border-radius: 10px;
  transform: rotate(3deg);
  transition: transform 0.3s;
}

.material-content:hover .material-img {
  transform: rotate(0deg) scale(1.05);
}
