/* --- 1. CSS VARIABLES & RESET --- */
:root {
    --primary-color: #1a1a1a; 
    --accent-color: #d4af37;  /* Gold */
    --accent-hover: #bfa145;
    --bg-light: #fdfcf5; 
    --bg-off-white: #f2efe6; 
    --bg-white: #ffffff;
    
    --text-color: #333333;
    --text-light: #666666;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-gold: 0 10px 20px rgba(212, 175, 55, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-light);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* --- 2. UTILITIES --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.text-center { text-align: center; }
.highlight-gold { color: var(--accent-color); font-weight: bold; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}
.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
    box-shadow: none;
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-hero-white {
    background-color: white;
    color: var(--primary-color);
    border-color: white;
}
.btn-hero-white:hover {
    background: transparent;
    color: white;
}

/* Typography */
.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- 3. HEADER & NAV --- */
header {
    background-color: var(--bg-light);
    height: 80px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

header.scrolled {
    background-color: rgba(253, 252, 245, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

header .container { 
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between; 
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    gap: 10px;
    z-index: 1003;
}
.logo img { height: 50px; width: auto; margin-right: 10px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text .title { font-size: 20px; font-weight: bold; }
.logo-text .subtitle { font-size: 12px; color: #666; }

/* Menu Links */
.nav-links { display: flex; gap: 30px; align-items: center;}
.nav-links a { font-weight: 500; font-size: 0.95rem; position: relative;}
.nav-links a:hover { color: var(--accent-color); }

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none; 
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    padding: 10px; 
    z-index: 1002;
}

/* Overlay */
.menu-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(2px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.menu-overlay.active { opacity: 1; visibility: visible; }
/* Membatasi lebar konten agar tidak memenuhi layar monitor yang sangat lebar */
.container {
    max-width: 1200px; /* Lebar maksimal konten */
    margin: 0 auto;    /* Mengetengahkan container */
    padding: 0 20px;   /* Memberi jarak di sisi kiri & kanan pada layar HP */
}

/* Mengatur grid untuk kartu produk */
.product-grid {
    display: grid;
    /* Membuat kolom otomatis: minimal 300px, maksimal mengisi ruang yang ada */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px;         /* Jarak antar kartu */
    margin-top: 40px;
}

/* Memastikan kartu terlihat rapi */
.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Memberi sedikit bayangan agar elegan */
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px); /* Efek melayang saat kursor di atasnya */
}

.card-img img {
    width: 100%;
    height: 200px;    /* Memberi tinggi seragam untuk semua gambar */
    object-fit: cover; /* Gambar akan terpotong rapi tanpa gepeng */
    display: block;
}

.card-body {
    padding: 20px;
}