
<section class="features-section" id="features">
    <div class="features-background">
        <div class="gradient-orb orb-1"></div>
        <div class="gradient-orb orb-2"></div>
        <div class="gradient-orb orb-3"></div>
    </div>

    <div class="container">
        <?php if($section->title || $section->subtitle): ?>
            <div class="features-header" data-aos="fade-up" data-aos-duration="800">
                <?php if($section->subtitle): ?>
                    <div class="section-badge">
                        <span class="badge-icon">✨</span>
                        <span><?php echo e($section->subtitle); ?></span>
                    </div>
                <?php endif; ?>

                <?php if($section->title): ?>
                    <h2 class="section-title"><?php echo e($section->title); ?></h2>
                <?php endif; ?>

                <?php if($section->content): ?>
                    <p class="section-description"><?php echo e($section->content); ?></p>
                <?php endif; ?>
            </div>
        <?php endif; ?>

        <?php
            $features = $section->getConfig('features', [
                ['icon' => 'fa-shield-alt', 'title' => 'Güvenli Ödeme', 'description' => 'SSL sertifikalı güvenli ödeme altyapısı ile işlemleriniz koruma altında'],
                ['icon' => 'fa-headset', 'title' => '7/24 Destek', 'description' => 'Her an yanınızdayız, sorularınız için profesyonel destek ekibimiz hizmetinizde'],
                ['icon' => 'fa-certificate', 'title' => 'Lisanslı Acentemiz', 'description' => 'TÜRSAB belgeli, güvenilir ve profesyonel turizm hizmeti'],
                ['icon' => 'fa-undo', 'title' => 'Esnek İptal', 'description' => 'Planlarınız değişirse kolay iptal ve iade politikamızdan yararlanın']
            ]);
        ?>

        <div class="features-grid">
            <?php $__currentLoopData = $features; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $feature): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="feature-card"
                     data-aos="fade-up"
                     data-aos-delay="<?php echo e(100 * $index); ?>"
                     data-aos-duration="600">
                    <div class="feature-card-inner">
                        <div class="feature-icon-wrapper">
                            <div class="icon-background"></div>
                            <div class="icon-container">
                                <i class="fas <?php echo e($feature['icon']); ?>"></i>
                            </div>
                            <div class="icon-glow"></div>
                        </div>

                        <h3 class="feature-title"><?php echo e($feature['title']); ?></h3>
                        <p class="feature-description"><?php echo e($feature['description']); ?></p>

                        <div class="feature-hover-effect"></div>
                    </div>
                </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
    </div>
</section>

