import { Metadata } from "next";
import Image from "next/image";

export const metadata: Metadata = {
    title: "Privacy Policy | Budd Electric Co.",
    description: "Privacy policy for Budd Electric Co., a family-owned electrical contractor in Corpus Christi, TX. Learn how we collect, use, and protect your information.",
};

export default function PrivacyPolicy() {
    return (
        <div className="bg-[color:var(--bg)]">
            {/* PAGE HERO */}
            <section className="bg-[color:var(--bg-dark)] py-20 relative overflow-hidden -mt-20 pt-44">
                <div className="absolute inset-0 opacity-10">
                    <Image
                        src="/images/hero-bg.png"
                        alt=""
                        fill
                        priority
                        quality={40}
                        sizes="100vw"
                        className="object-cover object-center"
                    />
                </div>
                <div className="mx-auto max-w-7xl px-6 lg:px-8 relative z-10 text-center">
                    <h1 className="text-4xl md:text-6xl font-bold text-white font-display mb-6">Privacy Policy</h1>
                    <p className="text-xl text-gray-400 max-w-2xl mx-auto">
                        Last updated: June 23, 2026
                    </p>
                </div>
            </section>

            {/* CONTENT */}
            <section className="py-24">
                <div className="mx-auto max-w-3xl px-6 lg:px-8">
                    <div className="prose prose-lg max-w-none text-[color:var(--muted)] space-y-8">
                        <p>
                            Budd Electric Co. (&ldquo;we,&rdquo; &ldquo;us,&rdquo; or &ldquo;our&rdquo;) respects your privacy. This policy explains what information we collect through our website, how we use it, and your choices.
                        </p>

                        <h2 className="text-2xl font-bold text-[color:var(--ink)] font-display mt-12">Information We Collect</h2>
                        <p>
                            We collect the information you voluntarily provide through our contact form, such as your name, email address, phone number, selected service type, and any message details. We may also collect basic technical information automatically, such as your browser type and general usage data, to help us operate and improve the site.
                        </p>

                        <h2 className="text-2xl font-bold text-[color:var(--ink)] font-display mt-12">How We Use Your Information</h2>
                        <p>
                            We use the information you submit solely to respond to your inquiries, provide quotes, schedule service, and communicate with you about our electrical services. We do not sell or rent your personal information to third parties.
                        </p>

                        <h2 className="text-2xl font-bold text-[color:var(--ink)] font-display mt-12">Sharing of Information</h2>
                        <p>
                            We may share information only with trusted service providers who help us operate our website and email communications (for example, our email delivery provider), and only as needed to provide those services. We may disclose information if required by law.
                        </p>

                        <h2 className="text-2xl font-bold text-[color:var(--ink)] font-display mt-12">Data Retention</h2>
                        <p>
                            We retain contact submissions only as long as necessary to respond to your request and for our normal business records.
                        </p>

                        <h2 className="text-2xl font-bold text-[color:var(--ink)] font-display mt-12">Your Choices</h2>
                        <p>
                            You may contact us at any time to ask what information we hold about you or to request that we delete it.
                        </p>

                        <h2 className="text-2xl font-bold text-[color:var(--ink)] font-display mt-12">Contact Us</h2>
                        <p>
                            If you have any questions about this Privacy Policy, contact us at <a href="mailto:buddelectric@grandecom.net" className="text-[color:var(--brand)] hover:underline">buddelectric@grandecom.net</a> or <a href="tel:+13618552255" className="text-[color:var(--brand)] hover:underline">(361) 855-2255</a>.
                        </p>

                        <p className="italic text-sm text-gray-400 mt-12 border-t border-gray-200 pt-8">
                            This policy is provided for general informational purposes and does not constitute legal advice. Budd Electric Co. recommends reviewing it with a qualified attorney.
                        </p>
                    </div>
                </div>
            </section>
        </div>
    );
}
