"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from "@/components/navbar/NavbarStyleApple/NavbarStyleApple";
import HeroSplitDoubleCarousel from "@/components/sections/hero/HeroSplitDoubleCarousel";
import InlineImageSplitTextAbout from "@/components/sections/about/InlineImageSplitTextAbout";
import FeatureCardTwentySix from "@/components/sections/feature/FeatureCardTwentySix";
import ProductCardTwo from "@/components/sections/product/ProductCardTwo";
import TestimonialCardFifteen from "@/components/sections/testimonial/TestimonialCardFifteen";
import FaqSplitMedia from "@/components/sections/faq/FaqSplitMedia";
import ContactCenter from "@/components/sections/contact/ContactCenter";
import FooterBaseReveal from "@/components/sections/footer/FooterBaseReveal";
import { Sparkles, Star, Heart, Music, ChefHat, Utensils, HelpCircle, Mail } from "lucide-react";

const HomePage = () => {
  const navItems = [
    { name: "Home", id: "home" },
    { name: "About", id: "about" },
    { name: "Menu", id: "menu" },
    { name: "Contact", id: "contact" },
  ];

  const footerColumns = [
    {
      title: "Navigation",
      items: [
        { label: "Home", href: "/" },
        { label: "About", href: "/about" },
        { label: "Menu", href: "/menu" },
        { label: "Contact", href: "/contact" },
      ],
    },
    {
      title: "Dining",
      items: [
        { label: "Reservations", href: "/contact" },
        { label: "Private Events", href: "#" },
        { label: "Catering", href: "#" },
        { label: "Gift Cards", href: "#" },
      ],
    },
    {
      title: "Connect",
      items: [
        { label: "Instagram", href: "#" },
        { label: "Facebook", href: "#" },
        { label: "Contact Us", href: "/contact" },
        { label: "Newsletter", href: "#" },
      ],
    },
    {
      title: "Legal",
      items: [
        { label: "Privacy Policy", href: "#" },
        { label: "Terms of Service", href: "#" },
        { label: "Cookie Policy", href: "#" },
      ],
    },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="expand-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="soft"
      contentWidth="mediumLarge"
      sizing="largeSmallSizeLargeTitles"
      background="noiseDiagonalGradient"
      cardStyle="outline"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="solid"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple brandName="Donacio" navItems={navItems} />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplitDoubleCarousel
          title="Experience Culinary Excellence"
          description="Welcome to Donacio, where exquisite cuisine meets warm hospitality. Discover a symphony of flavors, live music, and attentive service in an elegant atmosphere designed for unforgettable moments."
          background={{ variant: "plain" }}
          leftCarouselItems={[
            {
              imageSrc: "http://img.b2bpic.net/free-photo/home-still-life-with-candles-vase-living-room_169016-5976.jpg?_wi=1",
              imageAlt: "Elegant restaurant dining room with warm ambiance",
            },
            {
              imageSrc: "http://img.b2bpic.net/free-photo/fried-meat-with-herbs-pomegranate_140725-4014.jpg?_wi=1",
              imageAlt: "Artfully plated gourmet dish",
            },
            {
              imageSrc: "http://img.b2bpic.net/free-photo/lovely-couple-enjoying-new-year-party_23-2149173296.jpg?_wi=1",
              imageAlt: "Live music performance in intimate restaurant setting",
            },
          ]}
          rightCarouselItems={[
            {
              imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-working-luxury-restaurant_23-2150598335.jpg?_wi=1",
              imageAlt: "Professional waiter providing attentive service",
            },
            {
              imageSrc: "http://img.b2bpic.net/free-photo/view-table-etiquette-dressing_23-2148914876.jpg?_wi=1",
              imageAlt: "Elegant table setting with fine dining place settings",
            },
            {
              imageSrc: "http://img.b2bpic.net/free-photo/preparing-refreshing-cocktail-bar_23-2148176765.jpg?_wi=1",
              imageAlt: "Craft cocktails prepared by professional bartender",
            },
          ]}
          tag="Premium Dining Experience"
          tagIcon={Sparkles}
          tagAnimation="slide-up"
          buttons={[
            { text: "Reserve a Table", href: "/contact" },
            { text: "View Our Menu", href: "/menu" },
          ]}
          buttonAnimation="slide-up"
          carouselPosition="right"
          ariaLabel="Donacio luxury restaurant hero section"
        />
      </div>

      <div id="about" data-section="about">
        <InlineImageSplitTextAbout
          heading={[
            { type: "text", content: "Our Story" },
            {
              type: "text",
              content: "At Donacio, we believe that dining is more than just food—it's an experience. Our restaurant was founded on the principle of delivering exceptional hospitality through carefully curated cuisine, warm ambiance, and a genuine commitment to every guest's satisfaction. From the moment you enter, you're part of our family. Every dish reflects our passion for quality, every note of live music sets the mood, and every team member is dedicated to making your evening unforgettable. We're proud to be a destination where memories are made, celebrations are honored, and culinary traditions are honored with innovation.",
            },
          ]}
          buttons={[
            { text: "Explore Our Menu", href: "/menu" },
            { text: "Book a Table", href: "/contact" },
          ]}
          buttonAnimation="slide-up"
          useInvertedBackground={false}
          ariaLabel="Donacio about section"
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardTwentySix
          title="What Makes Donacio Special"
          description="We've perfected the art of hospitality through three core pillars that define our restaurant experience."
          features={[
            {
              title: "Exceptional Service",
              description: "Our team is trained to anticipate your needs with genuine warmth and professionalism. Fast, attentive, and always with a smile—your comfort is our priority.",
              imageSrc: "http://img.b2bpic.net/free-photo/happy-man-using-smart-phone-paying-bill-waiter-while-being-with-his-girlfriend-restaurant_637285-663.jpg?_wi=1",
              imageAlt: "Professional restaurant staff providing excellent service",
              buttonIcon: Heart,
            },
            {
              title: "Spectacular Music",
              description: "Live performances create an enchanting atmosphere. The perfect soundtrack to your meal, curated to elevate your dining journey.",
              imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-musicians-working-studio_23-2150206709.jpg?_wi=1",
              imageAlt: "Live music performer creating intimate restaurant ambiance",
              buttonIcon: Music,
            },
            {
              title: "Culinary Excellence",
              description: "Premium ingredients, artistic plating, and innovative techniques. Every dish tells a story of flavor combinations and culinary mastery.",
              imageSrc: "http://img.b2bpic.net/free-photo/professional-chef-preparing-food-kitchen_23-2149727974.jpg?_wi=1",
              imageAlt: "Gourmet cuisine with artistic plating presentation",
              buttonIcon: ChefHat,
            },
          ]}
          tag="Restaurant Highlights"
          tagIcon={Star}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
          ariaLabel="Donacio feature highlights"
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardTwo
          title="Featured Dishes"
          description="Discover the flavors that define our culinary identity. Each dish is crafted with precision and passion."
          products={[
            {
              id: "signature-burger",
              brand: "Signature Creation",
              name: "Specialty Thick Burger",
              price: "Premium",
              rating: 5,
              reviewCount: "89",
              imageSrc: "http://img.b2bpic.net/free-photo/hamburger-with-black-sesame-bun_140725-1150.jpg?_wi=1",
              imageAlt: "Thick gourmet burger with premium quality ingredients",
            },
            {
              id: "shrimp-salad",
              brand: "Seafood Selection",
              name: "Shrimp Salad",
              price: "Premium",
              rating: 5,
              reviewCount: "67",
              imageSrc: "http://img.b2bpic.net/free-photo/smoked-salmon-with-fresh-salad_1258-193.jpg?_wi=1",
              imageAlt: "Elegant shrimp salad with vibrant fresh ingredients",
            },
            {
              id: "signature-entree",
              brand: "Chef's Creation",
              name: "House Specialty",
              price: "Premium",
              rating: 5,
              reviewCount: "124",
              imageSrc: "http://img.b2bpic.net/free-photo/top-view-grilled-chicken-fillet-served-with-bulgur-vegetables-white-wine_141793-2435.jpg?_wi=1",
              imageAlt: "Signature gourmet entree artfully plated",
            },
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          tag="Menu Showcase"
          tagIcon={Utensils}
          tagAnimation="slide-up"
          buttons={[{ text: "View Full Menu", href: "/menu" }]}
          buttonAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          ariaLabel="Donacio featured products"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFifteen
          testimonial="Excelente atención y música espectacular. El personal fue muy atento, y la comida fue perfecta. Lo recomiendo sin dudarlo."
          rating={5}
          author="María González"
          avatars={[
            {
              src: "http://img.b2bpic.net/free-photo/people-technology-close-up-shot-happy-face-attractive-bearded-man-sitting-front-laptop-screen-smiling-joyfully-while-messaging-friends-online-via-social-networks_273609-6655.jpg",
              alt: "Customer avatar",
            },
            {
              src: "http://img.b2bpic.net/free-photo/portrait-handsome-young-man-close-up-street_1321-10.jpg",
              alt: "Customer avatar",
            },
            {
              src: "http://img.b2bpic.net/free-photo/close-up-man-with-bright-smile_23-2148563438.jpg",
              alt: "Customer avatar",
            },
            {
              src: "http://img.b2bpic.net/free-photo/vertical-photo-beautiful-lady-sitting-restaurant-smiling-camera_114579-92383.jpg",
              alt: "Customer avatar",
            },
          ]}
          ratingAnimation="slide-up"
          avatarsAnimation="slide-up"
          useInvertedBackground={true}
          ariaLabel="Customer testimonials"
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqSplitMedia
          title="Frequently Asked Questions"
          description="Have questions about Donacio? Find answers to common inquiries about our dining experience, reservations, and more."
          tag="Help & Support"
          tagIcon={HelpCircle}
          tagAnimation="slide-up"
          faqs={[
            {
              id: "1",
              title: "How do I make a reservation?",
              content: "You can reserve your table directly through our website's contact page, by phone, or through popular reservation platforms. We recommend booking in advance, especially for weekends and special occasions.",
            },
            {
              id: "2",
              title: "Do you offer private dining?",
              content: "Yes! We have beautiful spaces available for private events, celebrations, and business gatherings. Contact us to discuss your specific needs.",
            },
            {
              id: "3",
              title: "What is your dress code?",
              content: "Donacio maintains a smart casual to elegant dress code. We want our guests to feel comfortable while respecting the sophisticated ambiance of our restaurant.",
            },
            {
              id: "4",
              title: "Do you have a wine selection?",
              content: "We offer a curated wine list featuring selections from around the world, personally chosen to complement our menu. Our sommelier is happy to make recommendations.",
            },
            {
              id: "5",
              title: "Can you accommodate dietary restrictions?",
              content: "Absolutely. Our chefs are experienced in preparing dishes for various dietary needs and preferences. Please inform us of any restrictions when making your reservation.",
            },
            {
              id: "6",
              title: "Do you have live music every night?",
              content: "We feature live music on select evenings. Check our website or call ahead to confirm the music schedule for your preferred date.",
            },
          ]}
          imageSrc="http://img.b2bpic.net/free-photo/chef-with-tablet_23-2148145531.jpg?_wi=1"
          imageAlt="Professional restaurant kitchen"
          mediaAnimation="slide-up"
          mediaPosition="right"
          faqsAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          ariaLabel="Donacio FAQ section"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseReveal
          columns={footerColumns}
          copyrightText="© 2024 Donacio. All rights reserved. Crafted with passion for exceptional dining experiences."
          ariaLabel="Footer"
        />
      </div>
    </ThemeProvider>
  );
};

export default HomePage;