<?php require_once __DIR__ . '/../layouts/header.php'; ?>

<div class="tw-relative tw-h-[50vh] tw-min-h-[400px] d-flex align-items-center justify-content-center tw-overflow-hidden tw-mt-[-80px] tw-pt-[80px]">
    <div class="tw-absolute tw-inset-0 tw-z-0">
        <img src="https://images.unsplash.com/photo-1497366216548-37526070297c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80" 
             class="tw-w-full tw-h-full tw-object-cover tw-scale-110" 
             style="transform: scale(1.1);" alt="Kurumsal">
        <div class="tw-absolute tw-inset-0 tw-bg-gradient-to-r tw-from-[#0f172a]/90 tw-via-[#0f172a]/70 tw-to-[#0f172a]/40"></div>
    </div>

    <div class="container tw-relative tw-z-10 text-center text-white tw-mt-10">
        <span class="tw-inline-block tw-bg-blue-600/20 tw-backdrop-blur-sm tw-px-5 tw-py-1.5 tw-rounded-full tw-text-xs tw-font-black tw-tracking-widest tw-mb-5 tw-border tw-border-blue-400/30">
            KURUMSAL KİMLİK
        </span>
        <h1 class="tw-text-4xl md:tw-text-6xl tw-font-black tw-mb-4 tw-leading-tight tw-tracking-tight tw-drop-shadow-lg">
            Biz Kimiz?
        </h1>
        <p class="tw-text-blue-50 tw-text-lg md:tw-text-xl tw-max-w-2xl tw-mx-auto tw-font-medium tw-leading-relaxed tw-opacity-90">
            <?php echo isset($globalSettings->about_subtitle) ? $globalSettings->about_subtitle : 'Yılların deneyimiyle gayrimenkulde güvenin, prestijin ve kalitenin adresi.'; ?>
        </p>
    </div>
</div>

