<?php
require_once __DIR__ . '/includes/functions.php';
$settings = getSettings();
$sectors = getData('sectors');

$pageTitle = $settings['seo_sectors_title'];
$pageDesc = $settings['seo_sectors_desc'];

include __DIR__ . '/includes/header.php';
?>

<section class="page-hero">
    <div class="container">
        <span class="section-label">Exhibit Profile</span>
        <h1 class="section-title">Product Sectors</h1>
        <nav class="breadcrumb-nav mt-2">
            <a href="<?php echo BASE_URL; ?>/index.php">Home</a>
            <span>/</span>
            Sectors
        </nav>
    </div>
</section>

<section class="section">
    <div class="container">
        <div class="text-center mb-4 reveal">
            <p class="section-subtitle mx-auto">12 dedicated sectors covering the entire food &amp; beverage value chain — from raw materials to finished products, packaging, and food service technology.</p>
        </div>
        <?php if (!empty($sectors)): ?>
        <div class="row g-4 reveal">
            <?php foreach ($sectors as $sector): ?>
            <div class="col-lg-4 col-md-6">
                <div class="sector-card">
                    <div class="sector-icon"><?php echo $sector['icon']; ?></div>
                    <div class="sector-name"><?php echo e($sector['name']); ?></div>
                    <div class="sector-desc"><?php echo e($sector['description']); ?></div>
                </div>
            </div>
            <?php endforeach; ?>
        </div>
        <?php else: ?>
        <div class="empty-state">
            <span class="empty-state-icon">🏭</span>
            <p>Sector information will be updated soon.</p>
        </div>
        <?php endif; ?>
    </div>
</section>

<section class="section-alt">
    <div class="container">
        <div class="row justify-content-center reveal">
            <div class="col-lg-8">
                <div class="section-card text-center">
                    <h3 style="font-family:var(--font-heading);font-size:1.1rem;text-transform:uppercase;color:var(--text-dark);margin-bottom:0.75rem;">Don't See Your Sector?</h3>
                    <p style="font-size:0.9rem;color:var(--text-secondary);margin-bottom:1.25rem;">We welcome exhibitors from all food and beverage related industries. Get in touch to discuss how your business fits into Ethiopia Food Expo 2026.</p>
                    <a href="<?php echo BASE_URL; ?>/contact.php" class="btn-green">Contact Us</a>
                </div>
            </div>
        </div>
    </div>
</section>

<section class="cta-banner">
    <div class="container reveal">
        <span class="section-label" style="color:rgba(255,255,255,0.7);border-left-color:rgba(255,255,255,0.4);">Showcase Your Brand</span>
        <h2 class="cta-title">Showcase Your Products to East Africa</h2>
        <p class="cta-sub">Join 500+ exhibitors from 40+ countries at the region's most important food &amp; beverage trade event.</p>
        <a href="<?php echo BASE_URL; ?>/register.php" class="btn-white">Book a Stand Now</a>
    </div>
</section>

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