'use client';

import { useLanguage } from '@/shared/language';
import { Button } from '@/shared/shadcn-ui/button';

export const CtaSection = () => {
  const { t } = useLanguage();

  return (
    <section className='bg-red-600 py-16 text-white'>
      <div className='container mx-auto'>
        <div className='flex flex-col items-center text-center'>
          <h2 className='mb-4 text-3xl font-bold tracking-tight sm:text-4xl'>
            {t('home.cta.title')}
          </h2>
          <p className='mb-8 max-w-2xl'>{t('home.cta.description')}</p>
          <div className='flex flex-col gap-4 sm:flex-row'>
            <Button variant='outline'>{t('common.buttons.downloadApp')}</Button>
            <Button className='bg-white text-red-600 hover:bg-gray-100'>
              {t('common.buttons.getLoyaltyCard')}
            </Button>
          </div>
        </div>
      </div>
    </section>
  );
};
