import type { Metadata } from "next";
import Link from "next/link";
import { Clock, Calendar, ArrowLeft } from "lucide-react";
import { Button } from "@/components/ui/button";

// export const metadata: Metadata = {
//   title: "Hotel Partner Terms & Conditions | Ameera Holidays",
//   description:
//     "Review the terms and conditions for hotel partners joining Ameera Holidays. Learn about commission structure, listing requirements, and partnership benefits.",
//   openGraph: {
//     title: "Hotel Partner Terms & Conditions | Ameera Holidays",
//     description:
//       "Review the terms and conditions for hotel partners joining Ameera Holidays. Learn about commission structure, listing requirements, and partnership benefits.",
//     type: "website",
//   },
//   twitter: {
//     card: "summary_large_image",
//     title: "Hotel Partner Terms & Conditions | Ameera Holidays",
//     description:
//       "Review the terms and conditions for hotel partners joining Ameera Holidays. Learn about commission structure, listing requirements, and partnership benefits.",
//   },
// };

export default function HotelTermsPage() {
  const readTime = "10 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">
              Hotel Partner Terms &{" "}
              <span className="frontend-text-gradient">Conditions</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">
          {/* Content */}
          <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">
                Welcome to the Ameera Holidays Hotel Partnership Program. These
                Terms and Conditions govern your participation as a hotel
                partner on our platform. By registering your property, you agree
                to comply with these terms and maintain the quality standards
                expected by our customers.
              </p>
            </section>

            <section>
              <h2>1. Partner Eligibility and Registration</h2>

              <h3>1.1 Eligibility Requirements</h3>
              <p>To join as a hotel partner, your property must:</p>
              <ul>
                <li>
                  Be a legally registered business with valid trade license
                </li>
                <li>
                  Possess necessary permits and compliance certifications (fire
                  safety, health, tourism)
                </li>
                <li>Have a minimum of 5 guest rooms or accommodation units</li>
                <li>Maintain adequate liability insurance coverage</li>
                <li>Comply with local tourism and hospitality regulations</li>
                <li>
                  Have working communication channels (phone, email) for booking
                  confirmations
                </li>
              </ul>

              <h3>1.2 Registration Process</h3>
              <p>
                Complete the hotel partner registration form with accurate
                property details, upload required documents (business
                registration, tax certificates, property photos, amenity lists),
                provide bank account details for payment settlement, and wait
                for our verification team to review and approve your listing
                (typically 5-7 business days).
              </p>

              <h3>1.3 Property Verification</h3>
              <p>
                Our team may conduct physical inspections to verify the property
                condition, amenities, and compliance with safety standards.
                False representation of property features or misleading
                information may result in immediate listing suspension.
              </p>
            </section>

            <section>
              <h2>2. Listing Management</h2>

              <h3>2.1 Property Information</h3>
              <p>
                You are responsible for maintaining accurate and up-to-date
                property information including:
              </p>
              <ul>
                <li>Room types, capacities, and configurations</li>
                <li>Amenities and facilities (WiFi, parking, dining, etc.)</li>
                <li>High-quality property and room photographs</li>
                <li>Accurate pricing for all seasons and room categories</li>
                <li>Check-in/check-out times and policies</li>
                <li>Cancellation and modification policies</li>
              </ul>

              <h3>2.2 Room Inventory and Availability</h3>
              <p>
                You must maintain real-time room availability on the platform to
                prevent overbooking. Update your calendar promptly to reflect
                accurate availability. Failure to honor confirmed bookings due
                to unavailability may result in penalties, commission
                forfeiture, and listing suspension.
              </p>

              <h3>2.3 Pricing and Rate Parity</h3>
              <p>
                You agree to offer competitive pricing on our platform. Rate
                parity ensures that prices on Ameera Holidays are equal to or
                better than those offered on your own website or other booking
                platforms. Promotional rates and special offers must also be
                reflected on our platform.
              </p>
            </section>

            <section>
              <h2>3. Commission Structure</h2>

              <h3>3.1 Standard Commission Rates</h3>
              <p>
                Ameera Holidays charges a commission on each booking based on
                the property tier:
              </p>
              <ul>
                <li>
                  <strong>Basic Tier:</strong> 15-18% commission on room revenue
                </li>
                <li>
                  <strong>Premium Tier:</strong> 12-15% commission (high-rated
                  properties with excellent reviews)
                </li>
                <li>
                  <strong>Exclusive Tier:</strong> 10-12% commission
                  (top-performing partners with 100+ bookings/month)
                </li>
              </ul>

              <h3>3.2 Commission Calculation</h3>
              <p>
                Commission is calculated on the net room revenue (excluding
                taxes). Additional services like meals, spa treatments, or other
                ancillary charges booked separately are not subject to platform
                commission. However, package deals that include rooms and
                services are subject to commission on the entire package value.
              </p>

              <h3>3.3 Promotional Discounts</h3>
              <p>
                When participating in platform-wide promotional campaigns, you
                agree to offer discounts as specified. Commission rates during
                promotions may be adjusted, and Ameera Holidays may contribute
                to the discount to incentivize bookings.
              </p>
            </section>

            <section>
              <h2>4. Payment Terms</h2>

              <h3>4.1 Payment Settlement</h3>
              <p>
                Payments are settled on a bi-weekly basis. After a guest checks
                out, funds are processed and transferred to your registered bank
                account within 7-10 business days, minus the applicable
                commission and any deductions for cancellations or disputes.
              </p>

              <h3>4.2 Payment Method</h3>
              <p>
                Payments are made via direct bank transfer (NEFT/RTGS). Ensure
                your bank details are accurate and updated in the partner
                dashboard. We are not liable for payment delays or errors caused
                by incorrect banking information.
              </p>

              <h3>4.3 Tax Compliance</h3>
              <p>
                You are responsible for all applicable taxes including GST,
                income tax, and local levies. We will provide necessary
                transaction reports for your tax filing. TDS will be deducted as
                per Indian tax regulations, and you will receive a TDS
                certificate.
              </p>

              <h3>4.4 Withholding for Disputes</h3>
              <p>
                In case of customer disputes, refund requests, or complaints, we
                reserve the right to withhold payment until the issue is
                resolved. If the dispute is resolved in the customer&apos;s
                favor, the refund amount will be deducted from your settlement.
              </p>
            </section>

            <section>
              <h2>5. Booking Management</h2>

              <h3>5.1 Booking Confirmation</h3>
              <p>
                You will receive booking notifications via email, SMS, and the
                partner dashboard. You must confirm or decline bookings within 2
                hours. Auto-decline settings can be configured for unavailable
                dates. Failure to respond may result in automatic booking
                confirmation.
              </p>

              <h3>5.2 Honoring Reservations</h3>
              <p>
                All confirmed bookings must be honored. Denying a guest with a
                valid booking confirmation is a serious violation and may result
                in penalties, negative reviews, and potential delisting. If an
                emergency prevents you from accommodating a guest, you must
                immediately inform Ameera Holidays and assist in finding
                alternative accommodation.
              </p>

              <h3>5.3 Overbooking Policy</h3>
              <p>
                If you are unable to accommodate a guest due to overbooking, you
                must arrange alternative accommodation of equal or higher
                standard at your own expense. Repeated overbooking will result
                in commission penalties and listing demotion.
              </p>
            </section>

            <section>
              <h2>6. Guest Experience and Quality Standards</h2>

              <h3>6.1 Service Quality</h3>
              <p>You agree to maintain high service standards including:</p>
              <ul>
                <li>Clean, well-maintained rooms and facilities</li>
                <li>Courteous and professional staff behavior</li>
                <li>Prompt response to guest requests and complaints</li>
                <li>Adherence to advertised amenities and services</li>
                <li>Compliance with health, safety, and hygiene standards</li>
              </ul>

              <h3>6.2 Guest Reviews and Ratings</h3>
              <p>
                Guests can leave reviews and ratings after their stay. Reviews
                are published on your property listing and influence your
                visibility and ranking. You can respond to reviews but cannot
                request removal of genuine reviews. Repeated negative reviews
                may result in listing demotion or suspension pending
                improvement.
              </p>

              <h3>6.3 Mystery Guest Audits</h3>
              <p>
                Ameera Holidays reserves the right to conduct mystery guest
                audits to verify property quality and service standards. Audit
                results may affect your listing status, tier, and commission
                rates.
              </p>
            </section>

            <section>
              <h2>7. Cancellation and Refund Policies</h2>

              <h3>7.1 Defining Cancellation Policies</h3>
              <p>
                You may set your own cancellation policies, which must be
                clearly communicated during booking:
              </p>
              <ul>
                <li>
                  <strong>Flexible:</strong> Free cancellation up to 24-48 hours
                  before check-in
                </li>
                <li>
                  <strong>Moderate:</strong> Partial refund if cancelled 3-7
                  days before check-in
                </li>
                <li>
                  <strong>Strict:</strong> Non-refundable or minimal refund upon
                  cancellation
                </li>
              </ul>

              <h3>7.2 Processing Cancellations</h3>
              <p>
                When a guest cancels a booking, you must process the
                cancellation according to your stated policy. Refunds must be
                issued within 7-10 business days. Failure to honor cancellation
                policies may result in complaints and listing penalties.
              </p>

              <h3>7.3 Force Majeure</h3>
              <p>
                In cases of natural disasters, pandemics, government
                restrictions, or other force majeure events, standard
                cancellation policies may be waived. Ameera Holidays will work
                with you to offer flexible rebooking or refunds to affected
                guests.
              </p>
            </section>

            <section>
              <h2>8. Prohibited Activities</h2>
              <p>Hotel partners are strictly prohibited from:</p>
              <ul>
                <li>
                  Soliciting guests to book directly outside the platform to
                  avoid commission
                </li>
                <li>
                  Manipulating reviews or ratings through incentives or fake
                  accounts
                </li>
                <li>
                  Providing misleading information about property features or
                  location
                </li>
                <li>
                  Discriminating against guests based on race, religion, gender,
                  or nationality
                </li>
                <li>
                  Charging guests additional fees not disclosed during booking
                </li>
                <li>
                  Using guest data for unauthorized marketing or selling to
                  third parties
                </li>
                <li>Listing duplicate properties under multiple accounts</li>
              </ul>
            </section>

            <section>
              <h2>9. Liability and Insurance</h2>

              <h3>9.1 Hotel Liability</h3>
              <p>
                You are solely responsible for the safety and well-being of
                guests during their stay. Ameera Holidays is not liable for
                injuries, accidents, theft, or losses that occur on your
                property. You must maintain adequate insurance coverage
                including general liability, property damage, and guest accident
                insurance.
              </p>

              <h3>9.2 Indemnification</h3>
              <p>
                You agree to indemnify and hold harmless Ameera Holidays from
                any claims, damages, losses, or legal expenses arising from
                guest injuries, property damage, breach of contract, or
                violation of laws during a guest&apos;s stay at your property.
              </p>
            </section>

            <section>
              <h2>10. Intellectual Property</h2>

              <h3>10.1 Property Content</h3>
              <p>
                By uploading photos, descriptions, and other content to the
                platform, you grant Ameera Holidays a non-exclusive, worldwide
                license to use, display, and promote this content for marketing
                purposes. You represent that you own or have the right to use
                all uploaded content.
              </p>

              <h3>10.2 Platform Branding</h3>
              <p>
                You may use Ameera Holidays branding materials (partner badge,
                promotional graphics) as provided to promote your listing.
                Unauthorized alteration or misuse of Ameera Holidays trademarks
                is prohibited.
              </p>
            </section>

            <section>
              <h2>11. Termination</h2>

              <h3>11.1 Voluntary Termination</h3>
              <p>
                You may terminate your partnership by providing 30 days written
                notice. All pending bookings must be honored, and final payment
                settlement will be processed after all outstanding obligations
                are fulfilled.
              </p>

              <h3>11.2 Termination by Ameera Holidays</h3>
              <p>
                We reserve the right to suspend or terminate your listing
                immediately if you:
              </p>
              <ul>
                <li>Violate any terms outlined in this agreement</li>
                <li>Receive consistent negative reviews or guest complaints</li>
                <li>
                  Fail to honor confirmed bookings or maintain quality standards
                </li>
                <li>Engage in fraudulent or unethical practices</li>
                <li>Do not respond to bookings or customer inquiries</li>
              </ul>
            </section>

            <section>
              <h2>12. Dispute Resolution</h2>

              <h3>12.1 Governing Law</h3>
              <p>
                These Hotel Partner Terms are governed by the laws of India.
                Disputes arising from this agreement shall be subject to the
                exclusive jurisdiction of courts in Mumbai, Maharashtra.
              </p>

              <h3>12.2 Arbitration</h3>
              <p>
                In case of disputes, both parties agree to attempt resolution
                through good faith negotiation. Unresolved disputes may be
                submitted to binding arbitration in accordance with the
                Arbitration and Conciliation Act, 1996.
              </p>
            </section>

            <section>
              <h2>13. Changes to Terms</h2>
              <p>
                We may modify these Hotel Partner Terms at any time. Material
                changes will be communicated at least 30 days before taking
                effect. Continued use of the platform after changes indicates
                acceptance of the modified terms.
              </p>
            </section>

            <section>
              <h2>14. Contact Information</h2>
              <p>
                For questions regarding the Hotel Partnership Program or these
                terms, please contact:
              </p>
              <ul>
                <li>
                  <strong>Hotel Partner Support:</strong>{" "}
                  info@ameeraholidays.com
                </li>
                <li>
                  <strong>Phone:</strong> +91 85059 99770
                </li>
                <li>
                  <strong>Business Hours:</strong> Monday-Saturday, 9:00 AM -
                  6:00 PM IST
                </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>
  );
}
