@extends('layouts.app')

@section('title', 'SEO Services | DIGITAL STUDIO2')

@push('styles')
    <style>
        .seo-metrics {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 1.5rem;
            margin: 2rem 0;
        }

        .metric-card {
            background: white;
            border-radius: var(--radius-lg);
            padding: 1.5rem;
            text-align: center;
            border: 1px solid var(--border-subtle);
            transition: all var(--transition-normal);
        }

        .metric-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
            border-color: var(--primary-500);
        }

        .metric-value {
            font-family: 'Sora', sans-serif;
            font-size: 2.5rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            line-height: 1;
            margin-bottom: 0.5rem;
        }

        .metric-label {
            font-size: 0.875rem;
            color: var(--text-500);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            font-weight: 600;
        }

        .seo-process {
            position: relative;
        }

        .process-timeline {
            position: relative;
            padding-left: 2rem;
        }

        .process-timeline::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 2px;
            background: var(--primary-500);
        }

        .process-step {
            position: relative;
            padding: 1.5rem 0 1.5rem 2rem;
        }

        .process-step::before {
            content: '';
            position: absolute;
            left: -0.5rem;
            top: 2rem;
            width: 1rem;
            height: 1rem;
            background: var(--primary-500);
            border-radius: var(--radius-full);
            border: 3px solid white;
            box-shadow: 0 0 0 3px var(--primary-500);
        }
    </style>
@endpush

