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: 'New York Premium - Experience Luxury, Redefined',
  description: 'Discover unparalleled luxury and sophisticated living with New York Premium. Exclusive collections, bespoke services, and unforgettable experiences in the heart of NYC.',
  keywords: ["New York, luxury, premium, exclusive, bespoke, fashion, lifestyle, high-end, elegant, sophisticated"],
  openGraph: {
    "title": "New York Premium - Experience Luxury, Redefined",
    "description": "Discover unparalleled luxury and sophisticated living with New York Premium. Exclusive collections, bespoke services, and unforgettable experiences in the heart of NYC.",
    "url": "https://www.newyorkpremium.com",
    "siteName": "New York Premium",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/empire-state-building-night_23-2151003509.jpg",
        "alt": "New York City Skyline"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "New York Premium - Experience Luxury, Redefined",
    "description": "Discover unparalleled luxury and sophisticated living with New York Premium.",
    "images": [
      "http://img.b2bpic.net/free-photo/empire-state-building-night_23-2151003509.jpg"
    ]
  },
  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>
  );
}
