"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered";
import MetricCardOne from "@/components/sections/metrics/MetricCardOne";
import TestimonialCardThirteen from "@/components/sections/testimonial/TestimonialCardThirteen";
import FooterBaseReveal from "@/components/sections/footer/FooterBaseReveal";
import { Smile, ShoppingCart, Star, Zap } from "lucide-react";

export default function AboutPage() {
  const navItems = [
    { name: "Home", id: "home" },
    { name: "Menu", id: "menu" },
    { name: "Custom Orders", id: "custom-orders" },
    { name: "About", id: "about" },
    { name: "Contact", id: "contact" },
  ];

  const footerColumns = [
    {
      title: "Shop",
      items: [
        { label: "All Products", href: "/" },
        { label: "Custom Cakes", href: "/custom-orders" },
        { label: "Gift Boxes", href: "/" },
        { label: "Seasonal Items", href: "/" },
        { label: "Track Order", href: "/" },
      ],
    },
    {
      title: "Company",
      items: [
        { label: "About Us", href: "/about" },
        { label: "Our Story", href: "/about" },
        { label: "Careers", href: "/" },
        { label: "Blog", href: "/" },
        { label: "Press", href: "/" },
      ],
    },
    {
      title: "Support",
      items: [
        { label: "Contact Us", href: "/custom-orders" },
        { label: "FAQs", href: "/custom-orders" },
        { label: "Shipping Info", href: "/" },
        { label: "Returns", href: "/" },
        { label: "Live Chat", href: "/" },
      ],
    },
    {
      title: "Legal",
      items: [
        { label: "Privacy Policy", href: "/" },
        { label: "Terms of Service", href: "/" },
        { label: "Cookie Policy", href: "/" },
        { label: "Accessibility", href: "/" },
        { label: "Contact Support", href: "/" },
      ],
    },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="bounce-effect"
      defaultTextAnimation="background-highlight"
      borderRadius="pill"
      contentWidth="small"
      sizing="medium"
      background="noiseDiagonalGradient"
      cardStyle="glass-elevated"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="layered"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="N&H BAKERY"
          navItems={navItems}
          button={{
            text: "Order Now",
            href: "/",
          }}
        />
      </div>

      <div id="why-us" data-section="why-us" className="mx-auto px-4 md:px-6">
        <MetricCardOne
          title="Why N&H BAKERY"
          description="Years of excellence, thousands of happy customers, and a commitment to quality that never wavers."
          tag="Our Expertise"
          tagIcon="CheckCircle"
          tagAnimation="opacity"
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="depth-3d"
          gridVariant="uniform-all-items-equal"
          metrics={[
            {
              id: "metric-1",
              value: "5,000+",
              title: "Happy Customers",
              description: "Trusted by thousands for celebrations and daily treats",
              icon: Smile,
            },
            {
              id: "metric-2",
              value: "1,200+",
              title: "Orders Monthly",
              description: "Growing demand for our premium baked goods",
              icon: ShoppingCart,
            },
            {
              id: "metric-3",
              value: "4.9/5",
              title: "Average Rating",
              description: "Consistent quality that exceeds expectations",
              icon: Star,
            },
            {
              id: "metric-4",
              value: "100%",
              title: "Fresh Daily",
              description: "Baked fresh every morning with premium ingredients",
              icon: Zap,
            },
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials" className="mx-auto px-4 md:px-6">
        <TestimonialCardThirteen
          title="Loved by Our Customers"
          description="Real feedback from our delighted clients who trust N&H BAKERY for their special moments."
          tag="5-Star Reviews"
          tagIcon="Star"
          tagAnimation="opacity"
          textboxLayout="default"
          useInvertedBackground={true}
          animationType="slide-up"
          showRating={true}
          testimonials={[
            {
              id: "testimonial-1",
              name: "Sarah Kipchoge",
              handle: "@sarahk_events",
              testimonial: "N&H BAKERY created the most stunning wedding cake for our special day. The attention to detail and taste were absolutely incredible. Highly recommended!",
              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-girl-dressed-elegant-gray-dress-standing-with-crossed-arms-while-leaning-against-brick-wall_613910-17632.jpg?_wi=2",
              imageAlt: "professional woman portrait headshot",
            },
            {
              id: "testimonial-2",
              name: "James Mwangi",
              handle: "@jamesmw",
              testimonial: "I order their croissants every weekend. Fresh, flaky, and absolutely delicious. The best bakery in Nairobi by far!",
              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-bearded-man-white-shirt-jacket-posing-camera-with-broad-smile-isolated-gray_171337-629.jpg?_wi=2",
              imageAlt: "professional man portrait headshot",
            },
            {
              id: "testimonial-3",
              name: "Grace Okonkwo",
              handle: "@graceo_lifestyle",
              testimonial: "For my daughter's birthday, N&H BAKERY delivered beyond expectations. The custom cake was a masterpiece and everyone loved it!",
              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/happy-businesswoman-smiling-looking-camera-successful-confident-grey-haired-manager-sitting-office-room-workplace-business-management-concept_74855-7343.jpg?_wi=2",
              imageAlt: "smiling woman professional headshot",
            },
            {
              id: "testimonial-4",
              name: "Peter Kariuki",
              handle: "@peter_designs",
              testimonial: "Their custom order service is fantastic. They brought my vision to life with professionalism and creativity. Worth every shilling!",
              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/portrait-handsome-young-man-work_23-2149116570.jpg?_wi=2",
              imageAlt: "professional man smiling portrait",
            },
            {
              id: "testimonial-5",
              name: "Amara Hassan",
              handle: "@amarah_kitchen",
              testimonial: "As a food blogger, I'm impressed by the quality and consistency. N&H BAKERY maintains premium standards every single day.",
              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/closeup-smiling-beautiful-adult-businesswoman_1262-1760.jpg?_wi=2",
              imageAlt: "professional woman creative portrait",
            },
            {
              id: "testimonial-6",
              name: "David Ochieng",
              handle: "@davidoch",
              testimonial: "Catered my corporate event with their premium package. Professional, delicious, and exceeded all expectations. Will definitely use again!",
              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/happy-young-businessman-walking-near-business-center_171337-19784.jpg?_wi=2",
              imageAlt: "professional man corporate portrait",
            },
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseReveal
          columns={footerColumns}
          copyrightText="© 2024 N&H BAKERY. All rights reserved. Freshly baked goodness since 2020."
        />
      </div>
    </ThemeProvider>
  );
}