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 { getVisualEditScript } from "@/utils/visual-edit-script";
import { Manrope } from "next/font/google";



export const metadata: Metadata = {
  title: 'Native Sun Landscape Services | Expert Landscape Design & Care',
  description: 'Native Sun Landscape Services, Inc. offers professional landscape design, lawn care, tree & shrub services, and sustainable outdoor solutions. Transform your property today.',
  keywords: ["landscape services, landscape design, lawn care, tree care, shrub care, irrigation, outdoor living, garden design, landscaping company"],
  openGraph: {
    "title": "Native Sun Landscape Services | Expert Landscape Design & Care",
    "description": "Native Sun Landscape Services, Inc. offers professional landscape design, lawn care, tree & shrub services, and sustainable outdoor solutions. Transform your property today.",
    "url": "https://www.nativesunlandscape.com",
    "siteName": "Native Sun Landscape Services, Inc.",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/professional-gardener-trimming-hedge-yard_342744-537.jpg",
        "alt": "Beautifully landscaped garden"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Native Sun Landscape Services | Expert Landscape Design & Care",
    "description": "Native Sun Landscape Services, Inc. offers professional landscape design, lawn care, tree & shrub services, and sustainable outdoor solutions. Transform your property today.",
    "images": [
      "http://img.b2bpic.net/free-photo/professional-gardener-trimming-hedge-yard_342744-537.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

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

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