// src/types/home.ts

// ---------- HERO ----------
export interface HeroData {
    backgroundImage: string;
    badgeImage: string;
    
    title: string;
    teritoryName: string;
  }
  
  // ---------- WHY YOUNG ENGINEERS ----------
  export interface WhyYoungEngineersSlide {
    title: string;
    desc: string;
    image: string;
  }
  
export interface WhyYoungEngineersData {
  mainHeading: string;
  sliders: Array<{
    sliderHeading: string;
    title: string;
    description: string;
    image: string;
    ctaButtonText?: string;
    ctaButtonLink?: string;
  }>;
  ctaButtonText: string;
}
  
  // ---------- PROGRAMS ----------
  export interface ProgramSkill {
    icon: string;
    label: string;
  }
  
  export interface Program {
    title: string;
    ageRange: string;
    minAge: number;
    maxAge: number;
    imageSrc: string;
    bgColor: string;
    skills: ProgramSkill[];
  }
  export interface ProgramsSectionData {
  heading: string;
  ageRangeText: string;
  ctaButtonText: string;
}
  
  // ---------- JOIN FREE CLASS ----------
 export interface JoinFreeClassPhoto {
  id: number | string;
  src: string;
  alt: string;
}

export interface JoinFreeClassData {
  title: string;
  subtitle: string;
  ctaText: string;
  background: string;
  description: string;
  photos: JoinFreeClassPhoto[];
}
  
  // ---------- DISCOVER SLIDER ----------
  export interface SliderItem {
    id: number;
    tabTitle: string;
    contentTitle: string;
    description: string;
    mainImage: string;
    thumbnails: string[];
  }
  
  // ---------- ADDITIONAL ACTIVITIES ----------
  export interface Activity {
    id: string;
    title: string;
    idealFor?: string;
    desctiprtion?: string;
    image: string;
    cta_button: string | { text: string; url: string }; // JSON string or object with text and url
    order_no: number;
    language?: string;
  }

  export interface ActivitiesResponse {
    status: boolean;
    message: string;
    data: Activity[];
  }

  export interface ProcessedActivity extends Activity {
    ctaText: string;
    ctaUrl: string;
  }
  
  // ---------- TESTIMONIALS ----------
  export interface Testimonial {
    id: number;
    quote: string;
    author: string;
  }
  
  // ---------- SEO ----------
  export interface SEOData {
    title: string;
    description: string;
  }
  
  // ---------- ROOT HOME DATA ----------
  export interface HomeData {
    seo: SEOData;
    hero: HeroData;
    whyYoungEngineers: WhyYoungEngineersData;
    programs: Program[];
    joinFreeClass: JoinFreeClassData;
    discover: SliderItem[];
    activities: Activity[];
    testimonials: Testimonial[];
  }
  
  export interface Testimonial {
  id: number;
  quote: string;
  author: string;
}

export interface TestimonialsData {
  testimonials: Testimonial[];
  title?: string;
  subtitle?: string;
  mainHeading?: string;
  subHeading?: string;
  feature1?: string;
  feature2?: string;
  feature3?: string;
  feature4?: string;
  parentNotices?: {
    text: string;
    icons: {
      image: string;
      alt: string;
      text: string;
    }[];
  };
}

  // ---------- TEACHERS ----------
  export interface Teacher {
    id: string;
    name: string;
    qualification: string;
    experience: number;
    profile_image: string;
    order_no: number;
    status: string;
  }

  export interface TeachersResponse {
    status: boolean;
    message: string;
    data: Teacher[];
  }

  export interface ProcessedTeacher extends Teacher {
    experienceYears: number;
  }