"use client";

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

export default function ShowroomPage() {
  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="showroom-features" data-section="showroom-features">
        <FeatureCardThree
          title="Our Preston Showroom"
          description="Experience our extensive collection of premium stone slabs in person with expert guidance from our team."
          tag="Visit Us"
          tagIcon={MapPin}
          tagAnimation="slide-up"
          features={[
            {
              id: "01",              title: "Extensive Sample Collection",              description: "View hundreds of granite, quartz, marble, and porcelain samples in natural lighting.",              imageSrc: "http://img.b2bpic.net/free-photo/backdrop-decor-tracery-tile-texture_1253-849.jpg",              imageAlt: "Stone sample collection"},
            {
              id: "02",              title: "Expert Consultations",              description: "Our experienced team is available to discuss your project, offer design advice, and provide free quotes.",              imageSrc: "http://img.b2bpic.net/free-photo/business-meeting-cafe_53876-15162.jpg",              imageAlt: "Expert consultation area"},
            {
              id: "03",              title: "CAD Design Services",              description: "Visualize your worktop design with our advanced CAD technology before fabrication.",              imageSrc: "http://img.b2bpic.net/free-photo/center-cooktop-blue-modules-stone-backdrop_169016-69293.jpg",              imageAlt: "Design consultation"},
          ]}
          gridVariant="three-columns-all-equal-width"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground={false}
        />
      </div>

      <div id="showroom-info" data-section="showroom-info">
        <MetricCardSeven
          title="Visit Information"
          description="Plan your visit to our Preston showroom with convenient hours and easy access."
          metrics={[
            {
              id: "1",              value: "Strand Rd",              title: "Preston PR1 8XL",              items: ["Easy parking available", "Accessible location", "Map directions online"],
            },
            {
              id: "2",              value: "Mon-Fri",              title: "9:00 AM - 5:00 PM",              items: ["Saturday 10:00-4:00", "Closed Sundays", "Book appointment for flexibility"],
            },
            {
              id: "3",              value: "Expert",              title: "Team Available",              items: ["Design consultations", "Material guidance", "Quote preparation"],
            },
          ]}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground={false}
          tag="Location & Hours"
          tagIcon={Clock}
          tagAnimation="slide-up"
        />
      </div>

      <div id="cta-showroom" data-section="cta-showroom">
        <ContactText
          text="Ready to visit our showroom and explore premium stone materials for your next project? Contact us today to book an appointment or visit during our regular business hours."
          animationType="reveal-blur"
          buttons={[
            { text: "Book Appointment", href: "/contact" },
            { text: "Get Directions", href: "https://maps.google.com/?q=Granite+House+Strand+Rd+Preston" },
          ]}
          background={{ variant: "plain" }}
          useInvertedBackground={false}
        />
      </div>

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