"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay";
import BlogCardThree from "@/components/sections/blog/BlogCardThree";
import FeatureCardThree from "@/components/sections/feature/featureCardThree/FeatureCardThree";
import ContactText from "@/components/sections/contact/ContactText";
import FooterLogoEmphasis from "@/components/sections/footer/FooterLogoEmphasis";
import { Image, ArrowRight } from "lucide-react";

export default function GalleryPage() {
  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="gallery-showcase" data-section="gallery-showcase">
        <BlogCardThree
          title="Complete Project Gallery"
          description="Explore our extensive portfolio of completed kitchen, bathroom, and installation projects."
          tag="Portfolio"
          tagIcon={Image}
          tagAnimation="slide-up"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground={false}
          blogs={[
            {
              id: "1",              category: "Kitchen",              title: "Modern Granite Kitchen Transformation",              excerpt: "Sleek black granite worktop with white cabinetry creates stunning contemporary kitchen design.",              imageSrc: "http://img.b2bpic.net/free-photo/center-cooktop-blue-modules-stone-backdrop_169016-69293.jpg",              imageAlt: "Modern kitchen with black granite worktop",              authorName: "Granite House",              authorAvatar: "http://img.b2bpic.net/free-photo/composition-with-stationery-elements-gray_23-2148851549.jpg",              date: "2024"},
            {
              id: "2",              category: "Bathroom",              title: "Marble Bathroom Vanity Installation",              excerpt: "Elegant white marble creates a spa-like bathroom experience with natural stone beauty.",              imageSrc: "http://img.b2bpic.net/free-photo/sink_74190-3600.jpg",              imageAlt: "Marble bathroom vanity with modern fixtures",              authorName: "Granite House",              authorAvatar: "http://img.b2bpic.net/free-photo/composition-with-stationery-elements-gray_23-2148851549.jpg",              date: "2024"},
            {
              id: "3",              category: "Kitchen",              title: "Quartz Island Worktop Project",              excerpt: "Large engineered quartz island becomes the centerpiece of this family kitchen.",              imageSrc: "http://img.b2bpic.net/free-photo/man-servant-cooking-kitchen_23-2149530823.jpg",              imageAlt: "Large quartz island worktop in spacious kitchen",              authorName: "Granite House",              authorAvatar: "http://img.b2bpic.net/free-photo/composition-with-stationery-elements-gray_23-2148851549.jpg",              date: "2024"},
          ]}
        />
      </div>

      <div id="process-overview" data-section="process-overview">
        <FeatureCardThree
          title="Our Process"
          description="From consultation to installation, we guide you through every step of your stone worktop journey."
          tag="4-Step Process"
          tagIcon={ArrowRight}
          tagAnimation="slide-up"
          features={[
            {
              id: "01",              title: "Consultation",              description: "Meet with our experts to discuss your vision, budget, and material preferences.",              imageSrc: "http://img.b2bpic.net/free-photo/business-meeting-cafe_53876-15162.jpg",              imageAlt: "Professional consultation meeting"},
            {
              id: "02",              title: "Template & Measure",              description: "Precise measurements and templates ensure perfect fit for your space.",              imageSrc: "http://img.b2bpic.net/free-photo/retractable-tape-measure-white-background_191095-100083.jpg",              imageAlt: "Precision measurement tools"},
            {
              id: "03",              title: "Fabrication",              description: "Expert craftsmanship and precision cutting create your custom stone worktop.",              imageSrc: "http://img.b2bpic.net/free-photo/carpenter-works-with-professional-precision-drilling-tool_169016-51824.jpg",              imageAlt: "Stone fabrication process"},
            {
              id: "04",              title: "Installation",              description: "Professional installation ensures flawless fit and finish in your home.",              imageSrc: "http://img.b2bpic.net/free-photo/point-view-young-handyman-using-power-drill-fix-door-kitchen-cabinet_662251-2704.jpg",              imageAlt: "Professional installation work"},
          ]}
          gridVariant="four-items-2x2-equal-grid"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground={false}
        />
      </div>

      <div id="cta-gallery" data-section="cta-gallery">
        <ContactText
          text="Inspired by our gallery? Let us create your perfect stone worktop. Schedule a consultation with our team to discuss your vision and start your transformation today."
          animationType="reveal-blur"
          buttons={[
            { text: "Get Free Quote", href: "/contact" },
            { text: "Call: 01772 440888", href: "tel:01772440888" },
          ]}
          background={{ variant: "plain" }}
          useInvertedBackground={false}
        />
      </div>

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