/* ================= VARIABEL WARNA (TEMA KUNING CERAH & HITAM) ================= */
:root {
    --kuning-cerah: #FFF200; /* Kuning Cerah dari logo Olikom */
    --kuning-gelap: #FFD700; /* Kuning gelap untuk efek sentuh */
    --hitam-gelap: #111111;  /* Hitam Pekat & Elegan */
    --hitam-abu: #333333;    /* Hitam keabu-abuan untuk teks paragraf */
    --oranye: #FF8C00;       /* Oranye dari tetesan oli di logo */
    --putih: #FFFFFF;
    --bg-cerah: #F8F9FA;     /* Background halaman cerah */
}

/* ================= RESET DASAR ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-cerah); 
    color: var(--hitam-abu);
    scroll-behavior: smooth; 
}

/* ================= DESAIN HEADER ================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background-color: var(--kuning-cerah); /* Navbar Kuning Cerah */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); 
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--hitam-gelap); /* Teks logo Hitam */
}

.logo-text span {
    color: var(--oranye); /* Kata "Indonesia" warna Oranye */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links li a {
    text-decoration: none;
    color: var(--hitam-gelap); /* Teks menu Hitam */
    font-weight: 700;
    font-size: 15px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-links li a:hover, .nav-links li a.active {
    color: var(--kuning-cerah);
    background-color: var(--hitam-gelap); /* Saat menu disentuh jadi Hitam */
}

/* --- Desain Tombol Utama --- */
.btn-primary, .btn-wa, .btn-wa-large, .btn-pesan {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    background-color: var(--hitam-gelap); /* Tombol Hitam */
    color: var(--kuning-cerah); /* Teks Kuning */
    padding: 10px 24px;
    border-radius: 50px; 
    font-weight: 700;
    font-size: 14px;
    border: 2px solid var(--hitam-gelap);
    transition: all 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

.btn-primary:hover, .btn-wa:hover, .btn-wa-large:hover, .btn-pesan:hover {
    background-color: var(--kuning-cerah); /* Berubah Kuning saat disentuh */
    color: var(--hitam-gelap); /* Teks jadi Hitam */
    border: 2px solid var(--hitam-gelap);
    transform: translateY(-2px); 
}

/* ================= DESAIN HERO (BANNER) ================= */
.hero {
    background-color: var(--hitam-gelap); /* Background Hitam Pekat */
    min-height: 85vh; 
    display: flex;
    align-items: center;
    justify-content: space-between; 
    padding: 0 8%;
    gap: 40px; 
}

.hero-content {
    flex: 1; 
    color: var(--putih);
    animation: fadeIn 1s ease-in-out; 
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content h1 span {
    color: var(--kuning-cerah); /* Sorotan Kuning Cerah */
}

.hero-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 35px;
    color: #e2e8f0; 
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* --- DESAIN KOTAK SLIDER KANAN --- */
.hero-slider-container {
    flex: 1; 
    position: relative;
    width: 100%;
    max-width: 600px;
    border-radius: 15px; 
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(255, 242, 0, 0.15); /* Bayangan sedikit kuning */
}

.slides {
    position: relative;
    height: auto; /* Menghilangkan tinggi fix 450px */
    aspect-ratio: 1 / 1; /* Membuat kotak sempurna 1:1 */
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    opacity: 0;
    transition: opacity 0.8s ease-in-out; 
}

.slide.active {
    opacity: 1;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 242, 0, 0.8); /* Kuning Transparan */
    color: var(--hitam-gelap);
    border: none;
    width: 45px;
    height: 45px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
    transition: background-color 0.3s;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.prev-btn { left: 15px; }
.next-btn { right: 15px; }

.nav-btn:hover {
    background-color: var(--kuning-cerah); 
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.dot.active, .dot:hover {
    background-color: var(--kuning-cerah);
    transform: scale(1.2); 
}

/* --- RESPONSIVE UNTUK HP (Slider) --- */
@media (max-width: 768px) {
    .hero {
        flex-direction: column; 
        text-align: center;
        padding-top: 100px;
        padding-bottom: 50px;
    }
    
    .hero-buttons {
        justify-content: center;
    }

    .hero-slider-container {
        width: 100%;
        max-width: 100%; 
    }
    
    .slides {
        height: auto; /* Menghilangkan tinggi fix 300px sebelumnya */
        aspect-ratio: 1 / 1; /* Membuat kotak sempurna 1:1 */
        width: 100%;
    }   
}

/* --- Desain Tombol Kedua di Hero --- */
.btn-secondary {
    text-decoration: none;
    background-color: transparent;
    color: var(--kuning-cerah);
    padding: 10px 24px;
    border: 2px solid var(--kuning-cerah); 
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--kuning-cerah);
    color: var(--hitam-gelap); 
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ================= DESAIN BAGIAN PRODUK ================= */
.produk-section {
    padding: 80px 8%;
    background-color: var(--bg-cerah);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--hitam-gelap);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-title p {
    color: var(--hitam-abu);
    font-size: 16px;
}

.produk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--putih);
    border: 1px solid #ddd;
    border-radius: 10px;
    width: 280px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    overflow: hidden; 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px); 
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15); 
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.produk-grid img,
.product-card img,
.product-img {
    width: 100% !important;
    height: 250px !important;
    object-fit: contain !important;
    background-color: var(--putih);
    border-radius: 8px 8px 0 0;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img {
    transform: scale(1.1); 
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.9); /* Overlay hitam elegan */
    color: var(--putih);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0; 
    transition: opacity 0.3s ease;
    text-align: center;
}

.product-card:hover .product-overlay {
    opacity: 1; 
}

.product-desc {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.product-info {
    padding: 20px 15px;
    text-align: center;
    background: var(--putih);
    position: relative; 
    z-index: 2;
}

.product-info h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: var(--hitam-gelap);
}

.product-price {
    color: var(--oranye); /* Harga warna Oranye agar menonjol */
    font-weight: bold;
    margin: 0;
    font-size: 18px;
}

.product-card .btn-wa {
    display: block; 
    width: 100%;
    border-radius: 8px;
    margin-top: 15px;
}

/* ================= DESAIN HALAMAN KATALOG KHUSUS ================= */
.katalog-page {
    padding: 60px 8%;
    background-color: var(--bg-cerah);
}

.katalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.produk-info .merk {
    font-size: 18px;
    font-weight: 700;
    color: var(--hitam-gelap);
    margin-bottom: 5px;
}

.produk-info .tipe {
    font-size: 14px;
    color: var(--hitam-abu);
    margin-bottom: 20px;
    height: 45px; 
}

/* ================= KOTAK PENCARIAN KATALOG ================= */
.search-container {
    text-align: center;
    margin-bottom: 30px;
    padding: 0 5%;
}

#inputCari {
    width: 100%;
    max-width: 500px;
    padding: 12px 20px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 25px; 
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: 'Poppins', sans-serif;
}

#inputCari:focus {
    border-color: var(--kuning-cerah); 
    box-shadow: 0 0 8px rgba(255, 242, 0, 0.4); 
}

