"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import HeroSplitTestimonial from '@/components/sections/hero/HeroSplitTestimonial';
import TextAbout from '@/components/sections/about/TextAbout';
import FeatureCardThree from '@/components/sections/feature/featureCardThree/FeatureCardThree';
import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import { ChefHat } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="smallMedium"
      sizing="mediumLarge"
      background="floatingGradient"
      cardStyle="layered-gradient"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Savoria"
          navItems={[
            { name: "Home", id: "hero" },
            { name: "About", id: "about" },
            { name: "Menu", id: "features" },
            { name: "Reviews", id: "testimonial" },
            { name: "Contact", id: "contact" }
          ]}
          button={{ text: "Reserve Table", href: "#contact" }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplitTestimonial
          title="Experience Culinary Excellence"
          description="Discover authentic flavors and impeccable service at our award-winning restaurant. From classic favorites to innovative creations, every dish celebrates the art of fine dining."
          tag="Premium Dining"
          tagIcon={ChefHat}
          tagAnimation="slide-up"
          buttons={[
            { text: "Reserve Now", href: "#contact" },
            { text: "View Menu", href: "#features" }
          ]}
          buttonAnimation="slide-up"
          testimonials={[
            {
              name: "Sarah Mitchell",              handle: "Fine Dining Enthusiast",              testimonial: "The most incredible dining experience I've had in years. Every detail was perfect.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/confused-young-brunette-caucasian-girl-looks-side-isolated-orange-wall-with-copy-space_141793-116930.jpg?_wi=1"
            },
            {
              name: "James Chen",              handle: "Food Critic",              testimonial: "Outstanding cuisine combined with exceptional hospitality. Truly world-class.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/confused-young-brunette-caucasian-girl-looks-side-isolated-orange-wall-with-copy-space_141793-116930.jpg?_wi=2"
            }
          ]}
          imageSrc="http://img.b2bpic.net/free-photo/side-view-table-with-cheese-plate-pate-it_140725-12866.jpg"
          imageAlt="Elegant fine dining restaurant ambiance"
          mediaAnimation="blur-reveal"
          imagePosition="right"
          useInvertedBackground={false}
        />
      </div>

      <div id="about" data-section="about">
        <TextAbout
          tag="Our Story"
          title="Crafted with passion, served with excellence. We believe in celebrating the finest ingredients and time-honored culinary techniques that create unforgettable dining moments."
          useInvertedBackground={false}
          buttons={[
            { text: "Learn More", href: "#features" }
          ]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardThree
          title="Signature Dishes"
          description="Explore our carefully curated menu featuring seasonal specialties and timeless classics"
          tag="Menu"
          tagAnimation="slide-up"
          features={[
            {
              id: "01",              title: "Handmade Pasta",              description: "Delicate ribbons of fresh pasta tossed with truffle cream and wild mushrooms",              imageSrc: "http://img.b2bpic.net/free-photo/pasta-with-tomato-herbs_141793-331.jpg",              imageAlt: "Handmade pasta dish"
            },
            {
              id: "02",              title: "Coastal Catch",              description: "Daily fresh seafood selections, grilled to perfection with seasonal vegetables",              imageSrc: "http://img.b2bpic.net/free-photo/roasted-salmon-cream-garnished-with-sauted-spinach_140725-1414.jpg",              imageAlt: "Fresh seafood platter"
            },
            {
              id: "03",              title: "Artisan Desserts",              description: "Exquisite sweet creations made by our pastry chef, inspired by French techniques",              imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-little-cakes-with-chocolate-bars-strawberries-dark-background-chocolate-cocoa-cake-sweet-tea_140725-115644.jpg",              imageAlt: "Gourmet dessert"
            }
          ]}
          textboxLayout="default"
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          useInvertedBackground={false}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="testimonial" data-section="testimonial">
        <TestimonialCardTwo
          title="Guest Reviews"
          description="Hear from our valued patrons about their unforgettable dining experiences"
          tag="Reviews"
          tagAnimation="slide-up"
          testimonials={[
            {
              id: "1",              name: "David Robertson",              role: "Restaurant Connoisseur",              testimonial: "An absolute gem. The attention to detail in every dish and the warm hospitality made our anniversary dinner truly special.",              imageSrc: "http://img.b2bpic.net/free-photo/confused-young-brunette-caucasian-girl-looks-side-isolated-orange-wall-with-copy-space_141793-116930.jpg?_wi=3",              imageAlt: "David Robertson"
            },
            {
              id: "2",              name: "Emma Thompson",              role: "Event Planner",              testimonial: "We've hosted multiple corporate events here. The team's professionalism and the quality of service is unmatched.",              imageSrc: "http://img.b2bpic.net/free-photo/confused-young-brunette-caucasian-girl-looks-side-isolated-orange-wall-with-copy-space_141793-116930.jpg?_wi=4",              imageAlt: "Emma Thompson"
            },
            {
              id: "3",              name: "Marco Benedetti",              role: "Wine Enthusiast",              testimonial: "Their wine selection is curated beautifully, and the sommelier's recommendations were spot-on. Truly exceptional.",              imageSrc: "http://img.b2bpic.net/free-photo/confused-young-brunette-caucasian-girl-looks-side-isolated-orange-wall-with-copy-space_141793-116930.jpg?_wi=5",              imageAlt: "Marco Benedetti"
            },
            {
              id: "4",              name: "Lisa Nguyen",              role: "Food Blogger",              testimonial: "Every visit is a culinary journey. The seasonal menu keeps us coming back for new discoveries.",              imageSrc: "http://img.b2bpic.net/free-photo/confused-young-brunette-caucasian-girl-looks-side-isolated-orange-wall-with-copy-space_141793-116930.jpg?_wi=6",              imageAlt: "Lisa Nguyen"
            }
          ]}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground={false}
          carouselMode="buttons"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Reserve Your Table"
          description="Experience an evening of culinary excellence. Fill out the form below and our team will confirm your reservation shortly."
          inputs={[
            { name: "name", type: "text", placeholder: "Your Name", required: true },
            { name: "email", type: "email", placeholder: "Email Address", required: true },
            { name: "guests", type: "number", placeholder: "Number of Guests", required: true },
            { name: "date", type: "date", placeholder: "Preferred Date", required: true }
          ]}
          textarea={{ name: "special", placeholder: "Special requests or dietary requirements", rows: 4, required: false }}
          useInvertedBackground={false}
          imageSrc="http://img.b2bpic.net/free-photo/vertical-shot-table-with-elegant-setting-restaurant-evening_181624-24647.jpg"
          imageAlt="Restaurant dining room"
          mediaAnimation="blur-reveal"
          mediaPosition="right"
          buttonText="Reserve Table"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoReveal
          logoText="Savoria"
          leftLink={{ text: "Privacy Policy", href: "#" }}
          rightLink={{ text: "Terms of Service", href: "#" }}
        />
      </div>
    </ThemeProvider>
  );
}
