<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    
    <title>XUPER MALL - Real-Time Price Comparison</title>
    <meta name="description" content="<?php echo htmlspecialchars($_SERVER['PROJECT_DESCRIPTION'] ?? 'An advanced real-time price comparison platform for e-commerce, food, movies, and more.'); ?>">
    
    <!-- Open Graph / Facebook -->
    <meta property="og:type" content="website">
    <meta property="og:title" content="XUPER MALL">
    <meta property="og:description" content="<?php echo htmlspecialchars($_SERVER['PROJECT_DESCRIPTION'] ?? 'An advanced real-time price comparison platform.'); ?>">
    <meta property="og:image" content="<?php echo htmlspecialchars($_SERVER['PROJECT_IMAGE_URL'] ?? ''); ?>">

    <!-- Twitter -->
    <meta property="twitter:card" content="summary_large_image">
    <meta property="twitter:title" content="XUPER MALL">
    <meta property="twitter:description" content="<?php echo htmlspecialchars($_SERVER['PROJECT_DESCRIPTION'] ?? 'An advanced real-time price comparison platform.'); ?>">
    <meta property="twitter:image" content="<?php echo htmlspecialchars($_SERVER['PROJECT_IMAGE_URL'] ?? ''); ?>">

    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
</head>
<body>

    <nav class="navbar navbar-expand-lg navbar-light navbar-sticky">
        <div class="container">
            <a class="navbar-brand brand-logo" href="#">XUPER MALL</a>
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarNav">
                <ul class="navbar-nav ms-auto">
                    <li class="nav-item">
                        <a class="nav-link active" aria-current="page" href="#">Home</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">Deals</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">About</a>
                    </li>
                </ul>
            </div>
        </div>
    </nav>

    <main>
        <section class="hero-section text-center">
            <div class="container">
                <h1 class="hero-title">Find it. Compare it. Save on it.</h1>
                <p class="hero-subtitle">Your ultimate real-time price comparison hub.</p>
                <div class="search-bar-wrapper">
                    <form action="search_results.php" method="GET" class="d-flex">
                        <i class="search-icon" data-feather="search"></i>
                        <input type="text" name="query" class="form-control search-input" placeholder="Search for products, movies, food...">
                    </form>
                </div>
            </div>
        </section>

        <section class="category-section py-5">
            <div class="container">
                <div class="row g-4">
                    <div class="col-lg-3 col-md-6">
                        <a href="category.php?name=ecommerce" class="category-card d-block">
                            <i class="card-icon" data-feather="shopping-bag"></i>
                            <h3 class="card-title">E-Commerce</h3>
                            <p class="card-text">Amazon, Flipkart & More</p>
                        </a>
                    </div>
                    <div class="col-lg-3 col-md-6">
                        <a href="category.php?name=food" class="category-card d-block">
                            <i class="card-icon" data-feather="coffee"></i>
                            <h3 class="card-title">Food Delivery</h3>
                            <p class="card-text">Zomato, Swiggy & More</p>
                        </a>
                    </div>
                    <div class="col-lg-3 col-md-6">
                        <a href="category.php?name=movies" class="category-card d-block">
                            <i class="card-icon" data-feather="film"></i>
                            <h3 class="card-title">Movie Tickets</h3>
                            <p class="card-text">BookMyShow, Paytm & More</p>
                        </a>
                    </div>
                    <div class="col-lg-3 col-md-6">
                        <a href="category.php?name=delivery" class="category-card d-block">
                            <i class="card-icon" data-feather="truck"></i>
                            <h3 class="card-title">30-Min Delivery</h3>
                            <p class="card-text">Blinkit, Instamart & More</p>
                        </a>
                    </div>
                </div>
            </div>
        </section>
    </main>

    <footer class="footer mt-auto py-3">
        <div class="container text-center">
            <span class="text-muted">&copy; <?php echo date("Y"); ?> XUPER MALL. All rights reserved.</span>
        </div>
    </footer>

    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <script>
      feather.replace()
    </script>
    <script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
</body>
</html>