<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Terms of Service - 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>Terms of Service</h1>
            <p class="last-updated">Last updated: <?php echo date('F j, Y'); ?></p>

            <h2>1. Acceptance of Terms</h2>
            <p>By creating an account and using Evently, you agree to be bound by these Terms of Service. If you do not agree to these terms, please do not use our service.</p>

            <h2>2. Description of Service</h2>
            <p>Evently is a platform that allows users to create, manage, and share event programmes. Users can upload PDF files and images to create personalized event pages that can be shared with guests.</p>

            <h2>3. User Accounts</h2>
            <p>To use Evently, you must:</p>
            <ul>
                <li>Create an account with accurate information</li>
                <li>Maintain the security of your account credentials</li>
                <li>Be responsible for all activities under your account</li>
                <li>Notify us immediately of any unauthorized use</li>
            </ul>

            <h2>4. Acceptable Use</h2>
            <p>You agree not to:</p>
            <ul>
                <li>Upload illegal, harmful, or offensive content</li>
                <li>Violate any laws or regulations</li>
                <li>Infringe on intellectual property rights</li>
                <li>Upload malicious software or viruses</li>
                <li>Attempt to gain unauthorized access to the system</li>
                <li>Use the service for spam or unsolicited communications</li>
            </ul>

            <h2>5. Content Ownership</h2>
            <p>You retain ownership of all content you upload to Evently. By uploading content, you grant Evently a limited license to store and display your content as necessary to provide the service.</p>

            <h2>6. Event Expiration</h2>
            <p>Events and their associated files are automatically deleted 7 days after the event date. This is done to manage server resources. Please download or save any important files before they expire.</p>

            <h2>7. Service Availability</h2>
            <p>We strive to maintain service availability but do not guarantee uninterrupted access. We reserve the right to modify, suspend, or discontinue the service at any time.</p>

            <h2>8. Limitation of Liability</h2>
            <p>Evently is provided "as is" without warranties of any kind. We are not liable for any loss of data, damages, or interruptions to service.</p>

            <h2>9. Account Termination</h2>
            <p>We reserve the right to suspend or terminate accounts that violate these terms or engage in harmful activities. You may also delete your account at any time through your account settings.</p>

            <h2>10. Changes to Terms</h2>
            <p>We may update these Terms of Service from time to time. Continued use of the service after changes constitutes acceptance of the new terms.</p>

            <h2>11. Contact</h2>
            <p>If you have questions about these terms, 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>

