"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
import SplitAbout from '@/components/sections/about/SplitAbout';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import FeatureCardTwentyOne from '@/components/sections/feature/FeatureCardTwentyOne';
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import { Utensils, Heart, Leaf, Users } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="expand-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="compact"
      sizing="mediumLargeSizeLargeTitles"
      background="floatingGradient"
      cardStyle="inset"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="solid"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          brandName="Buona Forchetta"
          navItems={[
            { name: "Home", id: "hero" },
            { name: "About", id: "about" },
            { name: "Menu", id: "dishes" },
            { name: "Reserve", id: "contact" },
            { name: "Contact", id: "contact" }
          ]}
          bottomLeftText="San Diego, CA"
          bottomRightText="info@buonaforchetta.com"
        />
      </div>
      
      <div id="hero" data-section="hero">
        <HeroBillboard
          title="Buona Forchetta"
          description="Authentic Italian cuisine crafted with passion and tradition. Experience the flavors of Italy in the heart of San Diego."
          tag="Fine Italian Dining"
          tagIcon={Utensils}
          imageSrc="https://img.b2bpic.net/free-photo/close-up-large-tube-pasta-with-chicken-cherry-tomato-with-chopped-parsley_141793-1840.jpg"
          imageAlt="Authentic Italian pasta dish"
          buttons={[
            { text: "Reserve a Table", href: "contact" },
            { text: "View Menu", href: "dishes" }
          ]}
        />
      </div>
      
      <div id="about" data-section="about">
        <SplitAbout
          title="Our Story"
          description="For over two decades, Buona Forchetta has been San Diego's premier destination for authentic Italian cuisine. Founded by Chef Marco and his family, our restaurant honors traditional Italian recipes passed down through generations while celebrating the finest local ingredients."
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          imagePosition="right"
          imageSrc="https://img.b2bpic.net/free-photo/grating-cheese_23-2147985172.jpg"
          imageAlt="Chef preparing authentic Italian dishes"
          bulletPoints={[
            {
              title: "Authentic Recipes",              description: "Traditional Italian dishes crafted from time-honored family recipes and imported ingredients",              icon: Heart
            },
            {
              title: "Local Partnerships",              description: "Supporting San Diego farmers and producers for the freshest seasonal ingredients",              icon: Leaf
            },
            {
              title: "Italian Hospitality",              description: "Warm, welcoming service that treats every guest as family since day one",              icon: Users
            }
          ]}
          buttons={[{ text: "Learn More", href: "#" }]}
        />
      </div>
      
      <div id="dishes" data-section="dishes">
        <ProductCardOne
          title="Signature Dishes"
          description="Discover our most beloved Italian creations, each prepared with meticulous attention to authentic flavors and quality ingredients"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="slide-up"
          gridVariant="three-columns-all-equal-width"
          products={[
            {
              id: "1",              name: "Spaghetti alla Carbonara",              price: "$24",              imageSrc: "https://img.b2bpic.net/free-photo/pasta-dish-restaurant-table_7939-2483.jpg",              imageAlt: "Creamy carbonara pasta"
            },
            {
              id: "2",              name: "Risotto ai Funghi",              price: "$28",              imageSrc: "https://img.b2bpic.net/free-photo/healthy-vegetarian-risotto-with-fresh-edible-mushrooms-generated-by-ai_188544-10215.jpg?id=40970407",              imageAlt: "Mushroom risotto"
            },
            {
              id: "3",              name: "Tiramisu Classico",              price: "$12",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-piece-tiramisu_23-2147772015.jpg",              imageAlt: "Traditional tiramisu dessert"
            }
          ]}
        />
      </div>
      
      <div id="experience" data-section="experience">
        <FeatureCardTwentyOne
          title="The Buona Forchetta Experience"
          description="Immerse yourself in authentic Italian hospitality and culinary excellence in an intimate, elegantly designed setting"
          useInvertedBackground="invertDefault"
          mediaPosition="right"
          imageSrc="https://img.b2bpic.net/free-photo/dinner-set-with-margherita-pizza-salad-pasta-wine_140725-7828.jpg"
          imageAlt="Intimate dining ambiance at Buona Forchetta"
          accordionItems={[
            {
              id: "1",              title: "Warm Italian Ambiance",              content: "Step into our carefully designed dining rooms featuring soft lighting, warm earth tones, and authentic Italian decor that transports you straight to a traditional trattoria in Rome or Florence."
            },
            {
              id: "2",              title: "Expert Wine Selection",              content: "Curated selection of Italian wines including rare Tuscan reds, Piedmont whites, and sparkling prosecco. Our sommelier is happy to pair wines perfectly with your meal."
            },
            {
              id: "3",              title: "Private Dining Available",              content: "Host your special occasions in our private dining room, perfect for celebrations, business dinners, or intimate gatherings with personalized menus and service."
            }
          ]}
        />
      </div>
      
      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFive
          title="What Our Guests Say"
          description="Join hundreds of satisfied diners who have experienced the warmth and excellence of Buona Forchetta"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          testimonials={[
            {
              id: "1",              name: "Sarah Mitchell, Restaurateur",              date: "Date: 15 November 2024",              title: "Authentic excellence in every bite",              quote: "The carbonara here is genuinely one of the best I've tasted outside of Rome. The attention to detail and respect for tradition is evident in every dish. Marco's passion for Italian cuisine shines through.",              tag: "Fine Dining",              avatarSrc: "https://img.b2bpic.net/free-photo/front-view-business-woman-suit_23-2148603018.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/dinner-set-with-margherita-pizza-salad-pasta-wine_140725-7828.jpg"
            },
            {
              id: "2",              name: "James Rodriguez, San Diego Local",              date: "Date: 8 November 2024",              title: "Our favorite spot for special occasions",              quote: "Buona Forchetta is where we celebrate life's important moments. The food is impeccable, the service is warm and professional, and the atmosphere is perfect every time.",              tag: "Celebrations",              avatarSrc: "https://img.b2bpic.net/free-photo/happy-professional_1098-12931.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/dinner-set-with-margherita-pizza-salad-pasta-wine_140725-7828.jpg"
            },
            {
              id: "3",              name: "Elena Torres, Food Critic",              date: "Date: 1 November 2024",              title: "San Diego's premier Italian destination",              quote: "Authentic Italian cuisine done right. From the fresh pasta made in-house to the carefully sourced ingredients, every element demonstrates a commitment to quality that's rare to find.",              tag: "Critic's Choice",              avatarSrc: "https://img.b2bpic.net/free-photo/smiling-beautiful-middle-aged-business-woman_1262-3085.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/dinner-set-with-margherita-pizza-salad-pasta-wine_140725-7828.jpg"
            },
            {
              id: "4",              name: "Michael Chen, Regular Guest",              date: "Date: 25 October 2024",              title: "Like dining at a family table in Italy",              quote: "The hospitality here is genuine. They know my name, remember my preferences, and make every visit feel special. This is what real Italian hospitality means.",              tag: "Loyal Customer",              avatarSrc: "https://img.b2bpic.net/free-photo/portrait-beautiful-business-office-business-center_1303-20365.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/dinner-set-with-margherita-pizza-salad-pasta-wine_140725-7828.jpg"
            },
            {
              id: "5",              name: "Victoria Anderson, Event Planner",              date: "Date: 18 October 2024",              title: "Perfect venue for corporate dinners",              quote: "We've hosted multiple corporate events here and every single one has been flawless. The private dining room is beautiful, the food is exceptional, and the staff goes above and beyond.",              tag: "Corporate Events",              avatarSrc: "https://img.b2bpic.net/free-photo/casual-smile-street-style-background-spring_1139-777.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/dinner-set-with-margherita-pizza-salad-pasta-wine_140725-7828.jpg"
            },
            {
              id: "6",              name: "David Martinez, Travel Journalist",              date: "Date: 10 October 2024",              title: "A taste of Tuscany in San Diego",              quote: "I've dined in countless Italian restaurants across the country and this is among the finest. The risotto, the service, the wine list—everything is exceptional.",              tag: "Travel Guide",              avatarSrc: "https://img.b2bpic.net/free-photo/young-businesswoman-portrait-office_1262-1506.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/dinner-set-with-margherita-pizza-salad-pasta-wine_140725-7828.jpg"
            }
          ]}
        />
      </div>
      
      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Reserve Your Table"
          description="Join us for an unforgettable evening of authentic Italian cuisine. Book your reservation today and experience the warmth of Buona Forchetta."
          useInvertedBackground="invertDefault"
          mediaPosition="right"
          imageSrc="https://img.b2bpic.net/free-photo/spaghetti-with-meat-creamy-sauce-garnished-with-grated-parmesan_141793-1829.jpg"
          imageAlt="Elegantly set dining table"
          inputs={[
            { name: "name", type: "text", placeholder: "Your Name", required: true },
            { name: "email", type: "email", placeholder: "Email Address", required: true },
            { name: "phone", type: "tel", placeholder: "Phone Number", required: true },
            { name: "date", type: "date", placeholder: "Preferred Date", required: true }
          ]}
          textarea={{
            name: "message",            placeholder: "Special requests or dietary requirements...",            rows: 4,
            required: false
          }}
          buttonText="Reserve Now"
        />
      </div>
      
      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="https://img.b2bpic.net/free-photo/california-vineyards-santa-barbara_181624-29275.jpg"
          imageAlt="Italian Tuscan landscape"
          logoText="Buona Forchetta"
          copyrightText="© 2025 Buona Forchetta. All rights reserved."
          columns={[
            {
              title: "Dining",              items: [
                { label: "Menu", href: "#" },
                { label: "Reservations", href: "contact" },
                { label: "Special Events", href: "#" },
                { label: "Wine List", href: "#" }
              ]
            },
            {
              title: "About",              items: [
                { label: "Our Story", href: "about" },
                { label: "Chef Marco", href: "#" },
                { label: "Sourcing", href: "#" },
                { label: "Careers", href: "#" }
              ]
            },
            {
              title: "Connect",              items: [
                { label: "Contact Us", href: "#" },
                { label: "(619) 555-0123", href: "#" },
                { label: "info@buonaforchetta.com", href: "#" },
                { label: "San Diego, CA", href: "#" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}