import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import "./globals.css";
import "@/lib/gsap-setup";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script";
import { Nunito } from "next/font/google";



export const metadata: Metadata = {
  title: 'Charbel - Master Your Communication, Command Your Presence',
  description: 'Unlock unparalleled clarity, confidence, and charisma with Charbel, a leading communication coach. Tailored programs for executives, leaders, and public speakers.',
  keywords: ["communication coach, public speaking, executive presence, leadership communication, Charbel, coaching, influence, charisma, conflict resolution, negotiation, presentation skills"],
  openGraph: {
    "title": "Charbel - Master Your Communication, Command Your Presence",
    "description": "Unlock unparalleled clarity, confidence, and charisma with Charbel, a leading communication coach. Tailored programs for executives, leaders, and public speakers.",
    "url": "https://charbelcoach.com",
    "siteName": "Charbel - Communication Coach",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/young-pregnant-woman-work_23-2149292809.jpg",
        "alt": "Abstract communication network representing global reach"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Charbel - Master Your Communication, Command Your Presence",
    "description": "Unlock unparalleled clarity, confidence, and charisma with Charbel, a leading communication coach. Tailored programs for executives, leaders, and public speakers.",
    "images": [
      "http://img.b2bpic.net/free-photo/young-pregnant-woman-work_23-2149292809.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

const nunito = Nunito({
  variable: "--font-nunito",
  subsets: ["latin"],
});

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <html lang="en" suppressHydrationWarning>
      <ServiceWrapper>
        <body className={`${nunito.variable} antialiased`}>
          <Tag />
          {children}
          <script
              dangerouslySetInnerHTML={{
                  __html: `${getVisualEditScript()}`
              }}
          />
        </body>
      </ServiceWrapper>
    </html>
  );
}
