import type { Metadata } from "next";
import { Manrope } from "next/font/google";
import "./globals.css";
import Providers from "@/components/Providers";
import Navbar from "@/components/Navbar";
import Footer from "@/components/Footer";

const manrope = Manrope({
  subsets: ["latin"],
  weight: ["300", "400", "500", "600", "700", "800"],
  variable: "--font-manrope",
});

export const metadata: Metadata = {
  title: "Paid2Marketing – Digital Marketing & Communication Experts",
  description:
    "Empowering businesses with Social Media Management, AI SMS, Email Marketing, WhatsApp, and PBX & VoIP Solutions. Trusted by startups, SMEs & enterprises.",
};

export default function RootLayout({ children }: Readonly<{ children: React.ReactNode }>) {
  return (
    <html lang="en" className={`${manrope.variable} h-full dark`}>
      <body className="min-h-full flex flex-col antialiased" style={{ background: "var(--bg1)", color: "var(--fg1)" }}>
        <Providers>
          <Navbar />
          <main className="flex-1">{children}</main>
          <Footer />
        </Providers>
      </body>
    </html>
  );
}
