

<?php $__env->startSection('content'); ?>
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;600;800&family=Playfair+Display:italic,wght@700;900&display=swap" rel="stylesheet">

<style>
    :root { --primary-green: #166534; --accent-yellow: #facc15; }
    body { font-family: 'Plus Jakarta Sans', sans-serif; background-color: #fff; }
    .font-serif { font-family: 'Playfair Display', serif; }

    /* Efek Floating untuk Elemen Visual */
    .float-anim { animation: floating 3s ease-in-out infinite; }
    @keyframes floating {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-15px); }
    }

    /* Tekstur Kertas/Organik */
    .organic-bg {
        background-color: #fcfdfa;
        background-image: url("https://www.transparenttextures.com/patterns/natural-paper.png");
    }

    .stat-card { transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
    .stat-card:hover { transform: scale(1.05) rotate(-1deg); }

    /* Custom Shape untuk Gambar */
    .blob-shape {
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    }
</style>

<div class="organic-bg overflow-x-hidden">
    
    <section class="relative pt-32 pb-20 px-6">
        <div class="max-w-7xl mx-auto flex flex-col lg:flex-row items-center gap-16">
            <div class="lg:w-1/2 space-y-8">
                <div class="flex items-center gap-3">
                    <span class="h-[2px] w-12 bg-green-700"></span>
                    <span class="text-green-800 font-bold tracking-[0.3em] text-xs uppercase">Sejak 2020 di Banjarbaru</span>
                </div>
                <h1 class="text-6xl lg:text-8xl font-black text-gray-900 leading-none">
                    Lebih Dari <br>
                    <span class="text-green-700 font-serif italic font-light">Sekadar Tempe.</span>
                </h1>
                <p class="text-xl text-gray-600 leading-relaxed max-w-md border-l-4 border-yellow-400 pl-6">
                    <strong>Tempe Zhi</strong> hadir dengan ciri khas kedelai tanpa kulit yang diproses secara higienis. Standar kebersihan ini kami jaga untuk memastikan setiap potong tempe yang Anda nikmati memiliki kualitas premium dengan rasa kacang kedelai yang autentik.
                </p>
                <div class="pt-4">
                    <a href="#cerita" class="group inline-flex items-center gap-4 text-gray-900 font-black uppercase tracking-widest text-sm">
                        Scroll untuk Mengenal Kami 
                        <span class="w-12 h-12 rounded-full border-2 border-gray-200 flex items-center justify-center group-hover:bg-green-700 group-hover:border-green-700 group-hover:text-white transition-all">↓</span>
                    </a>
                </div>
            </div>

            <div class="lg:w-1/2 relative">
                <div class="absolute -top-10 -right-10 w-64 h-64 bg-yellow-200 rounded-full blur-3xl opacity-40"></div>
                
                <div class="relative z-10">
                    <img src="<?php echo e(asset('images/tentangkami.jpg')); ?>" class="w-full h-[500px] object-cover blob-shape shadow-[0_30px_60px_-15px_rgba(0,0,0,0.3)]" alt="Produksi Tempe Zhi">
                    
                    <div class="absolute -bottom-10 -left-10 bg-white p-8 rounded-3xl shadow-2xl hidden md:block">
                        <div class="flex items-center gap-4">
                            <div class="text-4xl text-green-700 italic font-serif">"</div>
                            <p class="text-gray-700 font-bold italic leading-tight text-sm">Dibuat dengan kedelai pilihan, <br>memastikan produk berkualitas.</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <section id="cerita" class="py-24 bg-green-900 text-white rounded-[4rem] mx-4 shadow-2xl">
        <div class="max-w-7xl mx-auto px-6">
            <div class="text-center mb-20 space-y-4">
                <h2 class="text-3xl md:text-5xl font-black italic font-serif">Komitmen Tempe Zhi</h2>
            </div>

            <div class="grid grid-cols-1 md:grid-cols-3 gap-12">
                <div class="text-center space-y-6 group">
                    <div class="w-20 h-20 bg-green-800 rounded-full flex items-center justify-center mx-auto group-hover:bg-yellow-400 transition-colors duration-500">
                        <svg class="w-10 h-10 text-white group-hover:text-green-900" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z"></path></svg>
                    </div>
                    <h4 class="text-xl font-bold uppercase tracking-tight">Standar Higienis</h4>
                    <p class="text-green-100/70 text-sm leading-relaxed">Kebersihan adalah prioritas utama kami. Dari proses pencucian berkali-kali hingga pengemasan, semua dilakukan di lingkungan yang terkontrol untuk memastikan tempe yang sehat bagi keluarga Anda.</p>
                </div>

                <div class="text-center space-y-6 group">
                    <div class="w-20 h-20 bg-green-800 rounded-full flex items-center justify-center mx-auto group-hover:bg-yellow-400 transition-colors duration-500">
                        <svg class="w-10 h-10 text-white group-hover:text-green-900" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M13 10V3L4 14h7v7l9-11h-7z"></path></svg>
                    </div>
                    <h4 class="text-xl font-bold uppercase tracking-tight">Kedelai Tanpa Kulit</h4>
                    <p class="text-green-100/70 text-sm leading-relaxed">Ciri khas kami adalah kedelai yang bersih dari kulit ari. Proses ini membuat rasa tempe lebih gurih murni, tekstur lebih padat, dan yang terpenting: tempe menjadi lebih awet dan tidak cepat asam.</p>
                </div>

                <div class="text-center space-y-6 group">
                    <div class="w-20 h-20 bg-green-800 rounded-full flex items-center justify-center mx-auto group-hover:bg-yellow-400 transition-colors duration-500">
                        <svg class="w-10 h-10 text-white group-hover:text-green-900" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M12 4.354a4 4 0 110 5.292M15 21H3v-1a6 6 0 0112 0v1zm0 0h6v-1a6 6 0 00-9-5.197M13 7a4 4 0 11-8 0 4 4 0 018 0z"></path></svg>
                    </div>
                    <h4 class="text-xl font-bold uppercase tracking-tight">Jaminan Fresh</h4>
                    <p class="text-green-100/70 text-sm leading-relaxed">Kami mendistribusikan produk setiap hari, menjamin pelanggan dan mitra selalu mendapatkan stok yang baru diproduksi .</p>
                </div>
            </div>
        </div>
    </section>

    <section class="py-32 px-6" x-data="{ showPopup: false, activeImg: '', activeTitle: '' }">
        <div class="max-w-7xl mx-auto">
            <div class="flex flex-col md:flex-row items-center justify-between gap-12 mb-20">
                <div class="md:w-1/3">
                    <h3 class="text-4xl font-black text-gray-900 leading-tight">Jaminan Kualitas <span class="text-green-700">&</span> Legalitas</h3>
                </div>
                <div class="md:w-1/2">
                    <p class="text-gray-500 font-medium italic border-l-2 border-gray-200 pl-8">
                        Kepercayaan Anda adalah segalanya. Kami memastikan setiap sertifikat dan lisensi tersedia secara transparan sebagai bukti komitmen kami terhadap keamanan pangan.
                    </p>
                </div>
            </div>


            <div class="grid grid-cols-1 md:grid-cols-3 gap-12">
            <?php $__empty_1 = true; $__currentLoopData = $sertifikats; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $s): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                <?php
                    $colors = ['border-green-400', 'border-blue-800', 'border-red-600'];
                    $borderColor = $colors[$index % 3];
                ?>

                <div class="flex flex-col">
                    <div @click="showPopup = true; activeImg = '<?php echo e(asset('storage/' . $s->gambar)); ?>'; activeTitle = '<?php echo e($s->nama_sertifikat); ?>'" 
                         class="bg-white border-4 <?php echo e($borderColor); ?> rounded-[2.5rem] p-8 shadow-sm flex items-center justify-center overflow-hidden min-h-[480px] cursor-pointer hover:shadow-2xl transition-all duration-300 group">
                        
                        <img src="<?php echo e(asset('storage/' . $s->gambar)); ?>" 
                             alt="<?php echo e($s->nama_sertifikat); ?>" 
                             class="w-full h-full object-contain group-hover:scale-105 transition-transform duration-500">
                    </div>

                    <div class="mt-8 text-center">
                        <h3 class="text-2xl font-black text-gray-900 uppercase tracking-tight"><?php echo e($s->nama_sertifikat); ?></h3>
                    </div>
                </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                <div class="col-span-full text-center py-20 text-gray-400 italic">Belum ada sertifikat.</div>
            <?php endif; ?>
        </div>

        <div x-show="showPopup" 
             style="display: none;" 
             class="fixed inset-0 z-[9999] flex items-center justify-center p-6 bg-gray-900/90 backdrop-blur-xl"
             @keydown.escape.window="showPopup = false">
            
            <div class="relative max-w-4xl w-full flex flex-col items-center animate-zoom-in" @click.away="showPopup = false">
                <button @click="showPopup = false" class="absolute -top-12 right-0 text-white hover:text-yellow-400 transition-colors font-bold tracking-widest text-xs">CLOSE [ESC]</button>
                <img :src="activeImg" class="max-h-[75vh] w-auto rounded-2xl shadow-2xl shadow-black/50">
                <h2 class="text-white text-3xl font-serif mt-8" x-text="activeTitle"></h2>
            </div>
        </div>
    </section>
</div>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.frontend', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH D:\TempeZhi\resources\views/tentangkami/index.blade.php ENDPATH**/ ?>