"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FeatureCardThree from '@/components/sections/feature/featureCardThree/FeatureCardThree';
import MetricCardTwo from '@/components/sections/metrics/MetricCardTwo';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import { Phone, Clock, MapPin } from 'lucide-react';

export default function ContactPage() {
  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="main-contact" data-section="main-contact">
        <ContactCenter 
          tag="Free Estimate"
          tagIcon={Phone}
          title="Ready to Get Started on Your Roofing Project?"
          description="Get your free, no-obligation estimate today. Our team will assess your needs and provide a detailed quote within 24 hours. Emergency services available 24/7."
          background={{ variant: "radial-gradient" }}
          useInvertedBackground={false}
          inputPlaceholder="Enter your email for quote"
          buttonText="Request Free Estimate"
          termsText="Your information is secure and will only be used to contact you about your roofing project. We respect your privacy."
        />
      </div>

      <div id="contact-methods" data-section="contact-methods">
        <FeatureCardThree 
          title="Multiple Ways to Reach Us"
          description="Choose the method that works best for you"
          tag="Contact Options"
          tagIcon={Phone}
          features={[
            {
              id: "01",
              title: "Phone & Emergency Line",
              description: "Call (701) 555-0100 for immediate assistance. Emergency services available 24/7 for storm damage.",
              imageSrc: "http://img.b2bpic.net/free-photo/portrait-businessman-office-2_1262-1488.jpg?_wi=2"
            },
            {
              id: "02",
              title: "Online Estimate Request",
              description: "Submit your project details online and receive a comprehensive estimate within 24 hours.",
              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?_wi=4"
            },
            {
              id: "03",
              title: "On-Site Consultation",
              description: "Schedule a free on-site consultation where we'll assess your roof and provide detailed recommendations.",
              imageSrc: "http://img.b2bpic.net/free-photo/long-shot-men-working-roof_23-2149343673.jpg?_wi=3"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
        />
      </div>

      <div id="response-times" data-section="response-times">
        <MetricCardTwo 
          title="Our Response Commitment"
          description="Fast, reliable service when you need it most"
          tag="Service Promise"
          metrics={[
            { id: "1", value: "24hrs", description: "Free Estimate Delivery" },
            { id: "2", value: "2hrs", description: "Emergency Response Time" },
            { id: "3", value: "100%", description: "On-Time Project Completion" }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="scale-rotate"
          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>
  );
}