<footer class="bg-home-foreground text-white font-sans pt-16 pb-12 relative">

    <div class="container mx-auto px-4 md:px-8 lg:px-24 xl:px-32 relative z-10">
        <div class="grid grid-cols-1 md:grid-cols-12 gap-12">

            <div class="md:col-span-4 flex flex-col gap-6">
                <div class="flex items-center gap-3">
                    <img src="{{ asset('assets/images/logo.png') }}" alt="Logo Yadi Parfum"
                        class="w-10 h-10 object-contain brightness-0 invert">
                    <h2 class="text-2xl font-bold tracking-wide text-white">Yadi Parfum</h2>
                </div>
                <p class="text-gray-400 text-sm leading-relaxed text-justify">
                    {{ $generalSettings->site_description }}
                </p>
                <div class="flex items-center gap-4 mt-2">
                    <a href="#"
                        class="w-10 h-10 rounded-full bg-white/5 flex items-center justify-center text-gray-400 hover:bg-white hover:text-home-foreground transition-all duration-300">
                        <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 24 24">
                            <path d="M18 2h-3a5 5 0 00-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 011-1h3z"></path>
                        </svg>
                    </a>
                    <a href="#"
                        class="w-10 h-10 rounded-full bg-white/5 flex items-center justify-center text-gray-400 hover:bg-white hover:text-home-foreground transition-all duration-300">
                        <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 24 24">
                            <path
                                d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z">
                            </path>
                        </svg>
                    </a>
                    <a href="#"
                        class="w-10 h-10 rounded-full bg-white/5 flex items-center justify-center text-gray-400 hover:bg-white hover:text-home-foreground transition-all duration-300">
                        <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 24 24">
                            <path
                                d="M19.59 6.69a4.83 4.83 0 0 1-3.77-4.25V2h-3.45v13.67a2.89 2.89 0 0 1-5.2 1.74 2.89 2.89 0 0 1 2.31-4.64 2.93 2.93 0 0 1 .88.13V9.4a6.84 6.84 0 0 0-1-.05A6.33 6.33 0 0 0 5 20.1a6.34 6.34 0 0 0 10.86-4.43v-7a8.16 8.16 0 0 0 4.77 1.52v-3.4a4.85 4.85 0 0 1-1-.1z">
                            </path>
                        </svg>
                    </a>
                </div>
            </div>

            <div class="md:col-span-3 md:pl-8">
                <h3 class="text-white font-bold mb-6 text-sm uppercase tracking-wider">Tautan Cepat</h3>
                <ul class="space-y-4 text-sm text-gray-400">
                    <li>
                        <a href="{{ route('homepage') }}" wire:navigate
                            class="hover:text-home-secondary transition-colors duration-300 flex items-center gap-2">Beranda</a>
                    </li>
                    <li>
                        <a href="{{ route('product.index') }}" wire:navigate
                            class="hover:text-home-secondary transition-colors duration-300 flex items-center gap-2">Katalog
                            Produk</a>
                    </li>
                    <li>
                        <a href="{{ route('outlet') }}" wire:navigate
                            class="hover:text-home-secondary transition-colors duration-300 flex items-center gap-2">Outtlet
                        </a>
                    </li>
                    <li>
                        <a href="{{ route('article.index') }}" wire:navigate
                            class="hover:text-home-secondary transition-colors duration-300 flex items-center gap-2">Artikel</a>
                    </li>
                </ul>
            </div>

            <div class="md:col-span-5 flex flex-col gap-6">
                <div>
                    <h3 class="text-white font-bold mb-6 text-sm uppercase tracking-wider">Kontak Kami</h3>
                    <div class="space-y-5 text-sm text-gray-400">
                        <div class="flex items-start gap-4">
                            <div class="mt-1"><svg class="w-5 h-5 text-home-primary" fill="none"
                                    stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
                                        d="M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z">
                                    </path>
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
                                        d="M15 11a3 3 0 11-6 0 3 3 0 016 0z"></path>
                                </svg></div>
                            <span class="leading-relaxed">{{ $contactSettings->address }}</span>
                        </div>
                        <div class="flex items-center gap-4">
                            <div><svg class="w-5 h-5 text-home-primary" fill="none" stroke="currentColor"
                                    viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
                                        d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z">
                                    </path>
                                </svg></div>
                            <span>{{ $contactSettings->email }}</span>
                        </div>
                        <div class="flex items-center gap-4">
                            <div><svg class="w-5 h-5 text-home-primary" fill="none" stroke="currentColor"
                                    viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
                                        d="M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z">
                                    </path>
                                </svg></div>
                            <span>{{ $contactSettings->phone_number }}</span>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <div class="border-t border-white/10 pt-8 flex flex-col md:flex-row justify-between items-center gap-4">
            <div class="text-sm text-gray-500">
                &copy; {{ date('Y') }} Yadi Parfum. Semua hak dilindungi undang-undang.
            </div>
            {{-- <div class="flex gap-6 text-sm text-gray-500">
                <a href="#" class="hover:text-white transition-colors">Privacy Policy</a>
                <a href="#" class="hover:text-white transition-colors">Terms of Service</a>
            </div> --}}
        </div>
    </div>
</footer>
