"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import MetricCardTwo from '@/components/sections/metrics/MetricCardTwo';
import InlineImageSplitTextAbout from '@/components/sections/about/InlineImageSplitTextAbout';
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';
import PricingCardOne from '@/components/sections/pricing/PricingCardOne';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import { Sparkles, Flame, CheckCircle, Heart, Zap, Crown, Star, HelpCircle } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-shift"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="compact"
      sizing="largeSmall"
      background="aurora"
      cardStyle="soft-shadow"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="layered"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="Flamingo"
          navItems={[
            { name: "Products", id: "products" },
            { name: "About", id: "about" },
            { name: "Testimonials", id: "testimonials" },
            { name: "Pricing", id: "pricing" },
            { name: "Contact", id: "contact" }
          ]}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplitKpi
          title="Discover Flamingo Cups - Where Style Meets Function"
          description="Premium drinkware designed for your daily rituals. From morning coffee to evening elegance, our curated collection brings joy to every sip."
          background={{ variant: "glowing-orb" }}
          kpis={[
            { value: "5000+", label: "Happy Customers" },
            { value: "100%", label: "Premium Quality" },
            { value: "24hr", label: "Fast Shipping" }
          ]}
          enableKpiAnimation={true}
          tag="Premium Drinkware Collection"
          tagIcon={Sparkles}
          imageSrc="https://img.b2bpic.net/free-photo/coffee-cups-table_93675-130857.jpg"
          imageAlt="Flamingo premium cups collection"
          imagePosition="right"
          buttons={[
            { text: "Shop Now", href: "#products" },
            { text: "View Collection", href: "#products" }
          ]}
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardTwo
          title="Our Signature Collection"
          description="Hand-selected cups crafted with precision and care. Each piece celebrates quality, design, and everyday luxury."
          tag="Best Sellers"
          tagIcon={Flame}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          products={[
            {
              id: "1",              brand: "Flamingo Premium",              name: "Ceramic Artisan Cup",              price: "$24.99",              rating: 5,
              reviewCount: "1.2k",              imageSrc: "https://img.b2bpic.net/free-photo/stack-colorful-coffee-cups-table_1373-61.jpg",              imageAlt: "Ceramic Artisan Cup"
            },
            {
              id: "2",              brand: "Flamingo Premium",              name: "Stainless Steel Tumbler",              price: "$34.99",              rating: 5,
              reviewCount: "2.8k",              imageSrc: "https://img.b2bpic.net/free-photo/stack-colorful-coffee-cups-table_1373-63.jpg",              imageAlt: "Stainless Steel Tumbler"
            },
            {
              id: "3",              brand: "Flamingo Premium",              name: "Crystal Wine Glass Set",              price: "$49.99",              rating: 5,
              reviewCount: "856",              imageSrc: "https://img.b2bpic.net/free-photo/life-style_1122-1822.jpg",              imageAlt: "Crystal Wine Glass Set"
            }
          ]}
          buttons={[
            { text: "Explore All Products", href: "#pricing" }
          ]}
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardTwo
          title="Why Choose Flamingo"
          description="Industry-leading standards that set us apart from the competition."
          tag="Our Promise"
          tagIcon={CheckCircle}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          metrics={[
            { id: "1", value: "99.8%", description: "Customer Satisfaction" },
            { id: "2", value: "15+ Yrs", description: "Industry Experience" },
            { id: "3", value: "50+", description: "Unique Designs" },
            { id: "4", value: "Eco-Friendly", description: "Sustainable Materials" }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <InlineImageSplitTextAbout
          heading={[
            { type: "text", content: "Flamingo is your destination for" },
            { type: "image", src: "https://img.b2bpic.net/free-vector/hello-summer_23-2148143994.jpg", alt: "Flamingo brand" },
            { type: "text", content: "exceptional drinkware that transforms everyday moments into celebrations of taste and style." }
          ]}
          useInvertedBackground="noInvert"
          buttons={[
            { text: "Learn Our Story", href: "#contact" },
            { text: "Shop Now", href: "#products" }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwelve
          cardTitle="Trusted by thousands of cup enthusiasts and home decorators worldwide who love our craftsmanship and design"
          cardTag="Customer Love"
          cardTagIcon={Heart}
          useInvertedBackground="noInvert"
          testimonials={[
            { id: "1", name: "Sarah Johnson", imageSrc: "https://img.b2bpic.net/free-photo/positive-confident-businesswoman-wearing-formal-suit-standing-with-arms-folded_74855-10328.jpg" },
            { id: "2", name: "Michael Chen", imageSrc: "https://img.b2bpic.net/free-photo/closeup-smiling-beautiful-adult-businesswoman_1262-1760.jpg" },
            { id: "3", name: "Emma Rodriguez", imageSrc: "https://img.b2bpic.net/free-photo/portrait-smiley-business-woman_23-2148603029.jpg" },
            { id: "4", name: "David Kim", imageSrc: "https://img.b2bpic.net/free-photo/close-up-good-looking-smiling-friendly-female-trainee-ready-tackle-assignments-smiling-broadly-feeling-lucky-day-work-self-assured-encouraged-achieve-success-goal-white-wall_176420-35567.jpg" },
            { id: "5", name: "Jessica Thompson", imageSrc: "https://img.b2bpic.net/free-photo/blond-business-woman-blue-shirt_23-2148095792.jpg" },
            { id: "6", name: "James Wilson", imageSrc: "https://img.b2bpic.net/free-photo/business-woman-banner-concept-with-copy-space_23-2149601533.jpg" }
          ]}
        />
      </div>

      <div id="pricing" data-section="pricing">
        <PricingCardOne
          title="Simple, Transparent Pricing"
          description="Choose the perfect option for your cup collection needs. No hidden fees, pure craftsmanship."
          tag="Flexible Plans"
          tagIcon={Zap}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="slide-up"
          plans={[
            {
              id: "starter",              badge: "Great Start",              badgeIcon: Sparkles,
              price: "$24.99",              subtitle: "Single Premium Cup",              features: [
                "One signature cup",                "Free standard shipping",                "1-year warranty",                "Care guide included"
              ]
            },
            {
              id: "collection",              badge: "Most Popular",              badgeIcon: Star,
              price: "$74.99",              subtitle: "Trio Collection",              features: [
                "Three curated cups",                "Free expedited shipping",                "2-year warranty",                "Exclusive gift packaging",                "Style consultation"
              ]
            },
            {
              id: "premium",              badge: "Ultimate",              badgeIcon: Crown,
              price: "$149.99",              subtitle: "Complete Collection",              features: [
                "Six premium cups",                "Free priority shipping",                "Lifetime warranty",                "Premium gift wrap",                "Personal stylist access",                "Exclusive new releases"
              ]
            }
          ]}
          buttons={[
            { text: "Get Started", href: "#contact" }
          ]}
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqSplitMedia
          title="Frequently Asked Questions"
          description="Everything you need to know about Flamingo cups and our service."
          tag="Help & Support"
          tagIcon={HelpCircle}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          mediaPosition="left"
          animationType="smooth"
          imageSrc="https://img.b2bpic.net/free-photo/woman-home-enjoying-cup-coffee_23-2148933614.jpg"
          imageAlt="Flamingo cups in lifestyle setting"
          faqs={[
            {
              id: "1",              title: "What makes Flamingo cups special?",              content: "Our cups are crafted with premium materials and attention to detail. Each piece combines functionality with beautiful design, creating drinkware that elevates your daily rituals. We source eco-friendly materials and support sustainable manufacturing practices."
            },
            {
              id: "2",              title: "Are your cups dishwasher safe?",              content: "Most of our ceramic and stainless steel cups are dishwasher safe on the top rack. Hand washing is recommended for our delicate stemware and painted designs to ensure longevity. Check the care label on each product for specific instructions."
            },
            {
              id: "3",              title: "What is your return policy?",              content: "We offer a 30-day money-back guarantee on all purchases. If you're not completely satisfied with your Flamingo cup, simply return it in original condition for a full refund. No questions asked."
            },
            {
              id: "4",              title: "How long does shipping take?",              content: "Standard shipping takes 5-7 business days within the continental US. Express shipping options are available for 2-3 day delivery. International orders typically arrive within 10-14 business days."
            },
            {
              id: "5",              title: "Do you offer bulk orders for events?",              content: "Yes! We offer special bulk pricing for weddings, corporate events, and large orders. Please contact our team for a custom quote and personalization options for your event."
            },
            {
              id: "6",              title: "Can I customize my cups?",              content: "Absolutely! We offer personalization options including custom engravings, monograms, and custom color requests for orders of 12 or more. Contact our design team to discuss your vision."
            }
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseCard
          logoText="Flamingo"
          columns={[
            {
              title: "Shop",              items: [
                { label: "All Products", href: "#products" },
                { label: "New Arrivals", href: "#products" },
                { label: "Best Sellers", href: "#products" },
                { label: "Collections", href: "#products" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "#about" },
                { label: "Our Story", href: "#about" },
                { label: "Blog", href: "#" },
                { label: "Sustainability", href: "#" }
              ]
            },
            {
              title: "Support",              items: [
                { label: "Contact Us", href: "#contact" },
                { label: "FAQ", href: "#faq" },
                { label: "Shipping Info", href: "#" },
                { label: "Returns", href: "#" }
              ]
            },
            {
              title: "Follow",              items: [
                { label: "Instagram", href: "#" },
                { label: "Facebook", href: "#" },
                { label: "Pinterest", href: "#" },
                { label: "Twitter", href: "#" }
              ]
            }
          ]}
          copyrightText="© 2025 Flamingo Cups. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}