"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi';
import MediaAbout from '@/components/sections/about/MediaAbout';
import FeatureCardOne from '@/components/sections/feature/FeatureCardOne';
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
import PricingCardNine from '@/components/sections/pricing/PricingCardNine';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import { Leaf, Heart, Utensils, Star, Menu, MapPin } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="background-highlight"
      borderRadius="sharp"
      contentWidth="small"
      sizing="mediumSizeLargeTitles"
      background="floatingGradient"
      cardStyle="gradient-radial"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="layered"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Savta"
          navItems={[
            {name: "About", id: "about"},
            {name: "Menu", id: "menu"},
            {name: "Reservations", id: "contact"},
            {name: "Reviews", id: "testimonials"},
            {name: "Visit Us", id: "location"}
          ]}
          button={{
            text: "Book a Table",            href: "#contact"
          }}
        />
      </div>
      
      <div id="hero" data-section="hero">
        <HeroSplitKpi
          title="Savta: Where Tradition Meets Innovation"
          description="Discover authentic Mediterranean cuisine crafted from locally-sourced ingredients in the heart of Tel Aviv. Every dish tells a story."
          background={{
            variant: "glowing-orb"
          }}
          kpis={[
            {value: "12 Years", label: "Serving Tel Aviv"},
            {value: "100% Local", label: "Sourced Ingredients"},
            {value: "4.9★", label: "Guest Rating"}
          ]}
          enableKpiAnimation={true}
          tag="Indie Dining"
          tagIcon={Leaf}
          buttons={[
            {text: "Reserve Now", href: "#contact"},
            {text: "View Menu", href: "#menu"}
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/tables-chairs-arranged-empty-coffee-shop_107420-96463.jpg"
          imageAlt="Savta Restaurant interior with warm ambient lighting"
          imagePosition="right"
        />
      </div>
      
      <div id="about" data-section="about">
        <MediaAbout
          title="Crafted with Passion, Rooted in Heritage"
          description="Savta celebrates the culinary heritage of the Mediterranean while embracing contemporary techniques. Our kitchen sources ingredients daily from local farmers and artisans, ensuring every plate reflects the season's bounty and our commitment to quality."
          tag="Our Story"
          tagIcon={Heart}
          buttons={[
            {text: "Meet the Chef", href: "#"}
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/wicker-gray-table-with-glass-gray-chairs_140725-3025.jpg"
          imageAlt="Chef preparing fresh dishes in our kitchen"
          useInvertedBackground="invertDefault"
        />
      </div>
      
      <div id="features" data-section="features">
        <FeatureCardOne
          title="Signature Creations"
          description="Explore our curated selection of dishes that showcase the best of Mediterranean cuisine"
          tag="Menu Highlights"
          tagIcon={Utensils}
          features={[
            {
              title: "Handmade Pasta",              description: "Fresh egg pasta crafted daily with organic flour, paired with seasonal sauces and local herbs",              imageSrc: "https://img.b2bpic.net/free-photo/healthy-ingredients-kitchen-table-spaghetti-olive-oil-t_1220-820.jpg",              imageAlt: "Handmade pasta with fresh herbs",              button: {text: "Learn More", href: "#"}
            },
            {
              title: "Daily Catch",              description: "Premium seafood sourced from Tel Aviv's finest suppliers, prepared with Mediterranean flair",              imageSrc: "https://img.b2bpic.net/free-photo/delicious-plate-italian-pasta_23-2148189927.jpg",              imageAlt: "Fresh seafood plated elegantly",              button: {text: "Learn More", href: "#"}
            },
            {
              title: "Garden Harvest",              description: "Seasonal vegetables from local farms, transformed into vibrant and nourishing dishes",              imageSrc: "https://img.b2bpic.net/free-photo/plate-with-pasta-herbs_23-2148847415.jpg",              imageAlt: "Fresh seasonal vegetables",              button: {text: "Learn More", href: "#"}
            },
            {
              title: "Sweet Finales",              description: "Artisanal desserts crafted in-house, blending tradition with contemporary flavors",              imageSrc: "https://img.b2bpic.net/free-photo/spaghetti-with-fresh-ingredients_1220-439.jpg",              imageAlt: "Elegant plated dessert",              button: {text: "Learn More", href: "#"}
            }
          ]}
          gridVariant="bento-grid"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFive
          title="Loved by Our Community"
          description="Discover why guests keep coming back to Savta"
          tag="Guest Reviews"
          tagIcon={Star}
          testimonials={[
            {
              id: "1",              name: "Maya Levi, Food Blogger",              date: "Date: 15 November 2024",              title: "An unforgettable culinary experience",              quote: "Savta is where passion meets plate. Every dish is a masterpiece, and the team's attention to detail is remarkable. This is not just dinner—it's a celebration of Mediterranean culture.",              tag: "Premium Dining",              avatarSrc: "https://img.b2bpic.net/free-photo/young-beautiful-blonde-woman-wearing-casual-shirt-standing-isolated-white-background-with-happy-cool-smile-face-lucky-person_839833-25329.jpg",              avatarAlt: "Maya Levi",              imageSrc: "https://img.b2bpic.net/free-photo/healthy-ingredients-kitchen-table-spaghetti-olive-oil-t_1220-820.jpg",              imageAlt: "Signature pasta dish"
            },
            {
              id: "2",              name: "David Kohn, Local Resident",              date: "Date: 20 November 2024",              title: "Finally, authentic Mediterranean in Tel Aviv",              quote: "The freshness of ingredients is unmatched. You can taste the care in every bite. The service is warm, and the ambiance is perfect for both intimate dinners and celebrations.",              tag: "Regular Guest",              avatarSrc: "https://img.b2bpic.net/free-photo/close-up-young-woman_23-2149133073.jpg",              avatarAlt: "David Kohn",              imageSrc: "https://img.b2bpic.net/free-photo/delicious-plate-italian-pasta_23-2148189927.jpg",              imageAlt: "Fresh seafood preparation"
            },
            {
              id: "3",              name: "Sarah Mendelson, Chef",              date: "Date: 22 November 2024",              title: "A testament to culinary excellence",              quote: "As someone in the food industry, I deeply appreciate what Savta is doing. The technique, the sourcing, the respect for ingredients—it's all evident. Bravo to the entire team.",              tag: "Industry Expert",              avatarSrc: "https://img.b2bpic.net/free-photo/young-woman-cozy-wear-outdoors_624325-539.jpg",              avatarAlt: "Sarah Mendelson",              imageSrc: "https://img.b2bpic.net/free-photo/plate-with-pasta-herbs_23-2148847415.jpg",              imageAlt: "Seasonal vegetable dish"
            },
            {
              id: "4",              name: "Eli Baruch, Business Executive",              date: "Date: 18 November 2024",              title: "The perfect spot for meaningful gatherings",              quote: "We hosted our business dinner here, and it exceeded expectations. The menu is thoughtful, the wine selection is excellent, and the entire experience reflects true craftsmanship.",              tag: "Corporate Client",              avatarSrc: "https://img.b2bpic.net/free-photo/horizontal-shot-pretty-smiling-woman-with-dark-hair-combed-pigtail-dressed-casual-pink-shirt-focused-away-with-glad-expression-strolls-outdoors-daytime-against-wooden-hence-background_273609-62256.jpg",              avatarAlt: "Eli Baruch",              imageSrc: "https://img.b2bpic.net/free-photo/spaghetti-with-fresh-ingredients_1220-439.jpg",              imageAlt: "Artisanal dessert creation"
            },
            {
              id: "5",              name: "Noa Shani, Photographer",              date: "Date: 25 November 2024",              title: "Visual and culinary art combined",              quote: "Every plate is Instagram-worthy, but it's not just about looks. The flavors are as stunning as the presentation. Savta is a restaurant that respects both tradition and aesthetics.",              tag: "Food Enthusiast",              avatarSrc: "https://img.b2bpic.net/free-photo/pleased-pretty-woman-with-dyed-hair-dark-eyes-healthy-skin-dressed-brown-t-shirt-green-jacket-holding-hands-pockets-smiling-while-posing-against-white-concrete-wall-people-lifestyle_273609-7639.jpg",              avatarAlt: "Noa Shani",              imageSrc: "https://img.b2bpic.net/free-photo/tables-chairs-arranged-empty-coffee-shop_107420-96463.jpg",              imageAlt: "Restaurant ambiance and plating"
            },
            {
              id: "6",              name: "Oren Tzur, Wine Collector",              date: "Date: 19 November 2024",              title: "Wine and cuisine in perfect harmony",              quote: "The sommelier's recommendations were spot-on. Each pairing elevated the dining experience. This is what fine dining should be—knowledgeable, generous, and genuinely passionate.",              tag: "Wine Lover",              avatarSrc: "https://img.b2bpic.net/free-photo/positive-woman-smiling-sincerely-young-natural-looking-lady-student-age-wearing-blue-cotton-shirt_285396-4376.jpg",              avatarAlt: "Oren Tzur",              imageSrc: "https://img.b2bpic.net/free-photo/healthy-ingredients-kitchen-table-spaghetti-olive-oil-t_1220-820.jpg",              imageAlt: "Paired wine with pasta course"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>
      
      <div id="menu" data-section="menu">
        <PricingCardNine
          title="Our Tasting Menu"
          description="Choose your culinary journey with our thoughtfully curated dining experiences"
          tag="Menu Options"
          tagIcon={Menu}
          plans={[
            {
              id: "three-course",              title: "Three-Course Experience",              price: "₪195",              period: "per person",              imageSrc: "https://img.b2bpic.net/free-photo/healthy-ingredients-kitchen-table-spaghetti-olive-oil-t_1220-820.jpg",              imageAlt: "Three-course tasting menu",              features: [
                "Appetizer selection",                "Main course choice",                "Artisanal dessert",                "Complimentary bread and olives"
              ],
              button: {text: "Reserve", href: "#contact"}
            },
            {
              id: "chef-selection",              title: "Chef's Selection",              price: "₪280",              period: "per person",              imageSrc: "https://img.b2bpic.net/free-photo/delicious-plate-italian-pasta_23-2148189927.jpg",              imageAlt: "Chef's selection tasting menu",              features: [
                "Chef's chosen dishes",                "Seasonal ingredients",                "Wine pairing options",                "Personalized service"
              ],
              button: {text: "Reserve", href: "#contact"}
            },
            {
              id: "prestige-menu",              title: "Prestige Experience",              price: "₪380",              period: "per person",              imageSrc: "https://img.b2bpic.net/free-photo/spaghetti-with-fresh-ingredients_1220-439.jpg",              imageAlt: "Prestige tasting menu with wine pairing",              features: [
                "6-course tasting menu",                "Premium wine pairings",                "Sommelier consultation",                "Private table preferred"
              ],
              button: {text: "Reserve", href: "#contact"}
            }
          ]}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="location" data-section="location">
        <ContactSplit
          tag="Get in Touch"
          tagIcon={MapPin}
          title="Visit Savta"
          description="Join us for an unforgettable dining experience in the heart of Tel Aviv. Whether you're planning a special celebration or a casual evening out, our team is ready to welcome you."
          useInvertedBackground="invertDefault"
          imageSrc="https://img.b2bpic.net/free-photo/cocktail-wooden-table-restaurant_23-2147936121.jpg"
          imageAlt="Savta Restaurant storefront in Tel Aviv"
          mediaPosition="left"
          inputPlaceholder="Enter your email"
          buttonText="Subscribe"
          termsText="Join our mailing list for exclusive menu previews and special events."
        />
      </div>
      
      <div id="footer" data-section="footer">
        <FooterBaseReveal
          columns={[
            {
              title: "Restaurant",              items: [
                {label: "About Us", href: "about"},
                {label: "Menu", href: "menu"},
                {label: "Hours & Location", href: "location"},
                {label: "Contact", href: "contact"}
              ]
            },
            {
              title: "Experience",              items: [
                {label: "Private Events", href: "#"},
                {label: "Wine Pairings", href: "#"},
                {label: "Chef's Table", href: "#"},
                {label: "Catering", href: "#"}
              ]
            },
            {
              title: "Connect",              items: [
                {label: "Instagram", href: "https://instagram.com"},
                {label: "Facebook", href: "https://facebook.com"},
                {label: "Subscribe", href: "#contact"},
                {label: "Reservations", href: "#contact"}
              ]
            }
          ]}
          copyrightText="© 2025 Savta Restaurant. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}