"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import MediaSplitTabsAbout from '@/components/sections/about/MediaSplitTabsAbout';
import FeatureCardTwentyFive from '@/components/sections/feature/FeatureCardTwentyFive';
import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo';
import ContactText from '@/components/sections/contact/ContactText';
import FooterSimple from '@/components/sections/footer/FooterSimple';
import { Award, CheckCircle, Heart, Leaf, Shield, Sparkles, Star, Zap } from "lucide-react";

export default function Page() {
  return (
    <ThemeProvider
      defaultButtonVariant="bounce-effect"
      defaultTextAnimation="entrance-slide"
      borderRadius="sharp"
      contentWidth="small"
      sizing="mediumLargeSizeMediumTitles"
      background="circleGradient"
      cardStyle="layered-gradient"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          brandName="Big Pig"
          navItems={[
            { name: "Home", id: "home" },
            { name: "Products", id: "products" },
            { name: "About", id: "about" },
            { name: "Reviews", id: "reviews" },
            { name: "Contact", id: "contact" }
          ]}
          bottomLeftText="Premium Cup Craftsmanship"
          bottomRightText="hello@bigpigcups.com"
        />
      </div>
      
      <div id="hero" data-section="hero">
        <HeroSplitKpi
          title="Elevate Your Cup Game with Big Pig"
          description="Premium, handcrafted cups designed for coffee lovers, tea enthusiasts, and everyday moments. Experience quality that lasts."
          background={{ variant: "glowing-orb" }}
          kpis={[
            { value: "5,000+", label: "Happy Customers" },
            { value: "100%", label: "Eco-Friendly" },
            { value: "Lifetime", label: "Quality Guarantee" }
          ]}
          enableKpiAnimation={true}
          tag="Handcrafted Excellence"
          tagIcon={Sparkles}
          imageSrc="https://img.b2bpic.net/free-photo/high-angle-women-coffee-shop_23-2150378276.jpg"
          imageAlt="Big Pig premium cups collection"
          imagePosition="right"
          buttons={[
            { text: "Shop Now", href: "#products" },
            { text: "Learn More", href: "#about" }
          ]}
        />
      </div>
      
      <div id="products" data-section="products">
        <ProductCardFour
          title="Featured Collection"
          description="Discover our most-loved cup designs, crafted with precision and passion"
          tag="Best Sellers"
          tagIcon={Star}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          products={[
            {
              id: "ceramic-mug-classic",              name: "Classic Ceramic Mug",              price: "$24.99",              variant: "Natural White • 12oz",              imageSrc: "https://img.b2bpic.net/free-photo/coffee-cup_1203-3435.jpg",              imageAlt: "Classic ceramic mug in natural white",              isFavorited: false
            },
            {
              id: "travel-tumbler-pro",              name: "Travel Tumbler Pro",              price: "$34.99",              variant: "Midnight Blue • Double Insulated",              imageSrc: "https://img.b2bpic.net/free-photo/cup-coffee_1339-7154.jpg",              imageAlt: "Travel tumbler in midnight blue",              isFavorited: false
            },
            {
              id: "enamel-vintage-camp",              name: "Vintage Enamel Camp Mug",              price: "$19.99",              variant: "Forest Green • 10oz",              imageSrc: "https://img.b2bpic.net/free-photo/three-cups-coffee-wooden-board_114579-52730.jpg",              imageAlt: "Vintage enamel mug in forest green",              isFavorited: false
            },
            {
              id: "glass-tea-cup",              name: "Borosilicate Glass Tea Cup",              price: "$22.99",              variant: "Clear • Heat Resistant",              imageSrc: "https://img.b2bpic.net/free-photo/two-cups-coffee-coffee-shop-counter_23-2148824429.jpg",              imageAlt: "Borosilicate glass tea cup",              isFavorited: false
            }
          ]}
          buttons={[{ text: "View All Products", href: "#products" }]}
        />
      </div>
      
      <div id="about" data-section="about">
        <MediaSplitTabsAbout
          title="The Big Pig Story"
          description="Crafted with heart, built to last"
          tabs={[
            {
              id: "mission",              label: "Our Mission",              description: "We believe every moment deserves a quality cup. Big Pig was born from a passion for craftsmanship and sustainable living. Each cup is designed to bring joy to your daily rituals, whether it's your morning coffee or an evening tea."
            },
            {
              id: "craftsmanship",              label: "Craftsmanship",              description: "Every Big Pig cup is hand-inspected and tested for durability. We partner with skilled artisans who pour their expertise into every piece. From material selection to final glazing, quality is never compromised."
            },
            {
              id: "sustainability",              label: "Sustainability",              description: "We're committed to eco-friendly practices. Our cups are made from responsibly sourced materials, and our packaging is 100% recyclable. Join us in reducing waste one cup at a time."
            }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/side-view-man-doing-pottery_23-2149644924.jpg"
          imageAlt="Artisan crafting Big Pig cups"
          imagePosition="right"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="features" data-section="features">
        <FeatureCardTwentyFive
          title="Why Choose Big Pig?"
          description="Experience the difference quality makes"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="scale-rotate"
          features={[
            {
              title: "Premium Materials",              description: "Sourced from the finest suppliers worldwide. Food-safe, durable, and designed to withstand daily use.",              icon: Shield,
              mediaItems: [
                {
                  imageSrc: "https://img.b2bpic.net/free-photo/coffee-cup_1203-3435.jpg",                  imageAlt: "Premium ceramic material close-up"
                },
                {
                  imageSrc: "https://img.b2bpic.net/free-photo/side-view-man-doing-pottery_23-2149644924.jpg",                  imageAlt: "Quality inspection process"
                }
              ]
            },
            {
              title: "Lifetime Warranty",              description: "We stand behind our craftsmanship. If anything ever breaks, we'll replace it—no questions asked.",              icon: Award,
              mediaItems: [
                {
                  imageSrc: "https://img.b2bpic.net/free-photo/three-cups-coffee-wooden-board_114579-52730.jpg",                  imageAlt: "Durable enamel finish"
                },
                {
                  imageSrc: "https://img.b2bpic.net/free-photo/two-cups-coffee-coffee-shop-counter_23-2148824429.jpg",                  imageAlt: "Resilient glass construction"
                }
              ]
            },
            {
              title: "Eco-Friendly Design",              description: "Sustainable from production to packaging. Every purchase supports a greener planet for future generations.",              icon: Leaf,
              mediaItems: [
                {
                  imageSrc: "https://img.b2bpic.net/free-photo/high-angle-women-coffee-shop_23-2150378276.jpg",                  imageAlt: "Sustainable production facilities"
                },
                {
                  imageSrc: "https://img.b2bpic.net/free-photo/cup-coffee_1339-7154.jpg",                  imageAlt: "Reusable tumbler design"
                }
              ]
            },
            {
              title: "Expert Craftsmanship",              description: "Handcrafted by experienced artisans with decades of combined expertise. Every detail matters.",              icon: Zap,
              mediaItems: [
                {
                  imageSrc: "https://img.b2bpic.net/free-photo/side-view-man-doing-pottery_23-2149644924.jpg",                  imageAlt: "Master craftsmen at work"
                },
                {
                  imageSrc: "https://img.b2bpic.net/free-photo/coffee-cup_1203-3435.jpg",                  imageAlt: "Precision cup finishing"
                }
              ]
            }
          ]}
          tag="Quality Assurance"
          tagIcon={CheckCircle}
        />
      </div>
      
      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwo
          title="Loved by Coffee & Tea Lovers"
          description="See what our customers have to say about their Big Pig experience"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="slide-up"
          tag="Customer Reviews"
          tagIcon={Heart}
          testimonials={[
            {
              id: "1",              name: "Sarah Mitchell",              role: "Coffee Enthusiast",              testimonial: "I've tried countless mugs, but Big Pig cups are in a league of their own. The quality is exceptional, and my coffee stays hot longer. Plus, they look gorgeous on my kitchen shelf!",              imageSrc: "https://img.b2bpic.net/free-photo/casual-smile-street-style-background-spring_1139-777.jpg",              imageAlt: "Portrait of Sarah Mitchell"
            },
            {
              id: "2",              name: "James Chen",              role: "Office Manager",              testimonial: "We ordered 50 Big Pig mugs for our office. Not only do they look professional, but employees love using them. The durability has been impressive over months of daily use.",              imageSrc: "https://img.b2bpic.net/free-photo/worker-with-big-smile-crossed-arms_1139-248.jpg",              imageAlt: "Portrait of James Chen"
            },
            {
              id: "3",              name: "Emma Rodriguez",              role: "Lifestyle Blogger",              testimonial: "From the moment I unboxed my Big Pig cup, I knew I made the right choice. The craftsmanship is evident in every detail. It's become my favorite travel companion!",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-portrait-professional-business-woman-smiling-outdoor_1391-4.jpg",              imageAlt: "Portrait of Emma Rodriguez"
            },
            {
              id: "4",              name: "David Park",              role: "Tea Connoisseur",              testimonial: "As someone who appreciates fine things, Big Pig delivers. The glass tea cups are perfectly designed for loose leaf tea. Customer service was also outstanding when I had questions.",              imageSrc: "https://img.b2bpic.net/free-photo/african-american-curly-businesswoman-standing-with-folded-hands-portrait-successful-confident-young-pretty-female-office-employer-suit-posing-work-business-company-management-concept_74855-6735.jpg",              imageAlt: "Portrait of David Park"
            }
          ]}
        />
      </div>
      
      <div id="contact" data-section="contact">
        <ContactText
          text="Ready to upgrade your cup collection? Join the Big Pig community and get exclusive access to new designs, special offers, and cup care tips delivered to your inbox."
          animationType="entrance-slide"
          background={{ variant: "radial-gradient" }}
          useInvertedBackground="noInvert"
          buttons={[
            { text: "Subscribe to Newsletter", href: "#newsletter" },
            { text: "Shop Collection", href: "#products" }
          ]}
        />
      </div>
      
      <div id="footer" data-section="footer">
        <FooterSimple
          columns={[
            {
              title: "Shop",              items: [
                { label: "All Products", href: "#products" },
                { label: "New Arrivals", href: "#products" },
                { label: "Best Sellers", href: "#products" },
                { label: "Gift Sets", href: "#products" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Big Pig", href: "#about" },
                { label: "Our Story", href: "#about" },
                { label: "Sustainability", href: "#about" },
                { label: "Careers", href: "#" }
              ]
            },
            {
              title: "Support",              items: [
                { label: "Contact Us", href: "#contact" },
                { label: "FAQs", href: "#" },
                { label: "Shipping Info", href: "#" },
                { label: "Returns", href: "#" }
              ]
            },
            {
              title: "Legal",              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" },
                { label: "Cookie Policy", href: "#" }
              ]
            }
          ]}
          bottomLeftText="© 2025 Big Pig Cups. All rights reserved."
          bottomRightText="Crafted with care • Designed to last"
        />
      </div>
    </ThemeProvider>
  );
}