"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from "@/components/navbar/NavbarStyleApple/NavbarStyleApple";
import InlineImageSplitTextAbout from "@/components/sections/about/InlineImageSplitTextAbout";
import FeatureBorderGlow from "@/components/sections/feature/featureBorderGlow/FeatureBorderGlow";
import TestimonialCardOne from "@/components/sections/testimonial/TestimonialCardOne";
import FooterLogoEmphasis from "@/components/sections/footer/FooterLogoEmphasis";
import { Crown, Heart, Award, Star } from "lucide-react";

export default function AboutPage() {
  const navItems = [
    { name: "Home", id: "/" },
    { name: "Shop", id: "/shop" },
    { name: "About", id: "/about" },
    { name: "Contact", id: "/contact" },
    { name: "Cart", id: "/cart" },
  ];

  const footerColumns = [
    {
      items: [
        { label: "Home", href: "/" },
        { label: "Shop", href: "/shop" },
        { label: "About Us", href: "/about" },
        { label: "Contact", href: "/contact" },
      ],
    },
    {
      items: [
        { label: "Collections", href: "/shop" },
        { label: "Custom Orders", href: "/contact" },
        { label: "Bulk Pricing", href: "/contact" },
        { label: "Care Guide", href: "#" },
      ],
    },
    {
      items: [
        { label: "WhatsApp Support", href: "#" },
        { label: "Email Us", href: "#" },
        { label: "Location", href: "#" },
        { label: "Returns", href: "#" },
      ],
    },
    {
      items: [
        { label: "Privacy Policy", href: "#" },
        { label: "Terms & Conditions", href: "#" },
        { label: "Shipping Info", href: "#" },
        { label: "FAQ", href: "/contact" },
      ],
    },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="elastic-effect"
      defaultTextAnimation="entrance-slide"
      borderRadius="soft"
      contentWidth="compact"
      sizing="largeSmall"
      background="fluid"
      cardStyle="soft-shadow"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="glass"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple brandName="Atwab Al Hjaji" navItems={navItems} />
      </div>

      <div id="about-hero" data-section="about-hero">
        <InlineImageSplitTextAbout
          heading={[
            { type: "text", content: "Our Heritage:" },
            {
              type: "image",
              src: "http://img.b2bpic.net/free-photo/woman-choosing-colorful-sari-market_53876-48915.jpg",
              alt: "Moroccan artisan craftsmanship",
            },
            { type: "text", content: "Craftsmanship that Lasts Generations" },
          ]}
          useInvertedBackground={false}
          buttons={[
            { text: "Our Mission", href: "/about" },
            { text: "Shop Our Collections", href: "/shop" },
          ]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="about-values" data-section="about-values">
        <FeatureBorderGlow
          title="Our Core Values"
          description="The principles that guide everything we do at Atwab Al Hjaji."
          tag="Our Foundation"
          tagIcon={Crown}
          tagAnimation="slide-up"
          features={[
            {
              icon: Heart,
              title: "Authentic Craftsmanship",
              description: "We partner directly with Moroccan artisans to bring you genuine, handpicked textiles that honor centuries of traditional weaving heritage.",
            },
            {
              icon: Award,
              title: "Uncompromising Quality",
              description: "Every fabric undergoes rigorous quality control to ensure durability, color fastness, and the luxurious feel that defines our brand.",
            },
            {
              icon: Crown,
              title: "Sustainable Elegance",
              description: "We believe luxury should be responsible. We work with fair-trade practices and support artisan communities through ethical partnership.",
            },
          ]}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground={false}
        />
      </div>

      <div id="about-testimonials" data-section="about-testimonials">
        <TestimonialCardOne
          title="Stories from Our Community"
          description="Hear from the designers, curators, and business owners who trust Atwab Al Hjaji for their most important projects."
          tag="Industry Trust"
          tagIcon={Star}
          tagAnimation="slide-up"
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          testimonials={[
            {
              id: "1",
              name: "Fatima Al-Mansouri",
              role: "Interior Designer",
              company: "Marrakech Luxury Homes",
              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/closeup-smiling-beautiful-adult-businesswoman_1262-1760.jpg?_wi=3",
              imageAlt: "Fatima Al-Mansouri, Interior Designer",
            },
            {
              id: "2",
              name: "Hassan Al-Qadi",
              role: "Boutique Owner",
              company: "Fez Premium Décor",
              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/smiling-millennial-man-looking-camera-cafe-headshot-portrait_1163-5163.jpg?_wi=2",
              imageAlt: "Hassan Al-Qadi, Boutique Owner",
            },
            {
              id: "3",
              name: "Leila Bennis",
              role: "Hospitality Manager",
              company: "Atlas Hotel Group",
              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/closeup-smiling-beautiful-adult-businesswoman_1262-1760.jpg?_wi=4",
              imageAlt: "Leila Bennis, Hospitality Manager",
            },
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoEmphasis logoText="Atwab Al Hjaji" columns={footerColumns} />
      </div>
    </ThemeProvider>
  );
}