"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import HeroCentered from '@/components/sections/hero/HeroCentered';
import MediaSplitTabsAbout from '@/components/sections/about/MediaSplitTabsAbout';
import FeatureCardTwentySix from '@/components/sections/feature/FeatureCardTwentySix';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import TestimonialCardTen from '@/components/sections/testimonial/TestimonialCardTen';
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import { Calendar, ChefHat } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="elastic-effect"
      defaultTextAnimation="reveal-blur"
      borderRadius="rounded"
      contentWidth="small"
      sizing="mediumLargeSizeMediumTitles"
      background="circleGradient"
      cardStyle="gradient-mesh"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="Savoria"
          navItems={[
            { name: "Menu", id: "menu" },
            { name: "Gallery", id: "gallery" },
            { name: "About", id: "about" },
            { name: "Reservations", id: "reservations" },
            { name: "Contact", id: "contact" }
          ]}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroCentered
          title="Welcome to Savoria"
          description="Experience authentic cuisine crafted with passion and the finest ingredients. Reserve your table for an unforgettable dining experience."
          background={{ variant: "radial-gradient" }}
          avatars={[
            { src: "https://img.b2bpic.net/free-photo/wonderful-wedding-table-amazing-restaurant_8353-9875.jpg", alt: "Elegant restaurant dining" }
          ]}
          avatarText="Award-Winning Restaurant"
          buttons={[
            { text: "Reserve Now", href: "reservations" },
            { text: "View Menu", href: "menu" }
          ]}
        />
      </div>

      <div id="menu" data-section="menu">
        <MediaSplitTabsAbout
          title="Our Menu"
          description="Discover our carefully curated selection of dishes featuring seasonal ingredients and traditional cooking techniques."
          tabs={[
            {
              id: "appetizers",              label: "Appetizers",              description: "Begin your culinary journey with our exquisite appetizers, featuring fresh seafood, artisan cheeses, and house-made preparations that awaken the palate."
            },
            {
              id: "mains",              label: "Main Courses",              description: "Our signature entrees showcase premium meats, sustainable seafood, and vegetarian delights prepared with precision and passion by our award-winning chefs."
            },
            {
              id: "desserts",              label: "Desserts",              description: "Conclude your meal with our decadent desserts, crafted by our pastry team using premium chocolate, fresh fruits, and innovative techniques."
            },
            {
              id: "wines",              label: "Wine Selection",              description: "Our sommelier-curated wine list features Old World classics and New World discoveries, each selected to complement our cuisine perfectly."
            }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/toasted-sandwiches-with-thyme-wooden-chopping-board_23-2147922295.jpg"
          imageAlt="Signature plated dish"
          imagePosition="right"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="gallery" data-section="gallery">
        <FeatureCardTwentySix
          title="Visual Journey"
          description="Explore our restaurant's atmosphere, signature dishes, and culinary artistry through these carefully selected moments."
          features={[
            {
              title: "Signature Appetizers",              description: "Beautifully presented starters that set the tone for an exceptional meal",              imageSrc: "https://img.b2bpic.net/free-photo/front-view-cooked-squashes-designed-meal-inside-plate-grey-space_140725-83766.jpg",              imageAlt: "Gourmet appetizer presentation",              buttonIcon: ChefHat
            },
            {
              title: "Main Courses",              description: "Premium dishes featuring the finest ingredients and impeccable plating",              imageSrc: "https://img.b2bpic.net/free-photo/small-slice-pizza-with-shrimp_140725-896.jpg",              imageAlt: "Fine dining main course",              buttonIcon: ChefHat
            },
            {
              title: "Exquisite Desserts",              description: "Sweet creations that provide the perfect conclusion to your dining experience",              imageSrc: "https://img.b2bpic.net/free-photo/front-view-cooked-squashes-designed-meal-inside-plate-dark-grey-space_140725-83767.jpg",              imageAlt: "Gourmet dessert presentation",              buttonIcon: ChefHat
            },
            {
              title: "Dining Atmosphere",              description: "An elegant and inviting space designed for memorable meals and celebrations",              imageSrc: "https://img.b2bpic.net/free-photo/side-view-table-with-cheese-plate-pate-it_140725-12866.jpg",              imageAlt: "Restaurant interior ambiance",              buttonIcon: ChefHat
            },
            {
              title: "Chef's Expertise",              description: "Our talented culinary team crafting each dish with precision and passion",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-shiny-glassware-standing-dinner-plate_8353-664.jpg",              imageAlt: "Chef preparing dishes",              buttonIcon: ChefHat
            },
            {
              title: "Table Settings",              description: "Carefully arranged settings that reflect our commitment to hospitality",              imageSrc: "https://img.b2bpic.net/free-photo/beautiful-decorated-table-with-pine-leaf_8353-10194.jpg",              imageAlt: "Elegant table setup",              buttonIcon: ChefHat
            }
          ]}
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="highlights" data-section="highlights">
        <ProductCardFour
          title="Why Choose Savoria"
          description="Discover what makes our restaurant the preferred destination for discerning diners"
          products={[
            {
              id: "1",              name: "Fresh Ingredients",              price: "Daily",              variant: "Locally sourced, seasonal selection",              imageSrc: "https://img.b2bpic.net/free-photo/toasted-sandwiches-with-thyme-wooden-chopping-board_23-2147922295.jpg",              imageAlt: "Fresh ingredients showcase"
            },
            {
              id: "2",              name: "Award-Winning Chef",              price: "Excellence",              variant: "25+ years culinary experience",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-shiny-glassware-standing-dinner-plate_8353-664.jpg",              imageAlt: "Award-winning chef"
            },
            {
              id: "3",              name: "Elegant Ambiance",              price: "Premium",              variant: "Sophisticated dining experience",              imageSrc: "https://img.b2bpic.net/free-photo/side-view-table-with-cheese-plate-pate-it_140725-12866.jpg",              imageAlt: "Restaurant ambiance"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTen
          title="Trusted by Our Guests"
          description="Read what our satisfied diners have to say about their Savoria experience"
          testimonials={[
            {
              id: "1",              title: "An Unforgettable Evening",              quote: "The attention to detail at Savoria is extraordinary. Every course was a masterpiece, and the service was impeccable. This is fine dining at its finest.",              name: "Sarah Mitchell",              role: "Food Critic",              imageSrc: "https://img.b2bpic.net/free-photo/front-view-cute-girl-looking-away_23-2148436134.jpg",              imageAlt: "Sarah Mitchell"
            },
            {
              id: "2",              title: "Consistently Exceptional",              quote: "We've been to Savoria five times now, and every visit exceeds our expectations. The chef's creativity is boundless, and the wine pairings are perfect.",              name: "James Rodriguez",              role: "Restaurant Owner",              imageSrc: "https://img.b2bpic.net/free-photo/happy-beautiful-young-woman-standing-posing-co-working-coffee-shop-interior-looking-camera-smiling_74855-9955.jpg",              imageAlt: "James Rodriguez"
            },
            {
              id: "3",              title: "Perfect for Special Occasions",              quote: "We celebrated our anniversary at Savoria, and it was absolutely perfect. The staff made us feel like VIPs, and the food was incredibly delicious.",              name: "Emily Chen",              role: "Wedding Planner",              imageSrc: "https://img.b2bpic.net/free-photo/teen-age-youth-style-self-expression-concept-portrait-positive-happy-teenage-girl-with-bob-pinkish-hairstyle-facial-piercing-relaxing-indoors_343059-3781.jpg",              imageAlt: "Emily Chen"
            },
            {
              id: "4",              title: "Worth Every Penny",              quote: "The quality of ingredients and culinary skill on display here is remarkable. This is not just a meal; it's an educational and delicious experience.",              name: "David Thompson",              role: "Chef & Restaurateur",              imageSrc: "https://img.b2bpic.net/free-photo/mature-woman-smiling_1149-601.jpg",              imageAlt: "David Thompson"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="reservations" data-section="reservations">
        <ContactCTA
          tag="Book Your Table"
          tagIcon={Calendar}
          title="Reserve Your Dining Experience"
          description="Secure your table at Savoria for an evening of culinary excellence. Our team looks forward to welcoming you."
          buttons={[
            { text: "Reserve Now", href: "https://example.com/reservations" },
            { text: "Call Us", href: "tel:+1234567890" }
          ]}
          background={{ variant: "plain" }}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoEmphasis
          logoText="Savoria"
          columns={[
            {
              items: [
                { label: "Menu", href: "menu" },
                { label: "Gallery", href: "gallery" },
                { label: "About", href: "about" }
              ]
            },
            {
              items: [
                { label: "Reservations", href: "reservations" },
                { label: "Contact", href: "contact" },
                { label: "Private Events", href: "events" }
              ]
            },
            {
              items: [
                { label: "Hours", href: "#" },
                { label: "Location", href: "#" },
                { label: "Careers", href: "#" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}