"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import HeroSplit from '@/components/sections/hero/HeroSplit';
import TextSplitAbout from '@/components/sections/about/TextSplitAbout';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import FeatureCardTwentyFour from '@/components/sections/feature/FeatureCardTwentyFour';
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import { Sparkles, Award, Heart } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="directional-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="mediumLarge"
      sizing="largeSmallSizeLargeTitles"
      background="none"
      cardStyle="glass-elevated"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="Пекарня"
          navItems={[
            { name: "About", id: "about" },
            { name: "Products", id: "products" },
            { name: "Why Us", id: "features" },
            { name: "Reviews", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplit
          title="Authentic Ukrainian Bakery Traditions"
          description="Handcrafted baked goods made with premium ingredients and time-honored recipes. Experience the warmth and authenticity of traditional Ukrainian baking delivered fresh to your door."
          tag="Fresh Baked Daily"
          tagIcon={Sparkles}
          background={{ variant: "glowing-orb" }}
          imageSrc="https://img.b2bpic.net/free-photo/various-type-rustic-breads-box_23-2147975199.jpg"
          imageAlt="Fresh Ukrainian bakery with artisan breads"
          imagePosition="right"
          buttons={[
            { text: "Order Now", href: "https://example.com/order" },
            { text: "Learn More", href: "about" }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <TextSplitAbout
          title="Our Story"
          description={[
            "For over 20 years, our family bakery has been perfecting the art of traditional Ukrainian baking. We believe in preserving authentic recipes while embracing quality and freshness.",            "Every loaf of bread, every pastry, and every sweet treat is crafted with care using premium ingredients sourced from trusted local suppliers. Our master bakers bring passion and expertise to every batch, ensuring consistency and excellence.",            "We're committed to delivering not just baked goods, but moments of joy and connection through the universal language of great taste."
          ]}
          useInvertedBackground="invertDefault"
          showBorder={false}
          buttons={[
            { text: "Explore Our Story", href: "https://example.com/about" }
          ]}
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardOne
          title="Our Signature Collection"
          description="Discover our handpicked selection of authentic Ukrainian baked goods, fresh daily and made with love"
          tag="Featured"
          tagIcon={Award}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          gridVariant="three-columns-all-equal-width"
          products={[
            {
              id: "1",              name: "Rustic Sourdough",              price: "₴120",              imageSrc: "https://img.b2bpic.net/free-photo/baker-holds-homemade-craft-bread-his-hands_166373-749.jpg",              imageAlt: "Traditional sourdough loaf"
            },
            {
              id: "2",              name: "Ukrainian Pastries",              price: "₴85",              imageSrc: "https://img.b2bpic.net/free-photo/baker-holding-fresh-bread-hands_169016-6371.jpg",              imageAlt: "Assorted pastries and croissants"
            },
            {
              id: "3",              name: "Dark Rye Bread",              price: "₴95",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-baker-s-hand-holding-round-rustics-bread_23-2147975067.jpg",              imageAlt: "Traditional dark rye bread"
            },
            {
              id: "4",              name: "Sweet Babka",              price: "₴130",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-tasty-homemade-bread_23-2148361942.jpg",              imageAlt: "Chocolate and cinnamon babka"
            }
          ]}
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardTwentyFour
          title="Why Choose Us"
          description="We stand out through our commitment to quality, tradition, and customer satisfaction"
          tag="Our Commitment"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          features={[
            {
              id: "1",              title: "Premium Quality Ingredients",              author: "Master Bakers",              description: "We source only the finest flour, organic butter, and natural ingredients. Every ingredient is carefully selected to ensure the highest quality in every bite.",              tags: ["Quality", "Ingredients", "Premium"],
              imageSrc: "https://img.b2bpic.net/free-vector/quality-insignias_23-2147513995.jpg"
            },
            {
              id: "2",              title: "Traditional Recipes",              author: "Heritage Collection",              description: "Our recipes have been passed down through generations, maintaining authentic Ukrainian baking traditions. We honor the past while delivering modern convenience.",              tags: ["Tradition", "Heritage", "Authentic"],
              imageSrc: "https://img.b2bpic.net/free-vector/collection-new-year-badges-different-shapes_23-2147711279.jpg"
            },
            {
              id: "3",              title: "Fresh Daily",              author: "Daily Baking",              description: "All our products are baked fresh daily using traditional methods. We believe in quality over quantity, ensuring every customer gets the freshest baked goods.",              tags: ["Fresh", "Daily", "Natural"],
              imageSrc: "https://img.b2bpic.net/free-vector/golden-shiny-star-background-high-rating-service-designs_1017-45364.jpg"
            }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardSix
          title="Loved by Our Community"
          description="Hear what our customers say about their experience with our bakery"
          tag="Customer Stories"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          speed={40}
          topMarqueeDirection="left"
          testimonials={[
            {
              id: "1",              name: "Марія Петренко",              handle: "@mariia_kyiv",              testimonial: "The best sourdough I've ever tasted! It brings back memories of my grandmother's baking. Absolutely recommend!",              imageSrc: "https://img.b2bpic.net/free-photo/portrait-young-woman_23-2148574874.jpg",              imageAlt: "Марія Петренко"
            },
            {
              id: "2",              name: "Іван Коваленко",              handle: "@ivan_baker",              testimonial: "As a baker myself, I'm impressed with their craftsmanship. The attention to detail and quality is exceptional.",              imageSrc: "https://img.b2bpic.net/free-photo/beautiful-woman-cafe_273609-12690.jpg",              imageAlt: "Іван Коваленко"
            },
            {
              id: "3",              name: "Оксана Мельник",              handle: "@oksana_chef",              testimonial: "Perfect for my family gatherings. The pastries and bread always disappear first from the table!",              imageSrc: "https://img.b2bpic.net/free-photo/positive-blond-girl-shows-tongue-winks-camera-makes-happy-funny-face-stands-against-white-background_176420-46979.jpg",              imageAlt: "Оксана Мельник"
            },
            {
              id: "4",              name: "Дмитро Сідельник",              handle: "@dmytro_sch",              testimonial: "Consistently fresh, delicious, and made with care. This is authentic Ukrainian baking at its finest.",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-attractive-african-american-woman-smiling-looking-happy-standing-yellow-background_1258-54850.jpg",              imageAlt: "Дмитро Сідельник"
            },
            {
              id: "5",              name: "Ганна Лисенко",              handle: "@hanna_lifestyle",              testimonial: "I order weekly! The quality never disappoints, and the customer service is always friendly and helpful.",              imageSrc: "https://img.b2bpic.net/free-photo/young-woman-smiling-confident-standing-park_839833-8957.jpg",              imageAlt: "Ганна Лисенко"
            },
            {
              id: "6",              name: "Василь Грищенко",              handle: "@vasyl_food",              testimonial: "Supporting local craftsmanship has never tasted so good. Every purchase feels like an investment in quality.",              imageSrc: "https://img.b2bpic.net/free-photo/beautiful-woman-cafe_273609-12701.jpg",              imageAlt: "Василь Грищенко"
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Stay Connected"
          tagIcon={Heart}
          title="Subscribe to Our Newsletter"
          description="Get weekly updates on fresh baked goods, special offers, and exclusive recipes delivered to your inbox."
          useInvertedBackground="invertDefault"
          inputPlaceholder="Enter your email address"
          buttonText="Subscribe"
          termsText="We respect your privacy. Unsubscribe anytime. No spam, just fresh baking updates!"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoReveal
          logoText="Пекарня"
        />
      </div>
    </ThemeProvider>
  );
}