import { useTranslations } from 'next-intl'
import Image from 'next/image'
import Link from 'next/link'
import { Instagram, Mail, Phone } from 'lucide-react'

interface FooterProps {
  locale: string
}

export default function Footer({ locale }: FooterProps) {
  const t = useTranslations('footer')

  return (
    <footer className="bg-vesta-dark border-t border-white/8 py-12">
      <div className="container mx-auto px-6">
        <div className="flex flex-col md:flex-row items-center justify-between gap-8">
          {/* Logo */}
          <Link href={`/${locale}`}>
            <Image
              src="https://cdn.prod.website-files.com/6693a42300f08d15d3514511/6694e59f468a02af6267826d_H%20FULL%20LOGO%20-%20WHITE.png"
              alt="Vesta Muğla"
              width={140}
              height={35}
              className="h-7 w-auto object-contain opacity-80"
            />
          </Link>

          {/* Linkler */}
          <div className="flex items-center gap-6">
            <a
              href="tel:+904443145"
              className="text-white/40 hover:text-white/80 transition-colors"
            >
              <Phone className="w-4 h-4" />
            </a>
            <a
              href="mailto:vestamugla@gmail.com"
              className="text-white/40 hover:text-white/80 transition-colors"
            >
              <Mail className="w-4 h-4" />
            </a>
            <a
              href="https://www.instagram.com/vestamugla/"
              target="_blank"
              rel="noopener noreferrer"
              className="text-white/40 hover:text-white/80 transition-colors"
            >
              <Instagram className="w-4 h-4" />
            </a>
          </div>

          {/* Copyright */}
          <p className="text-white/30 text-xs text-center md:text-right">
            {t('rights')}
          </p>
        </div>
      </div>
    </footer>
  )
}
