/* Estilos específicos para o Programa PIPA */

/* Estilos para o cabeçalho do programa */
#programa-header {
  padding: 0 2rem;
  border-radius: 10px;
}

.programa-title {
  text-align: center;
  margin-bottom: 2rem;
}

.programa-title h1 {
  color: var(--primary-color);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.programa-title p {
  color: var(--secondary-color);
  font-size: 1.2rem;
}

/* Estilos para o destaque/próximo evento */
#programa-highlight {
  margin: 3rem 0;
}

.highlight-content {
  display: flex;
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.highlight-image {
  flex: 1;
  min-height: 300px;
}

.highlight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.highlight-text {
  flex: 1;
  padding: 2rem;
}

.highlight-text h2 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.highlight-text p {
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #3c3c3c;
}

.highlight-text .button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.highlight-text .button:hover {
  background-color: var(--hover-color);
}

.date-tag {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.highlight-today {
  background-color: #ff6b6b;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
  }
}

/* Estilos para o grid de atividades */
.atividades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.atividade-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.atividade-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.card-image {
  position: relative;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.atividade-card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 1.5rem;
}

.card-content h3 {
  margin-top: 0;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.card-content p {
  color: #3c3c3c;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Estilos para as abas */
.area-tabs {
  margin-top: 2rem;
}

.tab-container {
  margin-bottom: 1rem;
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tab-button {
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.tab-button.active {
  background-color: var(--primary-color);
  color: white;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Estilos para a seção sobre o programa */
.programa-sobre {
  padding: 3rem 0;
}

.programa-sobre h2 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 2rem;
}

.programa-descricao {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.programa-descricao p {
  margin-bottom: 1.5rem;
}

/* Estilos para as áreas de atuação */
.areas-atuacao {
  padding: 3rem 0;
  background-color: #f9f9f9;
}

.areas-atuacao h2 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 2rem;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.area-card {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.area-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.area-icon {
  margin-bottom: 1rem;
}

.area-icon .material-icons {
  font-size: 3rem;
  color: var(--primary-color);
}

.area-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.area-card p {
  color: #3c3c3c;
  line-height: 1.6;
}

/* Responsividade */
@media (max-width: 992px) {
  .highlight-content {
    flex-direction: column;
  }

  .highlight-image {
    min-height: 200px;
  }
}

@media (max-width: 768px) {
  .atividades-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .programa-title h1 {
    font-size: 2rem;
  }
  
  .areas-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}
