"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroLogoBillboardSplit from '@/components/sections/hero/HeroLogoBillboardSplit';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import MediaSplitTabsAbout from '@/components/sections/about/MediaSplitTabsAbout';
import PricingCardThree from '@/components/sections/pricing/PricingCardThree';
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import { Sparkles } from "lucide-react";

export default function PizzeriaPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="entrance-slide"
      borderRadius="sharp"
      contentWidth="small"
      sizing="mediumLarge"
      background="none"
      cardStyle="outline"
      primaryButtonStyle="flat"
      secondaryButtonStyle="glass"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          brandName="Pizzeria Co."
          navItems={[
            { name: "Home", id: "hero" },
            { name: "Menu", id: "products" },
            { name: "About", id: "about" },
            { name: "Pricing", id: "pricing" },
            { name: "Contact", id: "contact" }
          ]}
          bottomLeftText="Authentic Italian Pizza"
          bottomRightText="order@pizzeria.com"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroLogoBillboardSplit
          logoText="PIZZERIA CO."
          description="Experience authentic Italian pizza crafted with premium ingredients and traditional methods. Fresh, wood-fired, and delivered hot to your door."
          background={{ variant: "radial-gradient" }}
          buttons={[
            { text: "Order Now", href: "#products" },
            { text: "View Menu", href: "#products" }
          ]}
          layoutOrder="default"
          imageSrc="https://img.b2bpic.net/free-photo/pizza-with-tomatoes_1220-266.jpg"
          imageAlt="Freshly baked authentic Italian pizza"
          frameStyle="card"
        
          tagClassName="rounded-theme"/>
      </div>

      <div id="products" data-section="products">
        <ProductCardOne
          title="Featured Menu"
          description="Discover our most popular pizzas, carefully crafted with the finest ingredients and traditional recipes."
          products={[
            {
              id: "1",              name: "Margherita",              price: "$12.99",              imageSrc: "https://img.b2bpic.net/free-photo/pizza-salami-with-salt_140725-4129.jpg",              imageAlt: "Classic Margherita Pizza"
            },
            {
              id: "2",              name: "Garden Veggie",              price: "$13.99",              imageSrc: "https://img.b2bpic.net/free-photo/pepperoni-pizza-with-tomato-cheese_140725-6768.jpg",              imageAlt: "Fresh Vegetarian Pizza"
            },
            {
              id: "3",              name: "Signature Special",              price: "$15.99",              imageSrc: "https://img.b2bpic.net/free-photo/top-view-pepperoni-pizza-with-tomato-sauce-cheese_141793-2448.jpg",              imageAlt: "Premium Specialty Pizza"
            }
          ]}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="invertDefault"
          gridVariant="three-columns-all-equal-width"
        />
      </div>

      <div id="about" data-section="about">
        <MediaSplitTabsAbout
          title="Why Choose Pizzeria Co."
          description="Learn what makes our pizza special"
          tabs={[
            {
              id: "ingredients",              label: "Premium Ingredients",              description: "We source only the finest Italian ingredients. Our mozzarella is imported fresh daily, and our tomatoes come from the best farms in San Marzano."
            },
            {
              id: "tradition",              label: "Traditional Methods",              description: "Our wood-fired oven reaches temperatures of 900°F, creating the perfect crust in just 90 seconds. Every pizza is handcrafted by our expert pizzaiolos."
            },
            {
              id: "delivery",              label: "Fast Delivery",              description: "Hot pizza delivered in under 45 minutes. We use insulated boxes to keep your pizza perfectly warm and delicious from our kitchen to your table."
            }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/margherita-pizza-served-with-basil-leaves_140725-7974.jpg"
          imageAlt="Fresh pizza ingredients"
          imagePosition="right"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="pricing" data-section="pricing">
        <PricingCardThree
          title="Simple Pricing"
          description="Choose the plan that works best for you and your family"
          plans={[
            {
              id: "small",              price: "$9.99",              name: "Small (10\")",              buttons: [
                { text: "Order Now", href: "#contact" },
                { text: "More Info", href: "#" }
              ],
              features: ["1-2 Toppings", "Serves 1-2 People", "Standard Crust"]
            },
            {
              id: "medium",              badge: "Most Popular",              badgeIcon: Sparkles,
              price: "$13.99",              name: "Medium (12\")",              buttons: [
                { text: "Order Now", href: "#contact" },
                { text: "More Info", href: "#" }
              ],
              features: ["Up to 4 Toppings", "Serves 2-3 People", "Choice of Crust", "Free Sides"]
            },
            {
              id: "large",              price: "$16.99",              name: "Large (14\")",              buttons: [
                { text: "Order Now", href: "#contact" },
                { text: "More Info", href: "#" }
              ],
              features: ["Up to 6 Toppings", "Serves 3-4 People", "Premium Crust", "Free Sides + Dessert"]
            }
          ]}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardOne
          title="What Our Customers Love"
          description="Real feedback from pizza lovers just like you"
          testimonials={[
            {
              id: "1",              name: "Sarah Mitchell",              role: "Food Enthusiast",              company: "Local Community",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/closeup-shot-handsome-male-smiling_181624-41237.jpg",              imageAlt: "Sarah Mitchell"
            },
            {
              id: "2",              name: "Marco Rossi",              role: "Chef & Food Critic",              company: "Culinary Magazine",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/front-view-cute-girl-looking-away_23-2148436134.jpg",              imageAlt: "Marco Rossi"
            },
            {
              id: "3",              name: "Jessica Wong",              role: "Pizza Connoisseur",              company: "Food Blog Network",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/smiling-african-american-man-posing-library_74855-1619.jpg",              imageAlt: "Jessica Wong"
            },
            {
              id: "4",              name: "Antonio Benedetti",              role: "Restaurant Owner",              company: "Downtown Bistro",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-beautiful-afro-american-woman_23-2148332136.jpg",              imageAlt: "Antonio Benedetti"
            }
          ]}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          gridVariant="uniform-all-items-equal"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplit
          tag="Newsletter"
          title="Subscribe & Save"
          description="Join our community and get exclusive offers, new pizza recipes, and special promotions delivered straight to your inbox."
          useInvertedBackground="invertDefault"
          imageSrc="https://img.b2bpic.net/free-photo/pizza-with-tomatoes_1220-267.jpg"
          imageAlt="Pizza being prepared in our kitchen"
          mediaPosition="right"
          inputPlaceholder="Enter your email address"
          buttonText="Subscribe"
          termsText="We respect your privacy. Unsubscribe anytime."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseReveal
          columns={[
            {
              title: "Menu",              items: [
                { label: "Pizzas", href: "products" },
                { label: "Sides", href: "products" },
                { label: "Desserts", href: "products" },
                { label: "Beverages", href: "products" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "about" },
                { label: "Careers", href: "#" },
                { label: "Blog", href: "#" },
                { label: "Contact", href: "contact" }
              ]
            },
            {
              title: "Support",              items: [
                { label: "FAQ", href: "#" },
                { label: "Delivery Info", href: "#" },
                { label: "Track Order", href: "#" },
                { label: "Privacy Policy", href: "#" }
              ]
            }
          ]}
          copyrightText="© 2025 Pizzeria Co. | Crafted with passion for pizza lovers."
        />
      </div>
    </ThemeProvider>
  );
}