export interface CaseStudyTool {
  src: string;
  alt: string;
  /** Overrides the default icon size classes (e.g. wider Flutter icon). */
  widthClass?: string;
  /** Intrinsic dimensions override (defaults 1200×600). */
  width?: number;
  height?: number;
}

export interface DesignImage {
  src: string;
  caption: string;
  alt?: string;
}

export interface CaseStudy {
  /** URL slug, e.g. "case-study-4111food" — must never change (SEO). */
  slug: string;
  metaTitle: string;
  metaDescription: string;
  banner: {
    category: string;
    heading: string;
    /** Overrides the h1 className (a few brands use md:text-[60px] instead of 65px). */
    headingClassName?: string;
    tools: CaseStudyTool[];
    heroImage: { src: string; alt: string };
  };
  overview: {
    intro: string[];
    challenges: string[];
    approach: string[];
    advantages: string[];
    designImages: DesignImage[];
    /** Optional full-width image below the design grid (used by MyDoctorss). */
    extraImage?: { src: string; alt: string };
  };
}
