"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import HeroBillboardScroll from '@/components/sections/hero/HeroBillboardScroll';
import MetricSplitMediaAbout from '@/components/sections/about/MetricSplitMediaAbout';
import TeamCardSix from '@/components/sections/team/TeamCardSix';
import FeatureHoverPattern from '@/components/sections/feature/featureHoverPattern/FeatureHoverPattern';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import { Sparkles, Handshake, Leaf, Users } from 'lucide-react';
import Link from 'next/link';

export default function AboutPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="background-highlight"
      borderRadius="soft"
      contentWidth="small"
      sizing="medium"
      background="circleGradient"
      cardStyle="glass-depth"
      primaryButtonStyle="inset-glow"
      secondaryButtonStyle="glass"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Fiona"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Shop", id: "/shop" },
            { name: "About", id: "/about" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{
            text: "Order Now",            href: "/shop"
          }}
        />
      </div>

      <div id="about-hero" data-section="about-hero">
        <HeroBillboardScroll
          title="The Story Behind Fiona"
          description="Discover how passion for flowers and commitment to excellence created a brand beloved by thousands."
          background={{ variant: "plain" }}
        />
      </div>

      <div id="about-content" data-section="about-content">
        <MetricSplitMediaAbout
          title="Built on Passion and Expertise"
          description="Fiona was founded in 2010 by longtime florist enthusiasts who believed that exceptional flowers deserve exceptional care. What began as a small local shop has grown into a trusted name for premium floral arrangements across the region. Our mission remains unchanged: deliver the freshest flowers with impeccable service and artistic excellence."
          tag="Our Mission"
          metrics={[
            { value: "14+", title: "Years of Excellence" },
            { value: "50+", title: "Expert Florists" }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/front-view-beautiful-roses-vase_23-2148387998.jpg"
          imageAlt="Fiona florist team at work"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="about-team" data-section="about-team">
        <TeamCardSix
          title="Meet Our Team"
          description="Talented florists and designers dedicated to bringing beauty to every arrangement"
          members={[
            {
              id: "1",              name: "Isabella Rossi",              role: "Founder & Head Florist",              imageSrc: "https://img.b2bpic.net/free-photo/caucasion-woman-casual-confident-concept_53876-137678.jpg"
            },
            {
              id: "2",              name: "Marcus Johnson",              role: "Senior Floral Designer",              imageSrc: "https://img.b2bpic.net/free-photo/positive-blond-girl-shows-tongue-winks-camera-makes-happy-funny-face-stands-against-white-background_176420-46979.jpg"
            },
            {
              id: "3",              name: "Sofia Mendez",              role: "Creative Director",              imageSrc: "https://img.b2bpic.net/free-photo/portrait-young-woman_23-2148574874.jpg"
            },
            {
              id: "4",              name: "James Wilson",              role: "Logistics Manager",              imageSrc: "https://img.b2bpic.net/free-photo/young-woman-smiling_176474-95672.jpg"
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="about-values" data-section="about-values">
        <FeatureHoverPattern
          title="Our Core Values"
          description="What drives us every single day"
          features={[
            {
              icon: Sparkles,
              title: "Quality First",              description: "We never compromise on the freshness and beauty of our flowers."
            },
            {
              icon: Handshake,
              title: "Customer Care",              description: "Your satisfaction is our ultimate goal and we stand behind every arrangement."
            },
            {
              icon: Leaf,
              title: "Sustainability",              description: "Committed to eco-friendly practices and ethical sourcing worldwide."
            },
            {
              icon: Users,
              title: "Community",              description: "Supporting local growers and giving back to our community year-round."
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="about-footer" data-section="about-footer">
        <FooterLogoEmphasis
          logoText="Fiona"
          columns={[
            {
              items: [
                { label: "Home", href: "/" },
                { label: "Shop", href: "/shop" },
                { label: "About", href: "/about" }
              ]
            },
            {
              items: [
                { label: "Delivery Info", href: "/delivery" },
                { label: "Care Tips", href: "/care" },
                { label: "FAQ", href: "/faq" }
              ]
            },
            {
              items: [
                { label: "Privacy Policy", href: "/privacy" },
                { label: "Terms", href: "/terms" },
                { label: "Sustainability", href: "/sustainability" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}