"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import FeatureCardThree from '@/components/sections/feature/featureCardThree/FeatureCardThree';
import MetricCardTwo from '@/components/sections/metrics/MetricCardTwo';
import BlogCardOne from '@/components/sections/blog/BlogCardOne';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import { Home, MapPin, Image } from 'lucide-react';

export default function ServicesPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-bubble"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="medium"
      sizing="mediumLarge"
      background="noise"
      cardStyle="subtle-shadow"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen 
          navItems={[
            { name: "Home", id: "/" },
            { name: "Services", id: "/services" },
            { name: "About", id: "/about" },
            { name: "Contact", id: "/contact" },
            { name: "Gallery", id: "/gallery" }
          ]}
          brandName="Northstar Roofing"
          bottomLeftText="North Dakota Roofing"
          bottomRightText="(701) 555-0100"
        />
      </div>

      <div id="services-detailed" data-section="services-detailed">
        <FeatureCardThree 
          title="Comprehensive Roofing Solutions"
          description="Expert services for every roofing need across North Dakota"
          tag="Full Service"
          tagIcon={Home}
          features={[
            {
              id: "01",
              title: "Residential Roofing",
              description: "Complete residential solutions including asphalt shingles, metal roofing, and tile systems with lifetime warranties",
              imageSrc: "http://img.b2bpic.net/free-photo/exterior-home_74190-4300.jpg"
            },
            {
              id: "02",
              title: "Commercial Roofing",
              description: "Large-scale commercial projects with TPO, EPDM, and modified bitumen systems for businesses and warehouses",
              imageSrc: "http://img.b2bpic.net/free-photo/agricultural-silo_146671-19121.jpg"
            },
            {
              id: "03",
              title: "Emergency Storm Response",
              description: "24/7 emergency response for storm damage with immediate tarping and comprehensive restoration services",
              imageSrc: "http://img.b2bpic.net/free-photo/factory-worker-with-face-mask-feeling-ill-holding-his-head-pain-production-facility_637285-12061.jpg"
            },
            {
              id: "04",
              title: "Insurance Claims Support",
              description: "Full insurance claim assistance from initial inspection to final approval with detailed documentation",
              imageSrc: "http://img.b2bpic.net/free-photo/close-up-female-engineer-hand-controling-robot-arm-welding-machine-industrial-40-modern-factory-backgroundsmart-female-engineer-inspect-quality-control-factory_609648-856.jpg"
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          buttons={[{ text: "Get Service Quote", href: "/contact" }]}
        />
      </div>

      <div id="why-northstar" data-section="why-northstar">
        <MetricCardTwo 
          title="Why Choose Northstar"
          description="Proven excellence across North Dakota"
          tag="Our Advantages"
          metrics={[
            { id: "1", value: "25+", description: "Years of Roofing Experience" },
            { id: "2", value: "5000+", description: "Happy Customers Statewide" },
            { id: "3", value: "100%", description: "Quality Workmanship Guaranteed" },
            { id: "4", value: "24h", description: "Free Estimate Turnaround" }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="scale-rotate"
          textboxLayout="default"
          useInvertedBackground={true}
        />
      </div>

      <div id="service-areas" data-section="service-areas">
        <FeatureCardThree 
          title="Service Areas Across North Dakota"
          description="We proudly serve homeowners and businesses throughout the state"
          tag="Coverage"
          tagIcon={MapPin}
          features={[
            {
              id: "01",
              title: "Bismarck & Surrounding Areas",
              description: "Capital region roofing services for homes and commercial properties",
              imageSrc: "http://img.b2bpic.net/free-photo/montreal-dusk-with-urban-skyscrapers-viewed-from-mont-royal_649448-2489.jpg"
            },
            {
              id: "02",
              title: "Fargo-Moorhead Region",
              description: "Largest metro area coverage with fast response times",
              imageSrc: "http://img.b2bpic.net/free-photo/ottawa-street_649448-3745.jpg"
            },
            {
              id: "03",
              title: "Grand Forks & Minot",
              description: "Northern North Dakota roofing and storm damage specialists",
              imageSrc: "http://img.b2bpic.net/free-photo/empty-field-with-mountain-covered-different-color-trees_181624-6830.jpg"
            },
            {
              id: "04",
              title: "Williston Oil Patch",
              description: "Commercial roofing for industrial and business expansion",
              imageSrc: "http://img.b2bpic.net/free-photo/chernobyl-alienation-zone-view-chernobyl-atomic-plant-background-river_627829-11757.jpg"
            }
          ]}
          gridVariant="two-columns-alternating-heights"
          animationType="blur-reveal"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <FooterBaseReveal 
        columns={[
          {
            title: "Services",
            items: [
              { label: "Roof Replacement", href: "/services" },
              { label: "Roof Repair", href: "/services" },
              { label: "Storm Damage", href: "/services" },
              { label: "Commercial", href: "/services" }
            ]
          },
          {
            title: "Company",
            items: [
              { label: "About Us", href: "/about" },
              { label: "Gallery", href: "/gallery" },
              { label: "Reviews", href: "/reviews" },
              { label: "Contact", href: "/contact" }
            ]
          },
          {
            title: "Contact",
            items: [
              { label: "Phone: (701) 555-0100", href: "tel:+17015550100" },
              { label: "Emergency: 24/7 Available", href: "tel:+17015550100" },
              { label: "Licensed & Insured", href: "#" },
              { label: "BBB Accredited", href: "#" }
            ]
          }
        ]}
        copyrightText="© 2025 Northstar Roofing LLC. North Dakota Roofing Specialists. All rights reserved."
      />
    </ThemeProvider>
  );
}