/* Claroview - Button Styles */
/* .btn--primary / .btn-solid: solid yellow.  .btn--secondary / .btn-ghost: outlined. */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 15px 30px;
  border: 1px solid var(--accent-yellow);
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s;
}

/* Doubled class selectors so the button colour beats any inherited link colour (e.g. .home a) */
.btn.btn--primary,
.btn.btn-solid {
  background: var(--accent-yellow);
  color: var(--primary-bg);
}

.btn.btn--primary:hover,
.btn.btn-solid:hover {
  background: transparent;
  color: var(--accent-yellow);
}

.btn.btn--secondary,
.btn.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn.btn--secondary:hover,
.btn.btn-ghost:hover {
  border-color: var(--accent-yellow);
  color: var(--accent-yellow);
}

.btn .arrow {
  transition: transform 0.3s;
}

.btn:hover .arrow {
  transform: translateX(5px);
}

/* Button Group - pairs of CTA buttons */
.btn-group {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  margin-top: var(--spacing-xl);
}

.btn-group--center {
  justify-content: center;
}

@media (max-width: 768px) {
  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-group .btn {
    justify-content: center;
  }
}
