"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import HeroLogoBillboard from '@/components/sections/hero/HeroLogoBillboard';
import TagAbout from '@/components/sections/about/TagAbout';
import ProductCardSix from '@/components/sections/product/ProductCardSix';
import FeatureCardEleven from '@/components/sections/feature/FeatureCardEleven';
import TestimonialCardNine from '@/components/sections/testimonial/TestimonialCardNine';
import ContactFaq from '@/components/sections/contact/ContactFaq';
import FooterSocial from '@/components/sections/footer/FooterSocial';
import { Calendar, Instagram, Facebook } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="directional-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="small"
      sizing="large"
      background="none"
      cardStyle="elevated"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="solid"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="La Dolce Vita"
          navItems={[
            { name: "Menu", id: "menu" },
            { name: "About", id: "about" },
            { name: "Reservations", id: "contact" },
            { name: "Location", id: "location" }
          ]}
        />
      </div>
      
      <div id="hero" data-section="hero">
        <HeroLogoBillboard
          logoText="La Dolce Vita"
          description="Authentic Italian Cusine in the heart of florence."
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767762001704-0gvve84k.jpg"
          imageAlt="Premium Italian restaurant interior in Rome"
          frameStyle="card"
          logoLineHeight={1.2}
        />
      </div>
      
      <div id="about" data-section="about">
        <TagAbout
          tag="Our Story"
          description="For over three decades, La Dolce Vita has been Rome's premier destination for authentic Italian gastronomy. Our commitment to sourcing the finest ingredients and honoring centuries-old traditions defines every dish we serve. Each plate tells a story of Italian passion, craftsmanship, and the art of living well."
          useInvertedBackground="invertDefault"
        />
      </div>
      
      <div id="menu" data-section="menu">
        <ProductCardSix
          title="Signature Dishes"
          description="Discover our most celebrated creations, each prepared with premium ingredients and time-honored techniques"
          products={[
            {
              id: "1",              name: "Tagliatelle al Tartufo",              price: "€48",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767762007313-2mr1gf0p.jpg",              imageAlt: "Fresh tagliatelle with black truffle"
            },
            {
              id: "2",              name: "Risotto ai Funghi Porcini",              price: "€42",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767762009326-bh5hj95m.jpg",              imageAlt: "Creamy risotto with porcini mushrooms"
            },
            {
              id: "3",              name: "Scampi e Linguine",              price: "€52",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767762010800-pvdmssz6.jpg",              imageAlt: "Fresh scampi with delicate linguine"
            },
            {
              id: "4",              name: "Tiramisu Classico",              price: "€12",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767762012050-jj5e4jc4.jpg",              imageAlt: "Traditional tiramisu with cocoa"
            }
          ]}
          gridVariant="two-columns-alternating-heights"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="ambiance" data-section="ambiance">
        <FeatureCardEleven
          title="The La Dolce Vita Experience"
          description="More than a restaurant, an institution of refined Italian culture"
          features={[
            {
              id: 1,
              title: "Historic Ambiance",              description: "Step into a centuries-old Roman palazzo adorned with Renaissance art, soft candlelight, and classical music. Every corner whispers stories of la dolce vita.",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767762005389-3kiwx5b2.jpg",              imageAlt: "Elegant dining room with candlelit tables"
            },
            {
              id: 2,
              title: "Master Chef's Vision",              description: "Led by Chef Marco Rossini, our culinary team sources direct from Italian producers and creates dishes that honor tradition while embracing subtle innovation.",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767762013296-31nbjwqi.jpg",              imageAlt: "Chef Marco Rossini in his element"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertCard"
          usePrimaryButtonImage={false}
        />
      </div>
      
      <div id="testimonials" data-section="testimonials">
        <TestimonialCardNine
          title="Celebrated by Discerning Guests"
          description="Discover why La Dolce Vita remains Rome's most sought-after culinary destination"
          testimonials={[
            {
              id: "1",              quote: "An unforgettable evening. The pasta was transcendent, the service impeccable, and the ambiance transported us to another era.",              name: "Giuliana Ferrari",              role: "Art Collector, Milan",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767762014636-u5iwrlbr.jpg",              imageAlt: "Giuliana Ferrari"
            },
            {
              id: "2",              quote: "This is not just dining—it's a journey through Italy's culinary soul. Marco's expertise and passion shine in every dish.",              name: "Antonio Moretti",              role: "Opera Director, Rome",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767762015935-obxutyg6.jpg",              imageAlt: "Antonio Moretti"
            },
            {
              id: "3",              quote: "We've dined at the finest restaurants across Europe. La Dolce Vita stands apart for its authenticity and refinement.",              name: "Sophie Laurent",              role: "International Wine Consultant",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767762017012-799kmm2x.jpg",              imageAlt: "Sophie Laurent"
            },
            {
              id: "4",              quote: "Every detail is perfected—from the amuse-bouche to the digestivo. A true temple of gastronomy.",              name: "Carlo Benedetti",              role: "Food Critic, La Repubblica",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767762018364-sj1rt97m.jpg",              imageAlt: "Carlo Benedetti"
            },
            {
              id: "5",              quote: "The truffle tagliatelle was the best pasta I've ever experienced. Simply extraordinary craftsmanship.",              name: "Elena Visconti",              role: "Michelin Guide Inspector",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767762019707-2al3ap88.jpg",              imageAlt: "Elena Visconti"
            },
            {
              id: "6",              quote: "Reservations here are worth the wait. This restaurant represents everything beautiful about Italian culture.",              name: "Roberto Conti",              role: "Luxury Travel Curator",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767762020953-viq12gbk.jpg",              imageAlt: "Roberto Conti"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="contact" data-section="contact">
        <ContactFaq
          ctaTitle="Reserve Your Table"
          ctaDescription="Secure an evening of culinary excellence. We accommodate private and special group celebrations."
          ctaButton={{
            text: "Make a Reservation",            href: "https://www.resy.com/cities/rom/la-dolce-vita"
          }}
          ctaIcon={Calendar}
          faqs={[
            {
              id: "1",              title: "How far in advance should I book?",              content: "We recommend reservations 4-8 weeks in advance for weekend dining. Walk-ins are occasionally accommodated Monday-Thursday, subject to availability."
            },
            {
              id: "2",              title: "Do you accommodate dietary restrictions?",              content: "Absolutely. Please inform us of any dietary preferences or allergies when making your reservation, and our chef will craft a bespoke menu."
            },
            {
              id: "3",              title: "What is the dress code?",              content: "Smart casual at minimum; business formal or elegant attire preferred. We honor the tradition of dressing for the occasion."
            },
            {
              id: "4",              title: "Do you offer wine pairings?",              content: "Yes. Our sommelier curates exceptional Italian and international wine pairings to complement your menu. Ask about our reserve selections."
            },
            {
              id: "5",              title: "Are private dining events available?",              content: "We host intimate private dinners for up to 40 guests. Contact our events manager for bespoke arrangements."
            }
          ]}
          useInvertedBackground="invertDefault"
          animationType="slide-up"
          accordionAnimationType="smooth"
          showCard={true}
        />
      </div>
      
      <div id="location" data-section="location">
        <FooterSocial
          logoText="La Dolce Vita"
          columns={[
            {
              title: "Location",              items: [
                {
                  label: "Via della Cancelleria, 74 • 00186 Rome",                  href: "https://maps.google.com/?q=La+Dolce+Vita+Rome"
                },
                {
                  label: "+39 06 6869 4430",                  href: "tel:+390668694430"
                }
              ]
            },
            {
              title: "Hours",              items: [
                {
                  label: "Tue-Sun: 7PM - 11:30PM",                  href: "#"
                },
                {
                  label: "Closed Mondays",                  href: "#"
                }
              ]
            },
            {
              title: "Experience",              items: [
                {
                  label: "Private Dining",                  href: "#contact"
                },
                {
                  label: "Wine Program",                  href: "#"
                }
              ]
            }
          ]}
          socialLinks={[
            {
              icon: Instagram,
              href: "https://instagram.com/ladolcevitaroma",              ariaLabel: "Instagram"
            },
            {
              icon: Facebook,
              href: "https://facebook.com/ladolcevitaroma",              ariaLabel: "Facebook"
            }
          ]}
          copyrightText="© La Dolce Vita, 1995-2025. Fine Italian Dining in Rome."
        />
      </div>
    </ThemeProvider>
  );
}