"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
import ParallaxAbout from '@/components/sections/about/ParallaxAbout';
import FeatureCardFourteen from '@/components/sections/feature/FeatureCardFourteen';
import ProductCardFive from '@/components/sections/product/ProductCardFive';
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
import ContactText from '@/components/sections/contact/ContactText';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import { Utensils, ChefHat, Sparkles, Leaf, Star } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="expand-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="soft"
      contentWidth="mediumSmall"
      sizing="mediumLargeSizeMediumTitles"
      background="radialGradient"
      cardStyle="outline"
      primaryButtonStyle="neon-glow-border"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Bogunya"
          navItems={[
            { name: "Home", id: "hero" },
            { name: "About", id: "about" },
            { name: "Menu", id: "products" },
            { name: "Testimonials", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
          button={{
            text: "Reserve Table",
            href: "contact"
          }}
          buttonClassName="font-medium"
          buttonTextClassName="font-semibold"
        />
      </div>
      
      <div id="hero" data-section="hero" style={{ backgroundColor: "#3b82f6" }}>
        <HeroBillboard
          title="Welcome to our restaurant"
          description="Discover exquisite flavors and unforgettable dining moments in an elegant atmosphere. Reserve your table today."
          tag="Fine Dining Experience"
          tagIcon={Utensils}
          buttons={[
            { text: "Reserve Now", href: "contact" },
            { text: "View Menu", href: "products" }
          ]}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767626184121-3pfok692.jpg"
          imageAlt="Elegant Bogunya restaurant dining room"
          frameStyle="card"
          ariaLabel="Welcome to Bogunya restaurant hero section"
          className="w-full"
          containerClassName="max-w-5xl mx-auto"
          titleClassName="text-5xl md:text-6xl font-bold tracking-tight"
          descriptionClassName="text-lg md:text-xl text-opacity-90"
          buttonContainerClassName="gap-4 mt-8"
          buttonClassName="px-8 py-3 font-semibold"
        />
      </div>
      
      <div id="about" data-section="about" style={{ backgroundColor: "#10b981" }}>
        <ParallaxAbout
          title="Culinary Excellence Meets Hospitality"
          description="At Bogunya, we craft every dish with passion and precision. Our chefs blend traditional techniques with modern innovation to create an unforgettable dining experience that celebrates the finest ingredients and flavors."
          tag="Our Story"
          tagIcon={ChefHat}
          buttons={[
            { text: "Learn More", href: "about" }
          ]}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767626184626-x7aw1ffu.jpg"
          imageAlt="Professional chef preparing exquisite dishes at Bogunya"
          ariaLabel="About Bogunya restaurant section"
          className="w-full relative"
          textBoxClassName="text-center max-w-2xl"
          titleClassName="text-5xl md:text-6xl font-bold mb-4"
          descriptionClassName="text-lg text-opacity-80 leading-relaxed"
          buttonContainerClassName="gap-4 mt-8 justify-center flex"
        />
      </div>
      
      <div id="features" data-section="features" style={{ backgroundColor: "#f59e0b" }}>
        <FeatureCardFourteen
          title="Signature Experiences"
          description="Explore our most celebrated dishes, each a masterpiece of flavor and presentation"
          tag="Featured Dishes"
          tagIcon={Sparkles}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          features={[
            {
              id: "1",
              title: "Pan-Seared Foie Gras",
              description: "Luxurious and delicate, paired with fig gastrique and brioche crumble",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767626185270-1i2rb9q0.jpg",
              imageAlt: "Pan-seared foie gras with fig gastrique"
            },
            {
              id: "2",
              title: "Truffle Risotto",
              description: "Creamy arborio rice with black truffle, parmesan, and sage brown butter",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767626185584-2iq6obtk.jpg",
              imageAlt: "Elegant truffle risotto presentation"
            },
            {
              id: "3",
              title: "Herb-Crusted Lamb",
              description: "Perfectly seared lamb loin with rosemary, thyme, and red wine reduction",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767626185951-ztqu0667.jpg",
              imageAlt: "Herb-crusted lamb with sauce"
            },
            {
              id: "4",
              title: "Chocolate Soufflé",
              description: "Light and airy dark chocolate soufflé with vanilla bean ice cream",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767626186371-w8k286pr.jpg",
              imageAlt: "Decadent chocolate soufflé dessert"
            }
          ]}
          ariaLabel="Signature dishes carousel section"
          containerClassName="max-w-7xl mx-auto"
          textBoxTitleClassName="text-4xl md:text-5xl font-bold"
          textBoxDescriptionClassName="text-lg text-opacity-80"
        />
      </div>
      
      <div id="products" data-section="products" style={{ backgroundColor: "#8b5cf6" }}>
        <ProductCardFive
          title="Our Menu"
          description="Handcrafted dishes prepared with the finest seasonal ingredients"
          tag="À la Carte"
          tagIcon={Leaf}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          products={[
            {
              id: "1",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767626186676-atm8sq3l.jpg",
              imageAlt: "Gourmet burger appetizer",
              button: {
                text: "Add to Order",
                href: "contact"
              },
              isFavorited: false
            },
            {
              id: "2",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767626187268-1gq46azi.jpg",
              imageAlt: "Fresh pasta dish",
              button: {
                text: "Add to Order",
                href: "contact"
              },
              isFavorited: false
            },
            {
              id: "3",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767626187804-5qaeqcvs.jpg",
              imageAlt: "Seasonal salad",
              button: {
                text: "Add to Order",
                href: "contact"
              },
              isFavorited: false
            },
            {
              id: "4",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767626188296-cdqoa54f.jpg",
              imageAlt: "Elegant seafood preparation",
              button: {
                text: "Add to Order",
                href: "contact"
              },
              isFavorited: false
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          carouselMode="buttons"
          ariaLabel="Restaurant menu items grid"
          containerClassName="max-w-7xl mx-auto"
          textBoxTitleClassName="text-4xl md:text-5xl font-bold"
          textBoxDescriptionClassName="text-lg text-opacity-80"
        />
      </div>
      
      <div id="testimonials" data-section="testimonials" style={{ backgroundColor: "#ec4899" }}>
        <TestimonialCardOne
          title="What Our Guests Say"
          description="Real experiences from people who have dined at Bogunya"
          tag="Reviews & Ratings"
          tagIcon={Star}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          testimonials={[
            {
              id: "1",
              name: "Sarah Mitchell",
              role: "Executive",
              company: "Marketing Director",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767379445887-b0w4qzd1.jpg",
              imageAlt: "Sarah Mitchell"
            },
            {
              id: "2",
              name: "James Richardson",
              role: "Entrepreneur",
              company: "Business Owner",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767379445357-cr7t44qp.jpg",
              imageAlt: "James Richardson"
            },
            {
              id: "3",
              name: "Elena Rodriguez",
              role: "Chef",
              company: "Culinary Expert",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767379446329-sbgjvzhj.jpg",
              imageAlt: "Elena Rodriguez"
            },
            {
              id: "4",
              name: "David Chen",
              role: "Food Critic",
              company: "Gourmet Magazine",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767626189065-k3r5zx12.jpg",
              imageAlt: "David Chen"
            },
            {
              id: "5",
              name: "Isabella Verde",
              role: "Sommelier",
              company: "Wine Enthusiast",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767379446759-cxk8n5s7.jpg",
              imageAlt: "Isabella Verde"
            },
            {
              id: "6",
              name: "Marcus Thompson",
              role: "Hospitality Manager",
              company: "Hotel Group",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767626189509-q5xmm213.jpg",
              imageAlt: "Marcus Thompson"
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          carouselMode="buttons"
          ariaLabel="Customer testimonials section"
          containerClassName="max-w-7xl mx-auto"
          textBoxTitleClassName="text-4xl md:text-5xl font-bold"
          textBoxDescriptionClassName="text-lg text-opacity-80"
        />
      </div>
      
      <div id="contact" data-section="contact" style={{ backgroundColor: "#06b6d4" }}>
        <ContactText
          text="Ready for an unforgettable dining experience? Reserve your table at Bogunya today."
          animationType="entrance-slide"
          buttons={[
            { text: "Make a Reservation", href: "contact" },
            { text: "View Hours & Location", href: "footer" }
          ]}
          useInvertedBackground="noInvert"
          ariaLabel="Contact and reservation call-to-action section"
          containerClassName="max-w-3xl mx-auto"
          textClassName="text-3xl md:text-4xl font-bold"
          buttonClassName="px-8 py-3 font-semibold"
        />
      </div>
      
      <div id="footer" data-section="footer" style={{ backgroundColor: "#6366f1" }}>
        <FooterBaseReveal
          columns={[
            {
              title: "Location",
              items: [
                { label: "123 Gourmet Street", href: "#" },
                { label: "Culinary District, NY 10001", href: "#" },
                { label: "(555) 123-4567", href: "tel:+15551234567" }
              ]
            },
            {
              title: "Hours",
              items: [
                { label: "Monday - Thursday: 5pm - 11pm", href: "#" },
                { label: "Friday - Saturday: 5pm - 12am", href: "#" },
                { label: "Sunday: 5pm - 10pm", href: "#" }
              ]
            },
            {
              title: "Connect",
              items: [
                { label: "Instagram", href: "#" },
                { label: "Facebook", href: "#" },
                { label: "Contact Us", href: "contact" }
              ]
            }
          ]}
          copyrightText="© 2025 Bogunya Restaurant. All rights reserved."
          ariaLabel="Footer with location, hours, and contact information"
          containerClassName="max-w-7xl mx-auto"
          columnTitleClassName="font-bold text-lg mb-4"
          columnItemClassName="text-opacity-80 hover:text-opacity-100"
        />
      </div>
    </ThemeProvider>
  );
}