export type Trail = {
  id: string;
  name: string;
  location: string;
  difficulty: 'Beginner' | 'Intermediate' | 'Advanced';
  length: string;
  elevation: string;
  description: string;
  imageUrl: string;
  imageHint: string;
  likes: number;
  comments: number;
};

export type GearItem = {
  id: string;
  name: string;
  category: 'Apparel' | 'Protective Gear' | 'Bike Parts';
  price: number;
  description: string;
  images: { url: string; hint: string }[];
  rating: number;
  reviewCount: number;
  stock: number;
  sizes?: string[];
  colors?: string[];
};

export type ForumPost = {
  id: string;
  title: string;
  author: User;
  createdAt: string;
  replies: number;
  views: number;
  lastReply: {
    author: User;
    timestamp: string;
  };
};

export type User = {
  id: string;
  name: string;
  avatarUrl: string;
  avatarHint: string;
};

export type CartItem = GearItem & {
  quantity: number;
  selectedSize?: string;
  selectedColor?: string;
};

export type RidingEvent = {
  id: string;
  destination: string;
  distance: string;
  duration: string;
  activities: string;
  date: string;
  daycation?: string;
};
