"use client";
import Link from "next/link";
import { Shield, CheckCircle } from "lucide-react";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import MetricCardTwo from '@/components/sections/metrics/MetricCardTwo';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';

export default function ServicesPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="smallMedium"
      sizing="largeSmall"
      background="noiseDiagonalGradient"
      cardStyle="inset"
      primaryButtonStyle="inset-glow"
      secondaryButtonStyle="glass"
      headingFontWeight="semibold"
    >
      {/* Navbar */}
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={[
            { name: "Home", id: "/" },
            { name: "Services", id: "/services" },
            { name: "Storm Damage", id: "/storm-damage" },
            { name: "Projects", id: "/projects" },
            { name: "Contact", id: "/contact" }
          ]}
          brandName="Viking Construction"
          bottomLeftText="Licensed & Insured"
          bottomRightText="Fast Response • Insurance Support"
        />
      </div>

      {/* Services Overview */}
      <div id="services" data-section="services">
        <ProductCardFour
          products={[
            {
              id: "repair",
              name: "Roof Repair",
              price: "Starting at $400",
              variant: "Leaks • Flashing • Wind Damage",
              imageSrc: "http://img.b2bpic.net/free-photo/auto-mechanic-inflating-tire-with-air-compressor-street_651396-3561.jpg?_wi=3",
              imageAlt: "Professional roof repair work"
            },
            {
              id: "replacement",
              name: "Roof Replacement",
              price: "Starting at $5,000",
              variant: "Complete Install • Quality Materials",
              imageSrc: "http://img.b2bpic.net/free-photo/man-walking-roof_1321-1041.jpg?_wi=3",
              imageAlt: "New roof installation"
            },
            {
              id: "storm",
              name: "Storm & Hail Damage",
              price: "Free Inspection",
              variant: "Assessment • Insurance Coordination",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=iakob3&_wi=3",
              imageAlt: "Storm damage evaluation"
            },
            {
              id: "inspection",
              name: "Roof Inspections",
              price: "$150-300",
              variant: "Pre-Sale • Preventative • Photo Report",
              imageSrc: "http://img.b2bpic.net/free-photo/close-up-engineer-architect-looking-clipboard_23-2148233774.jpg?_wi=3",
              imageAlt: "Professional roof inspection"
            },
            {
              id: "starlink",
              name: "Starlink / Satellite Mount",
              price: "Call for Quote",
              variant: "Secure Install • Roof Protection",
              imageSrc: "http://img.b2bpic.net/free-photo/asian-man-with-cancer-full-shot_23-2149870340.jpg?_wi=2",
              imageAlt: "Starlink mounting installation"
            }
          ]}
          title="Complete Roofing Services"
          description="Professional roofing solutions from emergency repairs to complete installations, all backed by expert craftsmanship and transparent pricing."
          gridVariant="uniform-all-items-equal"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground={false}
          ariaLabel="Comprehensive service offerings showcase"
        />
      </div>

      {/* How It Works Process */}
      <div id="how-it-works" data-section="how-it-works">
        <MetricCardTwo
          metrics={[
            {
              id: "1",
              value: "Step 1",
              description: "Schedule: Call or request estimate. Fast confirmation."
            },
            {
              id: "2",
              value: "Step 2",
              description: "Inspect & Explain: Clear findings and options."
            },
            {
              id: "3",
              value: "Step 3",
              description: "Repair/Replace: Efficient work with minimal disruption."
            },
            {
              id: "4",
              value: "Step 4",
              description: "Walkthrough: Photos, cleanup, and confidence."
            }
          ]}
          title="Our Simple Process"
          description="Transparent, straightforward roofing service from start to finish."
          gridVariant="uniform-all-items-equal"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground={false}
          ariaLabel="Four-step roofing process"
        />
      </div>

      {/* Social Proof */}
      <div id="social-proof" data-section="social-proof">
        <SocialProofOne
          title="Service Guarantees & Certifications"
          description="Quality assurance and professional standards you can trust."
          names={[
            "Licensed & Insured",
            "Fast Response Guarantee",
            "Insurance Coordination",
            "Workmanship Warranty",
            "Photo Documentation",
            "Free Estimates",
            "Same-Day Service Available"
          ]}
          textboxLayout="default"
          useInvertedBackground={false}
          speed={40}
          showCard={true}
          ariaLabel="Service guarantees and professional standards"
        />
      </div>

      {/* Footer */}
      <div id="footer" data-section="footer">
        <FooterLogoEmphasis
          columns={[
            {
              items: [
                { label: "Home", href: "/" },
                { label: "Services", href: "/services" },
                { label: "Storm Damage", href: "/storm-damage" },
                { label: "Projects", href: "/projects" }
              ]
            },
            {
              items: [
                { label: "About Us", href: "/about" },
                { label: "Inspections", href: "/services" },
                { label: "Starlink Mounting", href: "/services" },
                { label: "Contact", href: "/contact" }
              ]
            },
            {
              items: [
                { label: "Privacy Policy", href: "/privacy" },
                { label: "Terms of Service", href: "/terms" },
                { label: "Warranty Info", href: "/warranty" },
                { label: "Insurance FAQ", href: "/faq" }
              ]
            },
            {
              items: [
                { label: "Call Us", href: "tel:1-800-ROOFING" },
                { label: "Text Us", href: "sms:1-800-ROOFING" },
                { label: "Email Support", href: "mailto:support@vikingconstruction.com" },
                { label: "24/7 Emergency", href: "tel:1-800-ROOFING" }
              ]
            }
          ]}
          logoText="Viking Construction"
          ariaLabel="Site footer with navigation and contact links"
        />
      </div>
    </ThemeProvider>
  );
}