<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
        xmlns:xhtml="http://www.w3.org/1999/xhtml">
  
  <!-- Homepage -->
  <url>
    <loc>https://firstcode.ly/</loc>
    <xhtml:link rel="alternate" hreflang="ar" href="https://firstcode.ly/?lang=ar" />
    <xhtml:link rel="alternate" hreflang="en" href="https://firstcode.ly/?lang=en" />
    <lastmod>2025-12-20</lastmod>
    <changefreq>weekly</changefreq>
    <priority>1.0</priority>
  </url>
  
  <!-- About -->
  <url>
    <loc>https://firstcode.ly/about</loc>
    <xhtml:link rel="alternate" hreflang="ar" href="https://firstcode.ly/about?lang=ar" />
    <xhtml:link rel="alternate" hreflang="en" href="https://firstcode.ly/about?lang=en" />
    <lastmod>2025-12-20</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  
  <!-- Services -->
  <url>
    <loc>https://firstcode.ly/services</loc>
    <xhtml:link rel="alternate" hreflang="ar" href="https://firstcode.ly/services?lang=ar" />
    <xhtml:link rel="alternate" hreflang="en" href="https://firstcode.ly/services?lang=en" />
    <lastmod>2025-12-20</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.9</priority>
  </url>
  
  <!-- Projects -->
  <url>
    <loc>https://firstcode.ly/projects</loc>
    <xhtml:link rel="alternate" hreflang="ar" href="https://firstcode.ly/projects?lang=ar" />
    <xhtml:link rel="alternate" hreflang="en" href="https://firstcode.ly/projects?lang=en" />
    <lastmod>2025-12-20</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  
  <!-- Blog -->
  <url>
    <loc>https://firstcode.ly/blog</loc>
    <xhtml:link rel="alternate" hreflang="ar" href="https://firstcode.ly/blog?lang=ar" />
    <xhtml:link rel="alternate" hreflang="en" href="https://firstcode.ly/blog?lang=en" />
    <lastmod>2025-12-20</lastmod>
    <changefreq>daily</changefreq>
    <priority>0.8</priority>
  </url>
  
  <!-- FAQ -->
  <url>
    <loc>https://firstcode.ly/faq</loc>
    <xhtml:link rel="alternate" hreflang="ar" href="https://firstcode.ly/faq?lang=ar" />
    <xhtml:link rel="alternate" hreflang="en" href="https://firstcode.ly/faq?lang=en" />
    <lastmod>2025-12-20</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>
  
  <!-- Contact -->
  <url>
    <loc>https://firstcode.ly/contact</loc>
    <xhtml:link rel="alternate" hreflang="ar" href="https://firstcode.ly/contact?lang=ar" />
    <xhtml:link rel="alternate" hreflang="en" href="https://firstcode.ly/contact?lang=en" />
    <lastmod>2025-12-20</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>
  
  <!-- Privacy Policy -->
  <url>
    <loc>https://firstcode.ly/privacy</loc>
    <xhtml:link rel="alternate" hreflang="ar" href="https://firstcode.ly/privacy?lang=ar" />
    <xhtml:link rel="alternate" hreflang="en" href="https://firstcode.ly/privacy?lang=en" />
    <lastmod>2025-12-20</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.5</priority>
  </url>
  
  <!-- Landing Page (CPL Offer) -->
  <url>
    <loc>https://firstcode.ly/cpl-offer</loc>
    <xhtml:link rel="alternate" hreflang="ar" href="https://firstcode.ly/cpl-offer?lang=ar" />
    <xhtml:link rel="alternate" hreflang="en" href="https://firstcode.ly/cpl-offer?lang=en" />
    <lastmod>2025-12-20</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.6</priority>
  </url>
  
  <!-- 
    NOTE: Dynamic pages should be added via backend API or build script:
    - Service Detail pages: /services/{slug} (from /v1/services API)
    - Project Detail pages: /projects/{id} (from /v1/projects API)
    - Blog Post pages: /blog/{slug} (from /v1/posts API)
    
    These pages should be generated dynamically based on content in the database.
    Consider creating a sitemap generator script or backend endpoint that:
    1. Fetches all services, projects, and posts
    2. Generates URLs for each item
    3. Updates lastmod based on updated_at field
    4. Appends to this sitemap or creates a separate sitemap-index.xml
  -->
  
</urlset>
