"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroBillboardRotatedCarousel from '@/components/sections/hero/HeroBillboardRotatedCarousel';
import TagMediaSplitAbout from '@/components/sections/about/TagMediaSplitAbout';
import ProductCardSeven from '@/components/sections/product/ProductCardSeven';
import TestimonialCardTen from '@/components/sections/testimonial/TestimonialCardTen';
import TeamCardSeven from '@/components/sections/team/TeamCardSeven';
import ContactFaq from '@/components/sections/contact/ContactFaq';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import { Sparkles, Heart, Leaf, ChefHat, Star, Phone } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="compact"
      sizing="mediumLargeSizeMediumTitles"
      background="noiseGradient"
      cardStyle="elevated-accent"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="layered"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          brandName="Osteria"
          navItems={[
            { name: "Home", id: "home" },
            { name: "About", id: "about" },
            { name: "Menu", id: "menu" },
            { name: "Reviews", id: "testimonials" },
            { name: "Reserve", id: "contact" }
          ]}
          bottomLeftText="Authentic Italian Cuisine"
          bottomRightText="reservations@osteria.com"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardRotatedCarousel
          title="Welcome to Osteria"
          description="Discover authentic Italian cuisine crafted with passion and the finest ingredients, honoring centuries of tradition."
          tag="Fine Dining"
          tagIcon={Sparkles}
          buttons={[
            { text: "Reserve a Table", href: "#contact" },
            { text: "Explore Menu", href: "#menu" }
          ]}
          carouselItems={[
            {
              id: "1",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-large-tube-pasta-with-chicken-cherry-tomato-with-chopped-parsley_141793-1840.jpg",              imageAlt: "Signature pasta dish"
            },
            {
              id: "2",              imageSrc: "https://img.b2bpic.net/free-photo/plate-penne-paste-with-tomato-sauce-parmesan_140725-4912.jpg",              imageAlt: "Creamy risotto"
            },
            {
              id: "3",              imageSrc: "https://img.b2bpic.net/free-photo/man-eating-bolognese-penne-pasta-garnished-with-herbs_140725-8738.jpg",              imageAlt: "Fresh seafood preparation"
            },
            {
              id: "4",              imageSrc: "https://img.b2bpic.net/free-photo/fettuccine-pasta-chicken-mushroom-parmesan-tomato-mint-sumakh-cocktail-side-view_141793-2363.jpg",              imageAlt: "Traditional antipasti board"
            },
            {
              id: "5",              imageSrc: "https://img.b2bpic.net/free-photo/pasta-with-grated-cheese-basil-served-with-cocktail-bread_140725-8746.jpg",              imageAlt: "Decadent tiramisu dessert"
            },
            {
              id: "6",              imageSrc: "https://img.b2bpic.net/free-photo/penne-pasta-with-meat-grated-cheese-basil-leaf_141793-1232.jpg",              imageAlt: "Fine Italian wine selection"
            }
          ]}
          autoPlay={true}
          autoPlayInterval={5000}
        />
      </div>

      <div id="about" data-section="about">
        <TagMediaSplitAbout
          title="Our Story"
          description="Founded in 1998, Osteria brings the warmth and authenticity of Italian dining to every table."
          tag="Est. 1998"
          tagIcon={Heart}
          textboxLayout="default"
          contentTag="HERITAGE"
          contentTagIcon={Leaf}
          contentTitle="Three Generations of Excellence"
          contentDescription="Our family has dedicated ourselves to preserving authentic Italian culinary traditions. Each dish tells a story of passion, craftsmanship, and a deep respect for premium ingredients sourced directly from Italy. We believe dining is not just about food—it's about creating memories with loved ones."
          contentButtons={[
            { text: "Meet Our Chef", href: "#team" }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/tables-chairs-arranged-empty-coffee-shop_107420-96463.jpg"
          imageAlt="Osteria restaurant interior"
          imagePosition="right"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="menu" data-section="menu">
        <ProductCardSeven
          title="Signature Dishes"
          description="Experience our most celebrated creations, each prepared with meticulous attention to detail and the finest Italian ingredients."
          tag="Menu Highlights"
          tagIcon={ChefHat}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="slide-up"
          gridVariant="uniform-all-items-equal"
          products={[
            {
              id: "1",              name: "Pasta Carbonara",              price: "$28",              imageSrc: "https://img.b2bpic.net/free-photo/seafood-spaghetti-with-mussels-shrimp-tomato-sauce-parsley_141793-1956.jpg",              imageAlt: "Creamy carbonara pasta with guanciale"
            },
            {
              id: "2",              name: "Margherita Pizza",              price: "$22",              imageSrc: "https://img.b2bpic.net/free-photo/spaghetti-with-meat-creamy-sauce-garnished-with-grated-parmesan_141793-1831.jpg",              imageAlt: "Traditional wood-fired margherita pizza"
            },
            {
              id: "3",              name: "Risotto al Tartufo",              price: "$32",              imageSrc: "https://img.b2bpic.net/free-photo/front-view-spaghetti-wine-wooden-table_23-2148305675.jpg",              imageAlt: "Creamy truffle mushroom risotto"
            }
          ]}
          carouselMode="buttons"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTen
          title="Loved by Our Guests"
          description="Hear from those who have experienced the magic of Osteria."
          tag="Reviews"
          tagIcon={Star}
          textboxLayout="default"
          useInvertedBackground="invertCard"
          testimonials={[
            {
              id: "1",              title: "An Unforgettable Evening",              quote: "The moment we walked in, we felt transported to Italy. Every dish was a masterpiece, and the service was impeccable. This is true fine dining at its finest.",              name: "Maria Rossi",              role: "Food Critic",              imageSrc: "https://img.b2bpic.net/free-photo/portrait-business-woman-working-laptop_1303-9731.jpg",              imageAlt: "Maria Rossi"
            },
            {
              id: "2",              title: "Worth Every Penny",              quote: "We celebrated our anniversary here, and it was absolutely perfect. The attention to detail in every aspect—from the food to the ambiance—made it truly special.",              name: "Giovanni Ferrari",              role: "Restaurant Owner",              imageSrc: "https://img.b2bpic.net/free-photo/beautiful-corporate-woman-looks-dreamy-smiles-stands-outside-street-leans-her-head-hands-d_1258-122007.jpg",              imageAlt: "Giovanni Ferrari"
            },
            {
              id: "3",              title: "The Best Italian Food in the City",              quote: "Authentic Italian cuisine done right. The flavors are incredible, and you can taste the passion in every bite. Highly recommend for any special occasion.",              name: "Sophie Laurent",              role: "Food Blogger",              imageSrc: "https://img.b2bpic.net/free-photo/portrait-beautiful-business-office-business-center_1303-20365.jpg",              imageAlt: "Sophie Laurent"
            },
            {
              id: "4",              title: "A Culinary Journey",              quote: "The tasting menu was extraordinary. Each course told a story of Italian tradition and innovation. This is the restaurant everyone should experience.",              name: "Marco Benedetti",              role: "Sommelier",              imageSrc: "https://img.b2bpic.net/free-photo/fashion-girl-standing-summer-city_1157-23108.jpg",              imageAlt: "Marco Benedetti"
            }
          ]}
        />
      </div>

      <div id="team" data-section="team">
        <TeamCardSeven
          title="Meet Our Culinary Team"
          useInvertedBackground="noInvert"
          team={[
            {
              id: "1",              imageSrc: "https://img.b2bpic.net/free-photo/smiley-woman-with-curly-hair-posing-with-copy-space_23-2148728583.jpg",              imageAlt: "Executive Chef Antonio"
            },
            {
              id: "2",              imageSrc: "https://img.b2bpic.net/free-photo/smiling-young-professional-businesswoman-looking-upper-left-corner-with-hopeful-face-expression-standing-white_176420-41313.jpg",              imageAlt: "Sous Chef Giulia"
            },
            {
              id: "3",              imageSrc: "https://img.b2bpic.net/free-photo/smiley-business-woman-with-tablet-side-view_23-2149442245.jpg",              imageAlt: "Head Sommelier Marco"
            },
            {
              id: "4",              imageSrc: "https://img.b2bpic.net/free-photo/smiling-beautiful-middle-aged-business-woman_1262-3085.jpg",              imageAlt: "Pastry Chef Elena"
            },
            {
              id: "5",              imageSrc: "https://img.b2bpic.net/free-photo/hopeful-young-manager-businesswoman-cross-arms-chest-smiling-looking-confident-like-real-professional-white-background_176420-47052.jpg",              imageAlt: "Owner & Founder Vincenzo"
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactFaq
          ctaTitle="Reserve Your Table"
          ctaDescription="Book an intimate dinner or special celebration at Osteria. Our team will ensure an exceptional experience."
          ctaButton={{
            text: "Make a Reservation",            href: "tel:+1-555-123-4567"
          }}
          ctaIcon={Phone}
          useInvertedBackground="invertDefault"
          animationType="slide-up"
          faqs={[
            {
              id: "1",              title: "What are your hours of operation?",              content: "We are open Tuesday through Thursday from 5:00 PM to 10:00 PM, Friday and Saturday from 5:00 PM to 11:00 PM, and Sunday from 5:00 PM to 9:00 PM. We are closed Mondays."
            },
            {
              id: "2",              title: "Do you accommodate dietary restrictions?",              content: "Absolutely. We can accommodate vegetarian, vegan, gluten-free, and other dietary preferences. Please inform us when making your reservation so our chef can prepare a special menu."
            },
            {
              id: "3",              title: "What is your dress code?",              content: "We recommend smart casual attire. We ask that guests avoid athletic wear and overly casual clothing to maintain the elegance of our dining experience."
            },
            {
              id: "4",              title: "Do you have a private dining room?",              content: "Yes, we have an intimate private dining room perfect for special occasions, business dinners, and celebrations. Please call us for details and availability."
            }
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoReveal
          logoText="Osteria"
        />
      </div>
    </ThemeProvider>
  );
}