/* ==========================================================================
   1. CSS VARIABLES & RESET
   ========================================================================== */
:root {
    --hitam-lembut: #0f0f0f;
    --cream: #f4f1ec;
    --beige: #e6dccb;
    --olive-kusam: #6b705c;
    --coklat-retro: #7a5c3e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px; /* Base font size untuk perhitungan responsif */
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--hitam-lembut);
    background-color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Efek grain/noise ringan */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48ZmlsdGVyIGlkPSJub2lzZSI+PGZlVHVyYnVsZW5jZSBiYXNlRnJlcXVlbmN5PSIwLjkiIG51bU9IjQiIHN0aXRjaFRpbGVzPSJzdGl0Y2giLz48L2ZpbHRlcj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsdGVyPSJ1cmwoI25vaXNlKSIgb3BhY2l0eT0iMC4wNSIvPjwvc3ZnPg==');
    pointer-events: none;
    z-index: 9999;
    opacity: 0.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ==========================================================================
   2. NAVIGATION BAR
   ========================================================================== */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    /* Gunakan warna transparan dengan blur agar terlihat premium */
    background-color: rgba(244, 241, 236, 0.8); 
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 25px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    color: var(--hitam-lembut) !important;
    font-size: 1.4rem;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--hitam-lembut) !important;
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 2px;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 50%;
    background-color: var(--coklat-retro);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 100%;
}

/* ==========================================================================
   3. HERO SECTION (REFINED & PARALLAX)
   ========================================================================== */
#hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), no-repeat center center/cover;
    background-attachment: fixed; /* Efek Parallax */
    color: var(--cream);
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero-tagline {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--beige);
    display: block;
    margin-bottom: 20px;
}

#hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    margin: 0;
    line-height: 1;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.5);
}

.hero-divider {
    width: 60px;
    height: 3px;
    background: var(--coklat-retro);
    margin: 25px auto;
}

#hero h2 {
    font-weight: 300;
    font-size: 1.5rem;
    letter-spacing: 6px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-button, .secondary-button {
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cta-button {
    background-color: var(--coklat-retro);
    color: var(--cream);
}

.cta-button:hover {
    background-color: var(--olive-kusam);
}

.secondary-button {
    border: 1px solid var(--cream);
    color: var(--cream);
}

.secondary-button:hover {
    background: var(--cream);
    color: var(--hitam-lembut);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
}

.scroll-indicator span { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; }
.scroll-indicator .line { width: 1px; height: 40px; background: var(--cream); position: relative; overflow: hidden; }
.scroll-indicator .line::after {
    content: ''; position: absolute; top: -40px; left: 0; width: 100%; height: 100%;
    background: var(--coklat-retro); animation: scrollLine 2s infinite;
}
@keyframes scrollLine { 0% { top: -40px; } 100% { top: 40px; } }

/* ==========================================================================
   4. ABOUT SECTION
   ========================================================================== */
#about {
    padding: 120px 0;
    background-color: var(--cream);
}

.about-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image { flex: 1; position: relative; }
.about-image img {
    width: 100%;
    filter: grayscale(20%) sepia(10%);
    box-shadow: 20px 20px 0 var(--beige);
    border-radius: 4px;
}

.image-badge {
    position: absolute; bottom: -15px; right: -15px;
    background: var(--coklat-retro); color: var(--cream);
    padding: 8px 18px; font-family: 'Playfair Display', serif; font-style: italic;
}

.about-text { flex: 1.2; }
.sub-title {
    text-transform: uppercase; letter-spacing: 3px; font-size: 0.75rem;
    color: var(--olive-kusam); margin-bottom: 15px; display: block;
}

.about-text h2 {
    font-family: 'Playfair Display', serif; font-size: 3rem;
    line-height: 1.1; margin-bottom: 25px;
}

.signature {
    font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.4rem;
    margin-top: 25px; color: var(--coklat-retro); border-top: 1px solid var(--beige);
    display: inline-block; padding-top: 10px;
}

/* ==========================================================================
   5. PRODUCT SECTION
   ========================================================================== */
#products {
    padding: 120px 0;
    background-color: var(--beige);
}

#products h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
}

/* Container Produk yang Fleksibel */
.product-grid {
    display: grid;
    /* Desktop: Otomatis membuat kolom dengan ukuran pas (sekitar 4 kolom di layar lebar) */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 30px;
    justify-content: center;
    max-width: 1100px;
    margin: 50px auto 0;
}

/* Ukuran Kartu Produk agar tidak terlalu besar/kecil */
.product-card {
    width: 100%;
    max-width: 280px; 
    margin: 0 auto;
}

/* Tablet: Tetap 2 atau 3 kolom */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
}

