/* ========================================= */
/* 0. GLOBAL RESET & BASE                    */
/* ========================================= */
/* Import Font mirip Oliunid (Open Sans) */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

body {
    margin: 0;
    font-family: 'Open Sans', Helvetica, Arial, sans-serif; /* Font style Oliunid */
    background: #f4f4f4; /* Background sedikit lebih terang */
    color: #333;
    line-height: 1.6;
}

/* ========================================= */
/* 1. NAVBAR & HEADER                        */
/* ========================================= */
.navbar {
    background: #ffffff;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05); /* Shadow lebih halus */
    border-bottom: 2px solid #f36f21; /* Aksen garis oranye di bawah navbar */
}
.nav-left {
    display: flex;
    align-items: center;
    gap: 15px;
}
.logo {
    width: 45px; 
    height: 45px;
    object-fit: contain;
}
.brand {
    font-size: 24px;
    font-weight: 800; /* Lebih tebal */
    color: #333;
    text-transform: uppercase; /* Gaya outdoor biasanya uppercase */
    letter-spacing: 0.5px;
}
.nav-right {
    display: flex;
    gap: 10px; 
    align-items: center;
}
/* Tombol Marketplace di Navbar */
.btn-marketplace {
    background: #fff;
    color: #555;
    border: 1px solid #ddd;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.btn-marketplace:hover {
    background: #f36f21; /* Hover jadi oranye */
    color: white;
    border-color: #f36f21;
}
/* Khusus icon marketplace agar warnanya sesuai brand saat tidak dihover */
.btn-marketplace i { color: #f36f21; } 
.btn-marketplace:hover i { color: white; }


/* ========================================= */
/* 2. BANNER STYLING                         */
/* ========================================= */
.banner {
    position: relative;
    width: 100%; /* Full width container tapi max-width diatur */
    max-width: 1200px;
    margin: 20px auto 40px auto;
    height: 400px; /* Sedikit lebih tinggi */
    overflow: hidden;
    border-radius: 0; /* Oliunid cenderung kotak/tegas */
    box-shadow: none;
}
.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.banner-text {
    position: absolute;
    bottom: 40px; /* Pindah ke bawah kiri ala majalah outdoor */
    left: 40px;
    top: auto;
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 30px;
    border-left: 5px solid #f36f21; /* Aksen oranye */
}
.banner-text h1 {
    font-size: 2.2em;
    margin: 0 0 10px 0;
    font-weight: 800;
    text-transform: uppercase;
}
.banner-text p {
    font-size: 1em;
    margin-bottom: 20px;
    font-weight: 400;
}
.btn-banner {
    display: inline-block;
    padding: 10px 25px;
    background: #f36f21; /* Oranye Oliunid */
    color: #fff;
    border-radius: 0; /* Kotak tegas */
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    transition: background 0.3s;
}
.btn-banner:hover {
    background: #d15b18;
}


/* ========================================= */
/* 3. PRODUK, SEARCH & GRID                  */
/* ========================================= */
.produk-section {
    width: 90%;
    max-width: 1200px;
    margin: 30px auto;
}
.section-title {
    text-align: left; /* Judul rata kiri */
    margin: 0 0 20px 0;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
}
.section-title::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 24px;
    background: #f36f21;
    margin-right: 10px;
}

/* Search Form */
.search-form { 
    display: flex;
    justify-content: flex-start; /* Rata kiri */
    margin: 0 0 30px 0;
    gap: 0; /* Nempel */
    max-width: 100%; 
}
.search-form input {
    width: 100%;
    max-width: 400px;
    padding: 12px 15px;
    border-radius: 4px 0 0 4px; /* Sudut kiri tumpul */
    border: 1px solid #ccc;
    font-size: 14px;
    outline: none;
}
.search-form input:focus {
    border-color: #f36f21;
}
.search-form button {
    padding: 12px 25px;
    background: #f36f21; /* Oranye */
    border: none;
    color: #fff;
    border-radius: 0 4px 4px 0; /* Sudut kanan tumpul */
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.2s;
}
.search-form button:hover {
    background: #333; /* Hover jadi hitam */
}

/* Product Grid */
.produk-grid {
    display: grid;
    /* Grid responsif */
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); 
    gap: 20px;
}
.card {
    background: white;
    border-radius: 0; /* Kotak */
    padding: 15px;
    border: 1px solid #eee; /* Border tipis */
    text-align: left; /* Teks rata kiri ala e-commerce */
    transition: box-shadow 0.2s, border-color 0.2s;
    position: relative;
}
.card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: #f36f21; /* Border jadi oranye saat hover */
}
.card-img {
    width: 100%;
    height: 220px; 
    object-fit: cover; 
    border-radius: 0;
    margin-bottom: 10px;
    cursor: pointer;
    transition: opacity 0.2s;
}
.card-img:hover {
    opacity: 0.9;
}

