import { useTranslation } from 'react-i18next'

const ITEMS = [
  { titleKey: 'partnership_item1_title', descKey: 'partnership_item1_desc', icon: '🤝' },
  { titleKey: 'partnership_item2_title', descKey: 'partnership_item2_desc', icon: '📜' },
  { titleKey: 'partnership_item3_title', descKey: 'partnership_item3_desc', icon: '✨' },
  { titleKey: 'partnership_item4_title', descKey: 'partnership_item4_desc', icon: '📣' },
]

export default function Partnership() {
  const { t } = useTranslation()

  return (
    <section id="partnership" className="py-24 bg-white dark:bg-gray-900">
      <div className="max-w-6xl mx-auto px-4">
        <div className="text-center mb-12">
          <h2 className="text-3xl md:text-4xl font-bold text-gray-900 dark:text-white mb-4">
            {t('partnership_title')}
          </h2>
          <p className="text-gray-500 dark:text-gray-400 max-w-2xl mx-auto">
            {t('partnership_desc')}
          </p>
        </div>

        <div className="grid sm:grid-cols-2 lg:grid-cols-4 gap-6">
          {ITEMS.map(item => (
            <div key={item.titleKey}
              className="bg-gray-50 dark:bg-gray-800 rounded-2xl p-6 border border-gray-100 dark:border-gray-700 hover:border-orange-300 dark:hover:border-orange-600 transition-colors group">
              <div className="text-4xl mb-4">{item.icon}</div>
              <h3 className="font-bold text-gray-900 dark:text-white mb-2 group-hover:text-orange-500 dark:group-hover:text-orange-400 transition-colors">
                {t(item.titleKey)}
              </h3>
              <p className="text-sm text-gray-500 dark:text-gray-400 leading-relaxed">
                {t(item.descKey)}
              </p>
            </div>
          ))}
        </div>

        <div className="mt-10 text-center">
          <a href="#contact"
            className="inline-flex items-center gap-2 px-8 py-3.5 rounded-2xl bg-orange-500 hover:bg-orange-600 text-white font-semibold text-sm transition-colors shadow-lg shadow-orange-200 dark:shadow-orange-900/30">
            {t('nav_contact')} →
          </a>
        </div>
      </div>
    </section>
  )
}
