<?php
$pageTitle = "Privacy Policy - Tom's Java Jive";
$metaDescription = "Tom's Java Jive Privacy Policy — how we collect, use, and protect your personal information.";
$breadcrumbs = [
    ['name' => 'Home', 'url' => 'https://tomsjavajive.com'],
    ['name' => 'Privacy Policy', 'url' => 'https://tomsjavajive.com/privacy.php']
];
require_once __DIR__ . '/includes/header.php';
?>

<section class="section" style="padding-top: 2rem; padding-bottom: 4rem;">
    <div class="container" style="max-width: 800px;">

        <div style="text-align: center; margin-bottom: 3rem;">
            <h1 style="font-size: 2.5rem; margin-bottom: 0.75rem;">Privacy Policy</h1>
            <p style="color: var(--text-muted); font-size: 1.1rem;">Last updated: <?= date('F j, Y') ?></p>
        </div>

        <!-- Consent -->
        <div style="background: rgba(var(--primary-rgb, 255, 94, 26), 0.08); border: 2px solid var(--primary); border-radius: 12px; padding: 1.5rem 1.75rem; margin-bottom: 2rem;">
            <h2 style="font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--primary);">Consent</h2>
            <p style="color: var(--text-muted); margin: 0; line-height: 1.7;">By using our website, you hereby consent to our Privacy Policy and agree to its terms.</p>
        </div>

        <!-- Intro -->
        <div class="card" style="margin-bottom: 1.5rem;">
            <div class="card-body">
                <p style="color: var(--text-muted); line-height: 1.8; margin: 0;">At Tom's Java Jive, accessible from <a href="https://tomsjavajive.com">tomsjavajive.com</a>, one of our main priorities is the privacy of our visitors and customers. This Privacy Policy document describes the types of information that is collected and recorded by Tom's Java Jive and how we use it.</p>
                <p style="color: var(--text-muted); line-height: 1.8; margin-top: 1rem; margin-bottom: 0;">If you have additional questions or require more information about our Privacy Policy, do not hesitate to <a href="/contact.php">contact us</a>.</p>
            </div>
        </div>

        <?php
        $sections = [
            [
                'icon' => '📋',
                'title' => 'Personal Information We Collect',
                'body' => '
                    <p style="color:var(--text-muted);line-height:1.8;margin-bottom:1rem;">When you place an order or create an account on our website, we collect certain personal information including your name, email address, shipping address, phone number, and payment information. We also collect information about visitors to our site using the following technologies:</p>
                    <ul style="color:var(--text-muted);line-height:2;padding-left:1.25rem;margin:0;">
                        <li><strong>Cookies</strong> — data files placed on your device that often include an anonymous unique identifier. For more information about cookies and how to disable them, visit <a href="http://www.allaboutcookies.org" target="_blank" rel="noopener">allaboutcookies.org</a>.</li>
                        <li><strong>Log files</strong> — track actions on the site and collect data including your IP address, browser type, internet service provider, referring/exit pages, and date/time stamps.</li>
                        <li><strong>Web beacons, tags, and pixels</strong> — electronic files used to record information about how you browse our site.</li>
                    </ul>
                '
            ],
            [
                'icon' => '🔍',
                'title' => 'How We Use Your Personal Information',
                'body' => '
                    <p style="color:var(--text-muted);line-height:1.8;margin-bottom:0.75rem;">We use the personal information we collect to:</p>
                    <ul style="color:var(--text-muted);line-height:2;padding-left:1.25rem;margin:0;">
                        <li>Process and fulfill your orders</li>
                        <li>Communicate with you about your order, account, or inquiries</li>
                        <li>Send you updates, promotions, and information about our products (you may opt out at any time)</li>
                        <li>Improve and optimize our website and customer experience</li>
                        <li>Comply with applicable laws and regulations</li>
                    </ul>
                '
            ],
            [
                'icon' => '🤝',
                'title' => 'Sharing Your Personal Information',
                'body' => '
                    <p style="color:var(--text-muted);line-height:1.8;margin-bottom:0.75rem;">We may share your personal information with trusted third parties strictly to fulfill your order, including:</p>
                    <ul style="color:var(--text-muted);line-height:2;padding-left:1.25rem;margin-bottom:1rem;">
                        <li><strong>Payment processors</strong> (Stripe) to securely handle transactions</li>
                        <li><strong>Shipping carriers</strong> to deliver your order</li>
                        <li><strong>Email service providers</strong> to send order confirmations and updates</li>
                    </ul>
                    <p style="color:var(--text-muted);line-height:1.8;margin:0;">We may also share your information to comply with applicable laws and regulations, to respond to a subpoena, search warrant, or other lawful request for information, or to otherwise protect our rights.</p>
                '
            ],
            [
                'icon' => '📢',
                'title' => 'Behavioural Advertising',
                'body' => '
                    <p style="color:var(--text-muted);line-height:1.8;margin-bottom:1rem;">We may use your personal information to provide you with targeted advertisements or marketing communications we believe may be of interest to you. For more information about how targeted advertising works, visit the <a href="http://www.networkadvertising.org/understanding-online-advertising/how-does-it-work" target="_blank" rel="noopener">Network Advertising Initiative</a>.</p>
                    <p style="color:var(--text-muted);line-height:1.8;margin:0;">You can opt out of targeted advertising at <a href="http://www.aboutads.info/choices/" target="_blank" rel="noopener">aboutads.info/choices</a> or through the <a href="http://optout.aboutads.info/" target="_blank" rel="noopener">Digital Advertising Alliance opt-out portal</a>.</p>
                '
            ],
            [
                'icon' => '🍪',
                'title' => 'Cookies and Web Beacons',
                'body' => '
                    <p style="color:var(--text-muted);line-height:1.8;margin-bottom:1rem;">Tom\'s Java Jive uses cookies to store information including your preferences and the pages you visited on our website. This information is used to optimize your experience by customizing our content based on your browser type and other information.</p>
                    <p style="color:var(--text-muted);line-height:1.8;margin:0;">You can choose to disable cookies through your browser settings. For more information about managing cookies in your specific browser, please refer to your browser\'s documentation.</p>
                '
            ],
            [
                'icon' => '📁',
                'title' => 'Log Files',
                'body' => '
                    <p style="color:var(--text-muted);line-height:1.8;margin-bottom:0.75rem;">Tom\'s Java Jive follows standard practice of using log files. These files log visitors when they visit our website. The information collected includes:</p>
                    <ul style="color:var(--text-muted);line-height:2;padding-left:1.25rem;margin:0;">
                        <li>Internet protocol (IP) addresses</li>
                        <li>Browser type and Internet Service Provider (ISP)</li>
                        <li>Date and time stamps</li>
                        <li>Referring and exit pages</li>
                    </ul>
                    <p style="color:var(--text-muted);line-height:1.8;margin-top:0.75rem;margin-bottom:0;">This information is not linked to any personally identifiable data and is used for analyzing trends, administering the site, and gathering demographic information.</p>
                '
            ],
            [
                'icon' => '🇪🇺',
                'title' => 'General Data Protection Regulation (GDPR)',
                'body' => '
                    <p style="color:var(--text-muted);line-height:1.8;margin-bottom:1rem;">Tom\'s Java Jive is a Data Controller of your personal information. Our legal basis for collecting and using your personal information includes:</p>
                    <ul style="color:var(--text-muted);line-height:2;padding-left:1.25rem;margin-bottom:1rem;">
                        <li>Performing a contract with you (e.g. fulfilling your order)</li>
                        <li>Your consent to do so</li>
                        <li>Pursuing our legitimate business interests</li>
                        <li>Compliance with the law</li>
                    </ul>
                    <p style="color:var(--text-muted);line-height:1.8;margin-bottom:1rem;">If you are a resident of the European Economic Area (EEA), you have the following data protection rights:</p>
                    <ul style="color:var(--text-muted);line-height:2;padding-left:1.25rem;margin:0;">
                        <li>The right to access, update, or delete the information we hold about you</li>
                        <li>The right of rectification</li>
                        <li>The right to object to processing</li>
                        <li>The right to restriction of processing</li>
                        <li>The right to data portability</li>
                        <li>The right to withdraw consent</li>
                    </ul>
                    <p style="color:var(--text-muted);line-height:1.8;margin-top:0.75rem;margin-bottom:0;">To exercise any of these rights, please <a href="/contact.php">contact us</a>. Please note that your information may be transferred outside of Europe, including to the United States.</p>
                '
            ],
            [
                'icon' => '🔒',
                'title' => 'Data Retention',
                'body' => '
                    <p style="color:var(--text-muted);line-height:1.8;margin:0;">When you place an order through our site, we will maintain your order information for our records unless and until you ask us to delete it. We will retain and use your information to the extent necessary to comply with our legal obligations, resolve disputes, and enforce our policies.</p>
                '
            ],
            [
                'icon' => '🔗',
                'title' => 'Third-Party Privacy Policies',
                'body' => '
                    <p style="color:var(--text-muted);line-height:1.8;margin-bottom:1rem;">Tom\'s Java Jive\'s Privacy Policy does not apply to other advertisers or third-party websites. We advise you to consult the respective privacy policies of any third-party services for more detailed information about their practices.</p>
                    <p style="color:var(--text-muted);line-height:1.8;margin:0;">Third-party services we use may utilize technologies such as cookies, JavaScript, or web beacons in their advertisements or service delivery. Tom\'s Java Jive has no access to or control over cookies used by third-party providers.</p>
                '
            ],
            [
                'icon' => '🌐',
                'title' => 'Online Privacy Policy Only',
                'body' => '
                    <p style="color:var(--text-muted);line-height:1.8;margin:0;">This Privacy Policy applies only to our online activities and is valid for visitors to our website with regard to information shared and/or collected through tomsjavajive.com. This policy does not apply to any information collected offline or via channels other than this website.</p>
                '
            ],
            [
                'icon' => '👶',
                'title' => "Children's Information",
                'body' => '
                    <p style="color:var(--text-muted);line-height:1.8;margin-bottom:1rem;">Protecting children\'s privacy online is important to us. We encourage parents and guardians to observe, participate in, and monitor their children\'s online activity.</p>
                    <p style="color:var(--text-muted);line-height:1.8;margin:0;">Tom\'s Java Jive does not knowingly collect any personally identifiable information from children under the age of 13. If you believe your child has provided such information on our website, please <a href="/contact.php">contact us immediately</a> and we will promptly remove that information from our records.</p>
                '
            ],
            [
                'icon' => '🔄',
                'title' => 'Changes to This Policy',
                'body' => '
                    <p style="color:var(--text-muted);line-height:1.8;margin:0;">We may update this Privacy Policy from time to time to reflect changes to our practices or for operational, legal, or regulatory reasons. When we do, we will update the date at the top of this page. We encourage you to review this policy periodically.</p>
                '
            ],
        ];

        foreach ($sections as $s): ?>
        <div class="card" style="margin-bottom: 1.25rem;">
            <div class="card-body">
                <div style="display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem;">
                    <div style="width: 38px; height: 38px; background: rgba(var(--primary-rgb,255,94,26),0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0;"><?= $s['icon'] ?></div>
                    <h2 style="font-size: 1.15rem; margin: 0;"><?= $s['title'] ?></h2>
                </div>
                <?= $s['body'] ?>
            </div>
        </div>
        <?php endforeach; ?>

        <!-- Contact -->
        <div class="card" style="margin-top: 2rem;">
            <div class="card-body" style="text-align: center;">
                <div style="font-size: 2rem; margin-bottom: 0.5rem;">✉️</div>
                <h2 style="font-size: 1.2rem; margin-bottom: 0.5rem;">Contact Us</h2>
                <p style="color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.7;">For more information about our privacy practices, if you have questions, or if you would like to make a complaint, please reach out:</p>
                <p style="margin-bottom: 0.25rem;"><strong>Tom's Java Jive</strong></p>
                <p style="color: var(--text-muted); margin-bottom: 0.25rem;">Weatherford, TX 76088</p>
                <p style="margin: 0;"><a href="mailto:sales@tomsjavajive.com">sales@tomsjavajive.com</a></p>
            </div>
        </div>

    </div>
</section>

<?php require_once __DIR__ . '/includes/footer.php'; ?>
