"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FeatureCardEight from '@/components/sections/feature/FeatureCardEight';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import HeroSplitTestimonial from '@/components/sections/hero/HeroSplitTestimonial';
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import SplitAbout from '@/components/sections/about/SplitAbout';
import TestimonialCardSixteen from '@/components/sections/testimonial/TestimonialCardSixteen';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="icon-arrow"
        defaultTextAnimation="entrance-slide"
        borderRadius="pill"
        contentWidth="medium"
        sizing="largeSizeMediumTitles"
        background="fluid"
        cardStyle="glass-depth"
        primaryButtonStyle="gradient"
        secondaryButtonStyle="solid"
        headingFontWeight="extrabold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleApple
      navItems={[
        { name: "About", id: "about" },
        { name: "Specialty", id: "features" },
        { name: "Menu", id: "products" },
        { name: "Contact", id: "contact" }
      ]}
      brandName="Chef Portfolio"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroSplitTestimonial
      background={{ variant: "gradient-bars" }}
      title="Exquisite Culinary Experiences"
      description="Crafting unforgettable dining moments through seasonal inspiration and artistic precision."
      testimonials={[
        { name: "Julia C.", handle: "@foodie", testimonial: "A master of flavor profiles.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/delicious-eggplant-dish-arrangement_23-2150410423.jpg", imageAlt: "professional chef presenting dish" },
        { name: "Mark D.", handle: "@critic", testimonial: "The best meal of my life.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-young-professional-male-chef-with-his-prepared-dish_23-2147863802.jpg", imageAlt: "professional chef presenting dish" },
        { name: "Anna S.", handle: "@taster", testimonial: "Exquisite attention to detail.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/wooden-plate-with-vegetables_23-2147694145.jpg", imageAlt: "professional chef presenting dish" },
        { name: "Paul L.", handle: "@guest", testimonial: "Truly a culinary artist.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/top-view-red-nougat-sliced-with-nuts-fresh-red-strawberries-white-surface_140725-115409.jpg", imageAlt: "professional chef presenting dish" },
        { name: "Sarah P.", handle: "@foodlover", testimonial: "Incredible artistry and taste.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/lifestyle-people-learning-make-sushi_23-2149865314.jpg", imageAlt: "professional chef presenting dish" }
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/delicious-eggplant-dish-arrangement_23-2150410423.jpg"
      imageAlt="professional chef presenting dish"
      mediaAnimation="slide-up"
      avatars={[
        { src: "http://img.b2bpic.net/free-photo/woman-eating-vegan-chia-pudding_53876-70993.jpg", alt: "Woman eating a vegan chia pudding" },
        { src: "http://img.b2bpic.net/free-photo/dessert-glass-cup-served-with-tea_140725-8402.jpg", alt: "Dessert in a glass cup served with tea" },
        { src: "http://img.b2bpic.net/free-photo/senior-man-serving-wife-while-celebrating-their-relationship-with-tasty-wine-elderly-old-couple-talking-sitting-table-kitchen-enjoying-meal-celebrating-their-anniversary_482257-8811.jpg", alt: "Senior man serving wife" },
        { src: "http://img.b2bpic.net/free-photo/elegant-healthy-food-composition-with-fish_23-2147992823.jpg", alt: "Elegant healthy food composition" },
        { src: "http://img.b2bpic.net/free-photo/woman-working-as-professional-chef_23-2151864176.jpg", alt: "Woman working as a professional chef" }
      ]}
      marqueeItems={[
        { type: "text", text: "Michelin Star Trained" },
        { type: "text", text: "Sustainable Sourcing" },
        { type: "text", text: "Event Catering" },
        { type: "text", text: "Private Dining" },
        { type: "text", text: "Gourmet Craft" }
      ]}
    />
  </div>

  <div id="about" data-section="about">
      <SplitAbout
      textboxLayout="split"
      useInvertedBackground={false}
      title="My Culinary Philosophy"
      description="With over 15 years in Michelin-starred kitchens, I blend tradition with modern techniques to create harmony on a plate."
      bulletPoints={[
        { title: "Farm-to-Table", description: "Sourcing only the best local ingredients." },
        { title: "Modern Fusion", description: "Integrating global flavors seamlessly." },
        { title: "Artisan Craft", description: "Hand-made techniques for every dish." }
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/portrait-smiling-young-professional-male-chef-with-his-prepared-dish_23-2147863802.jpg"
      imageAlt="chef portrait professional"
      mediaAnimation="blur-reveal"
    />
  </div>

  <div id="features" data-section="features">
      <FeatureCardEight
      textboxLayout="default"
      useInvertedBackground={true}
      features={[
        { title: "Fresh Ingredients", description: "Strict seasonal selection process.", imageSrc: "http://img.b2bpic.net/free-photo/wooden-plate-with-vegetables_23-2147694145.jpg", imageAlt: "farm to table ingredients" },
        { title: "Visual Plating", description: "Food as an art form.", imageSrc: "http://img.b2bpic.net/free-photo/top-view-red-nougat-sliced-with-nuts-fresh-red-strawberries-white-surface_140725-115409.jpg", imageAlt: "plated gourmet dessert" },
        { title: "Kitchen Teamwork", description: "Coordinated precision in execution.", imageSrc: "http://img.b2bpic.net/free-photo/lifestyle-people-learning-make-sushi_23-2149865314.jpg", imageAlt: "masterchef preparing meal" }
      ]}
      title="My Specialties"
      description="Why my approach delivers unparalleled flavor experiences."
    />
  </div>

  <div id="products" data-section="products">
      <ProductCardThree
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      products={[
        { id: "p1", name: "Sea Scallop Carpaccio", price: "$28", imageSrc: "http://img.b2bpic.net/free-photo/creative-assortment-delicious-food_23-2148949020.jpg", imageAlt: "gourmet appetizer plate" },
        { id: "p2", name: "Sous-Vide Wagyu", price: "$85", imageSrc: "http://img.b2bpic.net/free-photo/beef-salad-with-avocado-tomato-lettuce-carrot_140725-1487.jpg", imageAlt: "artisan main course" },
        { id: "p3", name: "Lobster Consommé", price: "$42", imageSrc: "http://img.b2bpic.net/free-photo/vegetable-salad-with-fried-shrimps_140725-44339.jpg", imageAlt: "gourmet seafood plate" },
        { id: "p4", name: "Deconstructed Tiramisu", price: "$18", imageSrc: "http://img.b2bpic.net/free-photo/mini-ethnic-sculptures-embedded-frames_114579-12096.jpg", imageAlt: "artisan dessert creation" },
        { id: "p5", name: "Forest Mushrooms", price: "$22", imageSrc: "http://img.b2bpic.net/free-photo/vertical-shot-dish-with-shrimp-white-plate_181624-10332.jpg", imageAlt: "seasonal vegetable garnish" },
        { id: "p6", name: "Roasted Duck Breast", price: "$64", imageSrc: "http://img.b2bpic.net/free-photo/gourmet-seared-duck-breast-with-roasted-vegetables-rich-sauce_84443-72273.jpg", imageAlt: "premium meat dish" }
      ]}
      title="Signature Menu Items"
      description="The curated essence of my kitchen."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardSixteen
      textboxLayout="split"
      useInvertedBackground={true}
      animationType="blur-reveal"
      testimonials={[
        { id: "t1", name: "Alice M.", role: "Food Critic", company: "Fine Dine Magazine", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/portrait-waitress-standing-counter_1170-668.jpg" },
        { id: "t2", name: "Bob B.", role: "Entrepreneur", company: "Tech Innovations", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/adults-enjoying-mexican-food_23-2149663852.jpg" },
        { id: "t3", name: "Clara V.", role: "Gourmet", company: "Gastronomy Blog", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-couple-having-lunch-luxury-restaurant_23-2150598413.jpg" },
        { id: "t4", name: "David W.", role: "Architect", company: "Design House", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/happy-woman-her-boyfriend-holding-hands-while-toasting-with-champagne-while-having-dinner-dining-table_637285-3596.jpg" },
        { id: "t5", name: "Elena R.", role: "Art Dealer", company: "Gallery 5", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/guy-with-long-hair-dressed-fashionable-denim-jacket-black-hat-cafe_273609-4186.jpg" }
      ]}
      kpiItems={[
        { value: "20+", label: "Years Experience" },
        { value: "1000+", label: "Plates Crafted" },
        { value: "5/5", label: "Star Rating" }
      ]}
      title="Diner Feedback"
      description="Hear from guests who have experienced my kitchen."
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactCTA
      useInvertedBackground={false}
      background={{ variant: "sparkles-gradient" }}
      tag="Booking"
      title="Ready for your event?"
      description="Book a private dining consultation to customize your culinary journey."
      buttons={[{ text: "Get in Touch", href: "#" }]}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterMedia
      imageSrc="http://img.b2bpic.net/free-photo/professional-chef-preparing-food-kitchen_23-2149727957.jpg"
      logoText="Chef Portfolio"
      columns={[
        {
          title: "Navigation",          items: [
            { label: "About", href: "#about" },
            { label: "Specialty", href: "#features" },
            { label: "Menu", href: "#products" }
          ]
        },
        {
          title: "Legal",          items: [
            { label: "Privacy Policy", href: "#" },
            { label: "Terms of Service", href: "#" }
          ]
        }
      ]}
      imageAlt="professional chef presenting dish"
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
