@extends('layouts.app')

@section('title', 'Contact Us - Edunetra')

@section('content')
<!-- Hero Section -->
<section class="bg-edunetra-dark text-white position-relative overflow-hidden">
    <div class="container py-5">
        <div class="row align-items-center min-vh-50">
            <div class="col-lg-8 mx-auto text-center">
                <div class="animate-fade-in">
                    <h1 class="display-3 fw-bold mb-4 text-gradient">Hubungi Kami</h1>
                    <p class="lead mb-4 opacity-75">
                        Kami siap membantu Anda dalam perjalanan pendidikan inklusif
                    </p>
                    <div class="d-flex justify-content-center gap-3 flex-wrap">
                        <span class="badge bg-edunetra-yellow text-dark px-3 py-2 fs-6">
                            <i class="bi bi-telephone me-1"></i> Responsive Support
                        </span>
                        <span class="badge bg-light text-dark px-3 py-2 fs-6">
                            <i class="bi bi-clock me-1"></i> Quick Response
                        </span>
                        <span class="badge bg-edunetra-yellow text-dark px-3 py-2 fs-6">
                            <i class="bi bi-heart me-1"></i> Friendly Service
                        </span>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- Decorative Elements -->
    <div class="position-absolute top-0 end-0 opacity-10">
        <i class="bi bi-envelope display-1"></i>
    </div>
    <div class="position-absolute bottom-0 start-0 opacity-10">
        <i class="bi bi-telephone display-1"></i>
    </div>
</section>

<!-- Contact Information Section -->
<section class="section-padding bg-light">
    <div class="container">
        <div class="row justify-content-center mb-5">
            <div class="col-lg-8 text-center">
                <h2 class="display-5 fw-bold mb-4">Informasi Kontak</h2>
                <p class="lead text-muted">
                    Temukan berbagai cara untuk menghubungi tim Edunetra
                </p>
            </div>
        </div>

        <div class="row g-4">
            <!-- Email Contact -->
            <div class="col-lg-6 col-md-6">
                <div class="card border-0 shadow-sm h-100 contact-card">
                    <div class="card-body p-5 text-center">
                        <div class="bg-primary bg-opacity-10 rounded-circle d-inline-flex align-items-center justify-content-center mb-4" style="width: 80px; height: 80px;">
                            <i class="bi bi-envelope-fill text-primary fs-2"></i>
                        </div>
                        <h4 class="fw-bold mb-3">Email</h4>
                        <div class="mb-3">
                            <p class="text-muted mb-2">General Inquiries:</p>
                            <a href="mailto:info@edunetra.id" class="text-decoration-none fw-semibold text-primary">
                                info@edunetra.id
                            </a>
                        </div>
                        <div>
                            <p class="text-muted mb-2">Technical Support:</p>
                            <a href="mailto:support@edunetra.id" class="text-decoration-none fw-semibold text-primary">
                                support@edunetra.id
                            </a>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Phone Contact -->
            <div class="col-lg-6 col-md-6">
                <div class="card border-0 shadow-sm h-100 contact-card">
                    <div class="card-body p-5 text-center">
                        <div class="bg-success bg-opacity-10 rounded-circle d-inline-flex align-items-center justify-content-center mb-4" style="width: 80px; height: 80px;">
                            <i class="bi bi-telephone-fill text-success fs-2"></i>
                        </div>
                        <h4 class="fw-bold mb-3">Telepon</h4>
                        <div class="mb-3">
                            <p class="text-muted mb-2">Main Office:</p>
                            <a href="tel:+62123456789" class="text-decoration-none fw-semibold text-success">
                                +62 123 456 789
                            </a>
                        </div>
                        <div>
                            <p class="text-muted mb-2">WhatsApp:</p>
                            <a href="https://wa.me/62987654321" class="text-decoration-none fw-semibold text-success" target="_blank">
                                +62 987 654 321
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>

