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 { Archivo } from "next/font/google";



export const metadata: Metadata = {
  title: 'Dr. Gaurav Gupta | Delhi\'s Leading Cardiac Surgeon',
  description: 'Dr. Gaurav Gupta is a trusted cardiac surgeon in Delhi, specializing in advanced heart surgeries including CABG, valve repair, and minimally invasive procedures. Book your consultation today.',
  keywords: ["cardiac surgeon Delhi, heart surgery Delhi, Dr. Gaurav Gupta, best cardiac surgeon, CABG surgery, valve replacement, aortic surgery, heart specialist"],
  openGraph: {
    "title": "Dr. Gaurav Gupta | Delhi's Leading Cardiac Surgeon",
    "description": "Dr. Gaurav Gupta is a trusted cardiac surgeon in Delhi, specializing in advanced heart surgeries. Expert care for complex heart conditions.",
    "url": "https://www.drgauravgupta.com",
    "siteName": "Dr. Gaurav Gupta",
    "images": [
      {
        "url": "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ecs8gJYZ7REEfAEbmE5cXC309x/uploaded-1780489085995-9r9qaa1h.png",
        "alt": "Dr. Gaurav Gupta, Cardiac Surgeon"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Dr. Gaurav Gupta | Delhi's Leading Cardiac Surgeon",
    "description": "Dr. Gaurav Gupta is a trusted cardiac surgeon in Delhi, specializing in advanced heart surgeries. Expert care for complex heart conditions.",
    "images": [
      "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ecs8gJYZ7REEfAEbmE5cXC309x/uploaded-1780489085995-9r9qaa1h.png"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

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

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