import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
import { Toaster } from "@/components/ui/toaster";

const geistSans = Geist({
  variable: "--font-geist-sans",
  subsets: ["latin"],
});

const geistMono = Geist_Mono({
  variable: "--font-geist-mono",
  subsets: ["latin"],
});

export const metadata: Metadata = {
  title: "Studo Guide - AI-Powered Career Guidance for South African Students",
  description:
    "Prepare for your future career with AI-powered career guidance designed specifically for South African learners. Free career assessments, tutor matching, bursary finder, and more.",
  keywords: [
    "Studo Guide",
    "South African students",
    "career guidance",
    "AI career assessment",
    "bursaries South Africa",
    "tutor matching",
    "university applications",
    "matric",
    "Grade 8-12",
  ],
  authors: [{ name: "Studo-Guide" }],
  icons: {
    icon: "/images/logo.png",
  },
  openGraph: {
    title: "Studo Guide - Your Future Career Guide",
    description:
      "AI-powered career guidance designed specifically for South African learners. Join 5M+ students today.",
    url: "https://studo-guide.co.za",
    siteName: "Studo Guide",
    type: "website",
  },
  twitter: {
    card: "summary_large_image",
    title: "Studo Guide - Your Future Career Guide",
    description:
      "AI-powered career guidance designed specifically for South African learners. Join 5M+ students today.",
  },
};

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <html lang="en" suppressHydrationWarning>
      <body
        className={`${geistSans.variable} ${geistMono.variable} antialiased bg-background text-foreground`}
      >
        {children}
        <Toaster />
      </body>
    </html>
  );
}
