/* Design Utilities - Buttons & Components */

/* ===================================
   BUTTON SYSTEM
   =================================== */

/* Base Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500; /* LOCKED: Always medium */
  line-height: 1.25; /* LOCKED */
  letter-spacing: 0; /* LOCKED */
  text-align: center;
  text-transform: none; /* LOCKED: Sentence case */
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 2px solid transparent;
  /* border-radius controlled by utility classes (rounded-md, rounded-lg, etc.) */
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn:focus {
  outline: 2px solid var(--clr-neutral-light);
  outline-offset: 4px;
}

.btn:focus:not(:focus-visible) {
  outline: none;
}

/* Button Sizes - LOCKED TO 3 SIZES ONLY */
.btn-sm {
  padding: 8px 16px; /* LOCKED */
  font-size: 14px; /* LOCKED */
  min-height: 36px; /* LOCKED */
}

.btn-md {
  padding: 12px 24px; /* LOCKED */
  font-size: 16px; /* LOCKED */
  min-height: 44px; /* LOCKED */
}

.btn-lg {
  padding: 16px 32px; /* LOCKED */
  font-size: 16px; /* LOCKED */
  min-height: 52px; /* LOCKED */
}

/* Filled Button Styles */
.btn-filled-primary {
  background-color: var(--clr-primary);
  color: var(--clr-white);
  border-color: var(--clr-primary);
}

.btn-filled-primary:hover {
  background-color: var(--clr-neutral-dark);
  border-color: var(--clr-neutral-dark);
}

/* Ghost Button Style */
.btn-ghost {
  background-color: transparent;
  border-color: transparent;
  color: currentColor;
}

.btn-ghost:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* ===================================
   IMAGE UTILITIES
   =================================== */

img {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }

/* ===================================
   BADGE COMPONENT
   =================================== */

.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-xs) var(--space-sm);
  font-size: var(--font-size-xs);
  font-weight: 600;
  border-radius: var(--radius-base);
  white-space: nowrap;
}

/* ===================================
   TRANSITION UTILITIES
   =================================== */

.transition-all {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-transform {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-opacity {
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   RESPONSIVE UTILITIES
   =================================== */

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:block { display: block; }
}

@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:block { display: block; }
}

