/* 
 * pricing.css
 * Estilos para la sección de planes y precios
 */

.categories {
  padding: 5rem 0;
}

.gym-1 h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
}

.category-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.periods {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.period {
  background-color: #333;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.period:hover,
.period.active {
  background-color: var(--color-primary);
}

.pricing-container {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.pricing-card {
  background-color: white;
  color: black;
  padding: 2rem;
  border-radius: 16px;
  width: 300px;
  text-align: center;
  position: relative;
  transition: transform 0.3s;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.popular-tag {
  background-color: #e1160d;
  color: black;
  padding: 0.5rem;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  border-radius: 16px 16px 0 0;
  font-weight: bold;
}

.popular {
  border: 2px solid #e1160d;
}

.frequency {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 1rem 0;
  color: #333;
}

.price {
  font-size: 3rem;
  font-weight: bold;
  margin: 0.5rem 0;
  color: var(--color-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price .symbol {
  font-size: 1.5rem;
  margin-right: 0.2rem;
  align-self: flex-end;
}

.description {
  color: #666;
  line-height: 1.5;
  margin-top: 1rem;
}

/* Estilos responsivos para la sección de precios */
@media (max-width: 768px) {
  .pricing-container {
    flex-direction: column;
    align-items: center;
  }

  .pricing-card {
    width: 100%;
    max-width: 300px;
  }

  .periods {
    flex-direction: column;
    align-items: center;
  }

  .period {
    width: 100%;
    text-align: center;
  }
}
