"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import ContactText from '@/components/sections/contact/ContactText';
import MediaSplitTabsAbout from '@/components/sections/about/MediaSplitTabsAbout';
import FooterBase from '@/components/sections/footer/FooterBase';
import Link from 'next/link';

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-shift"
      defaultTextAnimation="background-highlight"
      borderRadius="rounded"
      contentWidth="mediumLarge"
      sizing="largeSmallSizeLargeTitles"
      background="aurora"
      cardStyle="gradient-mesh"
      primaryButtonStyle="inset-glow"
      secondaryButtonStyle="solid"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          navItems={[
            { name: "Home", id: "/" },
            { name: "Arrangements", id: "/arrangements" },
            { name: "About", id: "/about" },
            { name: "Contact", id: "/contact" }
          ]}
          brandName="Lavanda"
          button={{
            text: "Order Now",
            href: "#"
          }}
        />
      </div>

      <div id="contact-main" data-section="contact-main">
        <ContactText
          text="Ready to bring beauty into your life? Get in touch with Lavanda today to discuss your floral vision."
          animationType="entrance-slide"
          buttons={[
            { text: "Schedule Consultation", href: "#" },
            { text: "View Portfolio", href: "#" }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="contact-info" data-section="contact-info">
        <MediaSplitTabsAbout
          title="Get in Touch"
          description="Multiple ways to connect with our floral design team"
          tabs={[
            {
              id: "consultation",
              label: "Free Consultation",
              description: "Book a complimentary consultation with our master florists. We'll discuss your vision, preferences, and create a custom proposal tailored to your needs."
            },
            {
              id: "visit",
              label: "Visit Our Studio",
              description: "Come experience our beautiful studio in person. Browse our seasonal collections, meet our team, and see the artistry behind every arrangement."
            },
            {
              id: "delivery",
              label: "Delivery & Services",
              description: "Same-day delivery available throughout the city. We also offer setup services for events, wedding consulting, and corporate account management."
            }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/white-basket-with-lavander-greenery_8353-12.jpg"
          imageAlt: "Lavanda flower studio workspace"
          imagePosition="left"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="quick-contact" data-section="quick-contact">
        <ContactText
          text="For urgent orders or immediate assistance, call us directly at (555) 123-BLOOM or email hello@lavandastudio.com"
          animationType="entrance-slide"
          buttons={[
            { text: "Call Now", href: "tel:+15551232566" },
            { text: "Send Email", href: "mailto:hello@lavandastudio.com" }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <FooterBase
        logoText="Lavanda"
        copyrightText="© 2025 Lavanda Flowers Studio. Crafting beauty, one bloom at a time."
        columns={[
          {
            title: "Shop",
            items: [
              { label: "Arrangements", href: "/arrangements" },
              { label: "Seasonal Collections", href: "#" },
              { label: "Custom Orders", href: "#" }
            ]
          },
          {
            title: "Company",
            items: [
              { label: "About Us", href: "/about" },
              { label: "Contact", href: "/contact" },
              { label: "Delivery Info", href: "#" }
            ]
          },
          {
            title: "Connect",
            items: [
              { label: "Instagram", href: "https://instagram.com" },
              { label: "Facebook", href: "https://facebook.com" },
              { label: "Pinterest", href: "https://pinterest.com" }
            ]
          }
        ]}
      />
    </ThemeProvider>
  );
}