/* ==========================================================================
   1. RESET & BASIC STYLES
   ========================================================================== */
html {
    scroll-behavior: smooth; /* SISIPKAN DI SINI */
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

/* ==========================================================================
   2. HEADER & NAVIGATION (LOGO DI POJOK KIRI ATAS - SEKARANG MAROON)
   ========================================================================== */
header {
    background-color: #800020; /* DIUBAH: Background header menjadi Maroon */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px 5px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    height: 50px;
    width: auto;
    margin-right: 12px;
}

.logo-text {
    font-weight: 700;
    font-size: 1.15rem;
    color: #ffffff; /* DIUBAH: Teks logo menjadi putih agar kontras */
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 25px;
}

.nav-menu a {
    text-decoration: none;
    color: #e0e0e0; /* DIUBAH: Teks menu menjadi abu-abu terang */
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ffffff; /* DIUBAH: Hover menu menjadi putih terang */
}

/* ==========================================================================
   3. HERO SECTION (TANPA WARNA MAROON - KEMBALI KE NETRAL/HITAM)
   ========================================================================== */
.hero {
    /* DIUBAH: Overlay gradasi menggunakan warna hitam transparan netral */
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), 
                url('images/background.png') no-repeat center center/cover;
    background-color: #222222; /* DIUBAH: Warna cadangan hitam netral */
    height: 90vh;              
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    margin-top: 60px;
}
/* ==========================================================================
   4. KONTEN STRUKTUR DAN GARIS PEMBATAS KONSISTEN
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px 0;
    border-bottom: 1px solid #ddd; 
}

section#kontak {
    border-bottom: none; 
}

h2 {
    color: #800020; /* DIUBAH: Maroon */
    font-size: 1.8rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 8px;
}

/* Garis bawah hiasan di setiap Judul */
h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3.5px;
    background-color: #800020; /* DIUBAH: Maroon */
    border-radius: 2px;
}

section p {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 8px;
}

/* ==========================================================================
   5. GRID PRODUK (RESPONSIF MODERN)
   ========================================================================== */
.product-grid {
    display: grid; /* DIUBAH: Menggunakan Grid asli agar rapi ke samping */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.product-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-top: 4px solid #800020; /* DIUBAH: Garis atas Maroon agar lebih seimbang */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efek interaktif saat kartu produk didekati kursor */
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.product-card h3 {
    margin-bottom: 12px;
    color: #222;
    font-size: 1.3rem;
}

.product-card p {
    font-size: 0.95rem;
    color: #666;
}

/* ==========================================================================
   6. FOOTER
   ========================================================================== */
footer {
    background-color: #1a1a1a;
    color: #aeaeae;
    text-align: center;
    padding: 25px;
    font-size: 0.9rem;
    border-top: 3px solid #800020; /* DIUBAH: Maroon */
}

/* ==========================================================================
   7. RESPONSIVE MEDIA QUERIES (OPTIMASI LAYAR HP)
   ========================================================================== */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu li {
        margin: 0 10px;
    }
    
    .hero {
        height: 40vh;
    }
}