"use client"

import NavbarStyleMinimal from '@/components/navbar/NavbarStyleMinimal';
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterSplit from '@/components/sections/footer/FooterSplit';
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import { Beer, Flame, MapPin, Phone, Mail, Sparkles, Star } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="bounce-effect"
      defaultTextAnimation="reveal-blur"
      borderRadius="rounded"
      contentWidth="mediumLarge"
      sizing="largeSizeMediumTitles"
      background="animatedAurora"
      cardStyle="gradient-bordered"
      primaryButtonStyle="outline"
      secondaryButtonStyle="solid"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleMinimal
          brandName="Brovary Brewery"
          button={{
            text: "Order Now",
            href: "contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboard
          title="Welcome to Brovary Brewery"
          description="Crafting authentic Ukrainian beer traditions since 2015. Discover our selection of premium craft beers brewed with passion in the heart of Brovary."
          tag="Craft Beer"
          tagIcon={Beer}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766762574261-yjhsihue.jpg"
          imageAlt="Brovary Brewery craft beer production"
          frameStyle="card"
          buttons={[
            {
              text: "View Our Beers",
              href: "products"
            },
            {
              text: "Visit Us",
              href: "contact"
            }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <TestimonialAboutCard
          tag="Our Story"
          tagIcon={Flame}
          title="We brew beer the way our ancestors did. With quality, tradition, and a modern touch."
          description="Founded in Brovary"
          subdescription="Premium Ukrainian Craft Brewery"
          icon={Beer}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766762575132-dxxhclnd.jpg"
          imageAlt="Brovary Brewery brewing process"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardThree
          title="Our Beer Selection"
          description="Discover our carefully crafted beers made with the finest ingredients and traditional brewing methods"
          tag="Premium Craft Beers"
          tagIcon={Sparkles}
          products={[
            {
              id: "1",
              name: "Dark Amber Ale",
              price: "45 UAH",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766762575132-dxxhclnd.jpg",
              imageAlt: "Dark Amber Ale bottle"
            },
            {
              id: "2",
              name: "Golden Pale Ale",
              price: "42 UAH",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766762576744-buu54bhs.jpg",
              imageAlt: "Golden Pale Ale glass"
            },
            {
              id: "3",
              name: "Blonde Wheat Beer",
              price: "40 UAH",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766762577464-90e79mt1.jpg",
              imageAlt: "Blonde Wheat Beer mug"
            }
          ]}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          gridVariant="three-columns-all-equal-width"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardThirteen
          title="What Beer Lovers Say"
          description="Join our community of satisfied customers who appreciate quality craft beer"
          tag="Reviews"
          tagIcon={Star}
          testimonials={[
            {
              id: "1",
              name: "Andriy Kovalenko",
              handle: "@andriy_beer",
              testimonial: "Best craft beer in Brovary. The brewing quality is exceptional and the taste is authentic Ukrainian tradition.",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766762578365-tv5b145z.jpg",
              imageAlt: "Andriy Kovalenko"
            },
            {
              id: "2",
              name: "Maria Shevchenko",
              handle: "@maria_loves_beer",
              testimonial: "I've tried many breweries, but Brovary Brewery stands out with their commitment to quality and local ingredients.",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766762579186-ahj3omer.jpg",
              imageAlt: "Maria Shevchenko"
            },
            {
              id: "3",
              name: "Ivan Petrov",
              handle: "@ivan_connoisseur",
              testimonial: "The brewing expertise here is incredible. Every batch is consistent and flavorful. Highly recommended.",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766762580012-jjz60sgr.jpg",
              imageAlt: "Ivan Petrov"
            },
            {
              id: "4",
              name: "Katerina Volkova",
              handle: "@katerina_craft",
              testimonial: "Supporting local craft brewers has never tasted better. Brovary Brewery is a treasure for beer enthusiasts.",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766762580622-h4z68c48.jpg",
              imageAlt: "Katerina Volkova"
            }
          ]}
          showRating={true}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Get in Touch"
          description="Have questions about our beers or want to visit our brewery? Contact us or stop by our location in Brovary."
          inputs={[
            {
              name: "name",
              type: "text",
              placeholder: "Your Name",
              required: true
            },
            {
              name: "email",
              type: "email",
              placeholder: "Your Email",
              required: true
            }
          ]}
          textarea={{
            name: "message",
            placeholder: "Tell us about your inquiry...",
            rows: 5,
            required: true
          }}
          useInvertedBackground="noInvert"
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766762575767-90vdk5op.jpg"
          imageAlt="Brovary Brewery location"
          mediaPosition="right"
          buttonText="Send Message"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSplit
          logoText="Brovary Brewery"
          title="Bringing quality craft beer to Brovary since 2015"
          columns={[
            {
              title: "Company",
              items: [
                {
                  label: "About Us",
                  href: "#about"
                },
                {
                  label: "Our Beers",
                  href: "#products"
                },
                {
                  label: "Contact",
                  href: "#contact"
                }
              ]
            },
            {
              title: "Legal",
              items: [
                {
                  label: "Terms of Service",
                  href: "/terms"
                },
                {
                  label: "Privacy Policy",
                  href: "/privacy"
                }
              ]
            }
          ]}
          contactItems={[
            {
              icon: MapPin,
              text: "Brovary, Kyiv Oblast, Ukraine"
            },
            {
              icon: Phone,
              text: "+380 (44) XXX-XXXX"
            },
            {
              icon: Mail,
              text: "hello@brovarybrew.ua"
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}