import type { Metadata } from "next";
import { Playfair_Display, Inter } from "next/font/google";
import "./globals.css";
import "@/jobs/send-daily-agenda";

const playfair = Playfair_Display({
  subsets: ["latin"],
  variable: "--font-serif",
  display: "swap",
});

const inter = Inter({
  subsets: ["latin"],
  variable: "--font-sans",
  display: "swap",
});

export const metadata: Metadata = {
  title: "Gloria Niño - Terapeuta Emocional",
  description: "Enfoque terapéutico personalizado para sanación integral y bienestar",
  keywords: ["terapia", "psicología", "duelo", "ansiedad", "Gloria Niño"],
  authors: [{ name: "Gloria Niño" }],
  openGraph: {
    title: "Gloria Niño - Terapeuta Emocional",
    description: "Enfoque terapéutico personalizado para sanación integral y bienestar",
    type: "website",
    locale: "es_CO",
  },
};

export default function RootLayout({ children }: { children: React.ReactNode }) {
  return (
    <html lang="es" suppressHydrationWarning>
      <body className={`${playfair.variable} ${inter.variable} font-sans antialiased`}>
        {children}
      </body>
    </html>
  );
}
