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



export const metadata: Metadata = {
  title: 'KLEOS RIVIERA | Luxury Property Management French Riviera',
  description: 'Experience unparalleled villa management on the French Riviera with KLEOS RIVIERA. Discreet, professional, and bespoke services for your exquisite property.',
  keywords: ["luxury property management, French Riviera, villa management, Cote d'Azur, exclusive property services, KLEOS RIVIERA, luxury villas"],
  openGraph: {
    "title": "KLEOS RIVIERA | Luxury Property Management French Riviera",
    "description": "Experience unparalleled villa management on the French Riviera with KLEOS RIVIERA. Discreet, professional, and bespoke services for your exquisite property.",
    "url": "https://www.kleosriviera.com",
    "siteName": "KLEOS RIVIERA",
    "images": [
      {
        "url": "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EywH5PBKHbu5cPOXnOBmQcvjjT/uploaded-1781176974868-lon18sid.jpg",
        "alt": "Luxury villa overlooking the French Riviera"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "KLEOS RIVIERA | Luxury Property Management French Riviera",
    "description": "Experience unparalleled villa management on the French Riviera with KLEOS RIVIERA. Discreet, professional, and bespoke services for your exquisite property.",
    "images": [
      "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EywH5PBKHbu5cPOXnOBmQcvjjT/uploaded-1781176974868-lon18sid.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`}>
          <Tag />
          {children}
          <script
              dangerouslySetInnerHTML={{
                  __html: `${getVisualEditScript()}`
              }}
          />
        </body>
      </ServiceWrapper>
    </html>
  );
}
