"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from "@/components/navbar/NavbarStyleApple/NavbarStyleApple";
import ContactSplit from "@/components/sections/contact/ContactSplit";
import MediaAbout from "@/components/sections/about/MediaAbout";
import MetricCardSeven from "@/components/sections/metrics/MetricCardSeven";
import FooterLogoReveal from "@/components/sections/footer/FooterLogoReveal";
import Link from "next/link";

export default function ContactPage() {
  const navItems = [
    { name: "Services", id: "services" },
    { name: "Why Us", id: "why-us" },
    { name: "Reviews", id: "reviews" },
    { name: "Service Area", id: "service-area" },
    { name: "Contact", id: "contact" },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="background-highlight"
      borderRadius="soft"
      contentWidth="compact"
      sizing="largeSmallSizeMediumTitles"
      background="circleGradient"
      cardStyle="glass-depth"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="glass"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple brandName="A Cut Above" navItems={navItems} />
      </div>

      <div id="contact-form" data-section="contact-form">
        <ContactSplit
          tag="Get Your Free Estimate"
          title="Contact A Cut Above Today"
          description="Quick consultation for your tree removal or service needs. Fast response guaranteed. Open daily until 7 PM. Call Brent directly or submit your information below."
          background={{ variant: "sparkles-gradient" }}
          useInvertedBackground={false}
          imageSrc="http://img.b2bpic.net/free-photo/outdoor-shot-logger-having-rest-open-air-after-cutting-trees_176532-14596.jpg?_wi=8"
          imageAlt="tree service professional arborist outdoor expert consultation"
          mediaPosition="right"
          mediaAnimation="slide-up"
          inputPlaceholder="Enter your email"
          buttonText="Request Estimate"
          termsText="We respect your privacy. Quick response during business hours. Open daily until 7 PM."
        />
      </div>

      <div id="contact-info" data-section="contact-info">
        <MediaAbout
          title="Direct Contact Information"
          description="Reach out to Brent directly for immediate assistance. Same-day consultations available. Emergency services available daily until 7 PM. Fast, reliable response to all inquiries."
          tag="Available Now"
          buttons={[
            { text: "Call (206) 930-5697", href: "tel:2069305697" },
            { text: "Email Us" },
          ]}
          imageSrc="http://img.b2bpic.net/free-photo/man-yellow-vest-raking-leaves-park_259150-57324.jpg?_wi=4"
          imageAlt="cleanup organized professional thorough"
          useInvertedBackground={false}
        />
      </div>

      <div id="contact-benefits" data-section="contact-benefits">
        <MetricCardSeven
          metrics={[
            {
              id: "benefit-1",              value: "Same-Day",              title: "Free Consultations",              items: [
                "No obligation estimates",                "Professional assessment",                "Transparent pricing discussion"],
            },
            {
              id: "benefit-2",              value: "Quick",              title: "Fast Response Times",              items: [
                "Rapid callback service",                "Available daily until 7 PM",                "Emergency services available"],
            },
            {
              id: "benefit-3",              value: "Easy",              title: "Simple Scheduling",              items: [
                "Direct contact with Brent",                "Flexible appointment times",                "No complex booking systems"],
            },
          ]}
          title="Why Contact A Cut Above"
          description="Professional service starts with excellent communication. We're easy to reach and committed to fast, friendly responses."
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="slide-up"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoReveal
          logoText="A Cut Above"
          leftLink={{ text: "Privacy Policy", href: "#" }}
          rightLink={{ text: "Terms of Service", href: "#" }}
        />
      </div>
    </ThemeProvider>
  );
}