/* =========================================
   THEME: ROYAL SPICE (DARK CHOCOLATE & GOLD)
========================================= */
:root {
    /* Background Utama: Coklat Kopi Gelap */
    --bg-color: #1A120B;      
    
    /* Warna Kartu: Coklat Sedikit Lebih Terang (Espresso) */
    --card-bg: #241A15;       
    
    /* Warna Aksen Utama: Emas Mewah */
    --primary-gold: #D4AF37;  
    
    /* Warna Teks Judul: Krem Terang (Agar terbaca di gelap) */
    --heading-color: #F5E6D3;  
    
    /* Warna Teks Paragraf: Abu-Beige (Lembut di mata) */
    --text-body: #C2B8A3;     
    
    /* Bayangan: Hitam pekat agar elemen terlihat melayang */
    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.6); 
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* --- WATERMARK LOGO BACKGROUND (Dioptimasi untuk Dark Mode) --- */
body::before {
    content: '';
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 70vw; height: 70vw;
    background-image: var(--bg-logo); /* Diambil dari JS */
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.15; /* Sangat tipis */
    z-index: -1;
    pointer-events: none;
    /* Filter agar logo terlihat putih samar di background gelap */
    filter: grayscale(100%) brightness(1.5);
}

/* Typography Mewah */
h1, h2, h3, h4, .price-tag { 
    font-family: 'Playfair Display', serif; 
    color: var(--heading-color);
}

.container { width: 90%; max-width: 1100px; margin: 0 auto; }

/* --- NAVBAR --- */
.navbar {
    background: rgba(26, 18, 11, 0.9); /* Transparan Gelap */
    backdrop-filter: blur(10px);
    height: 80px; width: 100%; position: fixed; top: 0; z-index: 1000;
    display: flex; align-items: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15); /* Garis emas tipis */
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; }

.logo-area { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-img { height: 50px; width: auto; filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3)); }
.logo-text { 
    font-size: 1.3rem; font-weight: 700; letter-spacing: 1px;
    color: var(--primary-gold); text-transform: uppercase; 
}

.nav-links { display: flex; gap: 30px; }
.nav-links a { 
    color: var(--heading-color); font-size: 0.85rem; font-weight: 600; 
    text-transform: uppercase; letter-spacing: 1px; text-decoration: none; 
    transition: 0.3s; position: relative;
}
.nav-links a:hover { color: var(--primary-gold); }
.nav-links a::after {
    content: ''; display: block; width: 0; height: 1px; 
    background: var(--primary-gold); transition: 0.3s; margin-top: 5px;
}
.nav-links a:hover::after { width: 100%; }

