"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterCard from '@/components/sections/footer/FooterCard';
import { Flower2, Instagram, Facebook, Mail } from "lucide-react";
import Link from "next/link";

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

  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"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={navItems}
          brandName="Moya Kvitka"
          bottomLeftText="Fresh Flowers Daily"
          bottomRightText="hello@moyakvitka.com"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplit
          tag="Stay Updated"
          title="Join Our Flower Lovers Community"
          description="Subscribe to receive special offers, new arrivals, seasonal collections, and floral inspiration delivered straight to your inbox. Be the first to know about exclusive promotions!"
          useInvertedBackground="noInvert"
          imageSrc="https://img.b2bpic.net/free-photo/young-female-florist-looking-bunch-beautiful-white-flowers_23-2147882071.jpg"
          imageAlt="Fresh flower delivery"
          mediaPosition="right"
          tagIcon={Flower2}
          inputPlaceholder="Your email address"
          buttonText="Subscribe"
          termsText="We respect your privacy. Unsubscribe anytime. Your information is secure and will never be shared."
        />
      </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>
  );
}