<!DOCTYPE html>
<html lang="id">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>BRC Hotdip Solutions - Pagar Berkualitas & Tahan Lama</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
    <style>
        :root {
            --navy-dark: #0B2545;
            --navy-medium: #134074;
            --charcoal: #1D2D44;
            --gold: #C5A059;
            --light-bg: #F4F6F9;
        }
        body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: #333; }
        .bg-navy-dark { background-color: var(--navy-dark); }
        .text-gold { color: var(--gold); }
        .btn-gold { background-color: var(--gold); color: #fff; border: none; }
        .btn-gold:hover { background-color: #b38f4b; color: #fff; }
        .btn-outline-gold { border: 2px solid var(--gold); color: #fff; background: transparent; }
        .btn-outline-gold:hover { background-color: var(--gold); color: #fff; }
        
        /* Navbar Styling */
        .navbar .nav-link { color: var(--charcoal); font-weight: 600; }
        .navbar .nav-link:hover { color: var(--navy-medium); }
        
        /* Hero Section */
        .hero-section {
            background: linear-gradient(rgba(11, 37, 69, 0.8), rgba(29, 45, 68, 0.85)), url('https://images.unsplash.com/photo-1584622650111-993a426fbf0a?q=80&w=1200') no-repeat center center/cover;
            padding: 140px 0;
            color: #fff;
        }
        
        /* Keunggulan Card */
        .keunggulan-card {
            background-color: var(--navy-dark);
            color: #fff;
            border-radius: 8px;
            padding: 20px;
            height: 100%;
        }
        .icon-box {
            background-color: var(--gold);
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            margin-right: 15px;
            color: #fff;
            font-size: 1.5rem;
        }

        /* Hubungi Kami Section */
        .contact-section { background-color: #1a1a1a; color: #fff; padding: 60px 0; }
        .contact-section input, .contact-section textarea {
            background-color: #2b2b2b;
            border: 1px solid #444;
            color: #fff;
        }
        .contact-section input:focus, .contact-section textarea:focus {
            background-color: #333;
            border-color: var(--gold);
            color: #fff;
            box-shadow: none;
        }
        .whatsapp-float {
        position: fixed; width: 60px; height: 60px; bottom: 40px; right: 40px;
        background-color: #25d366; color: #FFF; border-radius: 50px;
        text-align: center; font-size: 35px; box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
        z-index: 100; display: flex; align-items: center; justify-content: center;
        text-decoration: none; animation: pulse 2s infinite;
        }
        footer { background-color: #111; color: #aaa; padding: 20px 0; font-size: 0.9rem; }
    </style>
</head>
<body>

    <nav class="navbar navbar-expand-lg navbar-light bg-white sticky-top shadow-sm">
        <div class="container">
            <a class="navbar-brand d-flex align-items-center" href="#">
                <strong class="text-navy-dark fs-3">BRC</strong>
                <span class="ms-2 text-gold text-uppercase tracking-wider font-monospace" style="font-size:0.75rem; line-height:1; display:block;">HOTDIP<br>SOLUTIONS</span>
            </a>
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
                <span class="navbar-toggler-side-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarNav">
                <ul class="navbar-nav ms-auto align-items-center">
                    <li class="nav-item"><a class="nav-link mx-2" href="#">HOME</a></li>
                    <li class="nav-item"><a class="nav-link mx-2" href="<?= base_url('about_page') ?>">TENTANG KAMI</a></li>
                    <li class="nav-item"><a class="nav-link mx-2" href="#produk">PRODUK BRC</a></li>
                    <li class="nav-item"><a class="nav-link mx-2" href="#proyek">GALERI PROYEK</a></li>
                    <li class="nav-item"><a class="nav-link mx-2" href="#kontak">KONTAK</a></li>
                    <li class="nav-item ms-2"><a class="btn btn-gold px-4 rounded-1" href="#kontak">DAPATKAN PENAWARAN GRATIS</a></li>
                </ul>
            </div>
        </div>
    </nav>

    <section class="hero-section text-center text-md-start">
        <div class="container">
            <div class="row">
                <div class="col-md-8 col-lg-7">
                    <h1 class="display-5 fw-bold mb-4 tracking-tight">PAGAR BRC HOTDIP BERKUALITAS: KEAMANAN & DAYA TAHAN UNTUK INVESTASI ANDA.</h1>
                    <div class="d-flex flex-wrap gap-3 mt-4">
                        <a href="#produk" class="btn btn-primary bg-navy-dark border-0 px-4 py-2.5 rounded-1">LIHAT PRODUK KAMI</a>
                        <a href="#kontak" class="btn btn-outline-gold px-4 py-2.5 rounded-1">KONSULTASI GRATIS</a>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <section class="py-5 bg-white" id="tentang">
        <div class="container py-4">
            <h2 class="text-center fw-bold text-navy-dark mb-5 text-uppercase">Keunggulan Hotdip BRC</h2>
            <div class="row g-4">
                <div class="col-md-6">
                    <div class="keunggulan-card d-flex align-items-start">
                        <div class="icon-box"><i class="fa-solid col-icon fa-shield-halved"></i></div>
                        <div>
                            <h5 class="fw-bold mb-1">1. Anti Karat Maksimal</h5>
                            <p class="mb-0 text-white-50 sm-text">Proses Galvanisasi Celup Panas, Tahan Cuaca Ekstrem</p>
                        </div>
                    </div>
                </div>
                <div class="col-md-6">
                    <div class="keunggulan-card d-flex align-items-start">
                        <div class="icon-box"><i class="fa-solid col-icon fa-cubes"></i></div>
                        <div>
                            <h5 class="fw-bold mb-1">2. Kuat & Kokoh</h5>
                            <p class="mb-0 text-white-50 sm-text">Struktur Baja Berkualitas Tinggi, Tidak Mudah Bengkok</p>
                        </div>
                    </div>
                </div>
                <div class="col-md-6">
                    <div class="keunggulan-card d-flex align-items-start">
                        <div class="icon-box"><i class="fa-solid col-icon fa-hourglass-high"></i></div>
                        <div>
                            <h5 class="fw-bold mb-1">3. Tahan Lama</h5>
                            <p class="mb-0 text-white-50 sm-text">Garansi Bertahun-tahun, Hemat Biaya Perawatan</p>
                        </div>
                    </div>
                </div>
                <div class="col-md-6">
                    <div class="keunggulan-card d-flex align-items-start">
                        <div class="icon-box"><i class="fa-solid col-icon fa-wand-magic-sparkles"></i></div>
                        <div>
                            <h5 class="fw-bold mb-1">4. Estetika Modern</h5>
                            <p class="mb-0 text-white-50 sm-text">Tampilan Bersih & Minimalis, Cocok untuk Berbagai Properti</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <section class="py-5 bg-light" id="produk">
        <div class="container py-3">
            <h2 class="text-center fw-bold text-navy-dark mb-5 text-uppercase">Produk Unggulan</h2>
            <div class="row g-4">
                <div class="col-md-4">
                    <div class="card h-100 border-0 shadow-sm rounded-3 overflow-hidden">
                        <img src="https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?q=80&w=400" class="card-img-top" style="height:200px; object-fit:cover;" alt="Tipe A">
                        <div class="card-body p-4">
                            <h5 class="fw-bold text-navy-dark">Pagar BRC Hotdip Tipe A</h5>
                            <ul class="text-muted ps-3 mt-3 sm-text">
                                <li>Proses Galvanisasi Celup Panas</li>
                                <li>Tahan Cuaca Ekstrem</li>
                                <li>Cocok Kemiringan: 581mm</li>
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="col-md-4">
                    <div class="card h-100 border-0 shadow-sm rounded-3 overflow-hidden">
                        <img src="https://images.unsplash.com/photo-1513694203232-719a280e022f?q=80&w=400" class="card-img-top" style="height:200px; object-fit:cover;" alt="Tipe B">
                        <div class="card-body p-4">
                            <h5 class="fw-bold text-navy-dark">Pagar BRC Hotdip Tipe B</h5>
                            <ul class="text-muted ps-3 mt-3 sm-text">
                                <li>Struktur Kuat</li>
                                <li>Berkualitas Tinggi</li>
                                <li>Cocok Kemiringan: 310mm</li>
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="col-md-4">
                    <div class="card h-100 border-0 shadow-sm rounded-3 overflow-hidden">
                        <img src="https://images.unsplash.com/photo-1558036117-15d82a90b9b1?q=80&w=400" class="card-img-top" style="height:200px; object-fit:cover;" alt="Pintu BRC">
                        <div class="card-body p-4">
                            <h5 class="fw-bold text-navy-dark">Pintu BRC Hotdip</h5>
                            <ul class="text-muted ps-3 mt-3 sm-text">
                                <li>Struktur Baja</li>
                                <li>Berkualitas Tinggi</li>
                                <li>Cocok Namun: 200mm</li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <section class="py-5 bg-white" id="proyek">
        <div class="container py-3">
            <h2 class="text-center fw-bold text-navy-dark mb-5 text-uppercase">Dokumentasi Proyek</h2>
            <div class="row g-4">
                <div class="col-6 col-md-3 text-center">
                    <img src="https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?q=80&w=300" class="img-fluid rounded-3 mb-2 shadow-sm" alt="Warehouse">
                    <h6 class="fw-bold mt-2">Warehouse Proyek</h6>
                </div>
                <div class="col-6 col-md-3 text-center">
                    <img src="https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=300" class="img-fluid rounded-3 mb-2 shadow-sm" alt="Offices">
                    <h6 class="fw-bold mt-2">Offices in Proyek</h6>
                </div>
                <div class="col-6 col-md-3 text-center">
                    <img src="https://images.unsplash.com/photo-1600585154340-be6161a56a0c?q=80&w=300" class="img-fluid rounded-3 mb-2 shadow-sm" alt="Residential">
                    <h6 class="fw-bold mt-2">Residential Proyek</h6>
                </div>
                <div class="col-6 col-md-3 text-center">
                    <img src="https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?q=80&w=300" class="img-fluid rounded-3 mb-2 shadow-sm" alt="Parentiles">
                    <h6 class="fw-bold mt-2">Residential Parentiles</h6>
                </div>
            </div>
        </div>
    </section>

    <section class="py-5 bg-light">
        <div class="container py-3">
            <h2 class="text-center fw-bold text-navy-dark mb-5 text-uppercase">Testimoni</h2>
            <div class="row justify-content-center">
                <div class="col-md-5">
                    <div class="card border-0 p-4 shadow-sm rounded-3 text-center">
                        <p class="fst-italic text-muted">"Pagar BRC Hotdip dari sini sangat tebal, kuat dan rapi pengerjaannya. Sangat direkomendasikan untuk keamanan pergudangan kami."</p>
                        <div class="mt-3">
                            <h6 class="fw-bold mb-0">Senia Sfaan</h6>
                            <small class="text-gold">Project Manager</small>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <section class="contact-section" id="kontak">
        <div class="container">
            <h2 class="text-center fw-bold text-uppercase text-white mb-5">Hubungi Kami</h2>
            
            <?php if (session()->getFlashdata('success')): ?>
                <div class="alert alert-success border-0 rounded-1 text-center mb-4">
                    <?= session()->getFlashdata('success') ?>
                </div>
            <?php endif; ?>

            <?php if (session()->getFlashdata('errors')): ?>
                <div class="alert alert-danger border-0 rounded-1">
                    <ul class="mb-0">
                        <?php foreach (session()->getFlashdata('errors') as $error): ?>
                            <li><?= esc($error) ?></li>
                        <?php endforeach; ?>
                    </ul>
                </div>
            <?php endif; ?>

            <div class="row g-5">
                <div class="col-md-6">
                    <form action="<?= base_url('contact/submit') ?>" method="POST">
                        <?= csrf_field() ?>
                        <div class="mb-3">
                            <input type="text" class="form-control form-control-lg rounded-1 fs-6" name="name" placeholder="Nama" value="<?= old('name') ?>" required>
                        </div>
                        <div class="mb-3">
                            <input type="email" class="form-control form-control-lg rounded-1 fs-6" name="email" placeholder="Email" value="<?= old('email') ?>" required>
                        </div>
                        <div class="mb-3">
                            <textarea class="form-control form-control-lg rounded-1 fs-6" name="message" rows="4" placeholder="Pesan Anda" required><?= old('message') ?></textarea>
                        </div>
                        <button type="submit" class="btn btn-gold px-5 py-2.5 rounded-1 w-100 fw-bold">CONTACT</button>
                    </form>
                </div>
                
                <div class="col-md-6 d-flex flex-column justify-content-between">
                    <div class="mb-4">
                        <p class="mb-2 fs-5"><i class="fa-solid fa-phone text-gold me-3"></i> 081284140494</p>
                        <p class="mb-4 fs-5"><i class="fa-solid fa-envelope text-gold me-3"></i> info@pagarbrchotdip.com</p>
                    </div>
                    <div class="rounded-3 overflow-hidden shadow-sm flex-grow-1" style="min-height: 200px; background-color:#2b2b2b; position: relative;">
                        <iframe src="https://maps.google.com/maps?q=Jakarta&t=&z=13&ie=UTF8&iwloc=&output=embed" width="100%" height="100%" style="border:0; filter: grayscale(1) invert(0.9);" allowfullscreen="" loading="lazy"></iframe>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <footer class="text-center text-md-start">
        <div class="container">
            <div class="row align-items-center">
                <div class="col-md-6 mb-3 mb-md-0">
                    <span class="sm-text">&copy; 2026 BRC Hotdip Solutions. Powered by CodeIgniter 4.</span>
                </div>
                <div class="col-md-6 text-center text-md-end">
                    <a href="#" class="text-white mx-2"><i class="fa-brands fa-facebook-f"></i></a>
                    <a href="#" class="text-white mx-2"><i class="fa-brands fa-twitter"></i></a>
                    <a href="#" class="text-white mx-2"><i class="fa-brands fa-instagram"></i></a>
                    <a href="#" class="text-white mx-2"><i class="fa-brands fa-youtube"></i></a>
                </div>
            </div>
        </div>
    </footer>

    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bundle.min.js"></script>

    <a href="https://wa.me/6281284140494" class="whatsapp-float" target="_blank">
        <i class="fab fa-whatsapp"></i>
    </a>
</body>
</html>