<!-- Detailed Contact Information -->
<section class="section-padding bg-white">
    <div class="container">
        <div class="row g-5">
            <!-- Office Address -->
            <div class="col-lg-4">
                <div class="card border-0 shadow-sm h-100">
                    <div class="card-body p-4">
                        <div class="d-flex align-items-center mb-4">
                            <div class="bg-warning bg-opacity-10 rounded-circle d-flex align-items-center justify-content-center me-3" style="width: 60px; height: 60px;">
                                <i class="bi bi-geo-alt-fill text-warning fs-4"></i>
                            </div>
                            <h4 class="fw-bold mb-0">Alamat Kantor</h4>
                        </div>
                        <address class="text-muted mb-4">
                            <strong>Edunetra Indonesia</strong><br>
                            Jl. Pendidikan Inklusif No. 123<br>
                            Kebayoran Baru<br>
                            Jakarta Selatan 12345<br>
                            Indonesia
                        </address>
                        <a href="https://maps.google.com" target="_blank" class="btn btn-outline-warning btn-sm">
                            <i class="bi bi-map me-1"></i> Lihat di Maps
                        </a>
                    </div>
                </div>
            </div>

            <!-- Office Hours -->
            <div class="col-lg-4">
                <div class="card border-0 shadow-sm h-100">
                    <div class="card-body p-4">
                        <div class="d-flex align-items-center mb-4">
                            <div class="bg-info bg-opacity-10 rounded-circle d-flex align-items-center justify-content-center me-3" style="width: 60px; height: 60px;">
                                <i class="bi bi-clock-fill text-info fs-4"></i>
                            </div>
                            <h4 class="fw-bold mb-0">Jam Operasional</h4>
                        </div>
                        <div class="schedule-list">
                            <div class="d-flex justify-content-between mb-2">
                                <span class="text-muted">Senin - Jumat:</span>
                                <span class="fw-semibold">08:00 - 17:00</span>
                            </div>
                            <div class="d-flex justify-content-between mb-2">
                                <span class="text-muted">Sabtu:</span>
                                <span class="fw-semibold">09:00 - 14:00</span>
                            </div>
                            <div class="d-flex justify-content-between mb-3">
                                <span class="text-muted">Minggu:</span>
                                <span class="text-danger fw-semibold">Tutup</span>
                            </div>
                            <small class="text-muted">
                                <i class="bi bi-info-circle me-1"></i>
                                Waktu Indonesia Barat (WIB)
                            </small>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Social Media & Quick Links -->
            <div class="col-lg-4">
                <div class="card border-0 shadow-sm h-100">
                    <div class="card-body p-4">
                        <div class="d-flex align-items-center mb-4">
                            <div class="bg-edunetra-yellow bg-opacity-75 rounded-circle d-flex align-items-center justify-content-center me-3" style="width: 60px; height: 60px;">
                                <i class="bi bi-share-fill text-dark fs-4"></i>
                            </div>
                            <h4 class="fw-bold mb-0">Media Sosial</h4>
                        </div>
                        <div class="social-links mb-4">
                            <a href="#" class="btn btn-outline-primary btn-sm me-2 mb-2">
                                <i class="bi bi-facebook me-1"></i> Facebook
                            </a>
                            <a href="#" class="btn btn-outline-info btn-sm me-2 mb-2">
                                <i class="bi bi-twitter me-1"></i> Twitter
                            </a>
                            <a href="#" class="btn btn-outline-danger btn-sm me-2 mb-2">
                                <i class="bi bi-instagram me-1"></i> Instagram
                            </a>
                            <a href="#" class="btn btn-outline-dark btn-sm me-2 mb-2">
                                <i class="bi bi-linkedin me-1"></i> LinkedIn
                            </a>
                        </div>
                        <div class="quick-links">
                            <h6 class="fw-bold mb-3">Quick Links:</h6>
                            <div class="d-grid gap-2">
                                <a href="{{ route('courses.public') }}" class="btn btn-outline-secondary btn-sm">
                                    <i class="bi bi-book me-1"></i> Jelajahi Kursus
                                </a>
                                <a href="{{ route('about') }}" class="btn btn-outline-secondary btn-sm">
                                    <i class="bi bi-info-circle me-1"></i> Tentang Kami
                                </a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>

