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: 'Architectura Studio | Transforming Vision Into Reality',
  description: 'Award-focused design studio creating innovative commercial, residential, and mixed-use spaces. Transforming your vision into built reality.',
  openGraph: {
    "title": "Architectura Studio | Design Excellence",
    "description": "Professional architectural firm specializing in mixed-use, residential, and commercial developments.",
    "siteName": "Architectura Studio"
  },
};

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>
  );
}