/* ================= DESAIN FOOTER ================= */
.footer-custom {
    background-color: var(--hitam-gelap); /* Footer Hitam Pekat */
    color: var(--putih); 
    padding: 70px 8% 60px;
    margin-top: 50px;
    border-top: 5px solid var(--kuning-cerah); /* Garis aksen kuning cerah */
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr; 
    gap: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.logo-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.footer-logo h3 {
    color: var(--kuning-cerah);
    font-size: 20px;
    font-weight: 700;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #e2e8f0;
}

.footer-icons {
    display: flex;
    gap: 15px;
}

.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--kuning-cerah); 
    border-radius: 50%;
    transition: background-color 0.3s, transform 0.3s;
    text-decoration: none;
    overflow: hidden; 
}

.icon-circle:hover {
    background-color: var(--kuning-cerah);
    transform: translateY(-3px);
}

.custom-icon {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.footer-links h3, .footer-products h3 {
    color: var(--kuning-cerah);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-links ul li a {
    color: var(--putih);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--kuning-cerah);
}

.contact-text, .company-text {
    margin-top: 25px;
    display: block;
    color: #e2e8f0;
}

.footer-products p {
    font-size: 14px;
    line-height: 1.8;
    color: #e2e8f0;
}

/* ================= TOMBOL WHATSAPP MELAYANG ================= */
.wa-float {
    position: fixed; 
    bottom: 30px;    
    right: 30px;     
    width: 60px;
    height: 60px;
    background-color: #25d366; 
    border-radius: 50px;       
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2); 
    z-index: 9999; 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.wa-float:hover {
    transform: scale(1.1); 
    background-color: #128C7E; 
}

.wa-icon {
    width: 35px;
    height: 35px;
    fill: white; 
}

/* ================= DESAIN KOTAK VISI MISI ================= */
.visi-misi {
    margin-top: 35px;
    background-color: var(--putih); 
    padding: 25px;
    border-radius: 8px;
    border-left: 5px solid var(--kuning-cerah); /* Garis aksen kuning */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.visi-misi h3 {
    color: var(--hitam-gelap);
    font-size: 20px;
    margin-bottom: 10px;
    margin-top: 20px;
}

.visi-misi h3:first-child { margin-top: 0; }
.visi-misi p { margin-bottom: 0; color: var(--hitam-abu); }
.visi-misi .about-list { margin-top: 10px; }
.visi-misi .about-list li {
    font-size: 14px;
    font-weight: normal; 
    line-height: 1.6;
    margin-bottom: 12px;
}

/* ================= DESAIN HEADER HALAMAN DALAM ================= */
.page-header {
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.9), rgba(0, 0, 0, 0.9)), url('foto/LP1.jpeg') center/cover;
    padding: 80px 8%;
    text-align: center;
    color: var(--kuning-cerah);
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 16px;
    color: var(--putih);
}