/* HP: Menampilkan 2 KOLOM MENYAMPING agar tidak terlalu sempit & scroll tidak terlalu panjang */
@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr); /* Paksa 2 kolom di HP */
        gap: 15px; /* Jarak antar produk diperkecil agar pas */
        padding: 0 10px;
    }

    .product-info h3 {
        font-size: 0.9rem; /* Mengecilkan teks judul produk di HP */
    }

    .price {
        font-size: 0.8rem; /* Mengecilkan harga di HP */
    }
    
    .product-badge {
        font-size: 0.5rem; /* Mengecilkan badge di HP */
        padding: 3px 8px;
    }
}

.product-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease;
}

/* Container gambar produk harus memiliki posisi relatif */
.product-img-wrapper {
    position: relative;
    overflow: hidden;
}

/* Membuat lapisan Grain/Noise */
.product-img-wrapper::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    /* Menggunakan SVG noise sebagai background */
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48ZmlsdGVyIGlkPSJub2lzZSI+PGZlVHVyYnVsZW5jZSBiYXNlRnJlcXVlbmN5PSIwLjY1IiBudW1PY3RhdmVzPSIzIiBzdGl0Y2hUaWxlcz0ic3RpdGNoIi8+PC9maWx0ZXI+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbHRlcj0idXJsKCNub2lzZSIpIG9wYWNpdHk9IjAuMjAiLz48L3N2Zz4=');
    pointer-events: none;
    z-index: 2;
    animation: grainAnimation 1s steps(5) infinite;
    opacity: 0.15; /* Atur kepekatan bintik-bintik di sini */
}

/* Animasi gerakan noise agar terlihat hidup */
@keyframes grainAnimation {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-1%, -2%); }
    30% { transform: translate(2%, 1%); }
    50% { transform: translate(-2%, 3%); }
    70% { transform: translate(3%, -1%); }
    90% { transform: translate(-1%, 1%); }
}

.product-img-wrapper {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    background-color: var(--cream);
}

.product-img-wrapper img {
    width: 100%; 
    height: 100%; 
    object-fit: cover;
    transition: transform 1.5s cubic-bezier(0.2, 1, 0.3, 1), filter 1.2s ease;
    filter: sepia(35%) contrast(90%) brightness(95%) saturate(80%);
}

.product-card:hover img {
    transform: scale(1.08) !important;
    filter: sepia(10%) contrast(100%) brightness(100%) saturate(100%);
}

.product-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Efek vignette (gelap di sudut) */
    background: radial-gradient(circle, transparent 50%, rgba(0,0,0,0.15) 100%);
    pointer-events: none;
    z-index: 1;
}

.product-badge {
    position: absolute; top: 15px; left: 15px;
    background: var(--coklat-retro); color: var(--cream);
    padding: 5px 12px; font-size: 0.65rem; text-transform: uppercase; z-index: 2;
}

.product-overlay {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(15, 15, 15, 0.4); /* Menggunakan --hitam-lembut dengan transparansi */
    display: flex; 
    align-items: center;
    justify-content: center; 
    opacity: 0; 
    transition: all 0.5s ease;
    z-index: 3;
    backdrop-filter: blur(3px); /* Memberikan efek kaca buram saat di-hover */
}

.product-card:hover .product-overlay { 
    opacity: 1; 
}

.view-detail {
    color: var(--cream); text-decoration: none; border: 1px solid var(--cream);
    padding: 10px 20px; font-size: 0.8rem; text-transform: uppercase;
}

.product-info { padding: 20px 0; text-align: left; }
.product-info h3 { 
    font-family: 'Playfair Display', serif; 
    font-size: 1.1rem; 
    letter-spacing: 1px;
    margin-bottom: 5px;
    text-transform: capitalize;
}

.price { 
    color: var(--coklat-retro); 
    font-weight: 500; 
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* ==========================================================================
   6. QUOTE TESTIMONIALS & CONTACT
   ========================================================================== */
/* Quote Section Refined */
#quote {
    padding: 150px 0;
    background-color: var(--coklat-retro);
    color: var(--cream);
    text-align: center;
}

.quote-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.quote-icon {
    font-family: 'Playfair Display', serif;
    font-size: 8rem;
    line-height: 0;
    display: block;
    margin-bottom: 40px;
    opacity: 0.3;
}

#quote blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-style: italic;
    line-height: 1.2;
    margin-bottom: 20px;
}

