/**
 * Estilos del componente Button
 * 
 * @package Puerto_Sostenible
 */

.btn {
  padding: 0.75rem 2.5rem;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Iconos sin animación de rotación */
.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.btn:hover::before {
  width: 250px;
  height: 250px;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
  border: 1px solid white;
}

.btn-primary:hover {
  background-color: var(--color-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-primary:hover svg path {
  fill: var(--color-primary);
}

.btn-secondary {
  background: none;
  color: white;
  border: 1px solid white;
}

.btn-secondary:hover {
  background-color: white;
  color: var(--color-primary);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-secondary:hover svg path {
  fill: var(--color-primary);
}

.btn-outline {
  background: none;
  color: white;
  border: 1px solid white;
}

.btn-outline:hover {
  background-color: white;
  color: var(--color-primary);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