<section class="tw-py-24 tw-bg-[#f8fafc]">
    <div class="container">
        <div class="row align-items-center g-5">
            
            <div class="col-lg-6">
                <div class="tw-relative tw-p-4">
                    <img src="https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80" 
                         class="tw-w-full tw-rounded-[2rem] tw-shadow-2xl tw-relative tw-z-10 tw-border-4 tw-border-white" alt="Emlak Ofisi">
                    
                    <img src="https://images.unsplash.com/photo-1577412647305-991150c7d163?ixlib=rb-4.0.3&auto=format&fit=crop&w=400&q=80" 
                         class="tw-absolute tw--bottom-10 tw--left-10 tw-w-56 tw-h-56 tw-object-cover tw-rounded-[1.5rem] tw-shadow-xl tw-border-8 tw-border-[#f8fafc] tw-z-20 d-none d-md-block">
                    
                    <div class="tw-absolute tw-top-[-10%] tw-right-[-10%] tw-w-72 tw-h-72 tw-bg-blue-600/10 tw-rounded-full tw-blur-3xl tw-z-0"></div>
                </div>
            </div>

            <div class="col-lg-6 tw-pl-lg-16">
                <div class="tw-flex tw-items-center tw-gap-3 tw-mb-3">
                    <span class="tw-w-8 tw-h-1 tw-bg-blue-600 tw-rounded-full"></span>
                    <h6 class="tw-text-blue-600 tw-font-black tw-uppercase tw-tracking-[0.2em] tw-mb-0 tw-text-xs">HİKAYEMİZ</h6>
                </div>
                <h2 class="tw-text-3xl md:tw-text-5xl tw-font-black tw-text-gray-900 tw-mb-6 tw-leading-tight tw-tracking-tight">
                    <?php echo isset($globalSettings->about_heading) ? $globalSettings->about_heading : 'Hayallerinizi Güvenle İnşa Ediyoruz'; ?>
                </h2>
                
                <div class="tw-text-gray-600 tw-leading-relaxed tw-mb-10 tw-text-lg tw-font-medium">
                    <?php echo nl2br(htmlspecialchars($globalSettings->about_text)); ?>
                </div>

                <div class="tw-grid tw-grid-cols-1 md:tw-grid-cols-2 tw-gap-6">
                    <div class="d-flex align-items-start tw-bg-white tw-p-4 tw-rounded-2xl tw-shadow-sm tw-border tw-border-gray-100">
                        <div class="tw-bg-emerald-50 tw-w-12 tw-h-12 d-flex align-items-center justify-content-center tw-rounded-xl tw-mr-4 tw-flex-shrink-0">
                            <i class="fa-solid fa-medal tw-text-emerald-500 tw-text-xl"></i>
                        </div>
                        <div>
                            <h5 class="tw-font-extrabold tw-text-base tw-mb-1 tw-text-gray-800">Kalite Odaklı</h5>
                            <p class="tw-text-xs tw-text-gray-500 tw-font-medium tw-mb-0">Her projede en yüksek standartlar.</p>
                        </div>
                    </div>
                    <div class="d-flex align-items-start tw-bg-white tw-p-4 tw-rounded-2xl tw-shadow-sm tw-border tw-border-gray-100">
                        <div class="tw-bg-blue-50 tw-w-12 tw-h-12 d-flex align-items-center justify-content-center tw-rounded-xl tw-mr-4 tw-flex-shrink-0">
                            <i class="fa-solid fa-users tw-text-blue-600 tw-text-xl"></i>
                        </div>
                        <div>
                            <h5 class="tw-font-extrabold tw-text-base tw-mb-1 tw-text-gray-800">Uzman Ekip</h5>
                            <p class="tw-text-xs tw-text-gray-500 tw-font-medium tw-mb-0">Alanında uzman, deneyimli kadro.</p>
                        </div>
                    </div>
                    <div class="d-flex align-items-start tw-bg-white tw-p-4 tw-rounded-2xl tw-shadow-sm tw-border tw-border-gray-100">
                        <div class="tw-bg-orange-50 tw-w-12 tw-h-12 d-flex align-items-center justify-content-center tw-rounded-xl tw-mr-4 tw-flex-shrink-0">
                            <i class="fa-solid fa-handshake tw-text-orange-500 tw-text-xl"></i>
                        </div>
                        <div>
                            <h5 class="tw-font-extrabold tw-text-base tw-mb-1 tw-text-gray-800">Şeffaf Süreç</h5>
                            <p class="tw-text-xs tw-text-gray-500 tw-font-medium tw-mb-0">Alım-satımda %100 yasal güven.</p>
                        </div>
                    </div>
                    <div class="d-flex align-items-start tw-bg-white tw-p-4 tw-rounded-2xl tw-shadow-sm tw-border tw-border-gray-100">
                        <div class="tw-bg-purple-50 tw-w-12 tw-h-12 d-flex align-items-center justify-content-center tw-rounded-xl tw-mr-4 tw-flex-shrink-0">
                            <i class="fa-solid fa-clock tw-text-purple-600 tw-text-xl"></i>
                        </div>
                        <div>
                            <h5 class="tw-font-extrabold tw-text-base tw-mb-1 tw-text-gray-800">Hızlı Çözüm</h5>
                            <p class="tw-text-xs tw-text-gray-500 tw-font-medium tw-mb-0">Zamanınızı en verimli kullanırız.</p>
                        </div>
                    </div>
                </div>

            </div>
        </div>
    </div>
</section>

