<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Privacy Policy - Evently</title>
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background-color: #000000;
            color: #333;
            min-height: 100vh;
            padding: 0;
        }

        .navbar {
            background-color: #ffffff;
            padding: 15px 20px;
            border-bottom: 1px solid #e0e0e0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .navbar-brand {
            color: #000000;
            font-family: 'Inter', sans-serif;
            font-size: 20px;
            font-weight: 700;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .navbar-brand img {
            height: 30px;
            width: auto;
        }

        .footer {
            background-color: #ffffff;
            padding: 20px;
            border-top: 1px solid #e0e0e0;
            text-align: center;
            color: #666;
            font-size: 14px;
        }

        .page-content {
            display: flex;
            justify-content: center;
            min-height: calc(100vh - 60px);
            padding: 40px 20px;
        }

        .container {
            background-color: #ffffff;
            border-radius: 0;
            padding: 60px 50px;
            max-width: 800px;
            width: 100%;
        }

        h1 {
            font-size: 36px;
            font-weight: 300;
            margin-bottom: 20px;
            color: #1a1a1a;
            letter-spacing: -0.5px;
        }

        h2 {
            font-size: 24px;
            font-weight: 500;
            margin-top: 40px;
            margin-bottom: 16px;
            color: #2c3e50;
        }

        p {
            font-size: 15px;
            line-height: 1.8;
            color: #495057;
            margin-bottom: 20px;
        }

        ul {
            margin-left: 20px;
            margin-bottom: 20px;
        }

        li {
            font-size: 15px;
            line-height: 1.8;
            color: #495057;
            margin-bottom: 10px;
        }

        .last-updated {
            font-size: 13px;
            color: #6c757d;
            margin-bottom: 30px;
            font-style: italic;
        }

        @media (max-width: 768px) {
            .container {
                padding: 40px 24px;
            }

            h1 {
                font-size: 28px;
            }

            h2 {
                font-size: 20px;
            }
        }
    </style>
</head>
<body>
    <nav class="navbar">
        <a href="home.php" class="navbar-brand">
            <img src="assets/img/logo.svg" alt="Evently">
            <span>Evently</span>
        </a>
    </nav>
    <div class="page-content">
        <div class="container">
            <h1>Privacy Policy</h1>
            <p class="last-updated">Last updated: <?php echo date('F j, Y'); ?></p>

            <h2>1. Information We Collect</h2>
            <p>When you create an account with Evently, we collect the following information:</p>
            <ul>
                <li>Username</li>
                <li>Email address</li>
                <li>Password (stored securely using encryption)</li>
            </ul>
            <p>When you create an event, we collect:</p>
            <ul>
                <li>Event name and details</li>
                <li>Event type</li>
                <li>Event date</li>
                <li>Programme PDF files</li>
                <li>Header images (if uploaded)</li>
            </ul>

            <h2>2. How We Use Your Information</h2>
            <p>We use the information we collect to:</p>
            <ul>
                <li>Provide and maintain our service</li>
                <li>Allow you to create and manage your events</li>
                <li>Authenticate your account</li>
                <li>Send you important updates about your account (if necessary)</li>
            </ul>

            <h2>3. Data Storage and Security</h2>
            <p>Your data is stored securely on our servers. We use industry-standard security measures to protect your information, including:</p>
            <ul>
                <li>Password encryption using secure hashing algorithms</li>
                <li>Secure file storage for uploaded documents</li>
                <li>Regular security updates and monitoring</li>
            </ul>

            <h2>4. Data Retention</h2>
            <p>We retain your account information for as long as your account is active. Event files are automatically deleted 7 days after the event date to manage server resources.</p>

            <h2>5. Your Rights</h2>
            <p>You have the right to:</p>
            <ul>
                <li>Access your personal data</li>
                <li>Update or correct your information</li>
                <li>Delete your account and associated data</li>
                <li>Request a copy of your data</li>
            </ul>

            <h2>6. Third-Party Services</h2>
            <p>We do not share your personal information with third parties except as necessary to provide our service or as required by law.</p>

            <h2>7. Cookies</h2>
            <p>We use session cookies to maintain your login state. These cookies are essential for the functionality of the service and are deleted when you close your browser.</p>

            <h2>8. Changes to This Policy</h2>
            <p>We may update this Privacy Policy from time to time. We will notify you of any changes by posting the new Privacy Policy on this page and updating the "Last updated" date.</p>

            <h2>9. Contact Us</h2>
            <p>If you have any questions about this Privacy Policy, please contact us through your account dashboard or by emailing the administrator.</p>
        </div>
    </div>
    <footer class="footer">
        <p>&copy; <?php echo date('Y'); ?> Evently. All rights reserved.</p>
    </footer>
</body>
</html>

