import localFont from "next/font/local";

/**
 * IranYekan — the Persian face used by raoofigroup.com.
 * The "fanum" cuts render Latin digits with Persian numerals, which is what
 * the original site relies on for phone numbers and dates.
 */
export const iranYekan = localFont({
  src: [
    { path: "../assets/fonts/iranyekan-light.woff", weight: "300", style: "normal" },
    { path: "../assets/fonts/iranyekan-regular.woff", weight: "400", style: "normal" },
    { path: "../assets/fonts/iranyekan-bold.woff", weight: "700", style: "normal" },
    { path: "../assets/fonts/iranyekan-extrabold.woff", weight: "800", style: "normal" },
  ],
  variable: "--font-iranyekan",
  display: "swap",
  preload: true,
});

/** Montserrat — used for the Latin project names and section kickers. */
export const montserrat = localFont({
  src: [
    { path: "../assets/fonts/montserrat-light.ttf", weight: "300", style: "normal" },
    { path: "../assets/fonts/montserrat-regular.woff2", weight: "400", style: "normal" },
    { path: "../assets/fonts/montserrat-bold.ttf", weight: "700", style: "normal" },
  ],
  variable: "--font-montserrat",
  display: "swap",
});