@section('content')
    <!-- Hero Section -->
    <section class="service-hero">
        <div class="container">
            <div class="row justify-content-center">
                <div class="col-lg-10 text-center">
                    <div class="service-hero-content text-white">
                        <span class="badge bg-primary-100 text-primary mb-3 px-3 py-2 rounded-pill">
                            <i class="fas fa-search me-2"></i> Search Engine Optimisation
                        </span>
                        <h1 class="display-3 fw-bold mb-4 text-white">
                            Innovative SEO <br>
                            <span class="text-gradient">Services</span>
                        </h1>
                        <p class="lead mb-5 mx-auto" style="max-width: 800px;">
                            Boost your online visibility and drive high-quality traffic with DIGITAL STUDIO2's expert SEO
                            services.
                            We implement proven strategies, keyword research, and on-page optimisation to help your business
                            rank higher on search engines, generate more leads, and grow revenue efficiently.
                        </p>
                        <div class="d-flex flex-wrap gap-3 justify-content-center">
                            <a href="{{ route('contact') }}" class="btn btn-primary btn-lg">
                                <i class="fas fa-calendar me-2"></i>
                                Request Free Audit
                            </a>
                            <a href="#services" class="btn btn-outline-light btn-lg">
                                <i class="fas fa-chart-line me-2"></i>
                                View Services
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Metrics Section -->
    <section class="service-section">
        <div class="container">
            <div class="seo-metrics">
                <div class="metric-card">
                    <div class="metric-value">300%</div>
                    <div class="metric-label">Traffic Increase</div>
                </div>
                <div class="metric-card">
                    <div class="metric-value">95%</div>
                    <div class="metric-label">Keyword Ranking</div>
                </div>
                <div class="metric-card">
                    <div class="metric-value">24/7</div>
                    <div class="metric-label">Monitoring</div>
                </div>
                <div class="metric-card">
                    <div class="metric-value">50%</div>
                    <div class="metric-label">ROI Boost</div>
                </div>
            </div>
        </div>
    </section>

    <!-- Services Section -->
    <section id="services" class="service-section bg-light">
        <div class="container">
            <div class="text-center mb-5">
                <span class="badge bg-primary-100 text-primary mb-3 px-3 py-2 rounded-pill">
                    Our Services
                </span>
                <h2 class="mb-4">SEO <br><span class="text-gradient">Strategies</span></h2>
                <p class="text-muted mx-auto" style="max-width: 800px;">
                    Comprehensive SEO solutions to improve your search engine rankings and drive organic traffic.
                </p>
            </div>

            <div class="row g-4">
                <!-- On-Page SEO -->
                <div class="col-lg-8">
                    <div class="service-card">
                        <div class="service-icon">
                            <i class="fas fa-file-alt"></i>
                        </div>
                        <h4 class="fw-bold mb-3">On-Page SEO</h4>
                        <p class="text-muted mb-4">
                            Optimise your website content, structure, and metadata with our expert On-Page SEO services.
                            From keyword-rich headings and content optimisation to internal linking and mobile
                            responsiveness.
                        </p>
                        <div class="d-flex flex-wrap gap-2 mb-4">
                            <span class="badge bg-primary-100 text-primary px-3 py-2">
                                <i class="fas fa-key me-1"></i> Keyword Optimisation
                            </span>
                            <span class="badge bg-primary-100 text-primary px-3 py-2">
                                <i class="fas fa-sitemap me-1"></i> Site Structure
                            </span>
                            <span class="badge bg-primary-100 text-primary px-3 py-2">
                                <i class="fas fa-tags me-1"></i> Meta Tags
                            </span>
                            <span class="badge bg-primary-100 text-primary px-3 py-2">
                                <i class="fas fa-link me-1"></i> Internal Linking
                            </span>
                        </div>
                        <a href="{{ route('contact') }}" class="text-primary fw-semibold d-flex align-items-center gap-2">
                            Get On-Page SEO
                            <i class="fas fa-arrow-right"></i>
                        </a>
                    </div>
                </div>

                <div class="col-lg-4">
                    <div class="row g-4 h-100">
                        <!-- Off-Page SEO -->
                        <div class="col-12">
                            <div class="service-card h-100">
                                <div class="service-icon">
                                    <i class="fas fa-globe"></i>
                                </div>
                                <h4 class="fw-bold mb-3">Off-Page SEO</h4>
                                <p class="text-muted mb-4">
                                    Strengthen your online authority and build trust with effective Off-Page SEO.
                                    Quality backlinks, and strategic outreach.
                                </p>
                            </div>
                        </div>

                        <!-- CTA Card -->
                        <div class="col-12">
                            <div class="service-card bg-primary text-white">
                                <h4 class="fw-bold mb-3">Hire SEO Strategist</h4>
                                <p class="text-light opacity-90 mb-4">
                                    Get dedicated SEO experts for your project.
                                </p>
                                <a href="{{ route('contact') }}" class="btn btn-light btn-lg w-100 fw-bold">
                                    Get Started
                                </a>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- Technical SEO -->
                <div class="col-12">
                    <div class="service-card">
                        <div class="row align-items-center">
                            <div class="col-lg-5 mb-4 mb-lg-0">
                                <img src="{{ asset('assets/SEO Service (2).png') }}" alt="Technical SEO"
                                    class="img-fluid rounded-3 shadow"
                                    onerror="this.src='https://images.unsplash.com/photo-1460925895917-afdab827c52f?q=80&w=2015&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D'">
                            </div>
                            <div class="col-lg-7">
                                <h4 class="fw-bold mb-3">Technical SEO</h4>
                                <p class="text-muted mb-4">
                                    Improve site speed, crawlability, and overall technical performance with our Technical
                                    SEO
                                    solutions. We optimise your website architecture, fix indexing issues, implement
                                    structured
                                    data, and ensure seamless accessibility for both users and search engines.
                                </p>
                                <div class="d-flex flex-wrap gap-2">
                                    <span class="badge bg-primary-100 text-primary px-3 py-2">
                                        <i class="fas fa-tachometer-alt me-1"></i> Site Speed
                                    </span>
                                    <span class="badge bg-primary-100 text-primary px-3 py-2">
                                        <i class="fas fa-mobile-alt me-1"></i> Mobile Optimisation
                                    </span>
                                    <span class="badge bg-primary-100 text-primary px-3 py-2">
                                        <i class="fas fa-sitemap me-1"></i> Site Architecture
                                    </span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Search Platforms -->
    <section class="service-section">
        <div class="container">
            <div class="text-center mb-5">
                <span class="badge bg-primary-100 text-primary mb-3 px-3 py-2 rounded-pill">
                    Platforms
                </span>
                <h2 class="mb-4">Search <br><span class="text-gradient">Platforms</span></h2>
                <p class="text-muted mx-auto" style="max-width: 800px;">
                    We optimise your presence across all major search engines to maximise your visibility.
                </p>
            </div>

            <div class="row g-4">
                <div class="col-6 col-md-3">
                    <div class="service-card text-center h-100">
                        <div class="service-icon mx-auto">
                            <i class="fab fa-google"></i>
                        </div>
                        <h5 class="fw-bold mb-3">Google</h5>
                        <p class="text-muted small">World's largest search engine</p>
                    </div>
                </div>
                <div class="col-6 col-md-3">
                    <div class="service-card text-center h-100">
                        <div class="service-icon mx-auto">
                            <i class="fab fa-microsoft"></i>
                        </div>
                        <h5 class="fw-bold mb-3">Bing</h5>
                        <p class="text-muted small">Microsoft's search engine</p>
                    </div>
                </div>
                <div class="col-6 col-md-3">
                    <div class="service-card text-center h-100">
                        <div class="service-icon mx-auto">
                            <i class="fas fa-search"></i>
                        </div>
                        <h5 class="fw-bold mb-3">Yahoo</h5>
                        <p class="text-muted small">Established search platform</p>
                    </div>
                </div>
                <div class="col-6 col-md-3">
                    <div class="service-card text-center h-100">
                        <div class="service-icon mx-auto">
                            <i class="fas fa-globe"></i>
                        </div>
                        <h5 class="fw-bold mb-3">Yandex</h5>
                        <p class="text-muted small">Leading Russian search engine</p>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Process Section -->
    <section class="service-section bg-light">
        <div class="container">
            <div class="text-center mb-5">
                <span class="badge bg-primary-100 text-primary mb-3 px-3 py-2 rounded-pill">
                    Our Process
                </span>
                <h2 class="mb-4">SEO <br><span class="text-gradient">Process</span></h2>
                <p class="text-muted mx-auto" style="max-width: 800px;">
                    Our systematic approach to SEO ensures sustainable growth and measurable results.
                </p>
            </div>

            <div class="seo-process">
                <div class="process-timeline">
                    <div class="process-step">
                        <h5 class="fw-bold mb-2">SEO Audit & Analysis</h5>
                        <p class="text-muted mb-0">Comprehensive website analysis to identify opportunities and issues.</p>
                    </div>
                    <div class="process-step">
                        <h5 class="fw-bold mb-2">Keyword Research</h5>
                        <p class="text-muted mb-0">Identifying high-value keywords with optimal search volume and
                            competition.</p>
                    </div>
                    <div class="process-step">
                        <h5 class="fw-bold mb-2">On-Page Optimisation</h5>
                        <p class="text-muted mb-0">Optimising content, meta tags, headings, and internal linking structure.
                        </p>
                    </div>
                    <div class="process-step">
                        <h5 class="fw-bold mb-2">Technical SEO</h5>
                        <p class="text-muted mb-0">Improving site speed, mobile optimisation, and fixing technical issues.
                        </p>
                    </div>
                    <div class="process-step">
                        <h5 class="fw-bold mb-2">Content Strategy</h5>
                        <p class="text-muted mb-0">Creating and optimising valuable content that attracts and engages users.
                        </p>
                    </div>
                    <div class="process-step">
                        <h5 class="fw-bold mb-2">Link Building</h5>
                        <p class="text-muted mb-0">Acquiring high-quality backlinks to improve domain authority.</p>
                    </div>
                    <div class="process-step">
                        <h5 class="fw-bold mb-2">Monitoring & Reporting</h5>
                        <p class="text-muted mb-0">Tracking performance and providing regular progress reports.</p>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- CTA Section -->
    <section class="service-cta">
        <div class="cta-pattern"></div>
        <div class="container">
            <div class="row justify-content-center">
                <div class="col-lg-8 text-center" data-aos="fade-up">
                    <div class="service-cta-content">
                        <h2 class="display-5 fw-bold mb-4">Ready to Rank Higher?</h2>
                        <p class="lead mb-5 text-light opacity-90">
                            Let's optimise your website and drive more organic traffic to your business.
                        </p>

                        <div class="d-flex flex-wrap gap-3 justify-content-center">
                            <a href="{{ route('contact') }}" class="btn btn-primary btn-lg">
                                <i class="fas fa-calendar me-2"></i>
                                Get Free SEO Audit
                            </a>
                            <a href="{{ route('packages') }}" class="btn btn-outline-light btn-lg">
                                <i class="fas fa-tags me-2"></i>
                                View SEO Packages
                            </a>
                        </div>

                        <p class="mt-4 mb-0 text-light opacity-75">
                            <i class="fas fa-chart-line me-1"></i> See results in 30-60 days
                        </p>
                    </div>
                </div>
            </div>
        </div>
    </section>
@endsection