/* --- BUTTONS (Style Gold Premium) --- */
.btn-primary {
    background: linear-gradient(135deg, #b8860b, #d4af37); /* Gradasi Emas */
    color: #1A120B; /* Teks Hitam agar kontras */
    padding: 12px 30px; border-radius: 50px;
    font-weight: 700; font-size: 0.9rem; letter-spacing: 0.5px;
    text-decoration: none; display: inline-flex; align-items: center; gap: 10px;
    transition: all 0.3s ease; 
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}
.btn-primary:hover {
    transform: translateY(-3px); 
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    filter: brightness(1.1);
}

.btn-outline {
    background: transparent; color: var(--primary-gold);
    border: 2px solid var(--primary-gold); padding: 10px 25px;
    border-radius: 50px; font-weight: 600; cursor: pointer; transition: 0.3s;
}
.btn-outline:hover { background: var(--primary-gold); color: #1A120B; }

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center;
    padding-top: 80px; position: relative;
}
/* Efek kilau di belakang hero */
.hero::after {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 300px; height: 300px; background: var(--primary-gold);
    filter: blur(150px); opacity: 0.15; z-index: -1;
}

.hero-tagline {
    font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px;
    background: linear-gradient(45deg, #F5E6D3, #D4AF37);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-desc { font-size: 1.1rem; color: var(--text-body); margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* --- SECTIONS GENERAL --- */
section { padding: 90px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-title { font-size: 2.5rem; margin-bottom: 10px; color: var(--primary-gold); }
.section-subtitle { color: var(--text-body); font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.2rem; }

/* --- MENU CARDS --- */
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 35px; }

.menu-card {
    background: var(--card-bg); 
    border-radius: 20px; overflow: hidden;
    box-shadow: var(--shadow-soft); transition: transform 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05); /* Border sangat tipis */
    display: flex; flex-direction: column;
    position: relative;
}
.menu-card:hover { transform: translateY(-10px); border-color: rgba(212, 175, 55, 0.3); }

.badge {
    position: absolute; top: 20px; left: 20px;
    background: var(--primary-gold); color: #1A120B; padding: 6px 14px;
    border-radius: 30px; font-size: 0.75rem; font-weight: 700; letter-spacing: 1px;
    z-index: 2; box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.card-image { height: 260px; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.menu-card:hover .card-image img { transform: scale(1.08); }

.card-info { padding: 30px; text-align: center; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.card-info h4 { font-size: 1.4rem; margin-bottom: 10px; color: var(--heading-color); }
.card-info p { font-size: 0.9rem; color: var(--text-body); margin-bottom: 20px; }

.price-tag { display: block; font-size: 1.6rem; color: var(--primary-gold); font-weight: 700; margin: 15px 0; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }

/* --- ABOUT & GALLERY --- */
.about-wrapper { 
    display: flex; align-items: center; gap: 50px; 
    background: var(--card-bg); padding: 50px; border-radius: 30px; 
    box-shadow: var(--shadow-soft); 
    border: 1px solid rgba(255,255,255,0.05);
}
.about-img img { width: 100%; max-width: 350px; border-radius: 200px 200px 20px 20px; border: 2px solid var(--primary-gold); }
.about-text { flex: 1; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.gallery-item { 
    height: 280px; border-radius: 15px; overflow: hidden; position: relative; 
    box-shadow: var(--shadow-soft); cursor: pointer;
    border: 1px solid rgba(255,255,255,0.05);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s; filter: brightness(0.8); }
.gallery-item:hover img { transform: scale(1.1); filter: brightness(1); }
.gallery-caption {
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px;
    background: linear-gradient(to top, rgba(26, 18, 11, 0.9), transparent);
    color: var(--primary-gold); opacity: 0; transition: 0.3s; transform: translateY(10px);
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }

/* --- CONTACT SECTION (Premium Darker Box) --- */
.contact-section {
    background: linear-gradient(135deg, #110b07, #241A15);
    color: #fff; padding: 60px 40px; border-radius: 30px; text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); margin-bottom: 50px;
    position: relative; overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
}
/* Dekorasi Emas */
.contact-section::before, .contact-section::after {
    content: ''; position: absolute; width: 200px; height: 200px; border-radius: 50%;
    background: var(--primary-gold); opacity: 0.05;
}
.contact-section::before { top: -50px; left: -50px; }
.contact-section::after { bottom: -50px; right: -50px; }

.contact-title { font-size: 2.2rem; color: var(--primary-gold); margin-bottom: 15px; }
.contact-desc { color: var(--text-body); margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }

.btn-wa-large {
    background-color: #25D366; color: #fff; padding: 15px 40px; border-radius: 50px;
    font-weight: 700; font-size: 1.1rem; text-decoration: none;
    display: inline-flex; align-items: center; gap: 12px; transition: 0.3s;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.2); z-index: 2; position: relative;
}
.btn-wa-large:hover { background-color: #1ebc57; transform: translateY(-5px); box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4); }

/* --- FLOATING WA BUTTON --- */
.float-wa {
    position: fixed; bottom: 30px; right: 30px;
    background-color: #25D366; color: #fff; width: 60px; height: 60px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 30px; box-shadow: 0 4px 15px rgba(0,0,0,0.3); z-index: 9999;
    text-decoration: none; border: 2px solid #fff; transition: 0.3s;
}
.float-wa:hover { transform: scale(1.1); background-color: #1ebc57; }
.float-wa::after {
    content: ''; position: absolute; width: 100%; height: 100%;
    border-radius: 50%; border: 1px solid #25D366; animation: pulse 2s infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

/* --- FOOTER --- */
footer { 
    background: #0d0805; color: var(--text-body); 
    padding: 60px 0 30px; text-align: center; border-top: 1px solid rgba(255,255,255,0.05); 
}
.footer-logo { font-family: 'Playfair Display'; font-size: 2rem; color: var(--primary-gold); margin-bottom: 20px; display: block; }
.map-frame { 
    width: 100%; height: 300px; border-radius: 20px; border: 0; margin-top: 30px; 
    /* Peta Google Maps dibikin agak redup biar ga silau di dark mode */
    filter: grayscale(20%) contrast(90%);
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .navbar .container { justify-content: center; }
    .hero-tagline { font-size: 2.2rem; }
    .about-wrapper { flex-direction: column-reverse; padding: 30px; text-align: center; }
    .contact-section { padding: 40px 20px; }
}

.reveal { opacity: 0; transform: translateY(40px); transition: 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }