@extends('layouts.site')
@section('title', 'Privacy Policy')

@section('content')
    <section class="bg-slate-950 py-14 text-center text-white">
        <p class="text-xs font-bold uppercase tracking-[0.3em] text-gold-400">Legal</p>
        <h1 class="mt-2 font-serif text-4xl font-bold">Privacy Policy</h1>
        <p class="mt-2 text-sm text-slate-400">Last updated: {{ now()->format('j F Y') }}</p>
    </section>

    <section class="mx-auto max-w-3xl px-4 py-14 sm:px-6">
        <div class="space-y-8 text-sm leading-relaxed text-slate-700">
            <div>
                <h2 class="mb-2 font-serif text-xl font-bold text-slate-900">1. Who we are</h2>
                <p>Epelcon Hospitality ("we", "us") operates hotels and a hospitality management platform. This policy explains what information we collect from guests and how we use it. You can reach us any time at {{ \App\Models\Setting::get('email', 'hello@epelcon.com') }}.</p>
            </div>
            <div>
                <h2 class="mb-2 font-serif text-xl font-bold text-slate-900">2. What we collect</h2>
                <ul class="list-inside list-disc space-y-1.5">
                    <li><b>Booking details:</b> your name, contact information, government ID (for check-in), stay dates and preferences.</li>
                    <li><b>Payment details:</b> processed by our payment partners (Paystack, Flutterwave). We never see or store your card number, PIN or CVV.</li>
                    <li><b>Account information</b> if you register — email, phone, password (hashed), your referral code, membership tier and reward points.</li>
                    <li><b>Usage information:</b> pages visited, actions taken, cookies for keeping you signed in.</li>
                </ul>
            </div>
            <div>
                <h2 class="mb-2 font-serif text-xl font-bold text-slate-900">3. How we use it</h2>
                <p>To confirm and manage your bookings, orders and experiences; to award loyalty points; to send booking, payment and review emails/SMS; to improve our service; and to comply with legal obligations. We do not sell your personal data to anyone.</p>
            </div>
            <div>
                <h2 class="mb-2 font-serif text-xl font-bold text-slate-900">4. Who we share with</h2>
                <p>Only where necessary: payment processors, email/SMS providers (e.g. Termii), and — if you were referred through the Epelcon marketplace — the partner property involved. Any partner receiving your data is bound to keep it confidential.</p>
            </div>
            <div>
                <h2 class="mb-2 font-serif text-xl font-bold text-slate-900">5. Your rights</h2>
                <p>You can request a copy of your data, correct inaccuracies, or ask us to delete your account at any time by writing to us. Legal or safety records (e.g. transaction history) may be retained where required.</p>
            </div>
            <div>
                <h2 class="mb-2 font-serif text-xl font-bold text-slate-900">6. Cookies</h2>
                <p>We use cookies to keep you signed in and remember preferences. You can clear them in your browser at any time.</p>
            </div>
            <p class="rounded-2xl bg-amber-50 p-4 text-xs italic text-amber-800">Template notice: This document is a plain-English starting point. Please have your legal counsel review it against Nigerian data-protection law and the specifics of your business before you go live.</p>
        </div>
    </section>
@endsection
