<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
        http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
  <url>
    <loc>https://sofiassignaturecuisine.com/</loc>
    <lastmod>2026-07-23</lastmod>
    <changefreq>monthly</changefreq>
    <priority>1.00</priority>
  </url>
</urlset>
</write_to_file>

<write_to_file>
<path>sofia-static-site/robots.txt</path>
<content># Sofia's Signature African Cuisine
# https://sofiassignaturecuisine.com

# Allow all search engines to crawl the site
User-agent: *
Allow: /

# Sitemap location
Sitemap: https://sofiassignaturecuisine.com/sitemap.xml

# Block access to sensitive files
Disallow: /send-inquiry.php
</write_to_file>

<write_to_file>
<path>sofia-static-site/.htaccess</path>
<content># ============================================================
# Sofia's Signature African Cuisine — Apache Config
# For hosting.com or any Apache-based hosting
# ============================================================

# Enable URL rewriting
RewriteEngine On

# Force HTTPS (uncomment when SSL certificate is active)
# RewriteCond %{HTTPS} off
# RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]

# Set canonical domain (uncomment and set your domain)
# RewriteCond %{HTTP_HOST} !^sofiassignaturecuisine\.org$ [NC]
# RewriteRule ^(.*)$ https://sofiassignaturecuisine.com/$1 [R=301,L]

# Compress text files for faster loading
<IfModule mod_deflate.c>
  AddOutputFilterByType DEFLATE text/html text/plain text/css text/javascript application/javascript application/json application/ld+json image/svg+xml
</IfModule>

# Cache static assets for better performance
<IfModule mod_expires.c>
  ExpiresActive On
  ExpiresByType image/jpg "access plus 1 year"
  ExpiresByType image/jpeg "access plus 1 year"
  ExpiresByType image/png "access plus 1 year"
  ExpiresByType text/css "access plus 1 month"
  ExpiresByType text/javascript "access plus 1 month"
  ExpiresByType application/javascript "access plus 1 month"
  ExpiresByType image/x-icon "access plus 1 year"
  ExpiresDefault "access plus 1 week"
</IfModule>

# Set security headers
<IfModule mod_headers.c>
  Header set X-Content-Type-Options "nosniff"
  Header set X-Frame-Options "DENY"
  Header set X-XSS-Protection "1; mode=block"
  Header set Referrer-Policy "strict-origin-when-cross-origin"
</IfModule>

# Prevent directory listing
Options -Indexes

# Custom error pages
ErrorDocument 404 /index.html
ErrorDocument 500 /index.html

# Protect the PHP form handler from direct access spam
<Files "send-inquiry.php">
  <IfModule mod_rewrite.c>
    RewriteCond %{REQUEST_METHOD} !POST
    RewriteRule ^ - [R=405,L]
  </IfModule>
</Files>
</write_to_file>
<task_progress>
- [x] Create static HTML/CSS/JS version of Sofia's website
- [x] Copy all images to static site folder
- [x] Build complete HTML page matching the TanStack version
- [x] Include all changes (WhatsApp number, email, owner image, form)
- [x] Replace Formspree with free self-hosted PHP form handler
- [x] Add comprehensive SEO (meta tags, structured data, sitemap, robots.txt)
- [x] Ensure it's ready for hosting.com deployment
</task_progress>
</write_to_file>