"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import FeatureCardTwentyThree from '@/components/sections/feature/FeatureCardTwentyThree';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import HeroSplitTestimonial from '@/components/sections/hero/HeroSplitTestimonial';
import MetricSplitMediaAbout from '@/components/sections/about/MetricSplitMediaAbout';
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
import { Award, Leaf, Phone, Sparkles, Star, Truck } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="icon-arrow"
        defaultTextAnimation="entrance-slide"
        borderRadius="rounded"
        contentWidth="mediumLarge"
        sizing="mediumLargeSizeMediumTitles"
        background="aurora"
        cardStyle="solid"
        primaryButtonStyle="radial-glow"
        secondaryButtonStyle="solid"
        headingFontWeight="medium"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarLayoutFloatingOverlay
      navItems={[
        {
          name: "Home",          id: "#home"},
        {
          name: "About Us",          id: "#about"},
        {
          name: "Products",          id: "#products"},
        {
          name: "Testimonials",          id: "#testimonials"},
        {
          name: "FAQ",          id: "#faq"},
        {
          name: "Contact",          id: "#contact"},
      ]}
      logoSrc="http://img.b2bpic.net/free-photo/fresh-bottles-milk-paper-bag_23-2148239931.jpg"
      logoAlt="Laxmi Doodh Dairy Logo"
      brandName="Laxmi Doodh Dairy"
      button={{
        text: "Order Now",        href: "#contact"}}
    />
  </div>

  <div id="home" data-section="home">
      <HeroSplitTestimonial
      useInvertedBackground={false}
      background={{
        variant: "downward-rays-static"}}
      title="Fresh & Pure Dairy Products Every Day"
      description="Quality milk and dairy products for your family from Laxmi Doodh Dairy. Trusted by local customers with 4.7-star ratings, we deliver hygienic, affordable freshness to your doorstep daily."
      testimonials={[
        {
          name: "Priya Sharma",          handle: "@priyasharma",          testimonial: "Laxmi Doodh Dairy delivers the freshest milk daily. My family loves it!",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/calling-young-man_1098-18170.jpg",          imageAlt: "Priya Sharma"},
        {
          name: "Arjun Rao",          handle: "@arjunrao",          testimonial: "The quality of ghee is outstanding! Truly authentic and rich in flavor.",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/attractive-latino-female-model-warm-bright-blue-sweater_633478-2090.jpg",          imageAlt: "Arjun Rao"},
        {
          name: "Geeta Deshmukh",          handle: "@geetad",          testimonial: "Finally, a dairy that prioritizes hygiene. Their curd is simply the best.",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/young-joyful-man-black-shirt-with-optical-glasses-stucks-tongue-out-isolated-pink-wall_141793-35304.jpg",          imageAlt: "Geeta Deshmukh"},
        {
          name: "Suresh Jadhav",          handle: "@sureshj",          testimonial: "Daily delivery is a game-changer. Fresh milk at my doorstep every morning.",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/worldface-malaysian-woman-white-background_53876-137661.jpg",          imageAlt: "Suresh Jadhav"},
        {
          name: "Kavita Singh",          handle: "@kavitas",          testimonial: "My kids love their lassi! Healthy and delicious, a perfect summer drink.",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/young-smiling-pretty-caucasian-schoolgirl-wearing-back-bag-holds-books-looking-camera-green-with-copy-space_141793-62662.jpg",          imageAlt: "Kavita Singh"},
      ]}
      tag="4.7 ★ Rated"
      tagIcon={Star}
      buttons={[
        {
          text: "Call Now",          href: "tel:+919876543210"},
        {
          text: "Get Directions",          href: "https://maps.app.goo.gl/YourDairyLocation"},
      ]}
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/attractive-latino-female-model-warm-bright-blue-sweater_633478-2090.jpg",          alt: "Customer 1"},
        {
          src: "http://img.b2bpic.net/free-photo/young-joyful-man-black-shirt-with-optical-glasses-stucks-tongue-out-isolated-pink-wall_141793-35304.jpg",          alt: "Customer 2"},
        {
          src: "http://img.b2bpic.net/free-photo/worldface-malaysian-woman-white-background_53876-137661.jpg",          alt: "Customer 3"},
        {
          src: "http://img.b2bpic.net/free-photo/young-smiling-pretty-caucasian-schoolgirl-wearing-back-bag-holds-books-looking-camera-green-with-copy-space_141793-62662.jpg",          alt: "Customer 4"},
        {
          src: "http://img.b2bpic.net/free-photo/calling-young-man_1098-18170.jpg",          alt: "Customer 5"},
      ]}
      avatarText="Trusted by over 10,000 families"
      imageSrc="http://img.b2bpic.net/free-photo/healthy-oatmeal-cookies-milks-wooden-table_123827-34006.jpg"
      imageAlt="Fresh milk bottles and dairy products"
      mediaAnimation="slide-up"
      marqueeItems={[
        {
          type: "text-icon",          text: "Freshness Guaranteed",          icon: Sparkles,
        },
        {
          type: "text-icon",          text: "Daily Doorstep Delivery",          icon: Truck,
        },
        {
          type: "text-icon",          text: "Pure & Natural",          icon: Leaf,
        },
        {
          type: "text-icon",          text: "Trusted by Families",          icon: Award,
        },
        {
          type: "text-icon",          text: "4.7 Star Rating",          icon: Star,
        },
      ]}
    />
  </div>

  <div id="about" data-section="about">
      <MetricSplitMediaAbout
      useInvertedBackground={true}
      title="Our Commitment to Freshness & Quality"
      description="At Laxmi Doodh Dairy, we are dedicated to providing the purest, freshest dairy products directly from local farms. Our stringent quality checks and hygienic processing ensure every drop of milk meets the highest standards, bringing health and happiness to your family every day."
      metrics={[
        {
          value: "4.7★",          title: "Customer Rating"},
        {
          value: "10K+",          title: "Happy Customers"},
        {
          value: "15+",          title: "Years of Trust"},
      ]}
      tag="Our Story"
      imageSrc="http://img.b2bpic.net/free-photo/bottles-milk-arrangement-still-life_23-2150642896.jpg"
      imageAlt="Clean dairy farm with cows"
      mediaAnimation="slide-up"
      metricsAnimation="slide-up"
    />
  </div>

  <div id="features" data-section="features">
      <FeatureCardTwentyThree
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      features={[
        {
          id: "f1",          title: "Daily Farm-Fresh Delivery",          tags: [
            "Freshness",            "Convenience"],
          imageSrc: "http://img.b2bpic.net/free-photo/front-close-view-glass-bottle-filled-with-milk-cup-cap-white-smoke-background-with-free-space_140725-142174.jpg",          imageAlt: "Bottle of milk on grass"},
        {
          id: "f2",          title: "Uncompromised Hygiene",          tags: [
            "Purity",            "Safety"],
          imageSrc: "http://img.b2bpic.net/free-photo/person-preparing-new-type-cheese_23-2148432581.jpg",          imageAlt: "Dairy processing facility"},
        {
          id: "f3",          title: "Affordable Quality",          tags: [
            "Value",            "Local"],
          imageSrc: "http://img.b2bpic.net/free-photo/technologist-white-coat-with-laptop-his-hands-is-warehouse-cheese-shop-production-butter-cheese-quality-control-dairy-plant-racks-with-cheese_645730-510.jpg",          imageAlt: "Milk delivery vehicle"},
      ]}
      title="Why Choose Laxmi Doodh Dairy?"
      description="Experience the difference of truly fresh and wholesome dairy products with our reliable service and commitment to excellence."
      tag="Our Advantages"
    />
  </div>

  <div id="products" data-section="products">
      <ProductCardTwo
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={true}
      products={[
        {
          id: "p1",          brand: "Laxmi Dairy",          name: "Pure Cow Milk",          price: "₹60 / Litre",          rating: 5,
          reviewCount: "1.2K",          imageSrc: "http://img.b2bpic.net/free-photo/top-view-closed-glass-bottle-filled-with-milk-pastel-colors-surface_140725-154572.jpg",          imageAlt: "Bottle of Pure Cow Milk"},
        {
          id: "p2",          brand: "Laxmi Dairy",          name: "Fresh Curd",          price: "₹40 / 500g",          rating: 4.5,
          reviewCount: "800",          imageSrc: "http://img.b2bpic.net/free-photo/bowl-with-yogurt-gauze_23-2147753685.jpg",          imageAlt: "Bowl of Fresh Curd"},
        {
          id: "p3",          brand: "Laxmi Dairy",          name: "Homemade Paneer",          price: "₹180 / 200g",          rating: 4.8,
          reviewCount: "650",          imageSrc: "http://img.b2bpic.net/free-photo/delicious-food-table_23-2150857894.jpg",          imageAlt: "Cubes of Homemade Paneer"},
        {
          id: "p4",          brand: "Laxmi Dairy",          name: "Pure Desi Ghee",          price: "₹700 / 500ml",          rating: 4.9,
          reviewCount: "1.1K",          imageSrc: "http://img.b2bpic.net/free-photo/close-up-front-view-two-oil-cruets-cutting-board_140725-56557.jpg",          imageAlt: "Jar of Pure Desi Ghee"},
        {
          id: "p5",          brand: "Laxmi Dairy",          name: "Creamy Butter",          price: "₹120 / 100g",          rating: 4.7,
          reviewCount: "500",          imageSrc: "http://img.b2bpic.net/free-photo/vivid-yellow-paint-smearing_23-2147746786.jpg",          imageAlt: "Block of Creamy Butter"},
        {
          id: "p6",          brand: "Laxmi Dairy",          name: "Refreshing Lassi",          price: "₹50 / 200ml",          rating: 4.6,
          reviewCount: "720",          imageSrc: "http://img.b2bpic.net/free-photo/delicious-drink-glass-with-straw_23-2148785321.jpg",          imageAlt: "Glass of Refreshing Lassi"},
      ]}
      title="Our Pure Dairy Products"
      description="Explore our wide range of fresh, hygienic, and delicious dairy products, crafted with care for your family's health."
      tag="Quality Assured"
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardOne
      animationType="depth-3d"
      textboxLayout="default"
      gridVariant="uniform-all-items-equal"
      useInvertedBackground={false}
      testimonials={[
        {
          id: "t1",          name: "Anjali Mehta",          role: "Homemaker",          company: "Chhatrapati Sambhajinagar",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/male-having-idea_1187-5892.jpg",          imageAlt: "Anjali Mehta"},
        {
          id: "t2",          name: "Rajesh Kumar",          role: "Business Owner",          company: "Local Retailer",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/happy-mature-business-man-standing-office-cafe-leaning-counter-holding-jacket-shoulder-showing-thumb-up_74855-15159.jpg",          imageAlt: "Rajesh Kumar"},
        {
          id: "t3",          name: "Sunita Devi",          role: "Retired Teacher",          company: "Chhatrapati Sambhajinagar",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/front-view-brothers-with-food-home_23-2150327528.jpg",          imageAlt: "Sunita Devi"},
        {
          id: "t4",          name: "Rahul Singh",          role: "Software Engineer",          company: "Tech Company",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/beautiful-senior-asian-woman-red-blazer-smiling-showing-okay-signs-approve-say-yes-standi_1258-156985.jpg",          imageAlt: "Rahul Singh"},
        {
          id: "t5",          name: "Deepa Patel",          role: "Nutritionist",          company: "Health Clinic",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/front-view-young-male-holding-coffee-cups-blue-wall-emotion-coffee-blue-human_140725-69206.jpg",          imageAlt: "Deepa Patel"},
      ]}
      title="What Our Customers Say"
      description="Our community trusts Laxmi Doodh Dairy for unparalleled freshness and quality. Hear it from those who experience it daily."
      tag="Real Feedback"
    />
  </div>

  <div id="social-proof" data-section="social-proof">
      <SocialProofOne
      textboxLayout="default"
      useInvertedBackground={true}
      names={[
        "Healthy Bites Supermarket",        "Green Leaf Restaurant",        "Sunrise Cafe",        "City Schools",        "Unity Hospital",        "Grand Hotel & Suites",        "The Local Grocer"]}
      title="Trusted by Local Businesses"
      description="Our fresh dairy products are the preferred choice for numerous local establishments, ensuring quality from farm to table."
      tag="Our Partners"
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqSplitMedia
      textboxLayout="default"
      useInvertedBackground={false}
      faqs={[
        {
          id: "faq1",          title: "How often do you deliver fresh milk?",          content: "We provide daily doorstep delivery of fresh milk, ensuring you always have the purest dairy products available."},
        {
          id: "faq2",          title: "What are your quality and hygiene standards?",          content: "We adhere to strict quality control measures and maintain impeccable hygiene throughout our sourcing, processing, and packaging stages to guarantee safety and purity."},
        {
          id: "faq3",          title: "Do you offer organic dairy products?",          content: "Our products are sourced from local farms that prioritize natural and sustainable practices. We are committed to providing wholesome dairy options."},
        {
          id: "faq4",          title: "How can I place an order or subscribe?",          content: "You can easily place an order or subscribe to our daily delivery service by calling us, sending a WhatsApp message, or visiting our dairy directly. Contact details are available below."},
        {
          id: "faq5",          title: "What payment methods do you accept?",          content: "We accept various payment methods including cash on delivery, UPI, and bank transfers for your convenience. Please contact us for more details."},
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/smiling-young-bald-call-center-man-wearing-headset-sitting-desk-with-work-tools-gesturing-hi-front-isolated-white-wall_141793-94401.jpg"
      imageAlt="Customer support person helping with dairy questions"
      mediaAnimation="slide-up"
      title="Frequently Asked Questions"
      description="Find quick answers to common questions about our products, delivery, and services."
      tag="Need Help?"
      faqsAnimation="slide-up"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactCTA
      useInvertedBackground={true}
      background={{
        variant: "sparkles-gradient"}}
      tag="Connect With Us"
      tagIcon={Phone}
      title="Get In Touch Today"
      description="Have questions or ready to order? Contact Laxmi Doodh Dairy via phone, WhatsApp, or visit us using the map below."
      buttons={[
        {
          text: "Call Us: +91 98765 43210",          href: "tel:+919876543210"},
        {
          text: "WhatsApp Us",          href: "https://wa.me/919876543210"},
        {
          text: "Get Directions",          href: "https://maps.app.goo.gl/YourDairyLocation"},
      ]}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBaseCard
      logoSrc="http://img.b2bpic.net/free-photo/fresh-bottles-milk-paper-bag_23-2148239931.jpg"
      logoAlt="Laxmi Doodh Dairy Logo"
      logoText="Laxmi Doodh Dairy"
      columns={[
        {
          title: "Company",          items: [
            {
              label: "About Us",              href: "#about"},
            {
              label: "Products",              href: "#products"},
            {
              label: "Testimonials",              href: "#testimonials"},
          ],
        },
        {
          title: "Support",          items: [
            {
              label: "FAQ",              href: "#faq"},
            {
              label: "Contact Us",              href: "#contact"},
            {
              label: "Privacy Policy",              href: "#"},
          ],
        },
        {
          title: "Social",          items: [
            {
              label: "Facebook",              href: "#"},
            {
              label: "Instagram",              href: "#"},
            {
              label: "Twitter",              href: "#"},
          ],
        },
      ]}
      copyrightText="© 2024 Laxmi Doodh Dairy. All rights reserved."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
