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



export const metadata: Metadata = {
  title: 'Bangalore HVAC Experts | Air Conditioning & Heating Services',
  description: 'Leading HVAC services in Bangalore for residential and commercial properties. Expert AC installation, repair, maintenance, and air quality solutions. Get a free quote today!',
  keywords: ["HVAC Bangalore, AC repair Bangalore, air conditioning services, heating repair Bangalore, HVAC installation, commercial HVAC, residential HVAC, Bangalore AC maintenance"],
  openGraph: {
    "title": "Bangalore HVAC Experts | Air Conditioning & Heating Services",
    "description": "Leading HVAC services in Bangalore for residential and commercial properties. Expert AC installation, repair, maintenance, and air quality solutions. Get a free quote today!",
    "url": "https://www.bangalorehvac.com",
    "siteName": "Bangalore HVAC Experts",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/medium-shot-woman-starting-heater_23-2149335103.jpg",
        "alt": "HVAC technician fixing an outdoor unit in Bangalore"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Bangalore HVAC Experts | Air Conditioning & Heating Services",
    "description": "Leading HVAC services in Bangalore for residential and commercial properties. Expert AC installation, repair, maintenance, and air quality solutions. Get a free quote today!",
    "images": [
      "http://img.b2bpic.net/free-photo/medium-shot-woman-starting-heater_23-2149335103.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

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

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