"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroSplit from '@/components/sections/hero/HeroSplit';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import TextSplitAbout from '@/components/sections/about/TextSplitAbout';
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import { Award, Clock, HelpCircle, Leaf, MessageCircle, Phone, Star, Users } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="elastic-effect"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="small"
      sizing="mediumLargeSizeLargeTitles"
      background="none"
      cardStyle="subtle-shadow"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="layered"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          brandName="Home Made Frozen Foods"
          navItems={[
            { name: "Home", id: "hero" },
            { name: "Menu", id: "products" },
            { name: "About", id: "about" },
            { name: "Reviews", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
          bottomLeftText="Open 24 Hours"
          bottomRightText="+92 3170538774"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplit
          title="Fresh, Hygienic Home Made Frozen Foods – Ready Anytime!"
          description="Order now and enjoy homemade taste without the hassle. Open 24 hours, serving your neighborhood with quality you can trust."
          background={{ variant: "plain" }}
          tag="24/7 Availability"
          tagIcon={Clock}
          tagAnimation="slide-up"
          buttons={[
            { text: "📞 Call Now", href: "tel:+923170538774" },
            { text: "💬 WhatsApp Order", href: "https://wa.me/923170538774" },
            { text: "🛒 View Menu", href: "#products" }
          ]}
          buttonAnimation="slide-up"
          imageSrc="http://img.b2bpic.net/free-photo/flat-lay-vegetables-fruits-casseroles_23-2148487742.jpg"
          imageAlt="Fresh homemade frozen foods"
          mediaAnimation="slide-up"
          imagePosition="right"
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardTwo
          title="Our Delicious Menu"
          description="Handcrafted frozen meals prepared with fresh ingredients and care. Ready to cook, ready to enjoy."
          tag="Fresh & Hygienic"
          tagIcon={Leaf}
          tagAnimation="slide-up"
          buttons={[
            { text: "Order Now", href: "https://wa.me/923170538774" }
          ]}
          buttonAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          products={[
            {
              id: "paratha-pkg",              brand: "Home Made",              name: "Frozen Parathas",              price: "Rs. 150-200",              rating: 5,
              reviewCount: "240+",              imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-qutabs-with-different-seasonings-grey-space_140725-79294.jpg",              imageAlt: "Golden crispy frozen parathas"
            },
            {
              id: "samosa-pkg",              brand: "Home Made",              name: "Samosas & Rolls",              price: "Rs. 100-180",              rating: 5,
              reviewCount: "185+",              imageSrc: "http://img.b2bpic.net/free-photo/chicken-pie-kurnik-that-is-beautifully-decorated-table_1150-23094.jpg",              imageAlt: "Crispy fried samosas and rolls"
            },
            {
              id: "meal-pkg",              brand: "Home Made",              name: "Ready-to-Cook Meals",              price: "Rs. 300-450",              rating: 5,
              reviewCount: "156+",              imageSrc: "http://img.b2bpic.net/free-photo/garlic-sauerkrauts-wooden-plate-marble-surface_114579-41083.jpg",              imageAlt: "Complete frozen meal portion"
            }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <TextSplitAbout
          title="Why Choose Home Made Frozen Foods?"
          description={[
            "We believe in bringing authentic homemade taste to your table with convenience. Every item is prepared with fresh, quality ingredients and stored using hygienic practices to ensure your family gets the best.",            "From traditional frozen parathas to flavorful samosas and complete meal portions, we've got your cravings covered. Order anytime, cook anytime – that's the Home Made Frozen Foods promise."
          ]}
          buttons={[
            { text: "📞 Call: +92 3170538774", href: "tel:+923170538774" },
            { text: "💬 WhatsApp Order", href: "https://wa.me/923170538774" }
          ]}
          buttonAnimation="slide-up"
          showBorder={false}
          useInvertedBackground={true}
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardOne
          title="Trusted by Hundreds of Happy Customers"
          description="Quality, freshness, and convenience you can count on – every single order."
          tag="Customer Confidence"
          tagIcon={Award}
          tagAnimation="slide-up"
          buttons={[
            { text: "Order Today", href: "https://wa.me/923170538774" }
          ]}
          buttonAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          metrics={[
            {
              id: "rating",              value: "5.0★",              title: "Perfect Rating",              description: "Consistently excellent reviews",              icon: Star
            },
            {
              id: "customers",              value: "500+",              title: "Happy Customers",              description: "Growing community of satisfied clients",              icon: Users
            },
            {
              id: "availability",              value: "24/7",              title: "Always Open",              description: "Order anytime, prepared fresh",              icon: Clock
            }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardThirteen
          title="What Our Customers Say"
          description="Real reviews from real customers who trust Home Made Frozen Foods for quality and taste."
          tag="Customer Reviews"
          tagIcon={MessageCircle}
          tagAnimation="slide-up"
          buttons={[
            { text: "Order Now", href: "https://wa.me/923170538774" }
          ]}
          buttonAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
          showRating={true}
          animationType="slide-up"
          testimonials={[
            {
              id: "t1",              name: "Sarah Khan",              handle: "Busy Mom",              testimonial: "Very hygienic and tasty food. Perfect for our busy weeknights. My family loves it!",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/business-lady-looking-copyspace-with-interest_1262-2957.jpg",              imageAlt: "Sarah Khan"
            },
            {
              id: "t2",              name: "Ahmed Hassan",              handle: "Working Professional",              testimonial: "Best homemade frozen items in town. Fresh, authentic, and always on time.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/front-view-woman-working-reception_23-2149963923.jpg",              imageAlt: "Ahmed Hassan"
            },
            {
              id: "t3",              name: "Fatima Ali",              handle: "Student",              testimonial: "Affordable, delicious, and they deliver super fast. Highly recommend!",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/smiling-businesswoman-standing-airport_107420-63594.jpg",              imageAlt: "Fatima Ali"
            },
            {
              id: "t4",              name: "Usman Malik",              handle: "Family of 4",              testimonial: "Quality ingredients, authentic homemade taste. We order every week!",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/young-handsome-stylish-hipster-man-young-jacket-office-table_285396-9752.jpg",              imageAlt: "Usman Malik"
            }
          ]}
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqSplitMedia
          title="Common Questions"
          description="Everything you need to know about our services, ordering, and delivery."
          tag="Quick Answers"
          tagIcon={HelpCircle}
          tagAnimation="slide-up"
          buttons={[
            { text: "📞 Still have questions? Call us", href: "tel:+923170538774" }
          ]}
          buttonAnimation="slide-up"
          imageSrc="http://img.b2bpic.net/free-photo/close-up-family-enjoying-food-together_23-2149228746.jpg"
          imageAlt="Homemade frozen food preparation"
          mediaAnimation="slide-up"
          mediaPosition="right"
          textboxLayout="default"
          useInvertedBackground={false}
          faqsAnimation="slide-up"
          faqs={[
            {
              id: "faq1",              title: "How long can I store frozen items?",              content: "All items can be stored in your freezer for up to 3 months. Keep them sealed in the original packaging for best freshness."
            },
            {
              id: "faq2",              title: "Can I place bulk orders?",              content: "Absolutely! We welcome bulk orders for families or events. Call or WhatsApp us for special pricing on large quantities."
            },
            {
              id: "faq3",              title: "Do you deliver?",              content: "Yes, we offer local delivery in the city area. Orders placed before 11 PM are delivered the next morning."
            },
            {
              id: "faq4",              title: "Are your items halal and hygienic?",              content: "100% halal-certified and prepared in a hygienic environment with fresh, quality ingredients. Your health is our priority."
            },
            {
              id: "faq5",              title: "What's the minimum order?",              content: "No minimum order required! Order as little or as much as you need, anytime."
            },
            {
              id: "faq6",              title: "How do I order?",              content: "Call us at +92 3170538774 or message on WhatsApp. We're open 24/7 to take your order!"
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Get in Touch"
          title="Ready to Order?"
          description="Reach out anytime. We're available 24/7 to serve you fresh, homemade frozen foods."
          tagIcon={Phone}
          tagAnimation="slide-up"
          background={{ variant: "radial-gradient" }}
          useInvertedBackground={true}
          inputPlaceholder="Enter your phone number"
          buttonText="📞 Call Now"
          termsText="Click Call Now to reach us directly. We're open 24/7!"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="http://img.b2bpic.net/free-photo/top-view-meals-casseroles-with-fruits-vegetables_23-2148487775.jpg"
          imageAlt="Home Made Frozen Foods Selection"
          logoText="Home Made Frozen Foods"
          copyrightText="© 2025 Home Made Frozen Foods. All rights reserved."
          columns={[
            {
              title: "Quick Links",              items: [
                { label: "Home", href: "#hero" },
                { label: "Menu", href: "#products" },
                { label: "About", href: "#about" },
                { label: "Contact", href: "#contact" }
              ]
            },
            {
              title: "Contact",              items: [
                { label: "📞 +92 3170538774", href: "tel:+923170538774" },
                { label: "💬 WhatsApp", href: "https://wa.me/923170538774" },
                { label: "Open 24 Hours", href: "#" },
                { label: "Local Delivery Available", href: "#" }
              ]
            },
            {
              title: "Why Us",              items: [
                { label: "Homemade Quality", href: "#about" },
                { label: "Fresh Ingredients", href: "#about" },
                { label: "Hygienic Preparation", href: "#about" },
                { label: "5.0 Rating", href: "#testimonials" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}