/* ============================================================================
   hero_buttons.css
   Purpose:
   - Provide reusable styling for hero block buttons.
   - Buttons share consistent shape, hover/focus transitions.
   - Uses Tailwind-like palette but static (no dependency on Tailwind).
   ============================================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.18s ease-in-out;
  text-decoration: none;
  user-select: none;
  border-radius: 0.5rem;
  padding: 0.5rem 1.5rem;
  font-size: 1.125rem;
  line-height: 1.4;
}

/* PRIMARY button */
.btn-primary {
  background-color: #4f46e5; /* indigo-600 */
  color: #fff;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #4338ca; /* indigo-700 */
}
.btn-primary:active {
  background-color: #3730a3; /* indigo-800 */
}
.btn-primary:disabled {
  opacity: 0.6;
  pointer-events: none;
}

/* SECONDARY button */
.btn-secondary {
  background-color: #f3f4f6; /* gray-100 */
  color: #1f2937; /* gray-800 */
}
.btn-secondary:hover,
.btn-secondary:focus {
  background-color: #e5e7eb; /* gray-200 */
}
.btn-secondary:active {
  background-color: #d1d5db; /* gray-300 */
}
.btn-secondary:disabled {
  opacity: 0.6;
  pointer-events: none;
}

/* Optional “ghost” / outline variants for later */
.btn-outline {
  background-color: transparent;
  border: 1px solid #9ca3af;
  color: #374151;
}
.btn-outline:hover {
  background-color: #f9fafb;
}
.btn-ghost {
  background-color: transparent;
  color: #4b5563;
}
.btn-ghost:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Utility modifiers (optional) */
.btn-sm {
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
}
.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1.25rem;
}
.btn-rounded {
  border-radius: 9999px;
}