.card h3 {
    margin: 10px 0 5px 0;
    font-size: 15px; /* Font size pas */
    font-weight: 600;
    color: #333;
    height: 40px; /* Batasi tinggi 2 baris */
    line-height: 20px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.harga {
    font-size: 18px;
    font-weight: 700;
    color: #f36f21; /* Harga warna Oranye */
    margin-bottom: 15px;
    display: block;
}

/* Card Buttons */
.card-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}
.btn-wa {
    background-color: #fff;
    border: 1px solid #25d366;
    color: #25d366;
    text-align: center;
    padding: 8px; 
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    transition: 0.2s;
}
.btn-wa:hover {
    background-color: #25d366;
    color: white;
}

/* Menyatukan tombol marketplace jadi lebih clean */
.btn-marketplace-card {
    background: #333;
    color: white;
    padding: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    border-radius: 4px;
    transition: 0.2s;
}
.btn-marketplace-card:hover {
    background-color: #f36f21; /* Hover jadi oranye */
}
/* Override warna khusus shopee/tokped jika diinginkan, tapi style Oliunid biasanya seragam */
.btn-marketplace-card.tokped {
    background: #333; 
}
.btn-marketplace-card.tokped:hover {
    background: #42b549; /* Hijau saat hover */
}


/* ========================================= */
/* 4. MODAL (POP-UP) STYLING                 */
/* ========================================= */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.85); 
    backdrop-filter: blur(5px); /* Efek blur modern */
    padding-top: 60px;
}
.modal-content-wrapper {
    margin: auto;
    width: 90%; 
    max-width: 800px;
}
.modal-content {
    margin: auto;
    display: block;
    width: 100%; 
    height: auto; 
    border: 4px solid white; /* Frame foto */
}
.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #f36f21; /* Close button oranye */
    font-size: 50px;
    font-weight: 300;
    transition: 0.3s;
    line-height: 1;
}
.close:hover,
.close:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}
.gallery-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}
.gallery-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid #555;
    opacity: 0.6;
    transition: 0.3s;
}
.gallery-image:hover, .gallery-image[style*="border"] {
    opacity: 1;
    border-color: #f36f21 !important; /* Highlight oranye */
}


/* ========================================= */
/* 5. FOOTER (Gaya Dua Kolom)                */
/* ========================================= */
.site-footer.two-column {
    background: #222; /* Gelap pekat */
    color: #ccc;
    margin-top: 60px;
    padding-top: 60px;
    border-top: 4px solid #f36f21; /* Garis atas oranye */
    font-size: 14px;
}

.footer-content-custom {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    padding-bottom: 40px;
}

/* Kolom Detail Kontak Kiri */
.footer-contact-details {
    flex: 1; 
    padding-right: 20px;
}

.footer-logo {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    vertical-align: middle;
    filter: grayscale(100%) brightness(200%); /* Logo jadi putih/abu */
}

.footer-contact-details h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid #444;
    color: #fff; /* Judul putih */
    text-transform: uppercase;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-list i {
    font-size: 14px;
    width: 25px; 
    margin-right: 10px;
    color: #f36f21; /* Icon Oranye */
    flex-shrink: 0;
    padding-top: 4px;
}

.contact-list p {
    margin: 0;
    line-height: 1.5;
}

/* Kolom Peta Kanan */
.footer-map-column {
    flex: 2; 
    min-width: 300px;
}

.footer-map-column iframe {
    border: 0;
    border-radius: 0;
    width: 100%;
    display: block;
    height: 300px; 
    filter: grayscale(80%); /* Peta agak abu biar menyatu */
    transition: filter 0.3s;
}
.footer-map-column iframe:hover {
    filter: grayscale(0%); /* Peta berwarna saat dihover */
}

/* Bagian Bawah Copyright */
.footer-bottom {
    text-align: center;
    padding: 20px;
    background: #1a1a1a;
    color: #666;
    font-size: 12px;
    border-top: 1px solid #333;
}


/* ========================================= */
/* 6. RESPONSIVITAS (Mobile First)           */
/* ========================================= */
@media (max-width: 768px) {
    .produk-section,
    .footer-content-custom,
    .banner {
        width: 95%;
    }

    /* Navbar */
    .navbar {
        padding: 15px;
        flex-direction: column;
        gap: 15px;
    }
    .nav-left { width: 100%; justify-content: center; }
    .nav-right { width: 100%; justify-content: center; }
    
    /* Banner */
    .banner {
        height: 250px;
        margin-top: 10px;
    }
    .banner-text {
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 20px;
        background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
        border-left: none;
        border-bottom: 4px solid #f36f21;
    }
    .banner-text h1 {
        font-size: 1.5em;
    }
    .banner-text p {
        display: none; 
    }

    /* Search & Grid */
    .search-form {
        flex-direction: row; /* Tetap satu baris di HP */
    }
    .search-form input {
        width: 100%;
    }
    
    .produk-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 Kolom di HP */
        gap: 10px;
    }
    
    .card {
        padding: 10px;
    }
    .card-img {
        height: 150px;
    }
    .harga {
        font-size: 16px;
    }
    
    /* Footer */
    .footer-content-custom {
        flex-direction: column; 
        padding-bottom: 20px;
        gap: 30px;
    }
    .footer-contact-details,
    .footer-map-column {
        padding: 0 10px;
    }
    .footer-map-column iframe {
        height: 250px;
    }
}