@extends('layouts.kontak')

@section('content')
<div class="contact-header text-center text-white py-4 mb-4">
    <h1 class="fw-bold mb-2">Kontak & Lokasi Bakorwil III Malang</h1>
    <p class="mb-0">Informasi kontak dan peta lokasi resmi</p>
</div>

<div class="container py-4">
    <div class="row justify-content-center g-4">
        <div class="col-lg-6">
            <div class="contact-card h-100">
                <h3 class="fw-bold mb-3">
                    <i class="bi bi-telephone-fill me-2 text-primary"></i>Kontak
                </h3>
                <p><i class="bi bi-telephone me-2 text-secondary"></i>Telepon/WA: 085134791603</p>
                <p><i class="bi bi-envelope me-2 text-secondary"></i>
                    Email: 
                    <a href="mailto:bakorwil3malang@gmail.com" class="text-decoration-none text-primary">
                        arsiptubakorwil@gmail.com
                    </a>
                </p>
                <p><i class="bi bi-globe me-2 text-secondary"></i>
                    Website: 
                    <a href="https://bakorwilmalang.jatimprov.go.id" target="_blank" class="text-decoration-none text-primary">
                        bakorwilmalang.jatimprov.go.id
                    </a>
                </p>
                <p><i class="bi bi-geo-alt-fill me-2 text-secondary"></i>
                    Alamat: Jl. Simpang Ijen No.2, Kota Malang, Jawa Timur
                </p>
            </div>
        </div>

        <div class="col-lg-6">
            <div class="contact-card h-100">
                <h3 class="fw-bold mb-3">
                    <i class="bi bi-geo-alt me-2 text-primary"></i>Peta Lokasi
                </h3>
                <div class="map-container">
                    <iframe 
                        src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3951.3496328766115!2d112.63001927453488!3d-7.980644292023594!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x2dd629e924a3502b%3A0xc023c023d6a911a!2sBakorwil%20III%20Malang!5e0!3m2!1sen!2sid!4v1708567789572!5m2!1sen!2sid" 
                        allowfullscreen 
                        loading="lazy">
                    </iframe>
                </div>
            </div>
        </div>
    </div>
</div>

<style>
body {
    background: #f8f9fa !important;
    font-family: 'Inter', sans-serif;
}
.contact-header {
    background: linear-gradient(to right, #ff9800, #ffb74d);
    border-radius: 12px;
}
.contact-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    padding: 30px;
    transition: all 0.3s ease;
}
.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.map-container {
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
    width: 100%;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
</style>
@endsection
