"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import AboutMetric from '@/components/sections/about/AboutMetric';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FaqSplitText from '@/components/sections/faq/FaqSplitText';
import FeatureCardTwelve from '@/components/sections/feature/FeatureCardTwelve';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import HeroBillboardScroll from '@/components/sections/hero/HeroBillboardScroll';
import MetricCardFourteen from '@/components/sections/metrics/MetricCardFourteen';
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';
import { Award, Flame, Star, Utensils, MapPin, Phone, Clock } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="shift-hover"
        defaultTextAnimation="entrance-slide"
        borderRadius="soft"
        contentWidth="mediumSmall"
        sizing="mediumSizeLargeTitles"
        background="noise"
        cardStyle="glass-depth"
        primaryButtonStyle="primary-glow"
        secondaryButtonStyle="layered"
        headingFontWeight="extrabold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarLayoutFloatingOverlay
      navItems={[
        { name: "Home", id: "hero" },
        { name: "About", id: "about" },
        { name: "Menu", id: "menu" },
        { name: "Contact", id: "contact" },
      ]}
      brandName="Tandoori Flame"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroBillboardScroll
      background={{ variant: "gradient-bars" }}
      title="Experience Authentic Flavors of North India"
      description="Welcome to Tandoori Flame in Garland, TX. We serve tradition in every bite, from sizzling clay oven specialties to rich, aromatic curries."
      buttons={[
        { text: "View Menu", href: "#menu" },
        { text: "Book Table", href: "#contact" },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/top-view-chicken-sauce-fork-knife-chicken-with-lemon-herbs-spices-bowls_140725-72399.jpg"
      imageAlt="Tandoori dishes and authentic North Indian cuisine"
    />
  </div>

  <div id="about" data-section="about">
      <AboutMetric
      useInvertedBackground={false}
      title="Our Culinary Journey"
      metrics={[
        { icon: Flame, label: "Tandoor Masters", value: "15+" },
        { icon: Award, label: "Original Recipes", value: "80+" },
        { icon: Star, label: "Community Reviews", value: "4.9/5" },
      ]}
      metricsAnimation="slide-up"
    />
  </div>

  <div id="features" data-section="features">
      <FeatureCardTwelve
      animationType="slide-up"
      textboxLayout="split"
      useInvertedBackground={true}
      features={[
        { id: "f1", label: "Ingredients", title: "Farm-to-Table Fresh", items: ["Sourced locally", "Organic spices", "No preservatives"] },
        { id: "f2", label: "Process", title: "Authentic Clay Oven", items: ["Charcoal-fired", "Slow-cooked", "Traditional techniques"] },
        { id: "f3", label: "Experience", title: "Family Hospitality", items: ["Warm ambiance", "Dedicated service", "Cultural heritage"] },
      ]}
      title="The Tandoori Difference"
      description="Crafting memorable dining experiences through tradition, quality ingredients, and unmatched hospitality."
    />
  </div>

  <div id="menu" data-section="menu">
      <ProductCardFour
      animationType="slide-up"
      textboxLayout="split-description"
      gridVariant="four-items-2x2-equal-grid"
      useInvertedBackground={false}
      products={[
        { id: "p1", name: "Tandoori Chicken Platter", price: "$19.99", variant: "Classic spice mix", imageSrc: "http://img.b2bpic.net/free-photo/chicken-barbecue-lavash-with-herbal-salad-barbecue-sauce_114579-3645.jpg" },
        { id: "p2", name: "Signature Butter Chicken", price: "$18.99", variant: "Mild creamy curry", imageSrc: "http://img.b2bpic.net/free-photo/pre-prepared-food-showcasing-ready-eat-delicious-meals-go_23-2151246089.jpg" },
        { id: "p3", name: "Homemade Garlic Naan", price: "$4.99", variant: "Freshly baked", imageSrc: "http://img.b2bpic.net/free-photo/dishes-spices-around-pot-with-pasta-lime_23-2147894853.jpg" },
        { id: "p4", name: "Paneer Tikka Masala", price: "$16.99", variant: "Vegetarian favorite", imageSrc: "http://img.b2bpic.net/free-photo/boiled-fish-with-red-green-pepper-bowl_140725-3926.jpg" },
      ]}
      title="Chef's Specials"
      description="Explore our house-made specialties that define authentic North Indian cooking."
    />
  </div>

  <div id="metrics" data-section="metrics">
      <MetricCardFourteen
      useInvertedBackground={true}
      title="Restaurant Highlights"
      tag="By the Numbers"
      metrics={[
        { id: "m1", value: "10k+", description: "Satisfied Diners" },
        { id: "m2", value: "48hr", description: "Slow-Marination Time" },
        { id: "m3", value: "20+", description: "Spice Variations" },
      ]}
      metricsAnimation="slide-up"
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardTwelve
      useInvertedBackground={false}
      testimonials={[
        { id: "t1", name: "Elena G.", imageSrc: "http://img.b2bpic.net/free-photo/adults-enjoying-mexican-food_23-2149663832.jpg" },
        { id: "t2", name: "Marcus T.", imageSrc: "http://img.b2bpic.net/free-photo/sheerful-business-african-american-lady-with-afro-hair-wear-white-blouse-sitting-table-work-with-laptop-cafe-eat-pizza-drink-pink-milkshake-cocktail_627829-1045.jpg" },
        { id: "t3", name: "Anita S.", imageSrc: "http://img.b2bpic.net/free-photo/front-view-friends-with-fresh-cheese_23-2150267667.jpg" },
      ]}
      cardTitle="Guest Testimonials"
      cardTag="Loved by Foodies"
      cardAnimation="slide-up"
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqSplitText
      useInvertedBackground={true}
      faqs={[
        { id: "q1", title: "What are your hours?", content: "Open daily from 11:00 AM to 10:00 PM (11:00 PM on weekends)." },
        { id: "q2", title: "Do you offer catering?", content: "Yes! We specialize in catering for weddings, corporate lunches, and family gatherings." },
        { id: "q3", title: "Is there parking available?", content: "Yes, we provide complimentary parking space for our patrons in the Shiloh Plaza parking lot." },
      ]}
      sideTitle="Diner FAQ"
      sideDescription="Answers to common questions about dining with us."
      faqsAnimation="slide-up"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplit
      useInvertedBackground={false}
      background={{ variant: "gradient-bars" }}
      tag="Visit Us"
      title="Find Tandoori Flame"
      description="6850 N Shiloh Rd, Garland, TX. Visit us at our location in Garland, TX 75044. Book your table or inquire about catering today!"
      buttonText="Reserve Now"
      imageSrc="http://img.b2bpic.net/free-photo/chicken-sticks-bowl-tomato-soup_114579-2018.jpg"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterLogoEmphasis
      columns={[
        { items: [{ label: "Home", href: "#hero" }, { label: "Our Menu", href: "#menu" }, { label: "Locations", href: "#contact" }] },
        { items: [{ label: "Catering", href: "#contact" }, { label: "Careers", href: "#" }, { label: "Terms", href: "#" }] },
      ]}
      logoText="Tandoori Flame"
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
