"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroBillboardCarousel from '@/components/sections/hero/HeroBillboardCarousel';
import MediaSplitAbout from '@/components/sections/about/MediaSplitAbout';
import FeatureCardTwentyOne from '@/components/sections/feature/FeatureCardTwentyOne';
import ProductCardFive from '@/components/sections/product/ProductCardFive';
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterCard from '@/components/sections/footer/FooterCard';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-shift"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="smallMedium"
      sizing="mediumLarge"
      background="aurora"
      cardStyle="solid"
      primaryButtonStyle="flat"
      secondaryButtonStyle="outline"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={[
            { name: "Home", id: "home" },
            { name: "About", id: "about" },
            { name: "Products", id: "products" },
            { name: "Contact", id: "contact" }
          ]}
          brandName="Kvitka"
          bottomLeftText="Flowers for every moment"
          bottomRightText="hello@kvitka.com"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardCarousel
          title="Bloom with Beauty"
          description="Discover our exquisite collection of fresh flowers for every occasion. From romantic roses to vibrant mixed bouquets, we bring nature's beauty to your doorstep."
          tag="Premium Flowers"
          buttons={[
            { text: "Shop Now", href: "products" },
            { text: "Learn More", href: "about" }
          ]}
          mediaItems={[
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766918412714-53pyvwjh.jpg",
              imageAlt: "Beautiful rose bouquet"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766918415927-41uv9ooo.jpg",
              imageAlt: "Colorful tulip arrangement"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766918421035-r3x305l4.jpg",
              imageAlt: "Bright sunflower bouquet"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766931302153-4ox9u9f7.jpg",
              imageAlt: "Elegant white flower arrangement"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766918421867-xzubhmib.jpg",
              imageAlt: "Fresh mixed flower bouquet"
            }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <MediaSplitAbout
          title="About Kvitka"
          description="We are passionate florists dedicated to creating stunning floral arrangements that bring joy and beauty to every moment. With over a decade of experience, Kvitka has become the trusted choice for weddings, events, and everyday celebrations. Each arrangement is crafted with care using the freshest flowers sourced from local and international growers."
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766931303434-xctqpzcz.jpg"
          imageAlt="Kvitka florist creating arrangements"
          buttons={[
            { text: "Explore Our Services", href: "products" }
          ]}
          imagePosition="right"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardTwentyOne
          title="Why Choose Kvitka"
          description="Discover what makes our floral designs special and how we deliver exceptional quality every time."
          tag="Our Services"
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766931304781-hcwks8ht.jpg"
          imageAlt="Florist workshop with custom designs"
          accordionItems={[
            {
              id: "1",
              title: "Custom Design",
              content: "Work with our talented florists to create a unique arrangement tailored to your vision and preferences. From color schemes to specific flower selections, we bring your ideas to life."
            },
            {
              id: "2",
              title: "Fresh Quality",
              content: "We guarantee the freshest flowers available. All arrangements are made daily using premium blooms sourced from trusted growers to ensure longevity and beauty."
            },
            {
              id: "3",
              title: "Same-Day Delivery",
              content: "Need flowers today? Our same-day delivery service covers the local area. Order before noon and we will deliver your beautiful arrangement the same day."
            }
          ]}
          useInvertedBackground="noInvert"
          mediaPosition="left"
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardFive
          title="Our Collection"
          description="Browse our beautiful selection of fresh flower arrangements for any occasion."
          tag="Premium Selection"
          textboxLayout="default"
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          products={[
            {
              id: "1",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766918422845-iw17rn18.jpg",
              imageAlt: "Red rose bouquet",
              button: { text: "Add to Cart" }
            },
            {
              id: "2",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766918413782-x0snztev.jpg",
              imageAlt: "Colorful mixed arrangement",
              button: { text: "Add to Cart" }
            },
            {
              id: "3",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766931305884-b2karf28.jpg",
              imageAlt: "Exotic orchid arrangement",
              button: { text: "Add to Cart" }
            }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFive
          title="What Our Customers Say"
          description="Read heartfelt testimonials from those who have experienced the beauty and quality of Kvitka."
          tag="Customer Stories"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          testimonials={[
            {
              id: "1",
              name: "Maria Petrova, Bride",
              date: "Date: 15 June 2024",
              title: "Our wedding flowers were absolutely stunning",
              quote: "Kvitka transformed our wedding day with the most beautiful flower arrangements. The team listened carefully to our vision and delivered beyond expectations. Every guest commented on the gorgeous florals.",
              tag: "Wedding",
              avatarSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766565662495-bt8vf9hb.jpg",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766918414725-n921171y.jpg"
            },
            {
              id: "2",
              name: "Andrii Kovalenko, Corporate Client",
              date: "Date: 22 May 2024",
              title: "Professional service for our office events",
              quote: "We trust Kvitka for all our corporate events and office floral arrangements. They consistently deliver fresh, beautiful flowers on time. Their attention to detail is remarkable.",
              tag: "Corporate",
              avatarSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766565663497-7g5mp6d4.jpg",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766918414725-n921171y.jpg"
            },
            {
              id: "3",
              name: "Olena Shevchenko, Customer",
              date: "Date: 8 April 2024",
              title: "Perfect gift every single time",
              quote: "I have ordered from Kvitka multiple times and they never disappoint. The flowers are fresh, the arrangements are beautiful, and the delivery is always prompt. Highly recommended!",
              tag: "Regular",
              avatarSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766565664521-6sq4zooh.jpg",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766918414725-n921171y.jpg"
            },
            {
              id: "4",
              name: "Oksana Lysenko, Event Organizer",
              date: "Date: 20 March 2024",
              title: "Trusted partner for all our events",
              quote: "Kvitka is our go-to florist for all event decorations. From intimate gatherings to large celebrations, they handle everything with professionalism and creativity. Their custom designs are exceptional.",
              tag: "Events",
              avatarSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766565665445-zz3yp1m7.jpg",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766918414725-n921171y.jpg"
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplit
          tag="Newsletter"
          title="Stay Updated"
          description="Subscribe to our newsletter to receive exclusive offers, seasonal arrangements, and flower care tips delivered to your inbox."
          useInvertedBackground="noInvert"
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766931306981-9o137psq.jpg"
          imageAlt="Fresh flowers on workspace"
          mediaPosition="right"
          inputPlaceholder="Enter your email"
          buttonText="Join"
          termsText="We respect your privacy. Unsubscribe at any time."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterCard
          logoText="Kvitka"
          copyrightText="© 2025 Kvitka Flowers | All rights reserved"
        />
      </div>
    </ThemeProvider>
  );
}