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



export const metadata: Metadata = {
  title: 'Kafe Culture – Where Every Sip Feels Like Home',
  description: 'Experience the warm, cozy, and modern ambiance of Kafe Culture in Jalgaon, Maharashtra. Enjoy delicious mocktails, food, and desserts at affordable prices. Your perfect spot for friends and family.',
  keywords: ["Kafe Culture, cafe Jalgaon, best café in Jalgaon, café near Aakashwani Jalgaon, cozy cafe, modern cafe, affordable cafe, mocktails Jalgaon, food Jalgaon, desserts Jalgaon"],
  openGraph: {
    "title": "Kafe Culture – Where Every Sip Feels Like Home",
    "description": "Experience the warm, cozy, and modern ambiance of Kafe Culture in Jalgaon, Maharashtra. Enjoy delicious mocktails, food, and desserts at affordable prices. Your perfect spot for friends and family.",
    "url": "https://kafeculture.com",
    "siteName": "Kafe Culture",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/stylish-young-woman-using-digital-tablet-restaurant-table_23-2147936094.jpg",
        "alt": "Kafe Culture interior"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Kafe Culture – Where Every Sip Feels Like Home",
    "description": "Experience the warm, cozy, and modern ambiance of Kafe Culture in Jalgaon, Maharashtra. Enjoy delicious mocktails, food, and desserts at affordable prices. Your perfect spot for friends and family.",
    "images": [
      "http://img.b2bpic.net/free-photo/stylish-young-woman-using-digital-tablet-restaurant-table_23-2147936094.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

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

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