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

export const metadata: Metadata = {
    title: "Terms of Service | Budd Electric Co.",
    description: "Terms of service for the Budd Electric Co. website. Family-owned electrical contractor in Corpus Christi, TX since 1969.",
};

export default function TermsOfService() {
    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">Terms of Service</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>
                            These Terms of Service (&ldquo;Terms&rdquo;) govern your use of the Budd Electric Co. website. By accessing or using this site, you agree to these Terms.
                        </p>

                        <h2 className="text-2xl font-bold text-[color:var(--ink)] font-display mt-12">Use of the Website</h2>
                        <p>
                            This website is provided for informational purposes to learn about Budd Electric Co.&rsquo;s electrical services and to contact us. You agree to use the site only for lawful purposes.
                        </p>

                        <h2 className="text-2xl font-bold text-[color:var(--ink)] font-display mt-12">No Guarantee of Service</h2>
                        <p>
                            Submitting a contact form or request does not create a binding agreement for services. All electrical work is subject to a separate written estimate and agreement. Pricing, availability, and scheduling are confirmed directly with our team.
                        </p>

                        <h2 className="text-2xl font-bold text-[color:var(--ink)] font-display mt-12">Intellectual Property</h2>
                        <p>
                            All content on this website, including text, logos, and images, is the property of Budd Electric Co. or its licensors and may not be reproduced without permission.
                        </p>

                        <h2 className="text-2xl font-bold text-[color:var(--ink)] font-display mt-12">Disclaimer of Warranties</h2>
                        <p>
                            This website is provided &ldquo;as is&rdquo; without warranties of any kind. We do not guarantee that the site will be uninterrupted or error-free.
                        </p>

                        <h2 className="text-2xl font-bold text-[color:var(--ink)] font-display mt-12">Limitation of Liability</h2>
                        <p>
                            Budd Electric Co. is not liable for any indirect or incidental damages arising from your use of this website.
                        </p>

                        <h2 className="text-2xl font-bold text-[color:var(--ink)] font-display mt-12">Contact</h2>
                        <p>
                            Questions about these Terms can be directed to <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">
                            These Terms are provided for general informational purposes and do not constitute legal advice. Budd Electric Co. recommends reviewing them with a qualified attorney.
                        </p>
                    </div>
                </div>
            </section>
        </div>
    );
}
