/* ============================================
   UTILITIES & ANIMATIONS - Nokhba Design System v2.0
   ============================================ */

/* ─── Reveal Scroll Animation ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-reveal), transform var(--transition-reveal);
}

.reveal.on {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Section Dark (for dark backgrounds) ─── */
.section-dark {
  background: var(--color-navy);
}

/* ─── Text Alignment ─── */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

/* ─── Text Colors ─── */
.text-gold { color: var(--color-gold); }
.text-white { color: var(--color-white); }
.text-navy { color: var(--color-navy); }
.text-muted { color: var(--clr-text); }

/* ─── Font Weights ─── */
.fw-light { font-weight: var(--weight-light); }
.fw-regular { font-weight: var(--weight-regular); }
.fw-medium { font-weight: var(--weight-medium); }
.fw-semibold { font-weight: var(--weight-semibold); }
.fw-bold { font-weight: var(--weight-bold); }

/* ─── Display ─── */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }

/* ─── Flex Utilities ─── */
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }

/* ─── Gap Utilities ─── */
.gap-1 { gap: var(--space-2); }
.gap-2 { gap: var(--space-4); }
.gap-3 { gap: var(--space-6); }
.gap-4 { gap: var(--space-8); }

/* ─── Spacing ─── */
.mt-1 { margin-top: var(--space-3); }
.mt-2 { margin-top: var(--space-5); }
.mt-3 { margin-top: var(--space-8); }
.mt-4 { margin-top: var(--space-12); }
.mb-1 { margin-bottom: var(--space-3); }
.mb-2 { margin-bottom: var(--space-5); }
.mb-3 { margin-bottom: var(--space-8); }
.mb-4 { margin-bottom: var(--space-12); }

.p-1 { padding: var(--space-3); }
.p-2 { padding: var(--space-5); }
.p-3 { padding: var(--space-8); }

/* ─── Positioning ─── */
.pos-relative { position: relative; }
.pos-absolute { position: absolute; }
.pos-sticky { position: sticky; }
.z-1 { z-index: 1; }
.z-2 { z-index: 2; }

/* ─── Width / Sizing ─── */
.w-full { width: 100%; }
.max-w-sm { max-width: 560px; }
.max-w-full { max-width: 100%; }

/* ─── Hide / Show ─── */
.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─── Misc ─── */
.no-wrap { white-space: nowrap; }
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
