"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-bubble" 
        defaultTextAnimation="reveal-blur" 
        borderRadius="soft" 
        contentWidth="medium" 
        sizing="medium" 
        background="noise" 
        cardStyle="glass-elevated" 
        primaryButtonStyle="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 recipes, locally sourced ingredients, and a commitment to quality that you can taste in every bite."
            background={{ variant: "sparkles-gradient" }}
            mediaItems={[
                { imageSrc: "https://images.unsplash.com/photo-1579684385327-38686e920653?w=800&h=600" },
                { imageSrc: "https://images.unsplash.com/photo-1579684385327-38686e920653?w=800&h=600" },
                { imageSrc: "https://images.unsplash.com/photo-1579684385327-38686e920653?w=800&h=600" }
            ]}
            mediaAnimation="slide-up"
        />
      </div>
      <div id="about" data-section="about">
        <MetricSplitMediaAbout 
            title="The Top Table Standard"
            description="We refuse to cut corners. From our hand-cut potatoes to the sustainable catch of the day, our focus is on bringing you an authentic, premium experience."
            metrics={[{ value: "15+", title: "Years Experience" }, { value: "100%", title: "Local Sourcing" }, { value: "5000+", title: "Happy Customers" }]}
            imageSrc="https://images.unsplash.com/photo-1579684385327-38686e920653?w=800&h=600"
            useInvertedBackground={true}
            tag="Our Heritage"
        />
      </div>
      <div id="features" data-section="features">
        <FeatureCardOne 
            title="Quality You Can Trust"
            description="Why we are the local favorite."
            features={[
                { title: "Sustainable Catch", description: "Only the finest, responsibly sourced fish.", imageSrc: "https://images.unsplash.com/photo-1579684385327-38686e920653?w=400&h=300" },
                { title: "Fresh Cut Daily", description: "Potatoes prepared in-house, every morning.", imageSrc: "https://images.unsplash.com/photo-1579684385327-38686e920653?w=400&h=300" },
                { title: "Classic Technique", description: "Traditional frying methods for the perfect crunch.", imageSrc: "https://images.unsplash.com/photo-1579684385327-38686e920653?w=400&h=300" }
            ]}
            animationType="slide-up"
            textboxLayout="split"
            gridVariant="three-columns-all-equal-width"
            useInvertedBackground={false}
        />
      </div>
      <div id="testimonials" data-section="testimonials">
        <TestimonialCardSixteen 
            title="Community Favorites"
            description="Hear from our regular patrons about what makes Top Table a local staple."
            kpiItems={[{ value: "4.9", label: "Average Rating" }, { value: "98%", label: "Return Rate" }, { value: "12k", label: "Meals Served" }]}
            testimonials={[
                { id: "1", name: "Sarah Jenkins", role: "Local Resident", company: "City News", rating: 5, imageSrc: "https://images.unsplash.com/photo-1579684385327-38686e920653?w=100&h=100" }
            ]}
            animationType="blur-reveal"
            textboxLayout="split"
            useInvertedBackground={true}
        />
      </div>
      <div id="visit" data-section="visit">
        <ContactSplitForm 
            title="Get in Touch"
            description="Have a special order or feedback? We'd love to hear from you."
            inputs={[{ name: "name", type: "text", placeholder: "Your Name" }, { name: "email", type: "email", placeholder: "Your Email" }]}
            textarea={{ name: "message", placeholder: "How can we help?" }}
            imageSrc="https://images.unsplash.com/photo-1579684385327-38686e920653?w=800&h=600"
            useInvertedBackground={false}
        />
      </div>
      <div id="footer" data-section="footer">
        <FooterMedia 
            logoText="Top Table"
            imageSrc="https://images.unsplash.com/photo-1579684385327-38686e920653?w=800&h=600"
            columns={[{ title: "Navigation", items: [{ label: "Home", href: "/" }] }]}
        />
      </div>
    </ThemeProvider>
  );
}