<style>
    .features-section {
        position: relative;
        padding: 8rem 0;
        background: linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 50%, #F9FAFB 100%);
        overflow: hidden;
    }

    .features-background {
        position: absolute;
        inset: 0;
        overflow: hidden;
        pointer-events: none;
    }

    .gradient-orb {
        position: absolute;
        border-radius: 50%;
        filter: blur(80px);
        opacity: 0.15;
        animation: moveOrb 25s ease-in-out infinite;
    }

    .orb-1 {
        width: 500px;
        height: 500px;
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        top: -150px;
        left: -150px;
        animation-delay: 0s;
    }

    .orb-2 {
        width: 400px;
        height: 400px;
        background: linear-gradient(135deg, var(--secondary), var(--accent));
        bottom: -100px;
        right: -100px;
        animation-delay: 5s;
    }

    .orb-3 {
        width: 350px;
        height: 350px;
        background: linear-gradient(135deg, var(--accent), var(--primary));
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        animation-delay: 10s;
    }

    @keyframes moveOrb {
        0%, 100% {
            transform: translate(0, 0) scale(1);
        }
        33% {
            transform: translate(50px, -50px) scale(1.1);
        }
        66% {
            transform: translate(-50px, 50px) scale(0.9);
        }
    }

    .container {
        position: relative;
        z-index: 1;
    }

    .features-header {
        text-align: center;
        max-width: 800px;
        margin: 0 auto 5rem;
    }

    .section-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.625rem 1.25rem;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent);
        border-radius: 50px;
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--primary);
        margin-bottom: 1.5rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    .badge-icon {
        font-size: 1rem;
        animation: sparkle 2s ease-in-out infinite;
    }

    @keyframes sparkle {
        0%, 100% { transform: scale(1) rotate(0deg); }
        50% { transform: scale(1.2) rotate(180deg); }
    }

    .section-title {
        font-size: 3rem;
        font-weight: 800;
        line-height: 1.2;
        color: #111827;
        margin: 0 0 1.5rem 0;
    }

    .section-description {
        font-size: 1.125rem;
        line-height: 1.8;
        color: #6B7280;
        margin: 0;
    }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }

    .feature-card {
        perspective: 1000px;
    }

    .feature-card-inner {
        position: relative;
        height: 100%;
        padding: 2.5rem 2rem;
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(20px) saturate(180%);
        border: 1px solid rgba(255, 255, 255, 0.5);
        border-radius: 24px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .feature-card:hover .feature-card-inner {
        transform: translateY(-8px);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
        border-color: color-mix(in srgb, var(--primary) 30%, transparent);
    }

    .feature-icon-wrapper {
        position: relative;
        width: 90px;
        height: 90px;
        margin-bottom: 1.5rem;
    }

    .icon-background {
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        border-radius: 22px;
        transform: rotate(-8deg);
        transition: transform 0.4s ease;
    }

    .feature-card:hover .icon-background {
        transform: rotate(0deg) scale(1.05);
    }

    .icon-container {
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1;
    }

    .icon-container i {
        font-size: 2.25rem;
        color: white;
        transition: transform 0.4s ease;
    }

    .feature-card:hover .icon-container i {
        transform: scale(1.1) rotate(5deg);
    }

    .icon-glow {
        position: absolute;
        inset: -10px;
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        border-radius: 22px;
        opacity: 0;
        filter: blur(20px);
        transition: opacity 0.4s ease;
        z-index: 0;
    }

    .feature-card:hover .icon-glow {
        opacity: 0.4;
    }

    .feature-title {
        font-size: 1.375rem;
        font-weight: 700;
        color: #111827;
        margin: 0 0 1rem 0;
        line-height: 1.3;
    }

    .feature-description {
        font-size: 1rem;
        line-height: 1.7;
        color: #6B7280;
        margin: 0;
    }

    .feature-hover-effect {
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg,
            color-mix(in srgb, var(--primary) 5%, transparent),
            color-mix(in srgb, var(--secondary) 5%, transparent)
        );
        opacity: 0;
        transition: opacity 0.4s ease;
        pointer-events: none;
        border-radius: 24px;
    }

    .feature-card:hover .feature-hover-effect {
        opacity: 1;
    }

    @media (max-width: 1024px) {
        .features-section {
            padding: 6rem 0;
        }

        .features-header {
            margin-bottom: 4rem;
        }

        .section-title {
            font-size: 2.5rem;
        }

        .features-grid {
            gap: 1.5rem;
        }
    }

    @media (max-width: 768px) {
        .features-section {
            padding: 4rem 0;
        }

        .features-header {
            margin-bottom: 3rem;
        }

        .section-title {
            font-size: 2rem;
        }

        .section-description {
            font-size: 1rem;
        }

        .features-grid {
            grid-template-columns: 1fr;
            gap: 1.25rem;
        }

        .feature-card-inner {
            padding: 2rem 1.5rem;
        }

        .feature-icon-wrapper {
            width: 70px;
            height: 70px;
        }

        .icon-container i {
            font-size: 1.75rem;
        }

        .feature-title {
            font-size: 1.25rem;
        }

        .feature-description {
            font-size: 0.9375rem;
        }
    }
</style>

<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" />
<script src="https://unpkg.com/aos@next/dist/aos.js"></script>
<script>
    if (typeof AOS !== 'undefined') {
        AOS.init({
            once: true,
            duration: 800,
            easing: 'ease-out-cubic'
        });
    }
</script>
<?php /**PATH /home/mehmetguruz/public_html/test/resources/views/page/agency/themes/default/sections/features.blade.php ENDPATH**/ ?>