


<?php if(!empty($activeLayout->custom_html_before_hero)): ?>
<?php echo $activeLayout->custom_html_before_hero; ?>

<?php endif; ?>


<section class="hero-focus">
    <div class="hero-focus-bg"></div>
    <div class="hero-focus-content">
        <?php if(auth()->guard()->guest()): ?>
            <?php if($activeLayout->show_hero_badge ?? true): ?>
            <div class="hero-focus-badge">🎖️ Türkiye'nin Askeri Kariyer Platformu</div>
            <?php endif; ?>
            <h1 class="hero-focus-title">
                Kariyerine Giden Yolda<br>
                <span class="hero-focus-accent">Doğru Adres</span>
            </h1>
            <?php if($activeLayout->show_hero_subtitle ?? true): ?>
            <p class="hero-focus-desc">
                KPSS hazırlığından mülakat pratiklerine, forum tartışmalarından AI asistanına kadar. Binlerce askeri kariyer adayıyla birlikte başar.
            </p>
            <?php endif; ?>
            <?php if($activeLayout->show_hero_buttons ?? true): ?>
            <div class="hero-focus-actions">
                <a href="<?php echo e(route('register')); ?>" class="btn-hero-primary">🚀 Ücretsiz Başla</a>
                <a href="<?php echo e(route('login')); ?>" class="btn-hero-secondary">Giriş Yap</a>
            </div>
            <?php endif; ?>
        <?php else: ?>
            <?php if($activeLayout->show_hero_badge ?? true): ?>
            <div class="hero-focus-badge">👋 Hoş Geldiniz</div>
            <?php endif; ?>
            <h1 class="hero-focus-title">
                <?php echo e(auth()->user()->name); ?>,<br>
                <span class="hero-focus-accent">Seni Bekliyoruz</span>
            </h1>
            <?php if($activeLayout->show_hero_subtitle ?? true): ?>
            <p class="hero-focus-desc">
                Binlerce üyeyle birlikte öğren, paylaş ve başar. Her gün yeni içerik ve fırsatlar seni bekliyor.
            </p>
            <?php endif; ?>
            <?php if($activeLayout->show_hero_buttons ?? true): ?>
            <div class="hero-focus-actions">
                <a href="<?php echo e(route('forum.index')); ?>" class="btn-hero-primary">💬 Forum'a Katıl</a>
                <a href="<?php echo e(route('blog.index')); ?>" class="btn-hero-secondary">Blog Yazılarını Keşfet</a>
            </div>
            <?php endif; ?>
        <?php endif; ?>
    </div>
</section>


<?php if(!empty($activeLayout->custom_html_after_hero)): ?>
<?php echo $activeLayout->custom_html_after_hero; ?>

<?php endif; ?>


<?php if(($activeLayout->show_stats_section ?? true) && array_sum($stats) > 0): ?>
<div class="stats-focus">
    <div class="stats-focus-inner" style="grid-template-columns: repeat(<?php echo e($activeLayout->stats_columns ?? 4); ?>, 1fr)">
        <div class="stat-focus-item">
            <div class="stat-focus-number"><?php echo e(number_format($stats['users'])); ?></div>
            <div class="stat-focus-label">Aktif Üye</div>
        </div>
        <div class="stat-focus-item">
            <div class="stat-focus-number"><?php echo e(number_format($stats['topics'])); ?></div>
            <div class="stat-focus-label">Forum Konusu</div>
        </div>
        <div class="stat-focus-item">
            <div class="stat-focus-number"><?php echo e(number_format($stats['posts'])); ?></div>
            <div class="stat-focus-label">Blog Yazısı</div>
        </div>
        <div class="stat-focus-item">
            <div class="stat-focus-number"><?php echo e(number_format($stats['questions'])); ?></div>
            <div class="stat-focus-label">Mülakat Sorusu</div>
        </div>
    </div>
</div>
<?php endif; ?>


<?php if(!empty($activeLayout->custom_html_after_stats)): ?>
<?php echo $activeLayout->custom_html_after_stats; ?>

<?php endif; ?>


<?php if(!empty($activeLayout->custom_html_before_cta)): ?>
<?php echo $activeLayout->custom_html_before_cta; ?>

