# AFG_CARS - Supreme Automotive Marketplace

An enterprise-level car dealership management system built for professional, offline-ready deployment.

## 👥 Admin Credentials
**Access Link:** [Admin Panel](setup.php) (Initial setup & login dashboard)

- **Username:** `admin`
- **Password:** `admin123`
- **Role:** Super Admin (Full system control)

## 🏢 System Architecture (Multi-Page)
The application follows a professional Multi-Page Architecture (MPA) where each section is a standalone `.php` file for better performance and SEO:

- **Home (`index.php`):** Featured showcase, luxury hero section, testimonials, and branch locations.
- **Marketplace (`marketplace.php`):** Complete vehicle inventory with dynamic filters and installment previews.
- **Work (`work.php`):** Detailed step-by-step guides for buying and selling processes.
- **About (`about.php`):** Company history, mission, and business statistics.
- **Contact (`contact.php`):** Professional inquiry form and regional office contacts.

## 🛠 Features
- **Supreme Design:** 100% custom Dark-Themed CSS with Gold accents (No Bootstrap/CDN).
- **Offline Ready:** All assets (images, fonts, scripts) are stored locally for XAMPP deployment.
- **Multi-Branch:** Integrated data management for Kabul, Herat, Mazar, and Kandahar.
- **Installment System:** Automated calculation logic for monthly payments.
- **Enterprise RBAC:** Prepared structure for Guests, Dealers, and Admins.

## 🚀 Installation
1. Place the project folder inside your `htdocs` directory.
2. Ensure MySQL/MariaDB is running.
3. Open `http://localhost/your-folder-name/setup.php` in your browser.
4. Click **"Run Automated Setup"** to initialize the database and seed 20 premium cars.

---
**Developed by:** Mohammad Sadiq
**Project Type:** University Final-Year Enterprise System
**Environment:** PHP 8.x + MariaDB (100% Offline)
