"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi';
import TextSplitAbout from '@/components/sections/about/TextSplitAbout';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';

export default function Page() {
  const navItems = [
    { name: "Home", id: "/" },
    { name: "About", id: "/about" },
    { name: "Contact", id: "/contact" }
  ];

  return (
    <ThemeProvider defaultButtonVariant="text-stagger" defaultTextAnimation="entrance-slide" borderRadius="rounded" contentWidth="medium" sizing="medium" background="circleGradient" cardStyle="glass-elevated" primaryButtonStyle="gradient" secondaryButtonStyle="glass" headingFontWeight="normal">
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline navItems={navItems} brandName="Gusto Gastronomia Italiana" button={{ text: "Order" }} />
      </div>
      <div id="hero" data-section="hero">
        <HeroSplitKpi title="Authentic Italian Flavors in the Heart of Newberg." description="Experience the spirit of Florence with our curated selection of fresh pasta, homemade sauces, and artisan paninis." background={{ variant: "gradient-bars" }} kpis={[{ value: "4.9★", label: "Google Rating" }, { value: "140+", label: "Reviews" }, { value: "Fresh", label: "Handmade" }]} enableKpiAnimation={true} imageSrc="http://img.b2bpic.net/free-photo/cheese-appetizer_23-2148145222.jpg" buttons={[{ text: "View Our Menu", href: "#products" }, { text: "Order Online", href: "#order" }]} mediaAnimation="slide-up" />
      </div>
      <div id="about" data-section="about">
        <TextSplitAbout title="A Slice of Italy in Oregon" description={["Gusto Gastronomia Italiana is a cozy deli and specialty grocery tucked into the Springbrook Oaks Office Building. We believe in bringing the genuine, artisanal spirit of Italy to Newberg.", "Our counters are filled with fresh pasta, homemade sauces, crusty focaccia, and delicate arancini. We also curate the finest imported cheeses, charcuterie, and regional Italian wines.", "Whether you're stopping in for our signature Prosciutto Panini or picking up everything you need for a home-cooked Tuscan feast, we are here to share our love of Italian food."]} useInvertedBackground={false} />
      </div>
      <div id="products" data-section="products">
        <ProductCardTwo title="Deli Highlights" description="From daily signature sandwiches to artisanal grocery essentials, explore what makes Gusto special." gridVariant="four-items-2x2-equal-grid" animationType="slide-up" textboxLayout="split" products={[{ id: "p1", brand: "Signature", name: "Prosciutto Truffle Panini", price: "$14.00", rating: 5, reviewCount: "58", imageSrc: "http://img.b2bpic.net/free-photo/sandwich-with-ham-cheese-wooden-cutting-board_188544-20998.jpg" }, { id: "p2", brand: "Fresh", name: "Housemade Tagliatelle", price: "$12.00", rating: 5, reviewCount: "42", imageSrc: "http://img.b2bpic.net/free-photo/eggs-oil-amidst-pasta-flour_23-2147849711.jpg" }, { id: "p3", brand: "Bakery", name: "Rosemary Focaccia", price: "$8.00", rating: 5, reviewCount: "35", imageSrc: "http://img.b2bpic.net/free-photo/cottagecore-food-inspiration-still-life_23-2150153010.jpg" }, { id: "p4", brand: "Special", name: "Classic Arancini", price: "$6.00", rating: 5, reviewCount: "28", imageSrc: "http://img.b2bpic.net/free-photo/close-up-hands-holding-food-croquette_23-2149202624.jpg" }]} useInvertedBackground={true} />
      </div>
      <div id="testimonials" data-section="testimonials">
        <TestimonialCardSix title="What Our Neighbors Say" description="Join our community of Italian food lovers who make us a part of their weekly routine." animationType="slide-up" textboxLayout="split" testimonials={[{ id: "1", name: "Maria S.", handle: "@mariainoregon", testimonial: "I needed this place!! I recently got back from Florence and have been searching for the perfect Italian sandwich — this place is it." }, { id: "2", name: "David L.", handle: "@davefoodie", testimonial: "Each time I left the store, I'd immediately start thinking about what else I could make with their ingredients and sauces." }]} useInvertedBackground={false} />
      </div>
      <div id="contact" data-section="contact">
        <ContactSplit title="Visit Us in Newberg" description="901-B Brutscher St, Newberg OR 97132. We're open Wednesday through Monday, from 10 AM. Closed Tuesdays." tag="Find Us" imageSrc="http://img.b2bpic.net/free-photo/french-woman-red-beret-street-bench_1321-340.jpg" mediaAnimation="blur-reveal" background={{ variant: "gradient-bars" }} useInvertedBackground={true} />
      </div>
      <div id="order" data-section="order">
        <TextSplitAbout title="Order With Gusto" description={["Enjoy your favorite Italian deli delights from the comfort of home.", "Order online for convenient pickup or local delivery services."]} buttons={[{ text: "Order for Pickup", href: "#" }, { text: "Order Delivery", href: "#" }]} useInvertedBackground={true} />
      </div>
      <div id="footer" data-section="footer">
        <FooterBaseCard logoText="Gusto Gastronomia Italiana" columns={[{ title: "Shop", items: [{ label: "Menu", href: "#products" }, { label: "Order Online", href: "#order" }] }, { title: "Visit", items: [{ label: "Directions", href: "#contact" }, { label: "Hours", href: "#contact" }] }]} copyrightText="© 2025 Gusto Gastronomia Italiana | Newberg, OR" />
      </div>
    </ThemeProvider>
  );
}