<?php session_start(); 
include('includes/config.php');
include('includes/footer.php');
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Welcome | Digital POS</title>
    <style>
        body, html {
            margin: 0;
            padding: 0;
            height: 100%;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: #fff;
        }

        body {
            background: url('images/bg.jpg') no-repeat center center fixed;
            background-size: cover;
        }

        .overlay {
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 100%;
            background: rgba(0, 0, 0, 0.6);
            z-index: 1;
        }

        .landing-container {
            position: relative;
            z-index: 2;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 20px;
        }

        .landing-container h1 {
            font-size: 3rem;
            margin-bottom: 20px;
            letter-spacing: 1px;
        }

        .landing-container p {
            font-size: 1.2rem;
            max-width: 600px;
            margin-bottom: 30px;
            line-height: 1.5;
        }

        .landing-container a {
            text-decoration: none;
            padding: 14px 30px;
            background-color: orange;
            color: black;
            font-weight: bold;
            border-radius: 8px;
            font-size: 1rem;
            transition: background-color 0.3s;
        }

        .landing-container a:hover {
            background-color: #ff9900;
        }

        footer {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            font-size: 0.9rem;
            color: #ccc;
        }

        @media (max-width: 600px) {
            .landing-container h1 {
                font-size: 2rem;
            }

            .landing-container p {
                font-size: 1rem;
            }
        }
    </style>
</head>
<body>

<div class="overlay"></div>

<div class="landing-container">
    <h1>Welcome to LapTrack Digital POS</h1>
    <p>Effortlessly manage your sales, inventory, and staff across multiple stores — all in one powerful platform.</p>
    <a href="processes/login.php">Login to Your Account</a>
</div>

<footer>&copy; <?= date('Y') ?> LapTrack Digital Systems. All rights reserved.</footer>

</body>
</html>
