/* ========================================
   BUTTONS.CSS - Button Component Styles
   ======================================== */

/* ===== BASE BUTTON ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm) var(--spacing-lg);
  font-family: var(--font-family-primary);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  border: var(--border-width) solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.btn:focus {
  outline: none;
  box-shadow: var(--shadow-focus);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ===== BUTTON VARIANTS ===== */

/* Primary Button */
.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Secondary Button */
.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-bg-dark);
}

.btn-secondary:hover {
  background-color: var(--color-secondary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Outline Button */
.btn-outline {
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: #ffffff;
}

/* Ghost Button */
.btn-ghost {
  background-color: transparent;
  color: var(--color-text);
}

.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* ===== ICON BUTTONS ===== */
.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  background-color: rgba(74, 198, 255, 0.1);
  border: var(--border-width) solid rgba(74, 198, 255, 0.3);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-icon:hover {
  background-color: rgba(74, 198, 255, 0.2);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.social-icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

/* ===== BUTTON SIZES ===== */

/* Small Button */
.btn-sm {
  padding: var(--spacing-xs) var(--spacing-md);
  font-size: var(--font-size-sm);
}

/* Large Button */
.btn-lg {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: var(--font-size-lg);
}

/* Full Width Button */
.btn-block {
  display: flex;
  width: 100%;
}

/* ===== BUTTON GROUPS ===== */
.btn-group {
  display: inline-flex;
  gap: var(--spacing-sm);
}

/* ===== SOCIAL LINKS (from index.html) ===== */
.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-xl);
  border-top: var(--border-width) solid var(--color-border);
}

@media (max-width: 767px) {
  .social-links {
    flex-direction: column;
    gap: var(--spacing-md);
  }

  .btn-icon {
    width: 100%;
    justify-content: center;
  }
}
