<?php
$corporateHeroImg = 'https://media.base44.com/images/public/69e66d4f5cbdfbede14257e1/9ccd89345_generated_image.png';

$packages = [
    [
        'slug' => 'platinum',
        'name' => 'Platinum',
        'title' => 'Platinum Sponsor',
        'icon' => 'crown',
        'featured' => true,
        'header_class' => 'corp-pkg-header corp-pkg-header--platinum',
        'benefits' => [
            'Naming rights for the event',
            'Airtime on minimum 3 TV shows',
            'Logo on all printed/social media publicity',
            'Back cover ad on brochure',
            'One page message on brochure',
            'Short video production for social media',
            'Platform to speak at press launch & awards',
            'Key role in handing out trophies',
            'On-site identified car park space',
            'One boat in Community Leaders Cup',
        ],
    ],
    [
        'slug' => 'gold',
        'name' => 'Gold',
        'title' => 'Gold Sponsor',
        'icon' => 'award',
        'featured' => false,
        'header_class' => 'corp-pkg-header corp-pkg-header--gold',
        'benefits' => [
            'Naming rights for one boat race',
            'Airtime on minimum 2 TV shows',
            'Logo on all relevant publicity',
            'Half page ad on brochure',
            'Half page message on brochure',
            'Short video production for social media',
            'Platform to speak at relevant events',
            'Key role in handing out trophies',
            'On-site identified car park space',
        ],
    ],
    [
        'slug' => 'silver',
        'name' => 'Silver',
        'title' => 'Silver Sponsor',
        'icon' => 'medal',
        'featured' => false,
        'header_class' => 'corp-pkg-header corp-pkg-header--silver',
        'benefits' => [
            'Logo on all relevant publicity',
            'Quarter page ad on brochure',
            'Platform to speak at relevant events',
            'On-site identified car park space',
            'Sponsorship for one activity',
        ],
    ],
];

include 'includes/header.php';
?>

<section class="ref-hero-image">
    <div class="ref-hero-image-bg" aria-hidden="true">
        <img src="<?php echo htmlspecialchars($corporateHeroImg, ENT_QUOTES, 'UTF-8'); ?>" alt="Corporate Sponsorship" width="1920" height="1080" class="ref-hero-image-photo" loading="eager" decoding="async">
        <div class="ref-hero-image-overlay"></div>
    </div>
    <div class="container ref-hero-image-inner px-3 px-sm-4">
        <h1 class="ref-hero-title text-white mb-3 mb-md-4">Corporate Sponsors</h1>
        <p class="ref-hero-lead text-white opacity-75 mx-auto mb-0">Partner with us to make a meaningful impact while showcasing your brand to thousands of attendees.</p>
    </div>
</section>

<section class="corp-intro-section">
    <div class="container corp-max-4xl px-3 px-sm-4 text-center">
        <span class="corp-kicker d-block text-primary fw-semibold small text-uppercase mb-2" style="letter-spacing: 0.08em;">Sponsor the Event</span>
        <h2 class="corp-intro-heading mt-2 mb-3 mb-md-4">Sponsorship Packages</h2>
        <p class="text-muted corp-intro-lead mx-auto mb-0">We are currently seeking sponsors and have tailored packages for interested partners. The amounts are a guide — we are keen to involve those who share our ethos, ideas and passion. We welcome discussions with individuals and businesses interested in supporting the event.</p>
    </div>
</section>

<section class="corp-packages-section">
    <div class="container corp-max-7xl px-3 px-sm-4">
        <div class="row g-4">
            <?php foreach ($packages as $pkg): ?>
            <div class="col-lg-4">
                <div class="card h-100 border-0 shadow corp-package-card rounded-4 overflow-hidden<?php echo !empty($pkg['featured']) ? ' corp-package-card--featured' : ''; ?>">
                    <div class="<?php echo htmlspecialchars($pkg['header_class'], ENT_QUOTES, 'UTF-8'); ?>">
                        <div class="d-flex justify-content-between align-items-center mb-2">
                            <span class="corp-pkg-badge"><?php echo htmlspecialchars($pkg['name'], ENT_QUOTES, 'UTF-8'); ?></span>
                            <i data-lucide="<?php echo htmlspecialchars($pkg['icon'], ENT_QUOTES, 'UTF-8'); ?>" class="corp-pkg-header-icon"></i>
                        </div>
                        <h3 class="corp-pkg-card-title mb-0"><?php echo htmlspecialchars($pkg['title'], ENT_QUOTES, 'UTF-8'); ?></h3>
                    </div>
                    <div class="card-body corp-pkg-body">
                        <ul class="list-unstyled mb-0 corp-pkg-list">
                            <?php foreach ($pkg['benefits'] as $line): ?>
                            <li class="d-flex gap-3 corp-pkg-li">
                                <i data-lucide="check" class="corp-pkg-check flex-shrink-0"></i>
                                <span class="corp-pkg-benefit-text"><?php echo htmlspecialchars($line, ENT_QUOTES, 'UTF-8'); ?></span>
                            </li>
                            <?php endforeach; ?>
                        </ul>
                    </div>
                </div>
            </div>
            <?php endforeach; ?>
        </div>
    </div>
</section>

<section class="corp-cta-section">
    <div class="container corp-max-3xl px-3 px-sm-4 text-center">
        <h2 class="corp-cta-heading text-white mb-3">Interested in Sponsoring?</h2>
        <p class="text-white opacity-75 mb-4 mb-md-5 corp-cta-lead mx-auto">Get in touch to discuss how we can work together to make this event a success.</p>
        <a href="contact.php" class="btn corp-cta-btn d-inline-flex align-items-center justify-content-center gap-2 rounded-pill fw-semibold">
            Contact Us
            <i data-lucide="arrow-right" class="lucide-16"></i>
        </a>
    </div>
</section>

<?php include 'includes/footer.php'; ?>
