"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleMinimal from '@/components/navbar/NavbarStyleMinimal';
import HeroLogoCarousel from '@/components/sections/hero/HeroLogoCarousel';
import SplitAboutCards from '@/components/sections/about/SplitAboutCards';
import FeatureCardTwentyOne from '@/components/sections/feature/FeatureCardTwentyOne';
import ProductCardSeven from '@/components/sections/product/ProductCardSeven';
import TestimonialCardEleven from '@/components/sections/testimonial/TestimonialCardEleven';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterBaseSocial from '@/components/sections/footer/FooterBaseSocial';
import { Facebook, Instagram, Youtube } from "lucide-react";

export default function TrattoriaBellaPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-shift"
      defaultTextAnimation="background-highlight"
      borderRadius="soft"
      contentWidth="mediumLarge"
      sizing="mediumLarge"
      background="fluid"
      cardStyle="gradient-radial"
      primaryButtonStyle="outline"
      secondaryButtonStyle="solid"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleMinimal
          brandName="Trattoria Bella"
          button={{
            text: "Reserve a Table",
            href: "#contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroLogoCarousel
          logoText="Trattoria Bella"
          description="Authentic Italian cuisine crafted with passion, tradition, and the finest ingredients. Experience the warmth of Italy in every dish."
          mediaItems={[
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183832020-sqgzqvxa.jpg",
              imageAlt: "Fresh handmade pasta"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183830869-g93nmh02.jpg",
              imageAlt: "Creamy risotto specialty"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183829154-9c5vkkws.jpg",
              imageAlt: "Traditional wood-fired pizza"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767194365242-gwpiggvg.jpg",
              imageAlt: "Mediterranean seafood selection"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183829918-12xa97ao.jpg",
              imageAlt: "Fine Italian wine collection"
            }
          ]
        />
      </div>

      <div id="about" data-section="about">
        <SplitAboutCards
          title="Our Story"
          description="Founded in 2010, Trattoria Bella brings the authentic flavors of northern Italy to our community. Our family recipe collection spans generations, perfected in small kitchens across Tuscany and Piedmont."
          tag="Heritage"
          features={[
            {
              id: "fresh-ingredients",
              title: "Fresh Ingredients",
              description: "Sourced directly from Italian suppliers and local farms. We believe in quality over convenience.",
              label: "Daily Fresh"
            },
            {
              id: "traditional-recipes",
              title: "Traditional Recipes",
              description: "Passed down through generations. Every dish tells a story of Italian culinary heritage and passion.",
              label: "Since 2010"
            }
          ]}
          buttons={[
            {
              text: "Learn More",
              href: "#menu"
            }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardTwentyOne
          title="Why Choose Us"
          description="Discover what makes Trattoria Bella the preferred choice for authentic Italian dining."
          tag="Excellence"
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766184198716-cikhqvmg.jpg"
          imageAlt="Elegant dining ambiance"
          mediaPosition="left"
          accordionItems={[
            {
              id: "1",
              title: "Authentic Italian Atmosphere",
              content: "Step into our elegantly designed dining rooms inspired by traditional Italian trattorias. Warm lighting, rustic decor, and the aroma of fresh herbs create the perfect setting for memorable meals."
            },
            {
              id: "2",
              title: "Expert Sommelier Service",
              content: "Our knowledgeable staff guides you through our carefully curated wine selection, featuring wines from renowned Italian vineyards. Find the perfect pairing for your meal."
            },
            {
              id: "3",
              title: "Farm to Table Philosophy",
              content: "We partner with local farmers and Italian importers to bring the freshest, highest-quality ingredients to your table. Seasonal menus celebrate what's best right now."
            },
            {
              id: "4",
              title: "Private Events & Catering",
              content: "Celebrate your special moments with us. From intimate gatherings to grand celebrations, our experienced team ensures every detail is perfect."
            }
          ]}
          buttons={[
            {
              text: "Explore Menu",
              href: "#products"
            }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardSeven
          title="Signature Dishes"
          description="Our most beloved creations, perfected over years of culinary excellence."
          tag="Chef's Specialties"
          products={[
            {
              id: "1",
              name: "Homemade Pappardelle al Ragù",
              price: "$24",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183832020-sqgzqvxa.jpg",
              imageAlt: "Pappardelle pasta with ragù sauce"
            },
            {
              id: "2",
              name: "Risotto ai Funghi Porcini",
              price: "$26",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183830869-g93nmh02.jpg",
              imageAlt: "Creamy porcini mushroom risotto"
            },
            {
              id: "3",
              name: "Pizza al Tartufo",
              price: "$22",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183829154-9c5vkkws.jpg",
              imageAlt: "Truffle pizza fresh from the oven"
            },
            {
              id: "4",
              name: "Branzino al Forno",
              price: "$32",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767194365242-gwpiggvg.jpg",
              imageAlt: "Oven-baked Mediterranean sea bass"
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardEleven
          title="Guest Stories"
          description="Hear from those who have experienced the warmth and flavors of Trattoria Bella."
          tag="Testimonials"
          testimonials={[
            {
              id: "1",
              nameTitle: "Maria Rossini, Food Critic",
              quote: "Trattoria Bella captures the essence of true Italian dining. The pasta is handmade daily, the service is impeccable, and every meal feels like a celebration of Italian culture.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183587552-1pqoe5c0.jpg",
              imageAlt: "Maria Rossini"
            },
            {
              id: "2",
              nameTitle: "Giuseppe Moretti, Entrepreneur",
              quote: "This is where I take all my important clients. The ambiance is perfect, the wine selection is exceptional, and the food consistently exceeds expectations.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766154635301-vse33sxl.jpg",
              imageAlt: "Giuseppe Moretti"
            },
            {
              id: "3",
              nameTitle: "Angela Ferrari, Wedding Planner",
              quote: "We've held countless celebrations here. The team goes above and beyond to make every event special. The food is incredible and the attention to detail is remarkable.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183841431-v1xtegko.jpg",
              imageAlt: "Angela Ferrari"
            },
            {
              id: "4",
              nameTitle: "Lorenzo DiMarco, Regular Guest",
              quote: "I've been coming here for five years and it never disappoints. The owners treat you like family, and each visit feels like coming home.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766182321167-i4kvpj5f.jpg",
              imageAlt: "Lorenzo DiMarco"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqSplitMedia
          title="Common Questions"
          description="Everything you need to know about dining at Trattoria Bella."
          tag="Help"
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766184196448-ct5kvoom.jpg"
          imageAlt="Professional restaurant service"
          mediaPosition="right"
          faqs={[
            {
              id: "1",
              title: "Do you accept reservations?",
              content: "Yes, we highly recommend reservations, especially for dinner service and weekends. You can reserve online or call us at (555) 123-4567. Walk-ins are welcome during lunch hours depending on availability."
            },
            {
              id: "2",
              title: "Do you offer vegetarian and vegan options?",
              content: "Absolutely! We have a dedicated vegetarian and vegan menu. Our chef is happy to accommodate any dietary restrictions with advance notice."
            },
            {
              id: "3",
              title: "What are your hours?",
              content: "We're open Tuesday-Thursday 11:30 AM - 10:00 PM, Friday-Saturday 11:30 AM - 11:00 PM, and Sunday 12:00 PM - 9:00 PM. We're closed Mondays."
            },
            {
              id: "4",
              title: "Do you have private dining options?",
              content: "Yes! Our private dining room accommodates up to 40 guests. Perfect for birthdays, anniversaries, and corporate events. Contact us for details and pricing."
            },
            {
              id: "5",
              title: "Is parking available?",
              content: "We have complimentary parking in our lot. Street parking is also available on nearby roads. Our location is easily accessible by public transportation."
            },
            {
              id: "6",
              title: "Do you offer wine pairing dinners?",
              content: "Yes! We host monthly wine pairing dinners featuring Italian wines paired with specially designed menus. Contact us or check our events page for upcoming dates."
            }
          ]}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="smooth"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Reserve Your Table"
          description="Book your next dining experience at Trattoria Bella. We look forward to welcoming you to our 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: "Reservation Date",
              required: true
            }
          ]}
          textarea={{
            name: "message",
            placeholder: "Special requests or occasion? Let us know...",
            rows: 4,
            required: false
          }}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183837505-ll9mx7sj.jpg"
          imageAlt="Trattoria Bella dining room"
          mediaPosition="right"
          buttonText="Reserve Now"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseSocial
          description="Authentic Italian cuisine inspired by generations of culinary tradition. Join us for an unforgettable dining experience that captures the warmth and flavors of Italy."
          logoText="Trattoria Bella"
          copyrightText="© 2025 Trattoria Bella. All rights reserved."
          columns={[
            {
              title: "Hours",
              items: [
                {
                  label: "Tuesday - Thursday: 11:30 AM - 10:00 PM"
                },
                {
                  label: "Friday - Saturday: 11:30 AM - 11:00 PM"
                },
                {
                  label: "Sunday: 12:00 PM - 9:00 PM"
                },
                {
                  label: "Closed Mondays"
                }
              ]
            },
            {
              title: "Contact",
              items: [
                {
                  label: "123 Italian Lane, Downtown",
                  href: "#contact"
                },
                {
                  label: "(555) 123-4567",
                  href: "tel:5551234567"
                },
                {
                  label: "info@trattoriabella.com",
                  href: "mailto:info@trattoriabella.com"
                }
              ]
            },
            {
              title: "Dining",
              items: [
                {
                  label: "Menu",
                  href: "#products"
                },
                {
                  label: "Wine Selection",
                  href: "#features"
                },
                {
                  label: "Reservations",
                  href: "#contact"
                },
                {
                  label: "Private Events",
                  href: "#contact"
                }
              ]
            },
            {
              title: "Legal",
              items: [
                {
                  label: "Privacy Policy",
                  href: "privacy"
                },
                {
                  label: "Terms of Service",
                  href: "terms"
                },
                {
                  label: "Cookie Policy",
                  href: "cookies"
                }
              ]
            }
          ]}
          socialLinks={[
            {
              icon: Facebook,
              href: "https://facebook.com",
              ariaLabel: "Follow us on Facebook"
            },
            {
              icon: Instagram,
              href: "https://instagram.com",
              ariaLabel: "Follow us on Instagram"
            },
            {
              icon: Youtube,
              href: "https://youtube.com",
              ariaLabel: "Subscribe on YouTube"
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}