"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 FeatureCardThree from '@/components/sections/feature/featureCardThree/FeatureCardThree';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import HeroSplitDualMedia from '@/components/sections/hero/HeroSplitDualMedia';
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import PricingCardThree from '@/components/sections/pricing/PricingCardThree';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import SplitAbout from '@/components/sections/about/SplitAbout';
import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen';
import { DollarSign, Gift, Sparkles, Star } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="text-shift"
        defaultTextAnimation="entrance-slide"
        borderRadius="pill"
        contentWidth="medium"
        sizing="largeSmallSizeMediumTitles"
        background="grid"
        cardStyle="soft-shadow"
        primaryButtonStyle="gradient"
        secondaryButtonStyle="layered"
        headingFontWeight="medium"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleFullscreen
      navItems={[
        {
          name: "Home",          id: "#hero"},
        {
          name: "Menu",          id: "#products"},
        {
          name: "About Us",          id: "#about"},
        {
          name: "Testimonials",          id: "#testimonials"},
        {
          name: "Contact",          id: "#contact"},
      ]}
      logoSrc="http://img.b2bpic.net/free-vector/restaurant-logo-collection_23-2147756395.jpg"
      logoAlt="La Nieve Pizzeria Logo"
      brandName="La Nieve Pizzeria"
      button={{
        text: "Order Now",        href: "#products"}}
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroSplitDualMedia
      background={{
        variant: "plain"}}
      title="Authentic Argentine Pizza, Delivered Fresh"
      description="Award-winning pizzeria with 11,000 five-star reviews. Order online now for dine-in, takeout, or delivery."
      tag="Award-winning Pizzeria"
      tagIcon={Star}
      tagAnimation="slide-up"
      buttons={[
        {
          text: "Order Now",          href: "#products"},
      ]}
      buttonAnimation="slide-up"
      mediaItems={[
        {
          imageSrc: "http://img.b2bpic.net/free-photo/tasty-halloween-pizza-slices-with-cutlery-frame_23-2148276246.jpg",          imageAlt: "Delicious fresh pizza"},
        {
          imageSrc: "http://img.b2bpic.net/free-photo/flat-lay-pizza-with-vegetables_23-2148567129.jpg",          imageAlt: "Argentine pizza and empanadas"}
      ]}
      mediaAnimation="opacity"
      rating={4.4}
      ratingText="Based on 11,685 reviews"
    />
  </div>

  <div id="about" data-section="about">
      <SplitAbout
      textboxLayout="default"
      useInvertedBackground={false}
      title="Our Passion for Authentic Flavor"
      description="At La Nieve, we've perfected the art of Argentine pizza and empanadas for years. Our secret lies in traditional recipes, premium ingredients, and a dedication to fresh, homemade taste that brings Mar del Plata a true culinary delight. Every dish is crafted with love and passion."
      tag="Our Story"
      bulletPoints={[
        {
          title: "Heritage Recipes",          description: "We honor generations of Argentine culinary traditions."},
        {
          title: "Fresh Ingredients",          description: "Only the finest local produce and cheeses make it into our kitchen."},
        {
          title: "Handcrafted Daily",          description: "Every pizza and empanada is prepared from scratch, daily."},
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/front-view-woman-breaking-egg_23-2149452225.jpg"
      imageAlt="Chef preparing pizza dough"
      mediaAnimation="opacity"
    />
  </div>

  <div id="features" data-section="features">
      <FeatureCardThree
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      features={[
        {
          title: "Lightning-Fast Service",          description: "Get your order hot and fresh, whether it's dine-in, takeout, or speedy delivery.",          imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-people-kitchen_23-2148903559.jpg",          imageAlt: "Fast delivery scooter"},
        {
          title: "Unforgettable Flavors",          description: "Savor the rich, authentic taste of Argentina in every bite, crafted with passion.",          imageSrc: "http://img.b2bpic.net/free-photo/delicious-lasagna-with-melted-cheese_23-2151950554.jpg",          imageAlt: "Fresh pizza ingredients"},
        {
          title: "Effortless Online Ordering",          description: "Browse our menu and place your order with ease through our user-friendly website.",          imageSrc: "http://img.b2bpic.net/free-photo/close-up-food-lover-taking-pictures-meal_23-2149286427.jpg",          imageAlt: "Mobile phone online ordering"},
      ]}
      title="Why Choose La Nieve?"
      description="Experience convenience, quality, and authentic flavors that keep our customers coming back for more."
      tag="Our Advantages"
    />
  </div>

  <div id="products" data-section="products">
      <ProductCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      products={[
        {
          id: "muzzarella",          name: "Muzzarella",          price: "ARS 3,500",          imageSrc: "http://img.b2bpic.net/free-photo/close-up-delicious-pizza_23-2150852213.jpg",          imageAlt: "Classic Mozzarella Pizza"},
        {
          id: "fugazzeta",          name: "Fugazzeta",          price: "ARS 3,800",          imageSrc: "http://img.b2bpic.net/free-photo/pizzas-with-chopped-sausages-meat-onions-mushrooms-green-pepper_114579-4463.jpg",          imageAlt: "Fugazzeta Pizza with Onion"},
        {
          id: "calabresa",          name: "Calabresa",          price: "ARS 4,200",          imageSrc: "http://img.b2bpic.net/free-photo/close-up-melted-cheese-pizza_23-2149286885.jpg",          imageAlt: "Calabresa Pizza with Salami"},
        {
          id: "napolitana",          name: "Napolitana",          price: "ARS 3,700",          imageSrc: "http://img.b2bpic.net/free-photo/high-angle-delicious-pizza-wooden-table_23-2148305638.jpg",          imageAlt: "Napolitana Pizza with Tomato & Garlic"},
        {
          id: "empanada-meat",          name: "Empanada de Carne",          price: "ARS 600",          imageSrc: "http://img.b2bpic.net/free-photo/colorful-tasty-hummus-with-ingredients_23-2149401978.jpg",          imageAlt: "Traditional Meat Empanada"},
        {
          id: "empanada-cheese",          name: "Empanada de Queso y Cebolla",          price: "ARS 650",          imageSrc: "http://img.b2bpic.net/free-photo/top-view-homemade-bakery-plate-wooden-table_176474-3375.jpg",          imageAlt: "Cheese and Onion Empanada"},
      ]}
      title="Our Signature Menu"
      description="Indulge in our selection of classic Argentine pizzas and savory empanadas, made with the finest ingredients."
      tag="Delicious Choices"
    />
  </div>

  <div id="pricing" data-section="pricing">
      <PricingCardThree
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      plans={[
        {
          id: "family-pizza-pack",          name: "Family Pizza Pack",          price: "ARS 8,500",          badge: "Popular",          badgeIcon: Sparkles,
          features: [
            "2 Large Pizzas (choose any)",            "4 Empanadas (mixed)",            "1 Large Soda"],
          buttons: [
            {
              text: "Order Family Pack",              href: "#"},
          ],
        },
        {
          id: "empanada-dozen",          name: "Dozen Empanadas",          price: "ARS 6,000",          badge: "Best Value",          badgeIcon: DollarSign,
          features: [
            "12 Mixed Empanadas",            "Perfect for sharing",            "Quick & easy snack"],
          buttons: [
            {
              text: "Order Dozen",              href: "#"},
          ],
        },
        {
          id: "party-combo",          name: "Party Combo",          price: "ARS 15,000",          badge: "Big Savings",          badgeIcon: Gift,
          features: [
            "4 Large Pizzas",            "12 Mixed Empanadas",            "2 Large Sodas",            "Feeds 8-10 people"],
          buttons: [
            {
              text: "Request Quote",              href: "#"},
          ],
        },
      ]}
      title="Catering & Family Packs"
      description="Planning a gathering or a family meal? Our special packs offer great value and variety for any occasion."
      tag="Special Offers"
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardThirteen
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      testimonials={[
        {
          id: "1",          name: "Sofia G.",          handle: "@sofiaeatsarg",          testimonial: "La Nieve has the best fugazzeta in Mar del Plata! The crust is perfect, and the onions are caramelized to perfection. A must-try!",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/front-view-friends-eating-pizza-outdoors_23-2149872431.jpg",          imageAlt: "Customer Sofia G."},
        {
          id: "2",          name: "Martín P.",          handle: "@martinreviews",          testimonial: "I've been coming here for years, and the quality never drops. Their muzzarella pizza is simple perfection. Fast delivery too!",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/blond-man-happy-expression_1194-2903.jpg",          imageAlt: "Customer Martín P."},
        {
          id: "3",          name: "Lucía F.",          handle: "@luciafoodie",          testimonial: "The empanadas are out of this world! Especially the meat ones. Every bite takes me back to my grandmother's kitchen. Highly recommend.",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/group-friends-resting-pub-eating-drinking-food-table-friendship_1268-17788.jpg",          imageAlt: "Customer Lucía F."},
        {
          id: "4",          name: "Diego R.",          handle: "@diegopizzafan",          testimonial: "Consistent 5-star quality! Their Napolitana is incredible, and the online ordering process is so smooth. My go-to for pizza nights.",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/friends-eating-pizza-home-together_23-2150419411.jpg",          imageAlt: "Customer Diego R."},
        {
          id: "5",          name: "Elena C.",          handle: "@elenavisitsmdq",          testimonial: "Visiting Mar del Plata and found this gem! The staff is so friendly, and the pizza tastes truly authentic. Will definitely be back!",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/side-view-woman-working-service-industry_23-2150722794.jpg",          imageAlt: "Customer Elena C."},
      ]}
      showRating={true}
      title="What Our Customers Say"
      description="With over 11,000 five-star reviews, our passion for pizza speaks for itself. Hear directly from those who love La Nieve!"
      tag="Rave Reviews"
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqSplitText
      useInvertedBackground={false}
      faqs={[
        {
          id: "faq-1",          title: "What are your opening hours?",          content: "We are open Monday to Sunday from 12 PM to 11 PM for dine-in, takeout, and delivery. Hours may vary on public holidays."},
        {
          id: "faq-2",          title: "Do you offer vegetarian options?",          content: "Yes, we have several vegetarian pizza and empanada options, including our classic Muzzarella pizza and cheese & onion empanadas."},
        {
          id: "faq-3",          title: "What payment methods do you accept?",          content: "We accept cash, debit cards, and major credit cards (Visa, MasterCard). Online orders can be paid securely through our platform."},
        {
          id: "faq-4",          title: "How long does delivery take?",          content: "Delivery times typically range from 30 to 45 minutes, depending on your location in Mar del Plata and current demand. You'll receive an estimated time upon ordering."},
      ]}
      sideTitle="Got Questions?"
      sideDescription="Find answers to the most common questions about La Nieve's menu, ordering, and delivery."
      faqsAnimation="slide-up"
      textPosition="left"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactText
      useInvertedBackground={false}
      background={{
        variant: "plain"}}
      text="Visit Us or Order Now! \n\n📍 Av. Libertad 1234, Mar del Plata \n📞 +54 9 223 555-0123 \n✉️ info@lanievepizzeria.com \n\nWe look forward to serving you the best pizza in town!"
      buttons={[
        {
          text: "View on Map",          href: "https://www.google.com/maps/search/La+Nieve+pizzeria+Mar+del+Plata"},
        {
          text: "Call Us",          href: "tel:+5492235550123"},
      ]}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterMedia
      imageSrc="http://img.b2bpic.net/free-photo/people-enjoying-traditional-japanese-food_23-2148759579.jpg"
      imageAlt="Pizzeria exterior at night"
      logoSrc="http://img.b2bpic.net/free-photo/april-fools-day-still-life-with-paper-pizza_23-2151358354.jpg"
      logoAlt="La Nieve Pizzeria Logo"
      logoText="La Nieve Pizzeria"
      columns={[
        {
          title: "Menú",          items: [
            {
              label: "Pizzas",              href: "#products"},
            {
              label: "Empanadas",              href: "#products"},
            {
              label: "Combos Familiares",              href: "#pricing"},
          ],
        },
        {
          title: "Nosotros",          items: [
            {
              label: "Nuestra Historia",              href: "#about"},
            {
              label: "Opiniones",              href: "#testimonials"},
          ],
        },
        {
          title: "Soporte",          items: [
            {
              label: "Preguntas Frecuentes",              href: "#faq"},
            {
              label: "Contáctanos",              href: "#contact"},
            {
              label: "Política de Privacidad",              href: "#"},
          ],
        },
      ]}
      copyrightText="© 2024 La Nieve Pizzeria. Todos los derechos reservados."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
