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



export const metadata: Metadata = {
  title: 'Hagedorn Hotel Wildpferd Dülmen | Your Luxurious Stay in Dülmen',
  description: 'Experience unparalleled comfort and hospitality at Hagedorn Hotel Wildpferd Dülmen. Book your perfect stay blending traditional charm with modern luxury in the heart of Dülmen.',
  keywords: ["hotel, dülmen, hagedorn, wildpferd, luxury hotel, accommodation, germany, travel, hospitality, boutique hotel, spa, restaurant, events"],
  openGraph: {
    "title": "Hagedorn Hotel Wildpferd Dülmen | Luxurious Stays",
    "description": "Book your exquisite stay at Hagedorn Hotel Wildpferd Dülmen. Discover comfort, gourmet dining, and spa facilities.",
    "url": "https://www.hotel-wildpferd.de",
    "siteName": "Hagedorn Hotel Wildpferd Dülmen",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/decorated-front-door_23-2150562486.jpg",
        "alt": "Hotel Wildpferd Dülmen exterior"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Hagedorn Hotel Wildpferd Dülmen | Luxurious Stays",
    "description": "Book your exquisite stay at Hagedorn Hotel Wildpferd Dülmen. Discover comfort, gourmet dining, and spa facilities.",
    "images": [
      "http://img.b2bpic.net/free-photo/decorated-front-door_23-2150562486.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

const poppins = Poppins({
  variable: "--font-poppins",
  subsets: ["latin"],
  weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
});

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