<!-- Response Time Information -->
<section class="section-padding bg-light">
    <div class="container">
        <div class="row justify-content-center">
            <div class="col-lg-10">
                <div class="card border-0 shadow-lg">
                    <div class="card-body p-5">
                        <div class="row align-items-center">
                            <div class="col-lg-8">
                                <h3 class="fw-bold mb-3">Waktu Respon Kami</h3>
                                <p class="text-muted mb-4">
                                    Tim Edunetra berkomitmen untuk memberikan respon yang cepat dan membantu untuk setiap pertanyaan Anda.
                                </p>
                                <div class="row g-3">
                                    <div class="col-md-6">
                                        <div class="d-flex align-items-center">
                                            <div class="bg-success bg-opacity-10 rounded-circle p-2 me-3">
                                                <i class="bi bi-envelope-check text-success"></i>
                                            </div>
                                            <div>
                                                <div class="fw-semibold">Email</div>
                                                <small class="text-muted">Dalam 24 jam</small>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-6">
                                        <div class="d-flex align-items-center">
                                            <div class="bg-primary bg-opacity-10 rounded-circle p-2 me-3">
                                                <i class="bi bi-telephone-fill text-primary"></i>
                                            </div>
                                            <div>
                                                <div class="fw-semibold">Telepon</div>
                                                <small class="text-muted">Langsung tersedia</small>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="col-lg-4 text-center">
                                <div class="bg-edunetra-yellow bg-opacity-25 rounded-circle d-inline-flex align-items-center justify-content-center" style="width: 120px; height: 120px;">
                                    <i class="bi bi-headset display-4 text-edunetra-dark"></i>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>

<!-- Call to Action -->
<section class="section-padding bg-edunetra-dark text-white position-relative overflow-hidden">
    <div class="container">
        <div class="row justify-content-center">
            <div class="col-lg-8 text-center">
                <div class="mb-4">
                    <i class="bi bi-chat-heart-fill text-edunetra-yellow display-4 animate-bounce"></i>
                </div>
                <h2 class="display-5 fw-bold mb-4">Siap Memulai Perjalanan Belajar?</h2>
                <p class="lead mb-5 opacity-75">
                    Jangan ragu untuk menghubungi kami. Tim Edunetra siap membantu Anda menemukan
                    program pembelajaran yang tepat dan mendukung perjalanan pendidikan inklusif Anda.
                </p>

                <div class="d-flex flex-wrap justify-content-center gap-3 mb-5">
                    <a href="mailto:info@edunetra.id" class="btn btn-edunetra btn-lg px-5 py-3">
                        <i class="bi bi-envelope me-2"></i>
                        Kirim Email
                    </a>
                    <a href="tel:+62123456789" class="btn btn-outline-light btn-lg px-5 py-3">
                        <i class="bi bi-telephone me-2"></i>
                        Hubungi Sekarang
                    </a>
                </div>

                <div class="row g-3 justify-content-center">
                    <div class="col-auto">
                        <div class="d-flex align-items-center text-light opacity-75">
                            <i class="bi bi-check-circle-fill text-edunetra-yellow me-2"></i>
                            <small>Respon Cepat</small>
                        </div>
                    </div>
                    <div class="col-auto">
                        <div class="d-flex align-items-center text-light opacity-75">
                            <i class="bi bi-check-circle-fill text-edunetra-yellow me-2"></i>
                            <small>Tim Berpengalaman</small>
                        </div>
                    </div>
                    <div class="col-auto">
                        <div class="d-flex align-items-center text-light opacity-75">
                            <i class="bi bi-check-circle-fill text-edunetra-yellow me-2"></i>
                            <small>Layanan Inklusif</small>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- Decorative Elements -->
    <div class="position-absolute top-0 start-0 opacity-5">
        <i class="bi bi-chat-dots display-1"></i>
    </div>
    <div class="position-absolute bottom-0 end-0 opacity-5">
        <i class="bi bi-people display-1"></i>
    </div>
</section>
@endsection