<section class="tw-py-24 tw-bg-[#0f172a] tw-text-white tw-relative tw-overflow-hidden">
    <div class="tw-absolute tw-inset-0 tw-opacity-10" style="background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.2) 1px, transparent 0); background-size: 32px 32px;"></div>

    <div class="container tw-relative tw-z-10">
        <div class="row text-center g-5">
            <div class="col-6 col-md-3">
                <div class="tw-text-5xl tw-font-black tw-text-blue-500 tw-mb-3"><?php echo $globalSettings->stat_years; ?>+</div>
                <div class="tw-text-gray-400 tw-text-[11px] tw-font-bold tw-uppercase tw-tracking-[0.2em]">Yıllık Tecrübe</div>
            </div>
            <div class="col-6 col-md-3">
                <div class="tw-text-5xl tw-font-black tw-text-emerald-400 tw-mb-3"><?php echo $globalSettings->stat_customers; ?>+</div>
                <div class="tw-text-gray-400 tw-text-[11px] tw-font-bold tw-uppercase tw-tracking-[0.2em]">Mutlu Müşteri</div>
            </div>
            <div class="col-6 col-md-3">
                <div class="tw-text-5xl tw-font-black tw-text-purple-400 tw-mb-3"><?php echo $globalSettings->stat_sales; ?>+</div>
                <div class="tw-text-gray-400 tw-text-[11px] tw-font-bold tw-uppercase tw-tracking-[0.2em]">Tamamlanan Satış</div>
            </div>
            <div class="col-6 col-md-3">
                <div class="tw-text-5xl tw-font-black tw-text-orange-400 tw-mb-3"><?php echo $globalSettings->stat_awards; ?></div>
                <div class="tw-text-gray-400 tw-text-[11px] tw-font-bold tw-uppercase tw-tracking-[0.2em]">Sektörel Ödül</div>
            </div>
        </div>
    </div>
</section>

<section class="tw-py-24 tw-bg-white">
    <div class="container">
        <div class="text-center tw-mb-16">
            <h6 class="tw-text-blue-600 tw-font-black tw-uppercase tw-tracking-[0.2em] tw-mb-3 tw-text-xs">AVANTAJLARIMIZ</h6>
            <h2 class="tw-text-3xl md:tw-text-5xl tw-font-black tw-text-gray-900 tw-tracking-tight">Neden Bizi Seçmelisiniz?</h2>
        </div>

        <div class="row g-5">
            <div class="col-md-4">
                <div class="tw-bg-[#f8fafc] tw-p-10 tw-rounded-[2rem] tw-shadow-sm hover:tw-shadow-xl tw-border tw-border-gray-100 hover:tw-border-blue-100 tw-transition-all tw-duration-300 hover:tw--translate-y-2 tw-h-full tw-text-center tw-group">
                    <div class="tw-w-20 tw-h-20 tw-bg-white tw-shadow-md tw-rounded-2xl tw-flex tw-items-center tw-justify-center tw-mx-auto tw-mb-6 group-hover:tw-scale-110 tw-transition-transform">
                        <i class="fa-solid fa-magnifying-glass-location tw-text-3xl tw-text-blue-600"></i>
                    </div>
                    <h4 class="tw-font-black tw-text-xl tw-mb-4 tw-text-gray-900">
                        <?php echo !empty($globalSettings->adv1_title) ? htmlspecialchars($globalSettings->adv1_title) : 'Doğru Lokasyon Analizi'; ?>
                    </h4>
                    <p class="tw-text-gray-500 tw-font-medium tw-leading-relaxed">
                        <?php echo !empty($globalSettings->adv1_text) ? htmlspecialchars($globalSettings->adv1_text) : 'Yatırımınızın değer kazanacağı, yaşam kalitenizi artıracak en doğru bölgeleri detaylı analiz ediyoruz.'; ?>
                    </p>
                </div>
            </div>

            <div class="col-md-4">
                <div class="tw-bg-[#f8fafc] tw-p-10 tw-rounded-[2rem] tw-shadow-sm hover:tw-shadow-xl tw-border tw-border-gray-100 hover:tw-border-blue-100 tw-transition-all tw-duration-300 hover:tw--translate-y-2 tw-h-full tw-text-center tw-group">
                    <div class="tw-w-20 tw-h-20 tw-bg-white tw-shadow-md tw-rounded-2xl tw-flex tw-items-center tw-justify-center tw-mx-auto tw-mb-6 group-hover:tw-scale-110 tw-transition-transform">
                        <i class="fa-solid fa-file-contract tw-text-3xl tw-text-blue-600"></i>
                    </div>
                    <h4 class="tw-font-black tw-text-xl tw-mb-4 tw-text-gray-900">
                        <?php echo !empty($globalSettings->adv2_title) ? htmlspecialchars($globalSettings->adv2_title) : 'Hukuki Güvence'; ?>
                    </h4>
                    <p class="tw-text-gray-500 tw-font-medium tw-leading-relaxed">
                        <?php echo !empty($globalSettings->adv2_text) ? htmlspecialchars($globalSettings->adv2_text) : 'Tüm alım-satım ve kiralama süreçlerinde hukuk departmanımızla sözleşme ve tapu süreçlerini sorunsuz yönetiyoruz.'; ?>
                    </p>
                </div>
            </div>

            <div class="col-md-4">
                <div class="tw-bg-[#f8fafc] tw-p-10 tw-rounded-[2rem] tw-shadow-sm hover:tw-shadow-xl tw-border tw-border-gray-100 hover:tw-border-blue-100 tw-transition-all tw-duration-300 hover:tw--translate-y-2 tw-h-full tw-text-center tw-group">
                    <div class="tw-w-20 tw-h-20 tw-bg-white tw-shadow-md tw-rounded-2xl tw-flex tw-items-center tw-justify-center tw-mx-auto tw-mb-6 group-hover:tw-scale-110 tw-transition-transform">
                        <i class="fa-solid fa-headset tw-text-3xl tw-text-blue-600"></i>
                    </div>
                    <h4 class="tw-font-black tw-text-xl tw-mb-4 tw-text-gray-900">
                        <?php echo !empty($globalSettings->adv3_title) ? htmlspecialchars($globalSettings->adv3_title) : 'Satış Sonrası Destek'; ?>
                    </h4>
                    <p class="tw-text-gray-500 tw-font-medium tw-leading-relaxed">
                        <?php echo !empty($globalSettings->adv3_text) ? htmlspecialchars($globalSettings->adv3_text) : 'İşimiz imzayı atınca bitmez. Abonelik, tadilat ve taşınma gibi tüm süreçlerde her zaman yanınızdayız.'; ?>
                    </p>
                </div>
            </div>
        </div>
    </div>
