"use client";

import Link from 'next/link';
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleMinimal from '@/components/navbar/NavbarStyleMinimal';
import HeroCarouselLogo from '@/components/sections/hero/heroCarouselLogo/HeroCarouselLogo';
import FeatureCardThree from '@/components/sections/feature/featureCardThree/FeatureCardThree';
import MetricCardThree from '@/components/sections/metrics/MetricCardThree';
import FooterSimple from '@/components/sections/footer/FooterSimple';
import { CheckCircle, Shield, Clock, Users } from 'lucide-react';

export default function HomePage() {
  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="background-highlight"
      borderRadius="rounded"
      contentWidth="mediumLarge"
      sizing="mediumLargeSizeMediumTitles"
      background="plain"
      cardStyle="glass-elevated"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleMinimal
          brandName="Heras Admin Solutions"
          button={{
            text: "Book Appointment",
            href: "/contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroCarouselLogo
          logoText="HERAS"
          description="Reliable tax preparation for individuals and businesses in San Diego. Fast, accurate filing with clear guidance and secure handling."
          buttons={[
            { text: "Book Appointment", href: "/contact" },
            { text: "Call (619) 319-0228", href: "tel:+16193190228" }
          ]}
          slides={[
            {
              imageSrc: "https://img.b2bpic.net/free-photo/businessman-working-his-office-businessperson-professional-environment_482257-32758.jpg",
              imageAlt: "Professional tax preparation office"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/businesswoman-using-laptop_1398-1462.jpg",
              imageAlt: "Tax documents and consultation"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/confident-businessman-working-his-laptop_273609-12795.jpg",
              imageAlt: "Organized tax filing process"
            }
          ]}
          autoplayDelay={5000}
          showDimOverlay={true}
          logoLineHeight={1.05}
        />
      </div>

      <div id="why-choose-us" data-section="why-choose-us">
        <MetricCardThree
          title="Why Choose Heras"
          description="Trusted by San Diego families and businesses for accurate, reliable tax preparation"
          tag="Our Strengths"
          metrics={[
            { id: "1", icon: CheckCircle, title: "Accuracy", value: "100%" },
            { id: "2", icon: Shield, title: "Secure Handling", value: "Protected" },
            { id: "3", icon: Clock, title: "Fast Turnaround", value: "Quick" },
            { id: "4", icon: Users, title: "Client Focused", value: "Always" }
          ]}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSimple
          columns={[
            {
              title: "Services",
              items: [
                { label: "Individual Tax Returns", href: "/services" },
                { label: "Self-Employed & 1099", href: "/services" },
                { label: "Small Business Support", href: "/services" },
                { label: "IRS/State Notices", href: "/services" }
              ]
            },
            {
              title: "Company",
              items: [
                { label: "About Us", href: "/about" },
                { label: "How It Works", href: "/about" },
                { label: "Testimonials", href: "/testimonials" },
                { label: "FAQ", href: "/faq" }
              ]
            },
            {
              title: "Contact",
              items: [
                { label: "Call (619) 319-0228", href: "tel:+16193190228" },
                { label: "Book Appointment", href: "/contact" },
                { label: "Get Directions", href: "https://maps.google.com/?q=7079+Mission+Gorge+Rd+Unit+G+San+Diego+CA+92120" }
              ]
            },
            {
              title: "Legal",
              items: [
                { label: "Privacy Policy" },
                { label: "Terms of Service" }
              ]
            }
          ]}
          bottomLeftText="© 2025 Heras Administrative Solutions. All rights reserved."
          bottomRightText="Professional Tax Preparation in San Diego"
        />
      </div>
    </ThemeProvider>
  );
}