/**
 * buttons.css
 * Theme-wide button designs, hover elevations, and click transitions.
 *
 * @package Srushti_Theme
 */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 14px 32px;
  background: linear-gradient(135deg, #CC0000 0%, #FF1A1A 50%, #CC0000 100%);
  background-size: 200% 100%;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.30s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 4px 16px rgba(10, 10, 15, 0.10);
  text-decoration: none;
  justify-content: center;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
  opacity: 0;
  transition: opacity 0.20s ease;
  pointer-events: none;
}

.btn-primary:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(10, 10, 15, 0.15);
  color: #FFFFFF;
}

.btn-primary:hover::before {
  opacity: 1;
}

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

/* ─────────────────────────────────────────────
   SECONDARY BUTTON (Glass + Red Tech Border)
   ───────────────────────────────────────────── */

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 13px 30px;
  background: var(--glass-base);
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  color: var(--color-brand-red);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--color-border-tech);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.30s cubic-bezier(0.22, 1, 0.36, 1);
  text-decoration: none;
  justify-content: center;
  position: relative;
}

.btn-secondary:hover {
  background: rgba(204, 0, 0, 0.06);
  border-color: var(--color-brand-red-bright);
  transform: translateY(-2px);
  color: var(--color-brand-red-bright);
}

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

/* ─────────────────────────────────────────────
   CTA BUTTON (Red Neon — High Energy)
   ───────────────────────────────────────────── */

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 14px 32px;
  background: var(--color-brand-red);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--color-brand-red-bright);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.30s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 4px 16px rgba(10, 10, 15, 0.10);
  text-decoration: none;
  justify-content: center;
}

.btn-cta:hover {
  background: var(--color-brand-red-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(204, 0, 0, 0.20);
  color: #FFFFFF;
}

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

/* ─────────────────────────────────────────────
   GHOST BUTTON
   ───────────────────────────────────────────── */

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 12px 24px;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(10, 10, 15, 0.12);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  justify-content: center;
}

.btn-ghost:hover {
  border-color: rgba(10, 10, 15, 0.25);
  color: var(--text-primary);
  background: rgba(10, 10, 15, 0.04);
}

/* ─────────────────────────────────────────────
   ICON BUTTON (Circular)
   ───────────────────────────────────────────── */

.btn-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-base);
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.25s ease;
}

.btn-icon:hover {
  background: var(--glass-hover);
  border-color: var(--color-brand-red-bright);
  color: var(--color-brand-red-bright);
}
