"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 FeatureCardSix from '@/components/sections/feature/FeatureCardSix';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import HeroSplitDualMedia from '@/components/sections/hero/HeroSplitDualMedia';
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import TestimonialCardSixteen from '@/components/sections/testimonial/TestimonialCardSixteen';
import { IceCream } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="hover-bubble"
        defaultTextAnimation="entrance-slide"
        borderRadius="rounded"
        contentWidth="small"
        sizing="largeSmallSizeMediumTitles"
        background="floatingGradient"
        cardStyle="glass-elevated"
        primaryButtonStyle="flat"
        secondaryButtonStyle="glass"
        headingFontWeight="normal"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleApple
      navItems={[
        {
          name: "Home",          id: "#home"},
        {
          name: "About",          id: "#about"},
        {
          name: "Flavors",          id: "#flavors"},
        {
          name: "Reviews",          id: "#reviews"},
        {
          name: "FAQ",          id: "#faq"},
        {
          name: "Contact",          id: "#contact"},
      ]}
      brandName="Bobin"
    />
  </div>

  <div id="home" data-section="home">
      <HeroSplitDualMedia
      background={{
        variant: "radial-gradient"}}
      title="Bobin Ice Cream"
      description="Handcrafted with love, every scoop delivers a burst of joy. Discover your favorite flavor today!"
      tag="Taste the Sweetness of Happiness"
      buttons={[
        {
          text: "Explore Flavors",          href: "#flavors"},
        {
          text: "Find Our Shop",          href: "#contact"},
      ]}
      mediaItems={[
        {
          imageSrc: "http://img.b2bpic.net/free-photo/ice-creams-near-spoon-plate_23-2148131231.jpg",          imageAlt: "Delicious ice cream cone"},
        {
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-paper-ice-cream-decoration_23-2148512736.jpg",          imageAlt: "Assorted ice cream cups"}
      ]}
      mediaAnimation="slide-up"
      rating={5}
      ratingText="Over 500+ satisfied customers"
    />
  </div>

  <div id="about" data-section="about">
      <TestimonialAboutCard
      useInvertedBackground={false}
      tag="Our Story"
      title="Crafting Joy, One Scoop at a Time"
      description="At Bobin, we believe in the magic of ice cream. Our journey began with a simple passion: to create the most delicious and memorable frozen treats using only the finest ingredients."
      subdescription="Every batch is made fresh daily with premium milk, real fruits, and a sprinkle of happiness, ensuring a delightful experience with every single bite. We're dedicated to bringing smiles to our community."
      icon={IceCream}
      imageSrc="http://img.b2bpic.net/free-photo/view-balloon-twist-sculpture_23-2151657516.jpg"
      imageAlt="Interior of Bobin Ice Cream shop"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="features" data-section="features">
      <FeatureCardSix
      textboxLayout="default"
      useInvertedBackground={true}
      features={[
        {
          title: "Fresh, Natural Ingredients",          description: "We source the finest local and seasonal ingredients to ensure every flavor is bursting with natural goodness.",          imageSrc: "http://img.b2bpic.net/free-photo/flour-cocoa-sugar_23-2148143757.jpg",          imageAlt: "Fresh fruits and ingredients"},
        {
          title: "Unique & Creative Flavors",          description: "Beyond the classics, we constantly experiment to bring you exciting and imaginative flavor combinations you won't find anywhere else.",          imageSrc: "http://img.b2bpic.net/free-photo/ice-cream-with-strawberry-banana-orange-white-plate-with-spoon_114579-33827.jpg",          imageAlt: "Unique ice cream flavor"},
        {
          title: "Family-Friendly Atmosphere",          description: "Our cozy shop is the perfect spot for families and friends to gather, create memories, and enjoy a sweet escape.",          imageSrc: "http://img.b2bpic.net/free-photo/lovely-birthday-concept-with-happy-family_23-2147997477.jpg",          imageAlt: "Family enjoying ice cream"},
      ]}
      title="Why Bobin Ice Cream?"
      description="Discover what makes our handcrafted ice cream truly special and a favorite among locals."
    />
  </div>

  <div id="flavors" data-section="flavors">
      <ProductCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="two-columns-alternating-heights"
      useInvertedBackground={false}
      products={[
        {
          id: "vanilla",          name: "Vanilla Bean Dream",          price: "₩4,500",          imageSrc: "http://img.b2bpic.net/free-photo/ice-cream-cone-marble_23-2148141407.jpg",          imageAlt: "Vanilla Bean ice cream"},
        {
          id: "chocolate",          name: "Decadent Chocolate Fudge",          price: "₩4,500",          imageSrc: "http://img.b2bpic.net/free-photo/portioned-chocolate-cake-garnished-with-chocolate-syrup-berries_140725-5050.jpg",          imageAlt: "Chocolate Fudge ice cream"},
        {
          id: "strawberry",          name: "Berry Bliss Strawberry Swirl",          price: "₩5,000",          imageSrc: "http://img.b2bpic.net/free-photo/close-up-refreshing-ice-cream-with-berries_23-2148513963.jpg",          imageAlt: "Strawberry Swirl ice cream"},
        {
          id: "mintchip",          name: "Cool Mint Chocolate Chip",          price: "₩5,000",          imageSrc: "http://img.b2bpic.net/free-photo/top-view-ice-cream-xmas-tree-cupcake-xmas-ornament-grey-surface_140725-106854.jpg",          imageAlt: "Mint Chip ice cream"},
        {
          id: "cookiedough",          name: "Chunky Cookie Dough Delight",          price: "₩5,500",          imageSrc: "http://img.b2bpic.net/free-photo/breakfast_23-2148148803.jpg",          imageAlt: "Cookie Dough ice cream"},
        {
          id: "mangotango",          name: "Tropical Mango Tango",          price: "₩5,500",          imageSrc: "http://img.b2bpic.net/free-photo/top-view-bread-slices-smeared-with-jam-with-citrus-fruits-around-as-pineapple-kiwi-orange-lime-lemon-tangerine-slices-with-lemon-bread-slices-tray-black-background_141793-130434.jpg",          imageAlt: "Mango Tango ice cream"},
      ]}
      title="Our Delicious Flavors"
      description="Indulge in our wide selection of classic favorites and imaginative new creations, all made with passion."
    />
  </div>

  <div id="reviews" data-section="reviews">
      <TestimonialCardSixteen
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={true}
      testimonials={[
        {
          id: "1",          name: "Sarah J.",          role: "Local Resident",          company: "Bobin Fan",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/beautiful-woman-white-hoodie-winter-fashion_53876-105546.jpg",          imageAlt: "Sarah J."},
        {
          id: "2",          name: "Min-joon K.",          role: "Food Blogger",          company: "Seoul Eats",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/young-handsome-barber-wearing-uniform-putting-shaving-cream-his-beard-with-shaving-brush-looking-side-isolated-olive-green-background_141793-85008.jpg",          imageAlt: "Min-joon K."},
        {
          id: "3",          name: "Hana L.",          role: "Dessert Lover",          company: "Sweet Tooth Inc.",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/adorable-white-girl-with-ice-cream-expressing-happiness-indoor-portrait-spectacular-lady-with-cute-purple-skateboard_197531-20458.jpg",          imageAlt: "Hana L."},
        {
          id: "4",          name: "The Park Family",          role: "Regular Customers",          company: "Happy Family",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/group-cheerful-friends-sharing-donuts-cafe_637285-7948.jpg",          imageAlt: "The Park Family"},
        {
          id: "5",          name: "Grandpa Kim",          role: "Community Elder",          company: "Local Legend",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-old-couple-looking-each-other_23-2148214544.jpg",          imageAlt: "Grandpa Kim"},
      ]}
      kpiItems={[
        {
          value: "10+",          label: "Years Serving Smiles"},
        {
          value: "50+",          label: "Unique Flavors Crafted"},
        {
          value: "100%",          label: "Homemade Goodness"},
      ]}
      title="What Our Customers Say"
      description="Hear from the happy customers who keep coming back for more Bobin magic!"
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqSplitText
      useInvertedBackground={false}
      faqs={[
        {
          id: "q1",          title: "What are your opening hours?",          content: "We are open from 12 PM to 9 PM, Tuesday to Sunday. Closed on Mondays."},
        {
          id: "q2",          title: "Do you offer vegan or dairy-free options?",          content: "Yes, we have a rotating selection of delicious vegan and dairy-free sorbets and ice creams made with coconut or almond milk. Please ask our staff for today's options!"},
        {
          id: "q3",          title: "Can I order custom flavors for events?",          content: "Absolutely! We love creating custom flavors for special occasions. Please contact us at least two weeks in advance to discuss your needs and ideas."},
        {
          id: "q4",          title: "Do you offer catering services?",          content: "Yes, Bobin Ice Cream provides catering for parties, weddings, and corporate events. We offer various packages including ice cream carts and custom flavor selections. Get in touch for a personalized quote!"},
      ]}
      sideTitle="Frequently Asked Questions"
      sideDescription="Have a question about our flavors, ingredients, or services? Find quick answers here or contact us directly!"
      faqsAnimation="slide-up"
      textPosition="left"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactCenter
      useInvertedBackground={true}
      background={{
        variant: "plain"}}
      tag="Visit Us"
      title="Get Your Scoop Today!"
      description="Come by our cozy shop, give us a call, or send an email for special orders and inquiries. We can't wait to see you!"
      inputPlaceholder="Enter your email for updates"
      buttonText="Subscribe"
      termsText="By clicking Subscribe you're confirming that you agree with our Privacy Policy."
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterLogoReveal
      logoText="Bobin Ice Cream"
      leftLink={{
        text: "Privacy Policy",        href: "#"}}
      rightLink={{
        text: "Terms of Service",        href: "#"}}
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
