:root {
    --primary-color: #f6c100;
    --dark-bg: #0f172a;
    --light-text: #f8fafc;
    --gray-text: #94a3b8;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- NAVBAR --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 10%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
}

.logo-container { display: flex; align-items: center; gap: 12px; }
.main-logo { height: 40px; width: auto; object-fit: cover; border-radius: 50%;}
.logo-text { font-size: 1.2rem; font-weight: bold; }
/* ---.logo-text span { color: var(--gray-text); } --- */

.nav-links { display: flex; list-style: none; gap: 2rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--light-text); transition: var(--transition); }
.nav-links a:hover { color: var(--primary-color); }

.btn-whatsapp {
    background: #22c55e;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    color: white !important;
}

/* --- HERO --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
   background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), url('gambar/gudang.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero h1 { font-size: 3.5rem; margin-bottom: 1rem; }
.hero h1 span { color: var(--primary-color); }
.hero p { color: var(--gray-text); max-width: 600px; margin-left: auto; margin-right: auto; margin-bottom: 2rem; text-align: center; font-size: 1.1rem; }

.btn-primary {
    padding: 0.8rem 0.5rem;
    background: transparent;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-right: 1rem;
    transition: var(--transition);
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.btn-primary:hover {
    transform: translateY(-15px) scale(1.02); /* Kartu naik & sedikit membesar */
    border-color: #2563eb; /* Border berubah jadi biru terang */
    
    /* Cahaya biru memancar dari sela-sela 
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3), 
                0 0 50px rgba(37, 99, 235, 0.2), 
                0 0 100px rgba(37, 99, 235, 0.1); */
}


.btn-secondary {
    padding: 0.8rem 2rem;
    border: 1px solid var(--gray-text);
    color: var(--light-text);
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
    display: inline-block;
}

/* --- FEATURES --- */
.features { padding: 5rem 10%; text-align: center; }
.section-title { font-size: 2.5rem; margin-bottom: 3rem; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; align-items: start; }
.feature-item { background: #1e293b; padding: 2rem; border-radius: 12px; border: 1px solid #334155; }
.feature-item i { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 1rem; }

/* --- PRODUCT GRID --- */
.projects { 
    padding: 5rem 10%; 
}

.project-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 2rem; 
}

/* --- KARTU DENGAN EFEK CAHAYA BIRU --- */
.project-card { 
    background: #1e293b; 
    padding: 1.5rem; 
    border-radius: 12px; 
    border: 1px solid #334155;
    /* Transition dibuat lebih halus untuk efek glow */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}


/* EFEK CAHAYA (GLOW) BIRU SAAT DI-HOVER */
.project-card:hover { 
    transform: translateY(-15px) scale(1.02); /* Kartu naik & sedikit membesar */
    border-color: #2563eb; /* Border berubah jadi biru terang */
    
    /* Cahaya biru memancar dari sela-sela */
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3), 
                0 0 50px rgba(37, 99, 235, 0.2), 
                0 0 100px rgba(37, 99, 235, 0.1);
}

.product-img-container {
    width: 100%; 
    height: 220px; 
    border-radius: 8px; 
    overflow: hidden; 
    margin-bottom: 1rem;
    border: 1px solid rgba(255,255,255,0.05);
}

.product-img-container img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.6s ease; 
}

.project-card:hover img { 
    transform: scale(1.1); 
}

.price-tag {
    display: inline-block; 
    margin-top: 1rem; 
    color: #2563eb; /* Tetap Biru */
    font-weight: bold; 
    background: rgba(37, 99, 235, 0.1); 
    padding: 6px 15px; 
    border-radius: 20px;
    border: 1px solid rgba(37, 99, 235, 0.3);
}
/* --- FOOTER --- */
.footer { background: #0b1120; padding: 5rem 10% 0.5rem; border-top: 1px solid #1e293b; margin-top: 5rem; }
.footer-container { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; }
.footer-info p { color: var(--gray-text); margin: 1.5rem 0; }
.address p { font-size: 0.9rem; margin-bottom: 2.5rem; }
.address i { color: var(--primary-color); margin-right: 10px; }

.marketplace-grid { display: flex; flex-direction: column; gap: 10px; }
.shop-link { 
    text-decoration: none; color: var(--gray-text); padding: 10px; 
    background: #1e293b; border-radius: 8px; display: flex; align-items: center; gap: 10px;
}
.shopee:hover { background: #ee4d2d; color: white; }
.tokopedia:hover { background: #03ac0e; color: white; }
.lazada:hover { background: #00008b; color: white; }

.social-icons { display: flex; gap: 15px; }
.social-icons a { 
    width: 40px; height: 40px; background: #1e293b; 
    display: flex; align-items: center; justify-content: center; 
    border-radius: 50%; color: white; text-decoration: none;
}
.social-icons a:hover { background: var(--primary-color); transform: translateY(-5px); }

.footer-bottom { text-align: center; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #1e293b; color: var(--gray-text); }

/* --- MOBILE --- */
.map-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%; /* Rasio 16:9 agar tinggi mengikuti lebar layar */
    border-radius: 12px; /* Opsional: supaya sudutnya membulat */
    border: 1px solid #334155;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100% !important;
    height: 100% !important;
    border: none;
}


@media (max-width: 768px) {
    .map-container {
        padding-top: 75%; /* Rasio 4:3 agar di HP terlihat lebih kotak/proporsional */
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .footer-container { grid-template-columns: 1fr; gap: 2rem; }
}
.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: 0.4s;
}

@media (max-width: 768px) {
    .navbar { padding: 1rem 5%; }
    
    .menu-toggle { 
        display: flex; 
        z-index: 1001; /* Pastikan tombol burger selalu di depan */
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        justify-content: flex-start; /* Menu mulai dari atas */
        align-items: flex-start;
        padding: 80px 2rem; /* Ruang untuk tombol close */
        
        position: fixed;
        top: 0;
        right: -100%; /* Sembunyi di kanan luar layar */
        width: 50%; /* Tidak memenuhi layar (kasih jarak) */
        height: 100vh;
        
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(15px);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        transition: 0.4s ease-in-out;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0; /* Meluncur masuk */
    }

    .nav-links li { 
        margin: 1rem 0;
        height: 10px; 
        width: 100%;
        
    }
    
    .nav-links a {
        font-size: 1rem;
        display: block;
        padding: 10px 0;
    }

    .btn-whatsapp {
        width: 80%; /* Tombol WA melebar di mobile */
        text-align: center;
        margin-top: 1rem;
    }


    /* Animasi Tombol Burger jadi X (Fitur Back/Close) */
    .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); }
}