<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title><?php echo e($content->title ?? 'Events'); ?></title>
    <script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-gray-50 text-gray-800">

<?php echo $__env->make('partials.navbar', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
<!-- Minimalist Hero Section -->
<?php if(isset($content->image_url)): ?>
<section class="relative bg-cover bg-center h-[400px] flex items-center justify-center" 
         style="background-image: url('<?php echo e($content->image_url); ?>');">
    <div class="absolute inset-0 bg-black bg-opacity-40"></div>
    <h1 class="relative text-4xl md:text-5xl lg:text-6xl font-extrabold text-white text-center">
        Events
    </h1>
</section>
<?php endif; ?>

<!-- Events Page Section -->
<section class="relative py-16 px-6 lg:px-12 overflow-hidden max-w-4xl mx-auto">
    <!-- Decorative background elements -->
    <div class="absolute top-0 left-0 w-48 h-48 bg-red-100 rounded-full opacity-20 -translate-x-1/2 -translate-y-1/2"></div>
    <div class="absolute bottom-0 right-0 w-48 h-48 bg-blue-100 rounded-full opacity-15 translate-x-1/3 translate-y-1/3"></div>

    <div class="relative text-left">
        <!-- Section Title -->
        <h2 class="text-4xl lg:text-5xl font-extrabold text-gray-800 mb-6 tracking-tight">
            <?php echo e($content->title ?? 'Events'); ?>

        </h2>

        <!-- Decorative Divider -->
        <div class="w-24 h-1 bg-red-700 rounded-full mb-8"></div>

        <!-- Section Content -->
        <div class="text-gray-700 text-lg lg:text-xl leading-relaxed">
            <?php echo nl2br(e($content->content)); ?>

        </div>

        <!-- Optional Call-to-Action -->
        <?php if(!empty($content->cta_text) && !empty($content->cta_link)): ?>
        <div class="mt-10">
            <a href="<?php echo e($content->cta_link); ?>" class="inline-block bg-red-700 text-white font-semibold px-6 py-3 rounded-full shadow-lg hover:bg-red-800 transition duration-300">
                <?php echo e($content->cta_text); ?>

            </a>
        </div>
        <?php endif; ?>
    </div>
</section>


<?php echo $__env->make('partials.footer', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

</body>
</html>
<?php /**PATH /home/dawoodik/Documents/x/ahoj/resources/views/events.blade.php ENDPATH**/ ?>