/*
 * Padel District — Global Tenant Fonts & Brand Styles
 *
 * Loaded globally by the TenantFonts component across all tenant pages
 * (landing, booking, packages, auth, etc.).
 *
 * Official brand typography:
 *   Headlines: Normalidad UltraExtended Bold (commercial — CSTM Fonts)
 *   Body:     DM Sans
 *   Arabic:   IBM Plex Sans Arabic
 *
 * The supplied Normalidad TTF (Normalidad-Compact-Medium.ttf) is the COMPACT
 * width — narrow, opposite of the UltraExtended specified for headlines. We
 * therefore use Archivo Black as the headline face (it matches the wide
 * athletic look of the brand mockups) and reserve Normalidad-Compact for
 * supporting display moments (eyebrows, large numerals) where its sturdy
 * geometric character reads well at smaller widths.
 *
 * If/when Normalidad UltraExtended Bold is licensed and dropped into the
 * fonts/ folder, swap the @font-face source below and update the
 * .font-padeldistrict-display stack.
 */

@font-face {
  font-family: 'Normalidad';
  src: url('/landing-pages/padeldistrict/fonts/Normalidad-Compact-Medium.ttf')
    format('truetype-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=DM+Sans:wght@400;500;600;700&family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap');

/* Brand Colors — Padel District (official guideline Feb 2025) */
:root {
  --padeldistrict-deep-blue: #00408f;
  --padeldistrict-bright-blue: #015eff;
  --padeldistrict-fresh-green: #b0ff06;
  --padeldistrict-light-blue: #abc8d3;
  --padeldistrict-neutral-gray: #f4f4f4;
  --padeldistrict-black: #000000;
  --padeldistrict-white: #ffffff;
}

/* Override default body font for all tenant pages so booking, auth, etc.
 * inherit Padel District's DM Sans body face. */
body {
  font-family: 'DM Sans', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

:lang(ar) body,
[dir='rtl'] body {
  font-family: 'IBM Plex Sans Arabic', 'DM Sans', system-ui, sans-serif;
}

/* Display utility — wide athletic face. Archivo Black is the visual match
 * for the brand's headline mockups. Normalidad sits later in the stack so
 * if/when an UltraExtended weight is added it takes precedence. */
.font-padeldistrict-display {
  font-family: 'Archivo Black', 'Normalidad', 'IBM Plex Sans Arabic',
    sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: -0.015em;
}

:lang(ar) .font-padeldistrict-display,
[dir='rtl'] .font-padeldistrict-display {
  font-family: 'IBM Plex Sans Arabic', 'Archivo Black', sans-serif !important;
  font-weight: 700 !important;
}

/* Body utility (DM Sans) */
.font-padeldistrict-body {
  font-family: 'DM Sans', 'IBM Plex Sans Arabic', system-ui, sans-serif !important;
}

/* Eyebrow / label utility */
.font-padeldistrict-label {
  font-family: 'DM Sans', 'IBM Plex Sans Arabic', system-ui, sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
}