<?php endif; ?>


<?php if(!empty($activeLayout->custom_html_after_cta)): ?>
<?php echo $activeLayout->custom_html_after_cta; ?>

<?php endif; ?>

<style>
/* ── Hero Focus (Full-Screen) ── */
.hero-focus {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: <?php echo e($activeTheme->hero_bg_gradient ?? 'linear-gradient(135deg, #0f172a 0%, #1a2744 100%)'); ?>;
    overflow: hidden;
    padding: 80px 24px;
}

.hero-focus-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(59,130,246,0.15) 0%, transparent 50%),
                      radial-gradient(circle at 80% 80%, rgba(139,92,246,0.12) 0%, transparent 50%);
}

.hero-focus-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 700px;
}

.hero-focus-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(34,197,94,0.15);
    border: 1px solid rgba(34,197,94,0.35);
    border-radius: 999px;
    color: #86efac;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-focus-title {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 900;
    color: <?php echo e($activeTheme->hero_title_color ?? '#ffffff'); ?>;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.hero-focus-accent {
    background: linear-gradient(135deg, #60a5fa, #a78bfa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-focus-desc {
    font-size: 18px;
    color: <?php echo e($activeTheme->hero_subtitle_color ?? 'rgba(255,255,255,0.8)'); ?>;
    line-height: 1.7;
    margin: 0 auto 32px;
    max-width: 600px;
}

.hero-focus-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary {
    padding: 16px 40px;
    background: <?php echo e($activeTheme->primary_color ?? '#2563eb'); ?>;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 20px <?php echo e($activeTheme->primary_color ?? 'rgba(37,99,235,0.4)'); ?>;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px <?php echo e($activeTheme->primary_color ?? 'rgba(37,99,235,0.5)'); ?>;
}

.btn-hero-secondary {
    padding: 16px 40px;
    background: rgba(255,255,255,0.1);
    border: 1.5px solid rgba(255,255,255,0.25);
    color: #ffffff !important;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s;
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.35);
}

/* ── Stats Focus ── */
.stats-focus {
    background: linear-gradient(135deg, #f0f9ff 0%, #f5f3ff 100%);
    padding: 48px 24px;
    border-top: 1px solid #e0e7ff;
    border-bottom: 1px solid #e0e7ff;
}

.stats-focus-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 24px;
}

.stat-focus-item {
    text-align: center;
    padding: 20px;
}

.stat-focus-number {
    font-size: 36px;
    font-weight: 900;
    background: linear-gradient(135deg, #2563eb, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
}

.stat-focus-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── Features Focus Section ── */
.features-focus-section {
    padding: 80px 24px;
    background: #ffffff;
}

.features-focus-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.features-focus-tag {
    display: inline-block;
    padding: 6px 16px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    color: #2563eb;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.features-focus-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    color: #111827;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.features-focus-desc {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
}

.features-focus-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 24px;
}

.feature-focus-card {
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px 24px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    text-align: center;
}

.feature-focus-card:hover {
    border-color: #2563eb;
    box-shadow: 0 12px 32px rgba(37,99,235,0.12);
    transform: translateY(-4px);
}

.feature-focus-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.feature-focus-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.feature-focus-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

/* ── CTA Focus ── */
.cta-focus {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 80px 24px;
}

.cta-focus-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-focus-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.cta-focus-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin-bottom: 32px;
}

.cta-focus-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .stats-focus-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-focus-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .hero-focus {
        min-height: 70vh;
        padding: 60px 20px;
    }

    .hero-focus-title {
        font-size: 36px;
    }

    .hero-focus-desc {
        font-size: 16px;
    }

    .hero-focus-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .stats-focus-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-focus-grid {
        grid-template-columns: 1fr !important;
    }

    .cta-focus {
        padding: 60px 20px;
    }

    .cta-focus-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-focus-actions .btn-hero-primary,
    .cta-focus-actions .btn-hero-secondary {
        width: 100%;
        max-width: 300px;
    }
}
</style>
<?php /**PATH C:\xampp\htdocs\askeribilgiler\resources\views\homepage-layouts\hero_focus.blade.php ENDPATH**/ ?>