"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import TextSplitAbout from '@/components/sections/about/TextSplitAbout';
import FeatureCardSeven from '@/components/sections/feature/FeatureCardSeven';
import FooterCard from '@/components/sections/footer/FooterCard';
import { CheckCircle, Instagram, Facebook, Mail } from "lucide-react";
import Link from "next/link";

export default function AboutPage() {
  // Navigation logic for about page
  const navItems = [
    { name: "Home", id: "/" },
    { name: "Products", id: "/products" },
    { name: "About", id: "about" }, // scroll to about section on current page
    { name: "FAQ", id: "/faq" },
    { name: "Contact", id: "/contact" }
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="compact"
      sizing="largeSmallSizeLargeTitles"
      background="aurora"
      cardStyle="gradient-radial"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="normal"
      showBlurBottom={true}
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={navItems}
          brandName="Moya Kvitka"
          bottomLeftText="Fresh Flowers Daily"
          bottomRightText="hello@moyakvitka.com"
        />
      </div>

      <div id="about" data-section="about">
        <TextSplitAbout
          title="About Moya Kvitka"
          description={[
            "For over a decade, Moya Kvitka has been Ukraine's premier destination for exquisite floral arrangements. Our passion for flowers and commitment to excellence drives every creation.",            "We believe that flowers tell stories. Each arrangement is meticulously crafted by our expert florists using only the freshest blooms sourced from trusted growers. Whether it's a romantic gesture, a celebration, or a moment of sympathy, we create arrangements that capture the perfect emotion.",            "Our mission is to make every occasion memorable through the timeless beauty of nature. From custom designs to seasonal collections, we're here to bring your floral dreams to life."
          ]}
          useInvertedBackground="noInvert"
          showBorder={true}
          buttons={[
            { text: "Explore Our Story", href: "/about" }
          ]}
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardSeven
          title="Why Choose Moya Kvitka"
          description="Experience the difference that premium quality and expert craftsmanship make"
          tag="Our Promise"
          tagIcon={CheckCircle}
          features={[
            {
              id: 1,
              title: "Fresh Flowers Guaranteed",              description: "We source only the freshest blooms daily from trusted growers. Our flowers are hand-selected and arranged the same day to ensure maximum freshness and longevity.",              imageSrc: "https://img.b2bpic.net/free-photo/woman-florist-her-own-floral-shop-taking-care-flowers_1303-15607.jpg",              imageAlt: "Fresh flowers in shop"
            },
            {
              id: 2,
              title: "Expert Florist Design",              description: "Our award-winning florists bring decades of experience and artistic vision to every arrangement. Each creation is a masterpiece tailored to your preferences and occasion.",              imageSrc: "https://img.b2bpic.net/free-photo/minimal-floral-arrangement-red-surface_58702-17285.jpg",              imageAlt: "Expert floral design"
            },
            {
              id: 3,
              title: "Fast & Reliable Delivery",              description: "Same-day delivery available in select areas. We handle your precious flowers with care, ensuring they arrive in perfect condition, on time, every time.",              imageSrc: "https://img.b2bpic.net/free-photo/young-female-florist-looking-bunch-beautiful-white-flowers_23-2147882071.jpg",              imageAlt: "Flower delivery service"
            }
          ]}
          textboxLayout="default"
          animationType="blur-reveal"
          useInvertedBackground="invertDefault"
        />
      </div>

      <FooterCard
        logoText="Moya Kvitka"
        copyrightText="© 2025 Moya Kvitka | Premium Floral Design | All rights reserved"
        socialLinks={[
          { icon: Instagram, href: "https://instagram.com/moyakvitka", ariaLabel: "Follow us on Instagram" },
          { icon: Facebook, href: "https://facebook.com/moyakvitka", ariaLabel: "Follow us on Facebook" },
          { icon: Mail, href: "mailto:hello@moyakvitka.com", ariaLabel: "Email us" }
        ]}
      />
    </ThemeProvider>
  );
}
