"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import AboutMetric from '@/components/sections/about/AboutMetric';
import ContactText from '@/components/sections/contact/ContactText';
import FaqDouble from '@/components/sections/faq/FaqDouble';
import FeatureCardTwentyEight from '@/components/sections/feature/FeatureCardTwentyEight';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import HeroSplitTestimonial from '@/components/sections/hero/HeroSplitTestimonial';
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import PricingCardTwo from '@/components/sections/pricing/PricingCardTwo';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import TestimonialCardSixteen from '@/components/sections/testimonial/TestimonialCardSixteen';
import { Award, Film, Flame, Heart, Sparkles, Star } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="text-stagger"
        defaultTextAnimation="entrance-slide"
        borderRadius="pill"
        contentWidth="medium"
        sizing="mediumSizeLargeTitles"
        background="fluid"
        cardStyle="inset"
        primaryButtonStyle="primary-glow"
        secondaryButtonStyle="layered"
        headingFontWeight="bold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleApple
      navItems={[
        {
          name: "Home",          id: "#home"},
        {
          name: "About",          id: "#about"},
        {
          name: "Services",          id: "#services"},
        {
          name: "Menu",          id: "#menu"},
        {
          name: "Catering",          id: "#catering"},
        {
          name: "Testimonials",          id: "#testimonials"},
        {
          name: "FAQ",          id: "#faq"},
        {
          name: "Contact",          id: "#contact"},
      ]}
      brandName="Josettan's Cinema Co."
    />
  </div>

  <div id="home" data-section="home">
      <HeroSplitTestimonial
      useInvertedBackground={false}
      background={{
        variant: "radial-gradient"}}
      title="Experience Cinematic Flavors at Josettan's"
      description="Where the magic of cinema meets exquisite culinary artistry. Indulge in our restaurant's unique dishes or elevate your events with our premium catering services."
      testimonials={[
        {
          name: "Anu Joseph",          handle: "@anujoseph_foodie",          testimonial: "Josettan's offers an unparalleled dining experience! The cinema theme is charming, and the food is simply divine. Highly recommend the chef's special!",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-friends-chatting-table_23-2149213369.jpg",          imageAlt: "Anu Joseph"},
        {
          name: "Renjith Kumar",          handle: "@renjith_events",          testimonial: "Our corporate event catering by Josettan's was a massive hit. Professional service, stunning presentation, and flavors that delighted everyone. Flawless!",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/cheerful-man-telling-you-smile_23-2148612963.jpg",          imageAlt: "Renjith Kumar"},
        {
          name: "Priya Sharma",          handle: "@priya_sharma",          testimonial: "The ambiance is fantastic, perfect for a special evening. Every dish felt like a star, and the staff were incredibly attentive. A must-visit!",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-woman-with-food_23-2149250084.jpg",          imageAlt: "Priya Sharma"},
        {
          name: "Vijay Menon",          handle: "@vijay_eats",          testimonial: "From casual dinners to grand celebrations, Josettan's delivers! Their passion for food and film shines through in every bite. An unforgettable culinary journey.",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/caucasian-black-american-men-having-business-meeting-restaurant_613910-8942.jpg",          imageAlt: "Vijay Menon"},
        {
          name: "Sara Mathew",          handle: "@saramathew_reviews",          testimonial: "Absolutely loved the creative menu and the subtle nods to classic cinema. Josettan's has truly mastered the art of themed fine dining.",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/young-female-red-polka-dot-dress-posing-yellow_140725-45051.jpg",          imageAlt: "Sara Mathew"},
      ]}
      buttons={[
        {
          text: "Explore Our Menu",          href: "#menu"},
        {
          text: "Book Catering",          href: "#contact"},
      ]}
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/blonde-artist-holds-palette-brushes-looks-positive-dedicated_114579-77101.jpg",          alt: "Customer Anu Joseph"},
        {
          src: "http://img.b2bpic.net/free-photo/old-lady-wearing-chef-apron-bonete-home-kitchen-with-flour-table-baking-looking-camera-smile-retired-elderly-baker-preparing-bakery-ingredients-cook-homemade-bread-cakes_482257-14387.jpg",          alt: "Customer Renjith Kumar"},
        {
          src: "http://img.b2bpic.net/free-photo/young-working-woman-office-clothing-smiling-looking-camera-standing-white-background-professional-women-concept_176420-52120.jpg",          alt: "Customer Priya Sharma"},
        {
          src: "http://img.b2bpic.net/free-photo/studio-portrait-successful-senior-businessman_1262-2162.jpg",          alt: "Customer Vijay Menon"},
        {
          src: "http://img.b2bpic.net/free-photo/gorgeous-attractive-curly-young-woman-elegant-white-blouse_176532-7196.jpg",          alt: "Customer Rachel Green"},
      ]}
      avatarText="Join our growing community of food & film lovers!"
      imageSrc="http://img.b2bpic.net/free-photo/happy-women-sitting-table-full-shot_23-2148975056.jpg"
      imageAlt="Elegant cinema-themed restaurant interior"
      mediaAnimation="slide-up"
      marqueeItems={[
        {
          type: "text",          text: "Gourmet Dining Experiences"},
        {
          type: "text-icon",          text: "Red Carpet Ready Catering",          icon: Sparkles,
        },
        {
          type: "text",          text: "Exceptional Event Services"},
        {
          type: "text-icon",          text: "Inspired by Cinema",          icon: Film,
        },
        {
          type: "text",          text: "Unforgettable Flavors"},
      ]}
    />
  </div>

  <div id="about" data-section="about">
      <AboutMetric
      useInvertedBackground={true}
      title="About Josettan's: A Culinary Masterpiece"
      metrics={[
        {
          icon: Award,
          label: "Years of Excellence",          value: "15+"},
        {
          icon: Flame,
          label: "Signature Dishes",          value: "50+"},
        {
          icon: Heart,
          label: "Happy Customers",          value: "10K+"},
      ]}
      metricsAnimation="slide-up"
    />
  </div>

  <div id="services" data-section="services">
      <FeatureCardTwentyEight
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      features={[
        {
          id: "restaurant-dining",          title: "Gourmet Restaurant Dining",          subtitle: "Immerse yourself in a fine dining experience with a menu inspired by global cuisines and cinematic tales.",          category: "Restaurant",          value: "Daily Specials"},
        {
          id: "event-catering",          title: "Premium Event Catering",          subtitle: "From intimate gatherings to grand celebrations, our catering team crafts bespoke menus and unforgettable culinary journeys.",          category: "Catering",          value: "Customizable"},
        {
          id: "themed-parties",          title: "Cinema-Themed Private Parties",          subtitle: "Host your next event in our exclusive private rooms, complete with cinematic decor and personalized dining.",          category: "Events",          value: "Memorable"},
      ]}
      title="Our Signature Culinary & Event Services"
      description="At Josettan's, we are dedicated to providing exceptional food and service, whether you're dining in or celebrating a special occasion."
    />
  </div>

  <div id="menu" data-section="menu">
      <ProductCardThree
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="four-items-2x2-equal-grid"
      useInvertedBackground={true}
      products={[
        {
          id: "signature-biryani",          name: "Josettan's Signature Biryani",          price: "$22.00",          imageSrc: "http://img.b2bpic.net/free-photo/top-view-raw-pasta-with-rice-tomatoes-dark-surface-pasta-dough-raw_140725-82558.jpg",          imageAlt: "Josettan's Signature Biryani"},
        {
          id: "kerala-fish-curry",          name: "Traditional Kerala Fish Curry",          price: "$18.50",          imageSrc: "http://img.b2bpic.net/free-photo/vegetable-salad-with-cheese-greens_140725-8838.jpg",          imageAlt: "Traditional Kerala Fish Curry"},
        {
          id: "tandoori-chicken",          name: "Sizzling Tandoori Chicken",          price: "$20.00",          imageSrc: "http://img.b2bpic.net/free-photo/thanksgiving-day-delicious-meal-arrangement_23-2149100095.jpg",          imageAlt: "Sizzling Tandoori Chicken"},
        {
          id: "paneer-butter-masala",          name: "Creamy Paneer Butter Masala",          price: "$17.00",          imageSrc: "http://img.b2bpic.net/free-photo/latte-art-coffee-cup_1203-3295.jpg",          imageAlt: "Creamy Paneer Butter Masala"},
        {
          id: "mango-lassi",          name: "Refreshing Mango Lassi",          price: "$7.50",          imageSrc: "http://img.b2bpic.net/free-photo/colorful-delicious-cupcakes-with-frosting_23-2149667643.jpg",          imageAlt: "Refreshing Mango Lassi"},
        {
          id: "gourmet-popcorn",          name: "Gourmet Cinema Popcorn",          price: "$10.00",          imageSrc: "http://img.b2bpic.net/free-photo/top-view-fried-cheese-balls-cutting-board-pencil-female-hand-notepad_140725-142380.jpg",          imageAlt: "Gourmet Cinema Popcorn"},
      ]}
      title="Our Featured Menu Highlights"
      description="A curated selection of our most popular dishes, from authentic regional specialties to international cinematic inspirations."
    />
  </div>

  <div id="catering" data-section="catering">
      <PricingCardTwo
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      plans={[
        {
          id: "silver",          badge: "Popular",          badgeIcon: Sparkles,
          price: "Starting at $35/person",          subtitle: "Ideal for casual gatherings & corporate lunches.",          buttons: [
            {
              text: "Request Quote",              href: "#contact"},
          ],
          features: [
            "Choice of 2 Appetizers",            "Choice of 1 Main Course (Veg/Non-Veg)",            "Choice of 1 Rice/Bread",            "1 Dessert Option",            "Beverage Selection"],
        },
        {
          id: "gold",          badge: "Premium",          badgeIcon: Star,
          price: "Starting at $55/person",          subtitle: "Perfect for weddings, large events & gala dinners.",          buttons: [
            {
              text: "Request Quote",              href: "#contact"},
          ],
          features: [
            "Choice of 3 Appetizers",            "Choice of 2 Main Courses (Veg/Non-Veg)",            "Choice of 2 Rice/Bread",            "2 Dessert Options",            "Premium Beverage Selection",            "On-site Chef Service"],
        },
      ]}
      title="Customized Catering Packages"
      description="Let Josettan's elevate your next event with our flexible and exquisite catering packages, tailored to your specific needs and budget."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardSixteen
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={true}
      testimonials={[
        {
          id: "1",          name: "Sarah Johnson",          role: "CEO",          company: "Event Innovations",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/woman-sitting-table-near-elderly-people_23-2147947984.jpg",          imageAlt: "Sarah Johnson"},
        {
          id: "2",          name: "Michael Chen",          role: "Film Critic",          company: "CinemaScope Blog",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/urban-portrait-young-man-with-orange-hair_23-2149122915.jpg",          imageAlt: "Michael Chen"},
        {
          id: "3",          name: "Emily Rodriguez",          role: "Wedding Planner",          company: "Dream Day Events",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/mexican-food-concept-with-clipboard_23-2147812197.jpg",          imageAlt: "Emily Rodriguez"},
        {
          id: "4",          name: "David Kim",          role: "Corporate Client",          company: "Global Solutions Inc.",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/smiling-business-people-taking-snacks-from-table_1262-1958.jpg",          imageAlt: "David Kim"},
        {
          id: "5",          name: "Jessica Lee",          role: "Local Foodie",          company: "Taste Buds Collective",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/portrait-girl-cinema_23-2148115388.jpg",          imageAlt: "Jessica Lee"},
        {
          id: "6",          name: "Chris Evans",          role: "Movie Enthusiast",          company: "Film Fanatics Club",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/group-friends-eating-restaurant_23-2148395390.jpg",          imageAlt: "Chris Evans"},
      ]}
      kpiItems={[
        {
          value: "99%",          label: "Customer Satisfaction"},
        {
          value: "5/5",          label: "Average Rating"},
        {
          value: "100+",          label: "Successful Events"},
      ]}
      title="Hear From Our Happy Guests"
      description="Discover why Josettan's Cinema Company Restaurant & Caterers is the top choice for an unforgettable culinary experience and exceptional event services."
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqDouble
      textboxLayout="default"
      useInvertedBackground={false}
      faqs={[
        {
          id: "faq-1",          title: "Do you offer vegetarian and vegan options?",          content: "Yes, our menu includes a wide array of delicious vegetarian and vegan dishes. We can also customize options to accommodate specific dietary preferences."},
        {
          id: "faq-2",          title: "Can I host a private event at your restaurant?",          content: "Absolutely! We have dedicated private dining areas perfect for birthdays, anniversaries, corporate events, and other special occasions. Contact us for details and availability."},
        {
          id: "faq-3",          title: "What kind of catering services do you provide?",          content: "We offer full-service catering for various events, including weddings, corporate gatherings, and private parties. Our packages are customizable to fit your event size and culinary preferences."},
        {
          id: "faq-4",          title: "How far in advance should I book catering?",          content: "We recommend booking catering services at least 2-4 weeks in advance for smaller events, and 2-3 months for larger events like weddings, to ensure availability and proper planning."},
        {
          id: "faq-5",          title: "Do you have parking facilities?",          content: "Yes, we offer complimentary parking for our restaurant guests. Valet service is also available during peak hours."},
        {
          id: "faq-6",          title: "Are reservations required for the restaurant?",          content: "While not always required, reservations are highly recommended, especially on weekends and for larger groups, to guarantee your table."},
      ]}
      title="Frequently Asked Questions"
      description="Find quick answers to common questions about our restaurant, catering services, and booking procedures."
      faqsAnimation="slide-up"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactText
      useInvertedBackground={true}
      background={{
        variant: "radial-gradient"}}
      text="Ready to book your table or plan your next event? Contact Josettan's today for an unforgettable culinary journey. Visit us at: Kodungallur - Shornur Rd, near Peringavu, Viyyur, Peringavu, Thrissur, Kerala 680022. Call us: 090614 38882. Opening Times: Friday-Thursday: 7 AM–Midnight (Please note, Tuesday and Wednesday opening times may differ for Eid al-Adha)."
      buttons={[
        {
          text: "Call Us: 090614 38882",          href: "tel:09061438882"},
        {
          text: "Email Us: info@josettans.com",          href: "mailto:info@josettans.com"},
      ]}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterLogoReveal
      logoSrc="http://img.b2bpic.net/free-vector/vintage-label-badge-logo-icon_126523-772.jpg"
      logoAlt="Josettan's Cinema Co. Logo"
      logoText="Josettan's Cinema Co."
      leftLink={{
        text: "Privacy Policy",        href: "#"}}
      rightLink={{
        text: "Terms of Service",        href: "#"}}
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
