/* ROOT VARIABLES UNTUK TEMA */
:root {
    --primary-color: #1A2530; /* Navy Gelap Estetik */
    --secondary-color: #3b4d61;
    --accent-color: #D4AF37; /* Gold elegan */
    --text-dark: #333333;
    --text-light: #f4f4f9;
    --bg-color: #FAFAFA;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif; /* Font ala startup */
}

body {
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
}

/* NAVBAR STYLING */
.navbar {
    background-color: var(--primary-color);
    padding: 0.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.nav-logo img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-right: 10px;
    border: 2px solid var(--white);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-menu li a {
    color: var(--white);
    text-decoration: none;
    padding: 10px 15px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu li a:hover, .nav-menu li a.active {
    color: var(--accent-color);
}

/* DROPDOWN KEKINIAN */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--secondary-color);
    min-width: 200px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 4px;
    overflow: hidden;
}

.dropdown:hover .dropdown-menu {
    display: flex;
    flex-direction: column;
}

.dropdown-menu a {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dropdown-menu a:hover {
    background-color: var(--primary-color);
    padding-left: 25px; /* Efek hover estetik */
}

/* CART ICON */
.nav-cart a {
    position: relative;
    font-size: 1.2rem;
}
.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #e74c3c;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: bold;
}

/* MENU TOGGLE MOBILE */
.menu-toggle {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* HERO SECTION */
.hero {
    background: linear-gradient(rgba(26, 37, 48, 0.8), rgba(26, 37, 48, 0.8)), url('../img/penjelasan.jpg') center/cover;
    /* ... kode lainnya ... */
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* PRODUCTS SECTION */
.products-section, .testimonial-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: auto;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.btn-cart {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    width: 100%;
}

.btn-cart:hover {
    background: var(--accent-color);
}

/* TESTIMONIAL */
.testimonial-card {
    display: flex;
    align-items: center;
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    gap: 30px;
}

.testimonial-card img {
    width: 250px;
    border-radius: 10px;
}

.testi-text {
    font-style: italic;
    font-size: 1.1rem;
}

.rating {
    color: #f1c40f;
    margin-top: 10px;
    display: block;
}

/* FOOTER */
footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 50px 20px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 30px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    width: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--primary-color);
    }
    .nav-menu.active {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .testimonial-card {
        flex-direction: column;
        text-align: center;
    }
}
/* =========================================
   BOOSTER RESPONSIF (UNTUK LAYAR HP)
========================================= */
@media (max-width: 768px) {
    /* Rapikan Banner Melayang di HP */
    .hero-banner { 
        padding: 40px 20px; 
        border-radius: 16px; 
    }
    .hero-banner h1 { font-size: 2rem; }
    .hero-banner p { font-size: 1rem; }
    
    /* Rapikan Halaman Tentang Kami & Checkout */
    .about-container { margin-top: 20px; padding: 20px; }
    .checkout-container { flex-direction: column; }
    
    /* Footer jadi ke tengah */
    .footer-container { 
        flex-direction: column; 
        text-align: center; 
        gap: 15px;
    }
}