.quote-author {
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Slider Container Testimonial*/
.testimonial-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

.testimonial-slider {
    width: 100%;
    overflow: hidden; /* Penting: agar tidak meluber ke bawah */
    padding: 10px 0;
}

.testimonial-track {
    display: flex; /* Membuat barisan horizontal */
    gap: 20px;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.testimonial-card {
    min-width: 100%; /* Di HP satu kartu memenuhi layar */
    background: rgba(255, 255, 255, 0.5);
    padding: 30px;
    border: 1px solid var(--beige);
    text-align: center;
}

/* Mempercantik tampilan pesan */
.testimonial-card p {
    font-style: italic;
    font-size: 1rem;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-card span {
    display: block;
    font-family: 'Playfair Display', serif;
    color: var(--coklat-retro);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.testimonial-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-btn {
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--coklat-retro);
    cursor: pointer;
    opacity: 0.6;
    z-index: 10;
}

.nav-btn:hover {
    opacity: 1;
    transform: scale(1.2);
}

/* Dots Styling */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--beige);
    border: 1px solid var(--coklat-retro);
    cursor: pointer;
}

.dot.active {
    background: var(--coklat-retro);
    transform: scale(1.2);
}

/* Sembunyikan tombol di HP jika layar terlalu sempit */
@media (max-width: 480px) {
}

.comment-form-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.comment-form-container h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 10px;
}

#comment-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

#comment-form input, #comment-form textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--coklat-retro);
    padding: 12px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: 0.3s;
}

#comment-form textarea {
    min-height: 100px;
    resize: vertical;
}

#comment-form input:focus, #comment-form textarea:focus {
    border-bottom: 2px solid var(--hitam-lembut);
    background: rgba(255, 255, 255, 0.2);
}

.btn-retro {
    background: var(--coklat-retro);
    color: var(--cream);
    border: none;
    padding: 15px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.4s;
}

.btn-retro:hover {
    background: var(--hitam-lembut);
    letter-spacing: 4px;
}

/* ==========================================================================
   7. FOOTER
   ========================================================================== */
/* 1. Grain Effect yang Lebih Terasa */
body::before {
    opacity: 0.08 !important; /* Ditingkatkan agar lebih vintage */
    mix-blend-mode: multiply;
}

/* 2. Base Reveal Animation (High-End Motion) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 3. Mikro-Interaksi Produk yang Halus */
.product-img-wrapper img {
    transition: transform 1.5s cubic-bezier(0.2, 1, 0.3, 1) !important;
}

.product-card:hover img {
    transform: scale(1.08) !important;
}

/* 4. Trust Bar Styling */
#trust-bar {
    padding: 50px 0;
    border-top: 1px solid var(--beige);
    background: var(--cream);
}

.trust-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    opacity: 0.6;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}

/* 5. Footer Refined */
footer {
    background-color: var(--hitam-lembut);
    color: var(--cream);
    padding: 80px 0 0;
    text-align: left;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-brand h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--coklat-retro);
    margin-bottom: 20px;
}

.footer-brand p {
    max-width: 350px;
    opacity: 0.7;
}

.footer-group {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-links h4, .footer-social h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--beige);
}

#comment-form {
    scroll-margin-top: 100px; /* Memberi jarak agar form tidak tertutup navbar saat di-scroll otomatis */
}

/* Tambahan: Efek hover pada link footer agar lebih dinamis */
.footer-links ul li a:hover {
    color: var(--coklat-retro);
    padding-left: 5px;
    transition: all 0.3s ease;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 30px 0;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Mobile Fix for Footer */
@media (max-width: 768px) {
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-brand p { margin: 0 auto; }
    .footer-group { flex-direction: column; align-items: center; }
}

/* ==========================================================================
   8. MEDIA QUERIES (RESPONSIVE FIX)
   ========================================================================== */
@media (max-width: 1024px) {
    #hero h1 { font-size: 4.5rem; }
}

@media (max-width: 768px) {
    html { font-size: 14px; }
    
    .nav-container { flex-direction: column; gap: 15px; }
    .nav-links { gap: 15px; }

    #hero h1 { font-size: 3.5rem; }
    #hero h2 { font-size: 1.1rem; letter-spacing: 4px; }
    .hero-btns { flex-direction: column; align-items: center; }
    .cta-button, .secondary-button { width: 100%; max-width: 300px; }

    .about-wrapper { flex-direction: column; text-align: center; }
    .about-text h2 { font-size: 2.2rem; }
    
    .footer-content { text-align: center; }
}

@media (max-width: 480px) {
    #hero h1 { font-size: 2.8rem; }
    /* Hapus grid-template-columns: 1fr agar tetap mengikuti aturan 2 kolom dari media query 576px */
    .product-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 10px; /* Perkecil jarak antar produk agar lebih pas di layar kecil */
    }
}

/* ==========================================================================
   9. POP UP
   ========================================================================== */

