"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay";
import MetricCardSeven from "@/components/sections/metrics/MetricCardSeven";
import FeatureCardThree from "@/components/sections/feature/featureCardThree/FeatureCardThree";
import ContactText from "@/components/sections/contact/ContactText";
import FooterLogoEmphasis from "@/components/sections/footer/FooterLogoEmphasis";
import { CheckCircle, Briefcase } from "lucide-react";

export default function AboutPage() {
  const navItems = [
    { name: "Home", id: "/" },
    { name: "Materials", id: "/materials" },
    { name: "Gallery", id: "/gallery" },
    { name: "About", id: "/about" },
    { name: "Reviews", id: "/testimonials" },
  ];

  const footerColumns = [
    {
      items: [
        { label: "Home", href: "/" },
        { label: "Materials", href: "/materials" },
        { label: "Gallery", href: "/gallery" },
      ],
    },
    {
      items: [
        { label: "About Us", href: "/about" },
        { label: "Visit Showroom", href: "/showroom" },
        { label: "Contact", href: "/contact" },
      ],
    },
    {
      items: [
        { label: "Call: 01772 440888", href: "tel:01772440888" },
        { label: "Email: info@granitehouse.co.uk", href: "mailto:info@granitehouse.co.uk" },
        { label: "Strand Rd, Preston PR1 8XL", href: "https://maps.google.com/?q=Granite+House+Strand+Rd+Preston" },
      ],
    },
    {
      items: [
        { label: "Privacy Policy", href: "#" },
        { label: "Terms & Conditions", href: "#" },
        { label: "Cookie Policy", href: "#" },
      ],
    },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="small"
      sizing="mediumLargeSizeLargeTitles"
      background="circleGradient"
      cardStyle="gradient-radial"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="solid"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          navItems={navItems}
          brandName="Granite House"
          button={{
            text: "Call Now",            href: "tel:01772440888"}}
        />
      </div>

      <div id="about-metrics" data-section="about-metrics">
        <MetricCardSeven
          title="About Granite House"
          description="Award-winning stone craftsmanship with a commitment to quality, reliability, and customer satisfaction."
          metrics={[
            {
              id: "1",              value: "20+",              title: "Years of Industry Experience",              items: ["Expert team", "Trusted partner", "Proven track record"],
            },
            {
              id: "2",              value: "1000+",              title: "Projects Completed",              items: ["Residential", "Commercial", "Diverse styles"],
            },
            {
              id: "3",              value: "365+",              title: "5-Star Customer Reviews",              items: ["Verified feedback", "Satisfaction guarantee", "Local expertise"],
            },
          ]}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground={false}
          tag="Our Story"
          tagIcon={CheckCircle}
          tagAnimation="slide-up"
        />
      </div>

      <div id="about-values" data-section="about-values">
        <FeatureCardThree
          title="Why We Stand Out"
          description="Granite House is built on principles of craftsmanship, integrity, and customer-first service."
          tag="Our Values"
          tagIcon={Briefcase}
          tagAnimation="slide-up"
          features={[
            {
              id: "01",              title: "Master Craftsmanship",              description: "Every worktop is carefully crafted by experienced professionals with precision and attention to detail.",              imageSrc: "http://img.b2bpic.net/free-photo/carpenter-works-with-professional-precision-drilling-tool_169016-51824.jpg?_wi=2",              imageAlt: "Professional craftsmanship"},
            {
              id: "02",              title: "Premium Materials",              description: "We source only the finest natural and engineered stone from trusted suppliers worldwide.",              imageSrc: "http://img.b2bpic.net/free-photo/backdrop-decor-tracery-tile-texture_1253-849.jpg?_wi=3",              imageAlt: "Premium stone materials"},
            {
              id: "03",              title: "Local Expertise",              description: "Based in Preston for 20+ years, we understand the local market and deliver personalized service.",              imageSrc: "http://img.b2bpic.net/free-photo/business-meeting-cafe_53876-15162.jpg?_wi=2",              imageAlt: "Local Preston showroom"},
          ]}
          gridVariant="three-columns-all-equal-width"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground={false}
        />
      </div>

      <div id="cta-about" data-section="cta-about">
        <ContactText
          text="Discover why homeowners and designers trust Granite House for their stone worktop projects. Visit our Preston showroom or contact us for expert consultation."
          animationType="reveal-blur"
          buttons={[
            { text: "Visit Showroom", href: "/showroom" },
            { text: "Contact Us", href: "/contact" },
          ]}
          background={{ variant: "plain" }}
          useInvertedBackground={false}
        />
      </div>

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