"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroBillboardGallery from '@/components/sections/hero/HeroBillboardGallery';
import MetricSplitMediaAbout from '@/components/sections/about/MetricSplitMediaAbout';
import FeatureCardOne from '@/components/sections/feature/FeatureCardOne';
import TestimonialCardSixteen from '@/components/sections/testimonial/TestimonialCardSixteen';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterMedia from '@/components/sections/footer/FooterMedia';

const navItems = [{ name: "Home", id: "/" }];

export default function Page() {
  return (
    <ThemeProvider 
        defaultButtonVariant="hover-magnetic" 
        defaultTextAnimation="reveal-blur" 
        borderRadius="pill" 
        contentWidth="medium" 
        sizing="large" 
        background="noise" 
        cardStyle="glass-depth" 
        primaryButtonStyle="diagonal-gradient" 
        secondaryButtonStyle="glass" 
        headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered navItems={navItems} brandName="Top Table" />
      </div>
      <div id="hero" data-section="hero">
        <HeroBillboardGallery 
            title="Proper Fish & Chips"
            description="Traditional British flavor, refined for the modern palate."
            background={{ variant: "plain" }}
            mediaItems={[
              { imageSrc: "https://images.unsplash.com/photo-1579684385327-38686e920653" },
              { imageSrc: "https://images.unsplash.com/photo-1598182198871-73533f81e3a6" },
              { imageSrc: "https://images.unsplash.com/photo-1601004890684-d8cbf643f5f2" }
            ]}
            buttons={[{ text: "View Menu", href: "#" }]}
        />
      </div>
      <div id="about" data-section="about">
        <MetricSplitMediaAbout 
            title="Quality You Can Taste"
            description="Top Table started with a single promise: to serve honest, properly prepared fish and chips. We source sustainable, fresh catch daily and fry to perfection in our signature crisp batter."
            metrics={[
                { value: "15+", title: "Years Experience" },
                { value: "100%", title: "Sustainably Sourced" }
            ]}
            imageSrc="https://images.unsplash.com/photo-1579684385327-38686e920653"
            useInvertedBackground={true}
        />
      </div>
      <div id="features" data-section="features">
        <FeatureCardOne 
            title="The Top Table Standard"
            description="Why we are the preferred choice for locals."
            features={[
                {
                    title: "Freshly Caught",                    description: "Direct from the dock to our kitchen daily.",                    imageSrc: "https://images.unsplash.com/photo-1519708227418-c8fd9a32b7a2"
                },
                {
                    title: "Clean Oil",                    description: "Filtered and replaced constantly for a light, non-greasy finish.",                    imageSrc: "https://images.unsplash.com/photo-1589302168068-964664d93dc0"
                },
                {
                    title: "Hand-cut Chips",                    description: "Prepared from scratch, golden on the outside, fluffy inside.",                    imageSrc: "https://images.unsplash.com/photo-1633933359670-6534571158a2"
                }
            ]}
            animationType="slide-up"
            gridVariant="three-columns-all-equal-width"
            textboxLayout="split-description"
            useInvertedBackground={false}
        />
      </div>
      <div id="testimonials" data-section="testimonials">
        <TestimonialCardSixteen 
            title="Local Favorites"
            description="Join the hundreds of happy diners who make us their weekly tradition."
            kpiItems={[
                { value: "500k+", label: "Meals Served" },
                { value: "4.9/5", label: "Customer Rating" },
                { value: "98%", label: "Repeat Visitors" }
            ]}
            testimonials={[
                { id: "1", name: "Alex P.", role: "Local Resident", company: "City Heights", rating: 5, imageSrc: "https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d" }
            ]}
            animationType="blur-reveal"
            textboxLayout="default"
            useInvertedBackground={true}
        />
      </div>
      <div id="visit" data-section="visit">
        <ContactSplitForm 
            title="Get In Touch"
            description="Planning a large group visit or have a catering inquiry? We'd love to hear from you."
            inputs={[{ name: "name", type: "text", placeholder: "Your Name" }, { name: "email", type: "email", placeholder: "Your Email" }]}
            imageSrc="https://images.unsplash.com/photo-1559339352-11d035aa65de"
            useInvertedBackground={false}
        />
      </div>
      <div id="footer" data-section="footer">
        <FooterMedia 
            logoText="Top Table"
            columns={[{ title: "Links", items: [{ label: "Home", href: "/" }] }]}
            imageSrc="https://images.unsplash.com/photo-1579684385327-38686e920653"
        />
      </div>
    </ThemeProvider>
  );
}