import type { Metadata } from "next";
import { Geist, Geist_Mono, Bebas_Neue, Oswald } from "next/font/google";
import "./globals.css";
import LayoutContent from "@/components/LayoutContent";

const geistSans = Geist({
  variable: "--font-geist-sans",
  subsets: ["latin"],
});

const geistMono = Geist_Mono({
  variable: "--font-geist-mono",
  subsets: ["latin"],
});

const bebasNeue = Bebas_Neue({
  variable: "--font-bebas-neue",
  weight: "400",
  subsets: ["latin"],
});

const oswald = Oswald({
  variable: "--font-oswald",
  subsets: ["latin", "latin-ext"],
});

export const metadata: Metadata = {
  title: {
    template: '%s | A.N.T Architecture',
    default: 'A.N.T Architecture | Ayça Nur Turhan - Fethiye Mimarlık ve Tasarım',
  },
  description: 'Ayça Nur Turhan tarafından Fethiye\'de kurulan A.N.T Architecture, modern mimari ve yenilikçi tasarım çözümleri sunar. Villa projeleri, iç mekan tasarımı ve uygulama hizmetleri.',
  keywords: ['Fethiye Mimarlık', 'Ayça Nur Turhan', 'Ant Architecture', 'Modern Mimari', 'Villa Tasarımı', 'İç Mimarlık Fethiye'],
  authors: [{ name: 'Ayça Nur Turhan' }],
  creator: 'Ayça Nur Turhan',
  publisher: 'A.N.T Architecture',
  formatDetection: {
    email: false,
    address: true,
    telephone: true,
  },
  openGraph: {
    title: 'A.N.T Architecture | Ayça Nur Turhan',
    description: 'Fethiye merkezli modern mimari ve tasarım ofisi.',
    url: 'https://aycanurturhan.com', // Change this to actual URL if known
    siteName: 'A.N.T Architecture',
    locale: 'tr_TR',
    type: 'website',
  },
  robots: {
    index: true,
    follow: true,
  },
};

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <html
      lang="tr"
      className={`${geistSans.variable} ${geistMono.variable} ${bebasNeue.variable} ${oswald.variable} h-full antialiased`}
    >
      <body className="min-h-full flex flex-col bg-white">
        <LayoutContent>{children}</LayoutContent>
      </body>
    </html>
  );
}
