"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import LegalSection from "@/components/legal/LegalSection";
import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen";

export default function PrivacyPolicyPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="medium"
      sizing="medium"
      background="circleGradient"
      cardStyle="glass-elevated"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={[
            { name: "Home", id: "/" },
            { name: "About", id: "/about" },
            { name: "Privacy", id: "/privacy" },
          ]}
          brandName="TemizEv"
        />
      </div>
      <LegalSection
        layout="page"
        title="Privacy Policy"
        subtitle="Your privacy matters to us at TemizEv"
        sections={[
          {
            heading: "Information We Collect",            content: [
              { type: "paragraph", text: "We collect information you provide directly to us, such as when you create an account, request a cleaning service, or contact us for support. This may include your name, email address, phone number, and physical address." }
            ]
          },
          {
            heading: "How We Use Your Information",            content: [
              { type: "paragraph", text: "We use the collected information to:" },
              { type: "list", items: ["Provide, maintain, and improve our cleaning services.", "Process your transactions and send related information.", "Communicate with you about bookings, updates, and promotions."] }
            ]
          },
          {
            heading: "Data Protection",            content: [
              { type: "paragraph", text: "We implement appropriate security measures to protect your personal information in accordance with local regulations in Turkey. We do not sell your personal data to third parties." }
            ]
          }
        ]}
      />
    </ThemeProvider>
  );
}