"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import MediaSplitTabsAbout from '@/components/sections/about/MediaSplitTabsAbout';
import FeatureBorderGlow from '@/components/sections/feature/featureBorderGlow/FeatureBorderGlow';
import ContactText from '@/components/sections/contact/ContactText';
import FooterBase from '@/components/sections/footer/FooterBase';
import { Award, Users, Clock } from 'lucide-react';
import Link from 'next/link';

export default function AboutPage() {
  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="story" data-section="story">
        <MediaSplitTabsAbout
          title="Our Story"
          description="From a small passion project to the city's premier floral studio"
          tabs={[
            {
              id: "beginning",
              label: "The Beginning",
              description: "Founded in 2012, Lavanda began as a dream to bring artistry and emotion together through flowers. What started in a small studio has grown into a trusted name for bespoke floral design."
            },
            {
              id: "philosophy",
              label: "Our Philosophy",
              description: "We believe every flower has a story to tell. Our approach combines traditional florist techniques with contemporary design sensibilities, creating arrangements that speak to the heart."
            },
            {
              id: "community",
              label: "Community",
              description: "As a local business, we're deeply connected to our community. From intimate celebrations to grand events, we've been part of countless special moments in people's lives."
            }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/white-basket-with-lavander-greenery_8353-12.jpg"
          imageAlt="Lavanda flower studio workspace"
          imagePosition="right"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="values" data-section="values">
        <FeatureBorderGlow
          features={[
            {
              icon: Award,
              title: "Master Craftsmanship",
              description: "Over a decade of experience in floral design, with certified master florists leading every arrangement."
            },
            {
              icon: Users,
              title: "Personal Touch",
              description: "Every client receives individual attention and custom consultation to ensure their vision comes to life perfectly."
            },
            {
              icon: Clock,
              title: "Timeless Quality",
              description: "We source only the finest blooms and use time-tested techniques to ensure maximum beauty and longevity."
            }
          ]}
          title="What Drives Us"
          description="The principles and values that guide every arrangement we create"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="commitment" data-section="commitment">
        <ContactText
          text="Every arrangement we create is a commitment to excellence, beauty, and the celebration of life's precious moments."
          animationType="entrance-slide"
          buttons={[
            { text: "View Our Work", href: "/arrangements" },
            { text: "Meet Our Team", href: "/contact" }
          ]}
          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>
  );
}