/* Promo Pop-up Refined */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 0.9); /* Latar belakang lebih gelap agar fokus */
    display: none; 
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.popup-overlay.show {
    display: flex;
    opacity: 1;
}

.popup-content {
    background-color: var(--cream);
    padding: 60px 40px;
    border-radius: 4px;
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* Tombol Close di pojok kanan atas */
.close-popup {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--hitam-lembut);
    opacity: 0.5;
    transition: opacity 0.3s;
}

.close-popup:hover {
    opacity: 1;
}

.popup-inner .sub-title {
    margin-bottom: 10px;
    color: var(--coklat-retro);
}

.popup-inner h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--hitam-lembut);
}

.popup-inner p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Tombol khusus di dalam pop-up */
.popup-btn {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 18px;
    font-size: 1rem;
    letter-spacing: 2px;
}

.popup-note {
    font-size: 0.75rem !important;
    margin-top: 20px !important;
    opacity: 0.7;
    font-style: italic;
}

/* Menghilangkan margin berlebih agar teks naik ke atas */
.tight-text {
    margin-top: -15px !important; /* Menaikkan posisi teks deskripsi */
    margin-bottom: 30px !important;
}

/* Style untuk kursor efek mengetik */
#typing-text::after {
    content: '|';
    animation: blink 0.7s infinite;
    margin-left: 5px;
    color: var(--coklat-retro);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Jarak teks deskripsi yang sudah dirapatkan tadi */
.tight-text {
    margin-top: -15px !important;
    margin-bottom: 30px !important;
}

/* ==========================================================================
   10. HAMBURGER MENU LOGIC
   ========================================================================== */

/* Sembunyikan Checkbox */
.menu-toggle {
    display: none;
}

/* Styling Ikon Hamburger */
.hamburger {
    display: none; /* Sembunyikan di Desktop */
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--hitam-lembut);
    transition: all 0.3s ease;
}

/* Responsive Mobile (Max-width: 768px) */
@media (max-width: 768px) {
    .hamburger {
        display: flex; /* Munculkan di HP */
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Sembunyikan ke kanan luar layar */
        width: 70%;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    /* Munculkan Menu Saat Checkbox Dicentang */
    .menu-toggle:checked ~ .nav-links {
        right: 0;
    }

    /* Animasi Hamburger Jadi 'X' Saat Klik */
    .menu-toggle:checked ~ .hamburger span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .menu-toggle:checked ~ .hamburger span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle:checked ~ .hamburger span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .nav-container {
        flex-direction: row !important; /* Paksa Logo & Hamburger sejajar horizontal */
        justify-content: space-between;
    }
}

/* Definisi Gerakan Mengambang */
@keyframes subtleFloat {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(0.5deg); /* Naik sedikit dan miring tipis */
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Terapkan pada Kartu Produk */
.product-card {
    /* Animasi berjalan selama 4 detik, halus (ease-in-out), dan berulang selamanya */
    animation: subtleFloat 4s ease-in-out infinite;
}

/* Memberikan variasi waktu agar tidak semua produk bergerak bersamaan (biar lebih alami) */
.product-card:nth-child(even) {
    animation-duration: 5s;
    animation-delay: 1s;
}

.product-card:nth-child(3n) {
    animation-duration: 6s;
    animation-delay: 0.5s;
}

/* Pastikan animasi berhenti saat di-hover agar user mudah mengklik tombol */
.product-card:hover {
    animation-play-state: paused;
}

/* Floating WhatsApp Aesthetic */
.wa-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    text-decoration: none;
}

.wa-content {
    background-color: var(--coklat-retro); /* Menggunakan variabel warna Anda */
    color: var(--cream);
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(244, 241, 236, 0.2);
}

.wa-text {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    /* Sembunyikan teks di layar sangat kecil agar tidak sempit */
    max-width: 0;
    overflow: hidden;
    transition: max-width 0.5s ease;
    white-space: nowrap;
}

.wa-icon {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* Hover Effects */
.wa-floating:hover .wa-content {
    background-color: var(--hitam-lembut);
    transform: translateY(-5px) scale(1.05);
}

.wa-floating:hover .wa-text {
    max-width: 100px; /* Teks muncul saat di-hover */
}

/* Munculkan teks secara otomatis setelah delay untuk menarik perhatian */
@keyframes slideInWa {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.wa-floating {
    animation: slideInWa 1s ease-out 2s backwards;
}

/* Adaptasi Mobile */
@media (max-width: 480px) {
    .wa-floating {
        bottom: 20px;
        right: 20px;
    }
    .wa-text {
        display: none; /* Di HP cukup ikon saja agar bersih */
    }
    .wa-content {
        padding: 15px;
    }
}