"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleMinimal from '@/components/navbar/NavbarStyleMinimal';
import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi';
import InlineImageSplitTextAbout from '@/components/sections/about/InlineImageSplitTextAbout';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import FeatureCardSixteen from '@/components/sections/feature/FeatureCardSixteen';
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';
import ContactText from '@/components/sections/contact/ContactText';
import FooterCard from '@/components/sections/footer/FooterCard';
import { Award, Flame, CheckCircle, Heart, Facebook, Instagram, Twitter } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="elastic-effect"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="mediumLarge"
      sizing="mediumLarge"
      background="aurora"
      cardStyle="inset"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleMinimal
          brandName="Craft Burger Co."
          button={{
            text: "Reserve Table",            href: "#contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplitKpi
          title="Handcrafted Premium Burgers"
          description="Experience the perfect fusion of premium ingredients, bold flavors, and culinary artistry. Each burger is carefully crafted to deliver an unforgettable taste experience."
          tag="Award-Winning Restaurant"
          tagIcon={Award}
          kpis={[
            {
              value: "500+",              label: "Satisfied Customers Monthly"
            },
            {
              value: "15+",              label: "Signature Burger Varieties"
            },
            {
              value: "100%",              label: "Fresh, Quality Ingredients"
            }
          ]}
          enableKpiAnimation={true}
          imageSrc="https://img.b2bpic.net/free-photo/front-view-beef-burger-with-salad-bacon_23-2148784490.jpg"
          imageAlt="Premium handcrafted burger"
          imagePosition="right"
          buttons={[
            {
              text: "View Menu",              href: "#products"
            },
            {
              text: "Reserve Now",              href: "#contact"
            }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <InlineImageSplitTextAbout
          heading={[
            {
              type: "text",              content: "We believe in"
            },
            {
              type: "image",              src: "https://img.b2bpic.net/free-photo/top-view-fresh-red-tomatoes-with-garlic-green-salad-inside-wooden-board-blue-surface-food-lunch-salad-ripe-color-meal_179666-19771.jpg",              alt: "Fresh ingredients"
            },
            {
              type: "text",              content: "quality, passion, and"
            },
            {
              type: "image",              src: "https://img.b2bpic.net/free-photo/preparation-delicious-burger-arrangement_23-2148868245.jpg",              alt: "Professional preparation"
            },
            {
              type: "text",              content: "culinary excellence"
            }
          ]}
          useInvertedBackground="invertDefault"
          buttons={[
            {
              text: "Learn Our Story",              href: "#about"
            },
            {
              text: "Meet the Team",              href: "#team"
            }
          ]}
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardTwo
          title="Featured Burger Collection"
          description="Explore our signature burgers crafted with premium ingredients and innovative flavor combinations"
          tag="Best Sellers"
          tagIcon={Flame}
          products={[
            {
              id: "1",              brand: "Craft Burger Co.",              name: "The Classic Supreme",              price: "$18.99",              rating: 5,
              reviewCount: "347",              imageSrc: "https://img.b2bpic.net/free-photo/front-view-burgers-with-pickles_23-2148784499.jpg",              imageAlt: "The Classic Supreme burger"
            },
            {
              id: "2",              brand: "Craft Burger Co.",              name: "Truffle Luxury Burger",              price: "$24.99",              rating: 5,
              reviewCount: "289",              imageSrc: "https://img.b2bpic.net/free-photo/three-mini-burgers-table_140725-2445.jpg",              imageAlt: "Truffle Luxury Burger"
            },
            {
              id: "3",              brand: "Craft Burger Co.",              name: "Specialty House Burger",              price: "$21.99",              rating: 5,
              reviewCount: "456",              imageSrc: "https://img.b2bpic.net/free-photo/burger-menu-with-variety-marinated-turshu_114579-2049.jpg",              imageAlt: "Specialty House Burger"
            },
            {
              id: "4",              brand: "Craft Burger Co.",              name: "BBQ Smoker's Dream",              price: "$22.99",              rating: 5,
              reviewCount: "398",              imageSrc: "https://img.b2bpic.net/free-photo/closeup-hamburgers-wooden-tray-with-blurred-background_181624-2322.jpg",              imageAlt: "BBQ Smoker's Dream burger"
            }
          ]}
          gridVariant="two-columns-alternating-heights"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          buttons={[
            {
              text: "View Full Menu",              href: "#menu"
            }
          ]}
        />
      </div>

      <div id="comparison" data-section="comparison">
        <FeatureCardSixteen
          title="Why Choose Craft Burger Co."
          description="Discover what sets us apart from ordinary burger joints"
          tag="Our Commitment"
          tagIcon={CheckCircle}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="invertDefault"
          negativeCard={{
            items: [
              "Mass-produced frozen patties",              "Processed artificial ingredients",              "Rushed preparation",              "Generic flavor profiles",              "No quality control"
            ]
          }}
          positiveCard={{
            items: [
              "100% fresh, never frozen beef",              "Organic, locally-sourced ingredients",              "Hand-crafted with care and attention",              "Innovative signature recipes",              "Rigorous quality standards"
            ]
          }}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwelve
          testimonials={[
            {
              id: "1",              name: "Sarah Johnson",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              imageAlt: "Sarah Johnson"
            },
            {
              id: "2",              name: "Michael Chen",              imageSrc: "https://img.b2bpic.net/free-photo/happy-businessman-smiling-camera_1163-4660.jpg",              imageAlt: "Michael Chen"
            },
            {
              id: "3",              name: "Emily Rodriguez",              imageSrc: "https://img.b2bpic.net/free-photo/portrait-smiley-business-man_23-2148514859.jpg",              imageAlt: "Emily Rodriguez"
            },
            {
              id: "4",              name: "David Kim",              imageSrc: "https://img.b2bpic.net/free-photo/pensive-person-alone-corridor-serious_1262-1042.jpg",              imageAlt: "David Kim"
            },
            {
              id: "5",              name: "Jessica Williams",              imageSrc: "https://img.b2bpic.net/free-photo/happy-young-professional-posing-office_1262-21170.jpg",              imageAlt: "Jessica Williams"
            },
            {
              id: "6",              name: "James Patterson",              imageSrc: "https://img.b2bpic.net/free-photo/positive-confident-businesswoman-wearing-formal-suit-standing-with-arms-folded_74855-10328.jpg",              imageAlt: "James Patterson"
            }
          ]}
          cardTitle="Trusted by hundreds of burger enthusiasts and food critics who appreciate authentic craftsmanship"
          cardTag="Customer Love"
          cardTagIcon={Heart}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactText
          text="Ready to experience the ultimate burger? Make a reservation or visit us today for an unforgettable culinary journey."
          animationType="entrance-slide"
          useInvertedBackground="invertDefault"
          buttons={[
            {
              text: "Reserve a Table",              href: "mailto:reservations@craftburger.com"
            },
            {
              text: "View Hours & Location",              href: "#location"
            }
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterCard
          logoText="Craft Burger Co."
          copyrightText="© 2025 Craft Burger Co. | Premium Burgers Since 2015"
          socialLinks={[
            {
              icon: Facebook,
              href: "https://facebook.com/craftburgerco",              ariaLabel: "Facebook"
            },
            {
              icon: Instagram,
              href: "https://instagram.com/craftburgerco",              ariaLabel: "Instagram"
            },
            {
              icon: Twitter,
              href: "https://twitter.com/craftburgerco",              ariaLabel: "Twitter"
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}