import { createClient } from '@supabase/supabase-js';

const supabaseUrl = import.meta.env.VITE_SUPABASE_URL;
const supabaseAnonKey = import.meta.env.VITE_SUPABASE_ANON_KEY;

export const supabase = createClient(supabaseUrl, supabaseAnonKey);

export type Inquiry = {
  id: string;
  name: string;
  phone: string;
  email: string;
  project_type: string;
  budget: string | null;
  location: string;
  message: string;
  status: 'new' | 'contacted' | 'quoted' | 'closed';
  created_at: string;
};
