PROJECT V — TEMPLE DAWN FUNCTIONAL MVP
========================================

WHAT THIS PACKAGE DOES
- Live Temple Dawn editor
- Editable bride/groom names and family details
- Editable story
- Wedding date/time
- Haldi / Mehendi / Muhurtham date, time and venue
- Google Maps link
- Groom and bride photo uploads
- Six gallery photo uploads
- Final summary card
- Publish to a persistent public invitation URL
- Copy link / WhatsApp sharing
- WhatsApp/Open Graph preview metadata when hosted publicly

INSTALL ON NORMAL PHP HOSTING
1. Upload/extract this entire folder inside your web root, for example:
   public_html/project-v-test/

2. Open:
   https://YOUR-DOMAIN/project-v-test/system-check.php

3. Confirm:
   data/ writable = Yes
   uploads/ writable = Yes

   If either says No, set the corresponding folder permissions to 755.
   If your host still reports No, try 775.

4. Open:
   https://YOUR-DOMAIN/project-v-test/

5. Fill your details and photos. The live preview updates immediately.

6. Click "Publish Invitation".
   You will receive a URL like:
   https://YOUR-DOMAIN/project-v-test/invite.php?i=arjun-meera-xxxxxx

7. Use Open Invitation, Copy Link, or Share Link on WhatsApp.

IMPORTANT
- Do not test WhatsApp sharing from template.html directly. It needs the published invite.php URL.
- This MVP uses files instead of a database so we can test the full product flow quickly.
- Uploaded images are compressed in the browser before publishing.
- For production we should later add accounts, editing tokens, payments, guest personalization, RSVP database, analytics, and versioned templates.

FILES
index.php        Client/editor interface
template.html    Temple Dawn animation engine
publish.php      Saves invitation details and uploaded images
invite.php       Serves the public personalized invitation
system-check.php Hosting compatibility check
data/            Saved invitation configs (blocked from public access)
uploads/         Saved client images

HOSTING REQUIREMENT
- PHP 7.4+ recommended
- PHP fileinfo extension enabled
