/* --- Root Variables & Reset --- */
:root {
    --primary-dark: #1a2226;   /* Warna Header Baru */
    --primary-blue: #3c8dbc;   /* Biru Amanda PCB */
    --secondary-color: #3498db;
    --accent-color: #27ae60;
    --text-dark: #333;
    --text-light: #fff;
    --bg-gray: #f4f7f6;
    --shopee-orange: #ee4d2d;
    --star-yellow: #f1c40f;
    --nav-text: #b8c7ce;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-gray);
    color: var(--text-dark);
    line-height: 1.6;
}

/* --- Header & Navigation --- */
.main-header {
    background: var(--primary-dark);
    height: 60px;
    display: flex;
    align-items: center;
    color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: #ffffff;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.logo .brand { 
    color: var(--primary-blue);
    margin-right: 5px;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: var(--nav-text);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0 15px;
    line-height: 60px;
    display: block;
    transition: all 0.3s ease;
}

.nav-links li a:hover, 
.nav-links li a.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 -3px 0 var(--primary-blue);
}

/* --- Product Cards --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.product-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.product-item:hover {
    transform: translateY(-5px);
}

/* --- Contact Logo Styling (Updated Fix) --- */
.contact-header-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0 10px 0;
    width: 100%;
}

.contact-header-logo img {
    width: 150px !important;    /* Ukuran logo dikunci agar tidak besar */
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* --- Main Container & Card --- */
.container {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 15px;
}

.card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.card h1, .card h2 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    border-left: 5px solid var(--shopee-orange);
    padding-left: 15px;
}

/* --- Footer --- */
footer {
    background: var(--primary-dark);
    color: #bdc3c7;
    padding: 40px 5% 20px;
    text-align: center;
}

/* --- WhatsApp Floating Button --- */
.wa-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    text-decoration: none;
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .main-header {
        height: auto;
        padding: 10px 0;
    }

    .nav-container {
        flex-direction: column;
        gap: 10px;
    }

    .nav-links li a {
        line-height: 40px;
        padding: 0 10px;
        font-size: 0.85rem;
    }

    .contact-header-logo img {
        width: 120px !important; /* Lebih kecil saat di HP */
    }

    .container {
        margin: 15px auto;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}