/* --- Konfigurasi Dasar --- */
:root {
    --bg-color: #0a0a0a;
    --card-bg: #151515;
    --text-main: #ffffff;
    --text-muted: #999999;
    --accent-color: #8b6b42; /* Warna coklat/emas untuk border/highlight */
    --fab-color: #a33b3b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    padding-bottom: 50px;
}

/* --- Header & Navigasi --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #e0e0e0;
}

.navbar {
    display: flex;
    gap: 25px;
}

.navbar a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 16px;
    border-radius: 5px;
}

.navbar a:hover {
    color: var(--text-main);
}

/* Style untuk menu "Services" yang aktif */
.navbar a.active {
    color: var(--text-main);
    border: 1px solid var(--accent-color);
    background-color: rgba(139, 107, 66, 0.1);
}

/* --- Area Judul (Hero) --- */
.hero {
    text-align: center;
    padding: 60px 20px 50px;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* --- Grid Layanan (Responsive) --- */
.services-grid {
    display: grid;
    /* Membuat grid responsif: akan mengisi ruang dengan kolom minimal 300px */
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    padding: 0 5%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Kartu (Cards) --- */
.card {
    background: linear-gradient(145deg, #181818, #111111);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* Kartu Highlighted ("Kerugian akibat produk cacat") */
.card.highlight {
    border: 1px solid var(--accent-color);
    background: linear-gradient(145deg, #1c1a17, #111111);
}

/* --- Floating Action Button (FAB) --- */
.fab-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--fab-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease;
}

.fab-button:hover {
    transform: scale(1.1);
}

/* --- Media Queries untuk Layar Kecil (Mobile Responsive) --- */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 20px;
    }
    
    .navbar {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
}