"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FaqSplitText from '@/components/sections/faq/FaqSplitText';
import FeatureCardSixteen from '@/components/sections/feature/FeatureCardSixteen';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import HeroBillboardTestimonial from '@/components/sections/hero/HeroBillboardTestimonial';
import MetricCardThree from '@/components/sections/metrics/MetricCardThree';
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
import { CheckCircle, Clock, Flame, Leaf, MapPin, Star, Users } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="directional-hover"
        defaultTextAnimation="entrance-slide"
        borderRadius="rounded"
        contentWidth="mediumLarge"
        sizing="mediumLarge"
        background="grid"
        cardStyle="glass-depth"
        primaryButtonStyle="shadow"
        secondaryButtonStyle="solid"
        headingFontWeight="normal"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleApple
      navItems={[
        {
          name: "Home",
          id: "hero",
        },
        {
          name: "Menu",
          id: "menu",
        },
        {
          name: "Testimonials",
          id: "testimonials",
        },
        {
          name: "Contact",
          id: "contact",
        },
      ]}
      brandName="DKRIUK"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroBillboardTestimonial
      background={{
        variant: "gradient-bars",
      }}
      title="Crispy Perfection in Every Bite"
      description="Experience the authentic taste of DKRIUK Fried Chicken. Made with secret spices, premium ingredients, and cooked to golden perfection."
      testimonials={[
        {
          name: "Rudi Hartono",
          handle: "@rudih",
          testimonial: "The crispiest chicken I've ever had!",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/crispy-golden-fried-chicken-bowl-dark-wood_84443-74902.jpg?_wi=1",
          imageAlt: "crispy fried chicken delicious",
        },
        {
          name: "Sita Dewi",
          handle: "@sitad",
          testimonial: "My family's absolute favorite lunch spot.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/person-s-hand-holding-hen-metallic-cage_23-2147924378.jpg",
          imageAlt: "crispy fried chicken delicious",
        },
        {
          name: "Budi Santoso",
          handle: "@budis",
          testimonial: "Authentic flavor, great service, unbeatable price.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/front-view-man-breaks-chicken-nuggets-with-sauces-stand_141793-15558.jpg",
          imageAlt: "crispy fried chicken delicious",
        },
        {
          name: "Andi Wijaya",
          handle: "@andiw",
          testimonial: "Perfect golden batter, tastes like home.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/3d-render-takeout-box-with-noodles-chopsticks-icon_23-2152015158.jpg",
          imageAlt: "crispy fried chicken delicious",
        },
        {
          name: "Maya Putri",
          handle: "@mayap",
          testimonial: "Always quick, fresh, and consistent quality.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/crispy-fried-chicken-white-plate-with-tomato-sauce_1150-20222.jpg?_wi=1",
          imageAlt: "crispy fried chicken delicious",
        },
      ]}
      buttons={[
        {
          text: "Explore Menu",
          href: "#menu",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/crispy-golden-fried-chicken-bowl-dark-wood_84443-74902.jpg?_wi=2"
      imageAlt="crispy fried chicken delicious"
      mediaAnimation="slide-up"
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/smiling-young-woman-eating-fresh-salad-restaurant_231208-12320.jpg",
          alt: "Smiling young woman eating fresh salad in restaurant",
        },
        {
          src: "http://img.b2bpic.net/free-photo/medium-shot-woman-eating-delicious-pizza_23-2150317082.jpg",
          alt: "Medium shot woman eating delicious pizza",
        },
        {
          src: "http://img.b2bpic.net/free-photo/food-bakery-pastry-cute-teenage-girl-holding-chocolate-croissant-keeping-strict-diet-helping-herself-with-sweet-dessert-without-remorse-afraid-get-extra-weight-showing-ok-gesture_343059-4786.jpg",
          alt: "Food, bakery and pastry. Cute teenage girl holding chocolate croissant keeping strict diet, helping herself with sweet dessert without remorse, not afraid to get extra weight, showing ok gesture",
        },
        {
          src: "http://img.b2bpic.net/free-photo/person-getting-break-time-office_23-2149272074.jpg",
          alt: "Person getting break time at office",
        },
        {
          src: "http://img.b2bpic.net/free-photo/having-lunch-spacious-restaurant_52683-117480.jpg",
          alt: "Having lunch in spacious restaurant",
        },
      ]}
      avatarText="Join 1.2M+ happy customers"
      marqueeItems={[
        {
          type: "text-icon",
          text: "100% Halal Certified",
          icon: CheckCircle,
        },
        {
          type: "text-icon",
          text: "Farm Fresh Quality",
          icon: Leaf,
        },
        {
          type: "text-icon",
          text: "Secret Spice Blend",
          icon: Flame,
        },
        {
          type: "text-icon",
          text: "Fast Delivery",
          icon: Clock,
        },
        {
          type: "text-icon",
          text: "Crispy Perfection",
          icon: Star,
        },
      ]}
    />
  </div>

  <div id="features" data-section="features">
      <FeatureCardSixteen
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      negativeCard={{
        items: [
          "No artificial preservatives",
          "No reheated oils",
          "No compromise on taste",
        ],
      }}
      positiveCard={{
        items: [
          "Fresh, ethically sourced chicken",
          "Secret blend of 15+ spices",
          "Golden, extra-crispy batter",
        ],
      }}
      title="Why DKRIUK?"
      description="We are committed to quality and taste above everything else."
    />
  </div>

  <div id="menu" data-section="menu">
      <ProductCardOne
      animationType="slide-up"
      textboxLayout="split"
      gridVariant="asymmetric-60-wide-40-narrow"
      useInvertedBackground={true}
      products={[
        {
          id: "p1",
          name: "Signature Crispy Wing",
          price: "$2.99",
          imageSrc: "http://img.b2bpic.net/free-photo/crispy-fried-chicken-white-plate-with-tomato-sauce_1150-20222.jpg?_wi=2",
        },
        {
          id: "p2",
          name: "Golden Drumstick",
          price: "$3.49",
          imageSrc: "http://img.b2bpic.net/free-photo/fried-chicken_1203-8316.jpg",
        },
        {
          id: "p3",
          name: "Tender Strips Pack",
          price: "$5.99",
          imageSrc: "http://img.b2bpic.net/free-photo/crispy-kentucky-fried-chicken-wooden-table_123827-22421.jpg",
        },
        {
          id: "p4",
          name: "Crispy Chicken Burger",
          price: "$6.99",
          imageSrc: "http://img.b2bpic.net/free-photo/bitten-burger-cardboard-box-close-up_127675-2569.jpg",
        },
        {
          id: "p5",
          name: "Family Combo Deal",
          price: "$15.99",
          imageSrc: "http://img.b2bpic.net/free-photo/side-close-up-view-chicken-french-fries-checkered-tablecloth-orange-plate-appetizing-french-fries-chicken-wings-ketchup-lemon-left-side-dark-table_140725-110409.jpg",
        },
        {
          id: "p6",
          name: "Popcorn Chicken Bites",
          price: "$4.49",
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-tasty-chicken-wings-inside-plate-brown-surface-burger-meal-lunch-sandwich-food-dinner-fries-meat_140725-156891.jpg",
        },
      ]}
      title="Our Signature Menu"
      description="Pick your favorite crispy indulgence."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardSix
      animationType="slide-up"
      textboxLayout="split"
      useInvertedBackground={false}
      testimonials={[
        {
          id: "1",
          name: "Sarah Johnson",
          handle: "@sarahj",
          testimonial: "The best fried chicken in town, period.",
          imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-young-woman-eating-fast-food_23-2150404806.jpg",
        },
        {
          id: "2",
          name: "Michael Chen",
          handle: "@mchen",
          testimonial: "Incredible crispiness and perfect spice level.",
          imageSrc: "http://img.b2bpic.net/free-photo/front-view-woman-having-lunch-restaurant_23-2150491815.jpg",
        },
        {
          id: "3",
          name: "Emily Rodriguez",
          handle: "@erodr",
          testimonial: "Always fresh and served piping hot.",
          imageSrc: "http://img.b2bpic.net/free-photo/happy-family-havinf-dinner-together_23-2149117516.jpg",
        },
        {
          id: "4",
          name: "David Kim",
          handle: "@dkim",
          testimonial: "My go-to spot for family dinner night.",
          imageSrc: "http://img.b2bpic.net/free-photo/photo-pleased-dark-skinned-girl-smiles-positively-camera_273609-28711.jpg",
        },
        {
          id: "5",
          name: "Linda Wu",
          handle: "@lindaw",
          testimonial: "Excellent service and consistently great quality.",
          imageSrc: "http://img.b2bpic.net/free-photo/cropped-portrait-happy-young-bearded-male-t-shirt-smiling-cheerfully-while-enjoying-tasty-meal-lunch-cozy-restaurant-sitting-wooden-table_273609-1965.jpg",
        },
      ]}
      title="Fan Favorites"
      description="See why our customers keep coming back for more."
    />
  </div>

  <div id="metrics" data-section="metrics">
      <MetricCardThree
      animationType="slide-up"
      textboxLayout="split"
      useInvertedBackground={true}
      metrics={[
        {
          id: "m1",
          title: "Happy Customers",
          value: "1.2M+",
          icon: Users,
        },
        {
          id: "m2",
          title: "Chicken Pieces Sold",
          value: "5.5M+",
          icon: Flame,
        },
        {
          id: "m3",
          title: "Store Locations",
          value: "50+",
          icon: MapPin,
        },
      ]}
      title="DKRIUK By The Numbers"
      description="Serving quality crispy chicken across the nation."
    />
  </div>

  <div id="social-proof" data-section="social-proof">
      <SocialProofOne
      textboxLayout="split"
      useInvertedBackground={false}
      names={[
        "Food Journal",
        "Daily Bite",
        "City Eats",
        "Morning Plate",
        "Taste Today",
        "Global Gastronomy",
        "Quick Bites",
      ]}
      title="As Featured In"
      description="Recognized by top food publications."
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqSplitText
      useInvertedBackground={true}
      faqs={[
        {
          id: "f1",
          title: "Is the chicken halal?",
          content: "Yes, all our chicken is halal certified.",
        },
        {
          id: "f2",
          title: "Do you offer delivery?",
          content: "Yes, we offer delivery through major food apps.",
        },
        {
          id: "f3",
          title: "Can I order online?",
          content: "Yes, you can order directly through our website.",
        },
      ]}
      sideTitle="Frequently Asked Questions"
      sideDescription="Get quick answers about our menu and services."
      faqsAnimation="slide-up"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactCenter
      useInvertedBackground={false}
      background={{
        variant: "rotated-rays-static",
      }}
      title="Stay Crispy, Get Updates"
      description="Sign up for exclusive offers and news."
      tag="Newsletter"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterMedia
      imageSrc="http://img.b2bpic.net/free-photo/fresh-unprepared-chicken-legs-dark-plate_114579-50370.jpg"
      logoText="DKRIUK"
      columns={[
        {
          title: "Menu",
          items: [
            {
              label: "All Chicken",
              href: "#menu",
            },
            {
              label: "Combos",
              href: "#menu",
            },
          ],
        },
        {
          title: "Support",
          items: [
            {
              label: "Contact Us",
              href: "#contact",
            },
            {
              label: "FAQ",
              href: "#faq",
            },
          ],
        },
        {
          title: "Company",
          items: [
            {
              label: "About",
              href: "#",
            },
            {
              label: "Career",
              href: "#",
            },
          ],
        },
      ]}
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
