import type { Metadata } from "next";
import Link from "next/link";
import { Clock, Calendar } from "lucide-react";

// export const metadata: Metadata = {
//   title: "Privacy Policy | Ameera Holidays",
//   description:
//     "Learn how Ameera Holidays collects, uses, and protects your personal information. Our comprehensive privacy policy outlines your rights and our commitment to data security.",
//   openGraph: {
//     title: "Privacy Policy | Ameera Holidays",
//     description:
//       "Learn how Ameera Holidays collects, uses, and protects your personal information. Our comprehensive privacy policy outlines your rights and our commitment to data security.",
//     type: "website",
//   },
//   twitter: {
//     card: "summary_large_image",
//     title: "Privacy Policy | Ameera Holidays",
//     description:
//       "Learn how Ameera Holidays collects, uses, and protects your personal information. Our comprehensive privacy policy outlines your rights and our commitment to data security.",
//   },
// };

export default function PrivacyPolicyPage() {
  const readTime = "8 min read";
  const lastUpdated = "December 15, 2024";

  return (
    <main className="min-h-screen bg-[#f7f9fb]">
      <div className="w-full">
        {/* Header */}
        <header className="w-full rounded-2xl bg-secondary-foreground/10 px-4 py-10 md:px-10 md:py-14 lg:px-16">
          <div className="mx-auto max-w-4xl py-2 text-center md:py-6">
            <h1 className="text-balance text-4xl font-bold tracking-tight text-slate-950 md:text-6xl">
              Privacy <span className="frontend-text-gradient">Policy</span>
            </h1>
            <p className="mx-auto mt-5 max-w-3xl text-lg leading-relaxed text-slate-700 md:text-xl md:leading-10">
              Find answers to the most common questions about using ameera
              holidays. If you can't find what you're looking for, feel free to
              contact our support team.
            </p>
            <div className="mt-5 flex flex-wrap items-center justify-center gap-3">
              <span className="inline-flex items-center gap-2 rounded-full border border-slate-300/80 bg-white/70 px-4 py-1.5 text-sm font-medium text-slate-700 backdrop-blur-sm md:text-base">
                <Clock className="h-4 w-4 text-primary" aria-hidden="true" />
                {readTime}
              </span>
              <span className="inline-flex items-center gap-2 rounded-full border border-slate-300/80 bg-white/70 px-4 py-1.5 text-sm font-medium text-slate-700 backdrop-blur-sm md:text-base">
                <Calendar className="h-4 w-4 text-primary" aria-hidden="true" />
                Last updated: {lastUpdated}
              </span>
            </div>
          </div>
        </header>
        <div className="container mx-auto p-4 md:p-6 lg:p-8">
          <article className="mt-8 rounded-2xl border border-slate-200 bg-white px-6 py-8 shadow-sm prose prose-slate dark:prose-invert prose-headings:font-bold prose-headings:tracking-tight prose-h2:text-3xl prose-h2:mt-12 prose-h2:mb-6 prose-h3:text-xl prose-h3:mt-8 prose-h3:mb-4 prose-p:text-foreground/80 prose-p:leading-relaxed prose-li:text-foreground/80 prose-strong:text-foreground max-w-none md:px-10 md:py-10">
            <section>
              <p className="text-lg leading-relaxed">
                At Ameera Holidays, we are committed to protecting your privacy
                and ensuring the security of your personal information. This
                Privacy Policy explains how we collect, use, disclose, and
                safeguard your data when you use our platform for vehicle
                bookings, hotel reservations, spiritual packages, and custom
                travel services.
              </p>
            </section>

            <section>
              <h2>1. Information We Collect</h2>

              <h3>1.1 Personal Information</h3>
              <p>
                When you register or use our services, we may collect the
                following personal information:
              </p>
              <ul>
                <li>Full name, email address, and phone number</li>
                <li>Date of birth and government-issued ID details</li>
                <li>Billing and payment information</li>
                <li>Travel preferences and booking history</li>
                <li>Communication preferences and feedback</li>
              </ul>

              <h3>1.2 Automatically Collected Information</h3>
              <p>
                We automatically collect certain information when you visit our
                platform:
              </p>
              <ul>
                <li>IP address, browser type, and device information</li>
                <li>Pages viewed, time spent on pages, and navigation paths</li>
                <li>Referral sources and exit pages</li>
                <li>Cookies and similar tracking technologies</li>
              </ul>

              <h3>1.3 Location Information</h3>
              <p>
                With your permission, we may collect precise location data to
                provide location-based services such as nearby vehicle
                availability and hotel recommendations.
              </p>
            </section>

            <section>
              <h2>2. How We Use Your Information</h2>
              <p>
                We use your personal information for the following purposes:
              </p>
              <ul>
                <li>
                  <strong>Service Delivery:</strong> To process bookings,
                  facilitate payments, and provide customer support
                </li>
                <li>
                  <strong>Communication:</strong> To send booking confirmations,
                  updates, and important service notifications
                </li>
                <li>
                  <strong>Personalization:</strong> To customize your experience
                  and provide relevant recommendations
                </li>
                <li>
                  <strong>Improvement:</strong> To analyze usage patterns and
                  enhance our platform&apos;s functionality
                </li>
                <li>
                  <strong>Marketing:</strong> To send promotional offers and
                  newsletters (with your consent)
                </li>
                <li>
                  <strong>Legal Compliance:</strong> To comply with legal
                  obligations and protect our rights
                </li>
              </ul>
            </section>

            <section>
              <h2>3. Information Sharing and Disclosure</h2>

              <h3>3.1 Service Providers</h3>
              <p>
                We share your information with trusted third-party service
                providers who assist us in operating our platform, including
                payment processors, vehicle operators, hotel partners, and
                technology service providers.
              </p>

              <h3>3.2 Business Partners</h3>
              <p>
                When you book services through our platform, we share necessary
                information with our partner agents, hotel properties, and
                vehicle operators to fulfill your bookings.
              </p>

              <h3>3.3 Legal Requirements</h3>
              <p>
                We may disclose your information when required by law, court
                order, or governmental regulation, or to protect the rights,
                property, or safety of Ameera Holidays, our users, or others.
              </p>

              <h3>3.4 Business Transfers</h3>
              <p>
                In the event of a merger, acquisition, or sale of assets, your
                information may be transferred to the acquiring entity.
              </p>
            </section>

            <section>
              <h2>4. Data Security</h2>
              <p>
                We implement industry-standard security measures to protect your
                personal information from unauthorized access, disclosure,
                alteration, or destruction. These measures include:
              </p>
              <ul>
                <li>
                  Encryption of sensitive data during transmission (SSL/TLS)
                </li>
                <li>
                  Secure data storage with access controls and authentication
                </li>
                <li>Regular security audits and vulnerability assessments</li>
                <li>
                  Employee training on data protection and privacy practices
                </li>
              </ul>
              <p>
                However, no method of transmission or storage is 100% secure,
                and we cannot guarantee absolute security.
              </p>
            </section>

            <section>
              <h2>5. Your Rights and Choices</h2>

              <h3>5.1 Access and Correction</h3>
              <p>
                You have the right to access, update, or correct your personal
                information at any time through your account settings or by
                contacting us.
              </p>

              <h3>5.2 Data Deletion</h3>
              <p>
                You may request deletion of your personal information, subject
                to legal and contractual obligations. We will retain certain
                information as required by law or for legitimate business
                purposes.
              </p>

              <h3>5.3 Marketing Communications</h3>
              <p>
                You can opt out of promotional emails by clicking the
                unsubscribe link in any marketing email or by updating your
                communication preferences in your account.
              </p>

              <h3>5.4 Cookies and Tracking</h3>
              <p>
                You can control cookie preferences through your browser
                settings. Note that disabling certain cookies may affect
                platform functionality.
              </p>
            </section>

            <section>
              <h2>6. Children&apos;s Privacy</h2>
              <p>
                Our services are not intended for children under 13 years of
                age. We do not knowingly collect personal information from
                children. If you believe we have collected information from a
                child, please contact us immediately.
              </p>
            </section>

            <section>
              <h2>7. International Data Transfers</h2>
              <p>
                Your information may be transferred to and processed in
                countries other than your country of residence. These countries
                may have different data protection laws. We ensure appropriate
                safeguards are in place to protect your information.
              </p>
            </section>

            <section>
              <h2>8. Changes to This Privacy Policy</h2>
              <p>
                We may update this Privacy Policy periodically to reflect
                changes in our practices or legal requirements. We will notify
                you of material changes by posting the updated policy on our
                platform and updating the &quot;Last Updated&quot; date.
              </p>
            </section>

            <section>
              <h2>9. Contact Us</h2>
              <p>
                If you have questions, concerns, or requests regarding this
                Privacy Policy or our data practices, please contact us:
              </p>
              <ul>
                <li>
                  <strong>Email:</strong> info@ameeraholidays.com
                </li>
                <li>
                  <strong>Phone:</strong> +91 85059 99770
                </li>
                <li>
                  <strong>Address:</strong> First Floor, 7/8, 82, Diving Road,
                  Opp. Milan Sweets Block A, Sector 7, Faridabad, Haryana 121006
                </li>
              </ul>
            </section>
          </article>
        </div>
      </div>
    </main>
  );
}