/* ================= DESAIN TENTANG KAMI ================= */
.about-section {
    padding: 80px 8%;
    background-color: var(--putih);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 32px;
    color: var(--hitam-gelap);
    margin-bottom: 20px;
}

.about-text h2 span {
    color: var(--oranye);
}

.about-text p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--hitam-abu);
    margin-bottom: 20px;
}

.about-list { list-style: none; margin-top: 20px; }
.about-list li {
    font-size: 15px;
    color: var(--hitam-gelap);
    margin-bottom: 10px;
    font-weight: 600;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ================= HALAMAN MARKETPLACE ================= */
.marketplace-section {
    padding: 60px 5%;
    text-align: center;
    background-color: var(--bg-cerah); 
}

.marketplace-section .section-title p {
    color: var(--hitam-abu);
    margin-top: 10px;
    margin-bottom: 40px;
}

.marketplace-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap; 
}

.marketplace-card {
    background: var(--putih);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px 20px;
    width: 280px;
    text-decoration: none;
    color: var(--hitam-gelap);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.marketplace-card:hover {
    transform: translateY(-8px); 
    box-shadow: 0 12px 20px rgba(255, 242, 0, 0.2);
}

.mp-logo {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
    object-fit: contain;
}

.marketplace-card h3 { margin-bottom: 10px; font-size: 20px; }
.marketplace-card p { font-size: 14px; color: var(--hitam-abu); margin-bottom: 25px; }

.btn-kunjungi {
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: bold;
    color: white;
    width: 80%;
    text-align: center;
    transition: opacity 0.3s;
}

.btn-kunjungi:hover { opacity: 0.8; }

.tokopedia .btn-kunjungi { background-color: #00AA5B; }
.shopee .btn-kunjungi { background-color: #EE4D2D; }

/* ================= DESAIN KONTAK ================= */
.contact-section {
    padding: 80px 8%;
    background-color: var(--bg-cerah);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info, .contact-form {
    background: var(--putih);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.contact-info h2, .contact-form h2 {
    font-size: 24px;
    color: var(--hitam-gelap);
    margin-bottom: 20px;
}

.contact-info p { color: var(--hitam-abu); margin-bottom: 30px; line-height: 1.6; }

.info-item { margin-bottom: 25px; }
.info-item h3 { font-size: 16px; color: var(--hitam-gelap); margin-bottom: 5px; }
.info-item p { color: var(--hitam-abu); margin-bottom: 0; }

.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--hitam-gelap);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--kuning-cerah);
    box-shadow: 0 0 5px rgba(255, 242, 0, 0.3);
}

/* Responsif untuk layar kecil / HP */
@media (max-width: 768px) {
    .about-container, .contact-container {
        grid-template-columns: 1fr;
    }
}

/* --- DESAIN LOGO DI HEADER --- */
.logo-container {
    display: flex;
    align-items: center; 
    gap: 12px; 
}

.logo-img-header {
    height: 50px; 
    width: auto;
    object-fit: contain;
}

/* ================= RESPONSIVE & HAMBURGER MENU ================= */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1000; 
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--hitam-gelap); /* Garis hamburger jadi hitam */
    border-radius: 3px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .navbar {
        display: flex;
        justify-content: space-between; 
        align-items: center;
        width: 100%;
        padding: 15px 5%; 
        box-sizing: border-box; 
    }
    .menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 30px;
        cursor: pointer;
        z-index: 999;
        margin-left: auto !important;
    }

    .nav-links {
        display: none; 
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        background-color: var(--kuning-cerah);
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        flex-direction: column;
        align-items: center; 
        padding: 20px 0; 
        margin: 0;
        z-index: 998;
    }

    .nav-links.active { display: flex; }

    .nav-links li {
        width: 100%;
        text-align: center; 
        margin: 10px 0;
        padding: 0; 
        list-style: none; 
    }

    .nav-links a {
        display: block; 
        width: 100%;
        font-size: 16px;
    }

    .desktop-only { display: none; }
    
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .footer-container {
        display: flex;
        flex-direction: column; 
        align-items: center;
        text-align: center;
        gap: 30px;
        padding: 40px 20px;
    }

    .footer-column { width: 100% !important; }

    .logo-container {
        max-width: 75%; 
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .logo-img-header {
        height: 28px; 
        width: auto;
    }

    .logo-text { font-size: 16px; white-space: nowrap; }

    .contact-container, .contact-content, .contact-info, .contact-map { 
        width: 100% !important;
        max-width: 100%;
        padding: 15px; 
        box-sizing: border-box;
        display: flex;
        flex-direction: column; 
        overflow: hidden; 
    }

    .contact-info p, .contact-info h3, .contact-info h4 {
        white-space: normal !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .contact-content iframe, .contact-map iframe {
        width: 100% !important; 
        max-width: 100% !important;
        height: 300px; 
        border: none;
    }
}

/* --- PENGUNCI LAYAR GLOBAL --- */
html, body {
    overflow-x: hidden; 
    width: 100%;
}