/* --- RESET & BASIC SETUP --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333333;
    background-color: #fcfbfa;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.playfair {
    font-family: 'Playfair Display', serif;
}

/* --- NAVIGATION BAR --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background-color: rgba(253, 251, 250, 0.95);
    position: fixed;
    top: 0; width: 100%; z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    backdrop-filter: blur(10px);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: #2c3e29;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    margin: 0 15px;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #b19361;
}

.btn-cta-nav {
    text-decoration: none;
    background-color: #2c3e29;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.btn-cta-nav:hover {
    background-color: #b19361;
}

/* --- HERO SECTION --- */
.hero-section {
    height: 90vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('https://images.unsplash.com/photo-1519225495846-b9cf680ce1ad?q=80&w=1920') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
    margin-top: 60px;
}

.hero-content {
    max-width: 800px;
    animation: heroFadeUp 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-tagline {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #d4bc96;
    display: block;
    margin-bottom: 15px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 35px;
    opacity: 0.9;
    font-weight: 300;
}

.btn-primary {
    text-decoration: none;
    background-color: #b19361;
    color: white;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    transition: transform 0.3s, background-color 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #2c3e29;
    transform: translateY(-3px);
}

/* --- KATALOG SECTION --- */
.katalog-section {
    padding: 80px 8%;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #2c3e29;
    margin-bottom: 10px;
}

.section-title p {
    color: #777;
}

/* GRID LAYOUT YANG LEBAR & RESPONSIVE */
.katalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

/* CARD PRODUK DENGAN EFEK REVEAL */
.card-produk {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    position: relative;
    transition: transform 0.4s, box-shadow 0.4s;
    opacity: 0;
    animation: cardRevealUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.card-produk:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.badge-tag {
    position: absolute;
    top: 20px; left: 20px;
    background-color: #b19361;
    color: white;
    padding: 5px 15px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 20px;
    z-index: 10;
}

/* KUNCI FOTO LEBAR ATAS BAWAH DI DALAM CARD */
.foto-produk-wrapper {
    width: 100%;
    height: 380px;
    overflow: hidden;
}

.foto-produk-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card-produk:hover .foto-produk-wrapper img {
    transform: scale(1.05);
}

/* DETAIL PRODUK */
.detail-produk {
    padding: 25px;
}

.detail-produk h3 {
    font-size: 1.4rem;
    color: #2c3e29;
    margin-bottom: 10px;
}

.deskripsi-singkat {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.harga-container {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.harga-coret {
    text-decoration: line-through;
    color: #aaa;
    font-size: 0.9rem;
}

.harga-asli {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e29;
}

/* TOMBOL AKSI BERDAMPINGAN */
.action-buttons {
    display: flex;
    gap: 15px;
}

.btn-demo, .btn-beli {
    flex: 1;
    text-align: center;
    text-decoration: none;
    padding: 12px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-demo {
    border: 2px solid #2c3e29;
    color: #2c3e29;
}

.btn-demo:hover {
    background-color: #2c3e29;
    color: white;
}

.btn-beli {
    background-color: #b19361;
    color: white;
}

.btn-beli:hover {
    background-color: #9a7f52;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 40px;
    background-color: #2c3e29;
    color: #a0a89f;
    font-size: 0.85rem;
}

/* ===================================================
   KEYFRAMES TIMELINE ANIMASI
   =================================================== */
@keyframes heroFadeUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardRevealUp {
    0% {
        opacity: 0;
        transform: translateY(60px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- RESPONSIVE UNTUK LAYAR HP --- */
@media (max-width: 768px) {
    .navbar { padding: 15px 5%; }
    .nav-links { display: none; } /* Menyembunyikan link di hp untuk kerapian */
    
    .hero-content h1 { font-size: 2.3rem; }
    .hero-content p { font-size: 0.95rem; }
    
    .katalog-section { padding: 60px 5%; }
    .foto-produk-wrapper { height: 280px; } /* Menyesuaikan tinggi foto di HP */
}