'use client'

import Image from 'next/image'
import Badge from '@/components/ui/Badge'

export default function SalonStorySection() {
  return (
    <section data-vula-section="salonstory" id="salon-story" className="bg-white py-20 lg:py-24">
      <div className="mx-auto grid max-w-7xl grid-cols-1 items-center gap-12 px-4 sm:px-6 lg:grid-cols-2 lg:px-8">
        <div className="relative mx-auto w-full max-w-lg">
          <div className="relative h-[420px] w-full overflow-hidden sm:h-[480px]" style={{ borderRadius: '999px 999px 24px 24px' }}>
            <Image
              src="https://images.pexels.com/photos/36768049/pexels-photo-36768049.jpeg?auto=compress&cs=tinysrgb&h=350"
              alt="Zama Salon stylist team in Fourways"
              fill
              sizes="(max-width: 768px) 100vw, 50vw"
              className="object-cover"
            />
          </div>
          <div className="absolute -bottom-6 -right-4 rounded-2xl bg-[#0077BE] px-6 py-4 text-white shadow-lg">
            <p className="text-2xl font-bold text-[#FFD700]">8+</p>
            <p className="text-sm text-white/80">years in Fourways</p>
          </div>
        </div>
        <div>
          <Badge className="mb-4 bg-[#00A8CC]/10 text-[#0077BE]">Est. 2016 · Fourways</Badge>
          <h2 className="text-3xl font-bold leading-tight text-[#1A2B3C] lg:text-4xl">
            From international training to a homecoming in Fourways.
          </h2>
          <div className="mt-6 space-y-4 text-[#1A2B3C]/75 max-w-[52ch]">
            <p>
              Founder Zama Nkosi spent eight years refining colour and keratin techniques in London and Milan before returning to Johannesburg to open a salon that treats African hair as the specialty it is.
            </p>
            <p>
              Today Zama Salon blends Olaplex-backed colour work with hand-tied braiding and precision nail art — no more choosing between science and heritage.
            </p>
          </div>
          <div className="mt-8 flex flex-wrap gap-3">
            {['African hair specialists', 'International colour', 'Nail studio'].map((tag) => (
              <span key={tag} className="rounded-full bg-[#F0F8FF] px-4 py-2 text-sm font-medium text-[#1A2B3C]/80">
                {tag}
              </span>
            ))}
          </div>
        </div>
      </div>
    </section>
  )
}