"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import HeroCentered from '@/components/sections/hero/HeroCentered';
import TextAbout from '@/components/sections/about/TextAbout';
import FeatureCardTwentyFive from '@/components/sections/feature/FeatureCardTwentyFive';
import PricingCardThree from '@/components/sections/pricing/PricingCardThree';
import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import { Flame, Wine, Crown, Calendar } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-shift"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="compact"
      sizing="largeSizeMediumTitles"
      background="aurora"
      cardStyle="gradient-mesh"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="layered"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Prime Cut Steakhouse"
          navItems={[
            { name: "Menu", id: "menu" },
            { name: "About", id: "about" },
            { name: "Experience", id: "features" },
            { name: "Reservations", id: "pricing" },
            { name: "Reviews", id: "testimonials" }
          ]}
          button={{
            text: "Reserve Now",            href: "#contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroCentered
          title="Experience Premium Beef Excellence"
          description="Savor perfectly aged, hand-selected cuts from our master butchers, prepared by award-winning chefs in an atmosphere of refined elegance."
          avatars={[
            {
              src: "http://img.b2bpic.net/free-photo/steak-with-cheese-vegetables-restaurant_501050-842.jpg",              alt: "Prime beef cuts"
            }
          ]}
          avatarText="Award-Winning Steakhouse Since 2010"
          buttons={[
            { text: "Make a Reservation", href: "#contact" },
            { text: "View Menu", href: "#menu" }
          ]}
          background={{ variant: "downward-rays-static" }}
        />
      </div>

      <div id="about" data-section="about">
        <TextAbout
          tag="Our Story"
          title="Crafting the Finest Beef Dining Experience for Over a Decade"
          useInvertedBackground={false}
          buttons={[
            { text: "Learn More", href: "#features" }
          ]}
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardTwentyFive
          title="Our Signature Offerings"
          description="Discover our curated selection of premium beef cuts and signature preparations"
          tag="Menu Highlights"
          features={[
            {
              title: "Prime Selection",              description: "Hand-selected USDA Prime cuts aged to perfection, ensuring maximum tenderness and flavor development.",              icon: Flame,
              mediaItems: [
                {
                  imageSrc: "http://img.b2bpic.net/free-photo/focused-master-chef-wearing-uniform-cooking-delicious-beef-steak-kitchen-restaurant_613910-18983.jpg",                  imageAlt: "Prime beef preparation"
                },
                {
                  imageSrc: "http://img.b2bpic.net/free-photo/red-gurza-top-view_141793-4514.jpg",                  imageAlt: "Gourmet beef plating"
                }
              ]
            },
            {
              title: "Fine Dining Ambiance",              description: "Elegant atmosphere with world-class wine selection, intimate seating, and impeccable service standards.",              icon: Wine,
              mediaItems: [
                {
                  imageSrc: "http://img.b2bpic.net/free-photo/wine-glasses-table-bokeh-background-bac_23-2148261695.jpg",                  imageAlt: "Restaurant ambiance"
                },
                {
                  imageSrc: "http://img.b2bpic.net/free-photo/front-view-cook-preparing-meal-designing-meal-inside-plate-fry-meat-food-meal_140725-26012.jpg",                  imageAlt: "Fine dining plating"
                }
              ]
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
        />
      </div>

      <div id="pricing" data-section="pricing">
        <PricingCardThree
          title="Our Beef Selection"
          description="Premium cuts priced to reflect quality and preparation"
          tag="Menu Pricing"
          plans={[
            {
              id: "ribeye",              price: "$48",              name: "Ribeye 16oz",              badge: "Most Popular",              badgeIcon: Flame,
              features: [
                "Perfectly marbled cut",                "Hand-aged 28 days",                "Compound butter finish",                "Seasonal vegetables"
              ],
              buttons: [
                { text: "Order Now", href: "#contact" },
                { text: "Learn More", href: "#menu" }
              ]
            },
            {
              id: "filet",              price: "$56",              name: "Filet Mignon 10oz",              features: [
                "Most tender cut",                "Hand-aged 30 days",                "Truffle cream sauce",                "Roasted potatoes"
              ],
              buttons: [
                { text: "Order Now", href: "#contact" },
                { text: "Learn More", href: "#menu" }
              ]
            },
            {
              id: "tomahawk",              price: "$72",              name: "Tomahawk 32oz",              badge: "Premium",              badgeIcon: Crown,
              features: [
                "Luxurious presentation",                "Hand-aged 35 days",                "Bone-in masterpiece",                "Chef's special sides"
              ],
              buttons: [
                { text: "Order Now", href: "#contact" },
                { text: "Learn More", href: "#menu" }
              ]
            }
          ]}
          animationType="scale-rotate"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardThirteen
          title="What Our Guests Say"
          description="Hear from satisfied customers who have experienced our award-winning steakhouse"
          tag="Testimonials"
          testimonials={[
            {
              id: "1",              name: "Michael Rodriguez",              handle: "@m_rodriguez",              testimonial: "Absolutely extraordinary! The ribeye was perfectly cooked, the service impeccable, and the wine pairing was exceptional. This is fine dining at its finest.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              imageAlt: "Michael Rodriguez"
            },
            {
              id: "2",              name: "Jennifer Chen",              handle: "@jen_culinary",              testimonial: "As a food critic, I've visited countless steakhouses. Prime Cut stands above the rest with their commitment to quality and attention to detail.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/casual-smile-street-style-background-spring_1139-777.jpg?_wi=1",              imageAlt: "Jennifer Chen"
            },
            {
              id: "3",              name: "David Thompson",              handle: "@davidmt",              testimonial: "Celebrated my 25th anniversary here. Every moment was perfect—from the ambiance to the dessert. We're already planning our next visit!",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/portrait-elegant-bearded-man-dressed-wool-jacket-bow-tie_613910-15696.jpg",              imageAlt: "David Thompson"
            },
            {
              id: "4",              name: "Sarah Mitchell",              handle: "@sarah_eats",              testimonial: "The filet mignon was melting in my mouth. The staff anticipated every need before I could ask. This is what premium service looks like.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/casual-smile-street-style-background-spring_1139-777.jpg?_wi=2",              imageAlt: "Sarah Mitchell"
            },
            {
              id: "5",              name: "James Wilson",              handle: "@jwilson_dining",              testimonial: "Brought my business partners for an important meeting. The private dining room, excellent steaks, and exceptional service made it unforgettable.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/alone-specialist-handsome-daydreaming-collar_1262-870.jpg",              imageAlt: "James Wilson"
            },
            {
              id: "6",              name: "Elizabeth Harper",              handle: "@liz_gourmet",              testimonial: "Finally found a steakhouse worthy of its reputation. The aged beef, expert preparation, and genuine hospitality make this a must-visit destination.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/portrait-happy-woman-black-jacket-happy-short-haired-girl-dark-suit-widely-sincerely-smiles-isolated-background_197531-18508.jpg",              imageAlt: "Elizabeth Harper"
            }
          ]}
          showRating={true}
          animationType="depth-3d"
          textboxLayout="default"
          useInvertedBackground={true}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Reservations"
          title="Reserve Your Table Today"
          description="Experience an unforgettable evening of premium beef, fine wine, and elegant hospitality. Join us for a celebration of culinary excellence."
          tagIcon={Calendar}
          background={{ variant: "rotated-rays-animated-grid" }}
          useInvertedBackground={false}
          inputPlaceholder="Enter your email"
          buttonText="Reserve"
          termsText="We'll contact you within 24 hours to confirm your reservation. Prefer to call? Reach us at (555) 123-4567."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseCard
          logoText="Prime Cut Steakhouse"
          columns={[
            {
              title: "Restaurant",              items: [
                { label: "Hours", href: "#" },
                { label: "Location", href: "#" },
                { label: "Private Events", href: "#" },
                { label: "Gift Cards", href: "#" }
              ]
            },
            {
              title: "Menu",              items: [
                { label: "Beef Selections", href: "#menu" },
                { label: "Wine List", href: "#" },
                { label: "Appetizers", href: "#" },
                { label: "Desserts", href: "#" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "#about" },
                { label: "Our Chefs", href: "#" },
                { label: "Careers", href: "#" },
                { label: "Blog", href: "#" }
              ]
            },
            {
              title: "Connect",              items: [
                { label: "Instagram", href: "https://instagram.com" },
                { label: "Facebook", href: "https://facebook.com" },
                { label: "Contact", href: "#contact" },
                { label: "Reservations", href: "#contact" }
              ]
            }
          ]}
          copyrightText="© 2025 Prime Cut Steakhouse. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}
