import { Button } from "@/components/ui/button"
import { Card, CardContent } from "@/components/ui/card"
import Link from "next/link"
import {
  ArrowRight,
  Building2,
  FileText,
  Scale,
  Lightbulb,
  Calculator,
  Award,
  TrendingUp,
  Globe2,
  Users,
} from "lucide-react"

const whatsappUrl =
  "https://wa.me/918796625333?text=Hello%2C%20I%20am%20interested%20in%20Agmont%20Advisory%27s%20services.%20Please%20guide%20me."

const calendarUrl = "https://advisory-in.youcanbook.me/"

export const metadata = {
  title: "Our Services - Business Setup, GST, Audit | Agmont Advisory",
  description:
    "Comprehensive business services including company registration, GST, audit, accounting, IPR, project financing, and more. Expert advisory in Nashik, Maharashtra.",
}

export default function ServicesPage() {
  const services = [
    {
      title: "Business Setup",
      href: "/services/business-setup",
      icon: Building2,
      description:
        "Complete support for Partnerships, LLP, Private Limited, Public Limited, Section 8, and offshore incorporation services.",
    },
    {
      title: "Goods & Service Tax (GST)",
      href: "/services/gst",
      icon: FileText,
      description:
        "GST registration, return filing, consultation services, and GST refund claims with expert guidance.",
    },
    {
      title: "Insolvency & Bankruptcy",
      href: "/services/insolvency-bankruptcy",
      icon: Scale,
      description: "Advisory, representation, and assistance for insolvency, bankruptcy & liquidation matters.",
    },
    {
      title: "Intellectual Property Rights",
      href: "/services/ipr",
      icon: Lightbulb,
      description: "Easy and quick trademark, patent, design & copyright registration in India with expert advisory.",
    },
    {
      title: "Accounting & Bookkeeping",
      href: "/services/accounting",
      icon: Calculator,
      description: "Complete accounting services with teams skilled in Tally, QuickBooks, Xero, and more.",
    },
    {
      title: "Audit & Assurance",
      href: "/services/audit-assurance",
      icon: Award,
      description:
        "CA, CMA, CS, and CISA-certified professionals providing Tax Audit, Statutory Audit, Forensic Audit.",
    },
    {
      title: "Project Financing",
      href: "/services/project-financing",
      icon: TrendingUp,
      description: "Support for project finance, term loans, business loans with top lenders in the market.",
    },
    {
      title: "Import Export Code",
      href: "/services/import-export",
      icon: Globe2,
      description: "Dedicated department for export-import compliance and operational support services.",
    },
    {
      title: "ESIC & EPF",
      href: "/services/esic-epf",
      icon: Users,
      description: "Registration, monthly challan filing, returns, PF withdrawal support, and compliance services.",
    },
  ]

  return (
    <div className="flex flex-col">
      {/* Hero Section */}
      <section className="py-24 bg-gradient-to-br from-slate-900 to-slate-800 text-white">
        <div className="container mx-auto px-4 md:px-6">
          <div className="max-w-4xl mx-auto text-center space-y-6">
            <h1 className="text-5xl md:text-6xl font-bold text-balance">{"Our Services"}</h1>
            <p className="text-xl text-slate-300 leading-relaxed">
              {
                "Comprehensive business solutions tailored to your needs. From startup to scale, we provide end-to-end services to help your business thrive."
              }
            </p>
          </div>
        </div>
      </section>

      {/* Services Grid */}
      <section className="py-24 bg-background">
        <div className="container mx-auto px-4 md:px-6">
          <div className="grid md:grid-cols-2 lg:grid-cols-3 gap-8 max-w-7xl mx-auto">
            {services.map((service) => {
              const Icon = service.icon
              return (
                <Link key={service.href} href={service.href}>
                  <Card className="h-full transition-all hover:shadow-lg hover:-translate-y-1 cursor-pointer border-2 hover:border-slate-900">
                    <CardContent className="p-8 space-y-4">
                      <div className="w-14 h-14 rounded-xl bg-slate-900 flex items-center justify-center">
                        <Icon className="h-7 w-7 text-white" />
                      </div>
                      <h3 className="text-2xl font-bold text-slate-900">{service.title}</h3>
                      <p className="text-muted-foreground leading-relaxed">{service.description}</p>
                      <div className="flex items-center text-slate-900 font-semibold pt-2">
                        {"Learn More"} <ArrowRight className="ml-2 h-4 w-4" />
                      </div>
                    </CardContent>
                  </Card>
                </Link>
              )
            })}
          </div>
        </div>
      </section>

      {/* CTA Section */}
      <section className="py-24 bg-slate-50">
        <div className="container mx-auto px-4 md:px-6">
          <div className="max-w-4xl mx-auto text-center space-y-8">
            <h2 className="text-4xl md:text-5xl font-bold text-slate-900 text-balance">{"Need Expert Guidance?"}</h2>
            <p className="text-xl text-muted-foreground leading-relaxed">
              {
                "Our team of certified professionals is ready to help you choose the right services for your business needs."
              }
            </p>
            <Button asChild size="lg" className="bg-slate-900 hover:bg-slate-800 text-lg px-8 h-14">
              <a href={whatsappUrl} target="_blank" rel="noopener noreferrer">
                {"Talk to an Expert"} <ArrowRight className="ml-2 h-5 w-5" />
              </a>
            </Button>
          </div>
        </div>
      </section>
    </div>
  )
}
