"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactText from '@/components/sections/contact/ContactText';
import FaqSplitText from '@/components/sections/faq/FaqSplitText';
import FeatureCardTwentySeven from '@/components/sections/feature/FeatureCardTwentySeven';
import FooterBase from '@/components/sections/footer/FooterBase';
import HeroBillboardTestimonial from '@/components/sections/hero/HeroBillboardTestimonial';
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import SplitAbout from '@/components/sections/about/SplitAbout';
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="hover-magnetic"
        defaultTextAnimation="entrance-slide"
        borderRadius="soft"
        contentWidth="compact"
        sizing="largeSmall"
        background="grid"
        cardStyle="outline"
        primaryButtonStyle="flat"
        secondaryButtonStyle="layered"
        headingFontWeight="semibold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarLayoutFloatingInline
      navItems={[
        {
          name: "Home",
          id: "hero",
        },
        {
          name: "About",
          id: "about",
        },
        {
          name: "Catalog",
          id: "products",
        },
        {
          name: "Testimonials",
          id: "testimonials",
        },
        {
          name: "Contact",
          id: "contact",
        },
      ]}
      brandName="Ankur Nursery"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroBillboardTestimonial
      background={{
        variant: "sparkles-gradient",
      }}
      title="Welcome to Ankur Nursery"
      description="Your trusted local garden center in Chembur. Expert advice, high-quality plants, and reasonable rates for your dream garden."
      testimonials={[
        {
          name: "Utkarsh B.",
          handle: "@utkarsh",
          testimonial: "Great nursery with great options. Helpful staff.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/impressed-middle-aged-blonde-gardener-woman-uniform-wearing-hat-raising-flowerpot-up-isolated-green-wall-with-copy-space_141793-112881.jpg",
        },
        {
          name: "Mayur S.",
          handle: "@mayur",
          testimonial: "Beautiful nursery with many varieties of plants with reasonable rates.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/young-woman-with-beautiful-blond-hair-gentle-smile-dressed-green-robe-with-belt-is-working-greenhouse_197531-12289.jpg",
        },
        {
          name: "Rajesh J.",
          handle: "@rajesh",
          testimonial: "Great prices, great clarity, great product aspiration as well.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/happy-female-florist-walking-greenhouse-holding-potted-flowering-plant-smiling-medium-shot-copy-space-gardening-job-botany-concept_74855-12854.jpg",
        },
        {
          name: "Ananya R.",
          handle: "@ananya",
          testimonial: "The staff here is very knowledgeable in what the nursery has to offer.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/rural-life-close-up-young-attractive-bearded-hispanic-farmer-blue-t-shirt-working-his-farm-picking-berries-planting-seeds-gardener-looking-plants-garden_176420-19948.jpg",
        },
        {
          name: "Vikram K.",
          handle: "@vikram",
          testimonial: "Very nice nursery with a good collection of plants of all price ranges.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/young-hispanic-woman-working-florist-shop-celebrating-crazy-amazed-success-with-open-eyes-screaming-excited_839833-8965.jpg",
        },
      ]}
      buttons={[
        {
          text: "Visit Us",
          href: "#contact",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/young-woman-near-green-plants-pots_23-2148068754.jpg?_wi=1"
      mediaAnimation="blur-reveal"
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/woman-working-shop-window_23-2147761040.jpg",
          alt: "Customer 1",
        },
        {
          src: "http://img.b2bpic.net/free-photo/composition-from-flowers-plants-lit-candles-as-part-decorations-wooden-table_181624-59023.jpg",
          alt: "Customer 2",
        },
        {
          src: "http://img.b2bpic.net/free-photo/terrarium-garden-plants-table_53876-31654.jpg",
          alt: "Customer 3",
        },
        {
          src: "http://img.b2bpic.net/free-photo/florist-looking-through-shop-window_23-2147762233.jpg",
          alt: "Customer 4",
        },
        {
          src: "http://img.b2bpic.net/free-photo/smiling-male-gardener-holds-pruning-shears-cares-about-snake-plant-pot-wears-hat-apron-has-glad-expression-being-professional-florist_273609-33210.jpg",
          alt: "Customer 5",
        },
      ]}
      marqueeItems={[
        {
          type: "text",
          text: "Locally Grown",
        },
        {
          type: "text",
          text: "Organic Fertilizers",
        },
        {
          type: "text",
          text: "Expert Advice",
        },
        {
          type: "text",
          text: "Quality Assured",
        },
        {
          type: "text",
          text: "Chembur's Choice",
        },
      ]}
    />
  </div>

  <div id="about" data-section="about">
      <SplitAbout
      textboxLayout="split"
      useInvertedBackground={true}
      title="Cultivating Greenery in Chembur"
      description="Ankur Nursery is a haven for plant enthusiasts, offering everything from small succulents to large indoor plants. With years of expertise, we help you pick the right companions for your home."
      bulletPoints={[
        {
          title: "Expert Guidance",
          description: "Our staff is highly knowledgeable in plant care.",
        },
        {
          title: "Wide Variety",
          description: "Huge collection of plants for every price range.",
        },
        {
          title: "Flexible Shopping",
          description: "Visit our store or order online with ease.",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/experienced-florist-trimming-plants_23-2148435657.jpg?_wi=1"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="features" data-section="features">
      <FeatureCardTwentySeven
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      features={[
        {
          id: "1",
          title: "Large Plant Selection",
          descriptions: [
            "Huge variety of indoor and outdoor plants.",
          ],
          imageSrc: "http://img.b2bpic.net/free-photo/beautiful-bicolor-plant-details_23-2149362163.jpg?_wi=1",
        },
        {
          id: "2",
          title: "Careful Selection",
          descriptions: [
            "Only healthy and vibrant plants for your home.",
          ],
          imageSrc: "http://img.b2bpic.net/free-photo/plants_23-2148013640.jpg?_wi=1",
        },
        {
          id: "3",
          title: "Gardening Supplies",
          descriptions: [
            "Premium tools and fertilizers available.",
          ],
          imageSrc: "http://img.b2bpic.net/free-photo/creative-flat-lay-gardening-concept_23-2148195508.jpg?_wi=1",
        },
      ]}
      title="Why Choose Our Nursery?"
      description="We ensure your gardening journey is as enjoyable and successful as possible."
    />
  </div>

  <div id="products" data-section="products">
      <ProductCardFour
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="four-items-2x2-equal-grid"
      useInvertedBackground={true}
      products={[
        {
          id: "p1",
          name: "Snake Plant",
          price: "₹299",
          variant: "Indoor",
          imageSrc: "http://img.b2bpic.net/free-photo/african-mask-plant-pot_53876-133137.jpg",
        },
        {
          id: "p2",
          name: "Money Plant",
          price: "₹199",
          variant: "Indoor",
          imageSrc: "http://img.b2bpic.net/free-photo/plant-closeup-leaf-wood-macro_1122-1589.jpg",
        },
        {
          id: "p3",
          name: "Succulent Assortment",
          price: "₹99",
          variant: "Outdoor",
          imageSrc: "http://img.b2bpic.net/free-photo/various-small-cacti_53876-31861.jpg",
        },
        {
          id: "p4",
          name: "Anthurium",
          price: "₹499",
          variant: "Decorative",
          imageSrc: "http://img.b2bpic.net/free-photo/exotic-red-flower-closeup-with-water-drops_169016-3913.jpg",
        },
        {
          id: "p5",
          name: "Boston Fern",
          price: "₹350",
          variant: "Outdoor",
          imageSrc: "http://img.b2bpic.net/free-photo/fern-leaf_74190-5344.jpg",
        },
        {
          id: "p6",
          name: "Aloe Vera",
          price: "₹150",
          variant: "Medicinal",
          imageSrc: "http://img.b2bpic.net/free-photo/african-spear-plant-pot_53876-133125.jpg",
        },
      ]}
      title="Popular Plant Collection"
      description="Explore our top picks for indoor and outdoor spaces."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardFive
      textboxLayout="default"
      useInvertedBackground={false}
      testimonials={[
        {
          id: "t1",
          name: "Utkarsh Bhatnagar",
          date: "8 months ago",
          title: "Local Guide",
          quote: "Great nursery with great options. Helpful staff.",
          tag: "Garden Lover",
          avatarSrc: "http://img.b2bpic.net/free-photo/woman-with-snow-white-smile-holding-plant-with-red-flowers-portrait-woman-gray-sweater-greenhouse_197531-12384.jpg",
          imageSrc: "http://img.b2bpic.net/free-photo/young-woman-near-green-plants-pots_23-2148068754.jpg?_wi=2",
          imageAlt: "happy customer in plant nursery",
        },
        {
          id: "t2",
          name: "Mayur Satam",
          date: "3 years ago",
          title: "Local Guide",
          quote: "Beautiful nursery with many varieties of plants with reasonable rates.",
          tag: "Regular",
          avatarSrc: "http://img.b2bpic.net/free-photo/woman-working-hard-greenhouse_23-2149037327.jpg",
          imageSrc: "http://img.b2bpic.net/free-photo/experienced-florist-trimming-plants_23-2148435657.jpg?_wi=2",
          imageAlt: "happy customer in plant nursery",
        },
        {
          id: "t3",
          name: "Rajesh Jain",
          date: "5 months ago",
          title: "Client",
          quote: "Great prices, great clarity, great product aspiration as well.",
          tag: "Professional",
          avatarSrc: "http://img.b2bpic.net/free-photo/young-woman-holding-potted-plant_23-2147882154.jpg",
          imageSrc: "http://img.b2bpic.net/free-photo/beautiful-bicolor-plant-details_23-2149362163.jpg?_wi=2",
          imageAlt: "happy customer in plant nursery",
        },
        {
          id: "t4",
          name: "Ananya Reddy",
          date: "2 months ago",
          title: "Local Guide",
          quote: "The staff here is very knowledgeable in what the nursery has to offer.",
          tag: "Plant Mom",
          avatarSrc: "http://img.b2bpic.net/free-photo/smiling-young-male-gardener-uniform-wearing-gardening-hat-holding-points-flower-flowerpot-head_141793-88984.jpg",
          imageSrc: "http://img.b2bpic.net/free-photo/plants_23-2148013640.jpg?_wi=2",
          imageAlt: "happy customer in plant nursery",
        },
        {
          id: "t5",
          name: "Vikram Kapoor",
          date: "1 month ago",
          title: "Client",
          quote: "Very nice nursery with a good collection of plants.",
          tag: "Hobbyist",
          avatarSrc: "http://img.b2bpic.net/free-photo/mature-greenhouse-owner-holding-potted-flowers-looking-camera-plant-nursery_637285-1398.jpg",
          imageSrc: "http://img.b2bpic.net/free-photo/creative-flat-lay-gardening-concept_23-2148195508.jpg?_wi=2",
          imageAlt: "happy customer in plant nursery",
        },
      ]}
      title="Voices of Our Community"
      description="See why locals trust us with their garden growth."
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqSplitText
      useInvertedBackground={true}
      faqs={[
        {
          id: "q1",
          title: "Do you deliver plants?",
          content: "Yes, we offer delivery services across the city.",
        },
        {
          id: "q2",
          title: "What are your opening hours?",
          content: "We are open daily until 6 PM.",
        },
        {
          id: "q3",
          title: "Where is the nursery located?",
          content: "We are in Swastik Park, Chembur, Mumbai.",
        },
      ]}
      sideTitle="Frequently Asked Questions"
      sideDescription="Common questions about our products and services."
      faqsAnimation="blur-reveal"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactText
      useInvertedBackground={false}
      background={{
        variant: "downward-rays-static",
      }}
      text="Have a green question? Visit us in Chembur or reach out to our team for expert plant care advice today."
      buttons={[
        {
          text: "Call Us",
          href: "tel:09029985564",
        },
        {
          text: "Visit Website",
          href: "https://ankurnursery.com",
        },
      ]}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBase
      columns={[
        {
          title: "Links",
          items: [
            {
              label: "Home",
              href: "#hero",
            },
            {
              label: "About",
              href: "#about",
            },
            {
              label: "Contact",
              href: "#contact",
            },
          ],
        },
        {
          title: "Resources",
          items: [
            {
              label: "Catalog",
              href: "#products",
            },
            {
              label: "FAQ",
              href: "#faq",
            },
          ],
        },
      ]}
      logoText="Ankur Nursery"
      copyrightText="© 2025 Ankur Nursery. All rights reserved."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
