import { ServiceHeroImage } from '@/components/ui/service-hero-image'
import { Header } from '@/components/layout/header'
import { Footer } from '@/components/layout/footer'
import Link from 'next/link'
import {
  Palette,
  ArrowRight,
  CheckCircle2,
  TrendingUp,
  Eye,
  Zap,
  Users,
  Globe,
} from 'lucide-react'

export const metadata = {
  title: 'Branding & Creative - Drish Infra',
  description: 'Strategic branding, visual identity, and creative design solutions that elevate your business presence and connect with your audience.',
}

export default function Page() {
  return (
    <main className="min-h-screen bg-[#f8fafc] text-slate-900">
      <Header />

      {/* ─── SECTION 1 · Hero — Branding & Creative ── */}
      <section className="relative overflow-hidden bg-gradient-to-br from-slate-950 via-blue-950 to-violet-950 text-white pt-14 pb-20 lg:pt-16 lg:pb-28">
        <div className="absolute inset-0 opacity-[0.04]" style={{ backgroundImage: 'radial-gradient(circle at 1px 1px, #a78bfa 1px, transparent 0)', backgroundSize: '24px 24px' }} />
        <div className="relative max-w-7xl mx-auto px-6 lg:px-8">
          <div className="grid lg:grid-cols-2 gap-12 items-center">
            <div className="text-center lg:text-left">
              <div className="w-14 h-14 rounded-2xl bg-gradient-to-br from-violet-500 to-blue-500 flex items-center justify-center mb-6 shadow-lg shadow-violet-500/30">
                <Palette className="w-7 h-7 text-white" />
              </div>
              <h1 className="text-4xl lg:text-5xl xl:text-6xl font-extrabold leading-[1.1] mb-6">
                Branding & <span className="bg-gradient-to-r from-violet-400 to-blue-400 bg-clip-text text-transparent">Creative Design</span>
              </h1>
              <p className="text-lg text-slate-300 leading-relaxed mb-8 max-w-xl">
                Build a powerful brand identity that resonates with your audience. From logo design to complete visual systems — we create brands that stand out.
              </p>
              <div className="flex justify-center lg:justify-start flex-wrap gap-4">
                <Link href="/contact" className="inline-flex items-center gap-2 bg-gradient-to-r from-violet-500 to-blue-600 hover:from-violet-400 hover:to-blue-500 text-white font-bold text-sm px-6 py-3 rounded-xl shadow-lg shadow-violet-500/25 hover:shadow-violet-400/40 transition-all duration-300 hover:scale-105">
                  Start Branding Project <ArrowRight className="w-4 h-4" />
                </Link>
              </div>
            </div>
            {/* Hero Image */}
            <div className="block order-first lg:order-last">
              <ServiceHeroImage label="Branding & Creative" stats={[{ value: '200+', label: 'Brands Built' }, { value: '98%', label: 'Satisfaction' }, { value: '15+', label: 'Awards Won' }]}>
              <div className="w-16 h-16 rounded-2xl bg-gradient-to-br from-violet-500 to-blue-500 flex items-center justify-center shadow-lg shadow-violet-500/20">
                <Palette className="w-8 h-8 text-white" />
              </div>
            </ServiceHeroImage>
            </div>
          </div>
        </div>
      </section>

      {/* ─── SECTION 2 · Stats ── */}
      <section className="py-16 bg-gradient-to-r from-slate-950 via-blue-950 to-violet-950">
        <div className="max-w-7xl mx-auto px-6 lg:px-8">
          <div className="grid grid-cols-2 md:grid-cols-4 gap-8">
            {[
              { number: '200+', label: 'Brands Designed', sub: 'Across industries' },
              { number: '98%', label: 'Client Satisfaction', sub: 'Long-term partnerships' },
              { number: '15+', label: 'Design Awards', sub: 'Industry recognition' },
              { number: '40+', label: 'Creative Experts', sub: 'Design specialists' },
            ].map((m, i) => (
              <div key={i} className="text-center">
                <p className="text-3xl lg:text-4xl font-extrabold text-white mb-1">{m.number}</p>
                <p className="text-sm font-semibold text-blue-300">{m.label}</p>
                <p className="text-xs text-slate-400 mt-1">{m.sub}</p>
              </div>
            ))}
          </div>
        </div>
      </section>

      {/* ─── SECTION 3 · Services ── */}
      <section className="py-12 lg:py-16">
        <div className="max-w-7xl mx-auto px-6 lg:px-8">
          <div className="text-center mb-16">
            <p className="text-xs font-bold text-blue-600 uppercase tracking-wider mb-3">What We Offer</p>
            <h2 className="text-3xl lg:text-4xl font-extrabold mb-4">Branding Services</h2>
          </div>
          <div className="grid sm:grid-cols-2 lg:grid-cols-3 gap-6">
            {[
              { title: 'Logo & Visual Identity', desc: 'Custom logo design, color palettes, typography, and comprehensive brand guidelines.', icon: Palette },
              { title: 'Brand Strategy', desc: 'Market research, brand positioning, messaging framework, and competitive analysis.', icon: Target },
              { title: 'UI/UX Design', desc: 'User-centered interface design for web and mobile applications with prototyping.', icon: Eye },
              { title: 'Marketing Collateral', desc: 'Brochures, presentations, social media templates, and digital assets.', icon: Zap },
              { title: 'Brand Guidelines', desc: 'Comprehensive brand books ensuring consistency across all touchpoints.', icon: CheckCircle2 },
              { title: 'Rebranding', desc: 'Complete brand transformation for companies entering new markets or phases.', icon: TrendingUp },
            ].map((item, i) => {
              const Icon = item.icon
              return (
                <div key={i} className="bg-white rounded-2xl border border-slate-200 p-6 hover:shadow-lg transition-all duration-300">
                  <div className="w-11 h-11 rounded-xl bg-blue-50 flex items-center justify-center mb-4">
                    <Icon className="w-5 h-5 text-blue-600" />
                  </div>
                  <h3 className="font-bold mb-2">{item.title}</h3>
                  <p className="text-sm text-slate-500 leading-relaxed">{item.desc}</p>
                </div>
              )
            })}
          </div>
        </div>
      </section>

      <Footer />
    </main>
  )
}

function Target(props: React.SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" {...props}>
      <circle cx="12" cy="12" r="10"/><circle cx="12" cy="12" r="6"/><circle cx="12" cy="12" r="2"/>
    </svg>
  )
}