</section>

<section class="tw-py-16 tw-bg-white tw-border-t tw-border-gray-100">
    <div class="container">
        <div class="tw-bg-gradient-to-r tw-from-blue-600 tw-via-indigo-600 tw-to-blue-800 tw-rounded-[2.5rem] tw-p-10 md:tw-p-16 tw-text-white tw-shadow-2xl tw-shadow-blue-500/20 d-flex flex-column flex-md-row align-items-center justify-content-between tw-relative tw-overflow-hidden">
            
            <div class="tw-absolute tw-inset-0 tw-opacity-20 tw-bg-[url('https://www.transparenttextures.com/patterns/cubes.png')]"></div>
            
            <div class="tw-mb-8 md:tw-mb-0 tw-relative tw-z-10 text-center text-md-start">
                <h2 class="tw-text-3xl md:tw-text-4xl tw-font-black tw-mb-3 tw-tracking-tight">Hayalinizdeki Evi Birlikte Bulalım</h2>
                <p class="tw-text-blue-100 tw-text-lg tw-font-medium tw-mb-0">Uzman ekibimizle tanışmak ve size özel fırsatları keşfetmek için iletişime geçin.</p>
            </div>
            
            <div class="d-flex tw-gap-4 tw-relative tw-z-10 flex-column flex-sm-row">
                <a href="<?php echo BASE_URL; ?>/contact" class="btn tw-bg-white hover:tw-bg-gray-50 tw-text-blue-700 tw-font-bold tw-py-4 tw-px-8 tw-rounded-xl tw-shadow-lg tw-transition-all hover:tw-scale-105">
                    Hemen Ulaşın
                </a>
                <a href="<?php echo BASE_URL; ?>/projects" class="btn tw-bg-blue-700/50 hover:tw-bg-blue-700 tw-border tw-border-blue-400/50 tw-text-white tw-font-bold tw-py-4 tw-px-8 tw-rounded-xl tw-backdrop-blur-sm tw-transition-all hover:tw-scale-105">
                    Projeleri İncele
                </a>
            </div>
        </div>
    </div>
</section>

<?php require_once __DIR__ . '/../layouts/footer.php'; ?>