/* ==========================================================
   COMPONENTS.CSS — Reusable UI Components
   Alfredo Limson Portfolio V2
   ========================================================== */

/* ----------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------- */
.al-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: var(--text-base);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

/* Primary — cyan bg, black text */
.al-btn--primary {
  background: var(--color-accent);
  color: #000000;
  box-shadow: var(--shadow-glow);
}

.al-btn--primary:hover {
  box-shadow: var(--shadow-glow-lg);
  transform: translateY(-2px) scale(1.03);
  color: #000000;
}

/* Ghost — dark bg, white text, subtle border */
.al-btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.al-btn--ghost:hover {
  background: var(--color-accent-dim);
  border-color: rgba(0, 255, 255, 0.4);
  color: var(--color-accent);
  transform: translateY(-2px);
}

/* ----------------------------------------------------------
   ANIMATIONS
   ---------------------------------------------------------- */
.al-fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: al-fade-up 0.8s ease forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes al-fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}