/* --- GLOBAL STYLE & FONT --- */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    color: #333;
    transition: background 0.5s ease-in-out;
    min-height: 100vh;
}

.hidden { display: none !important; }

/* --- ANIMASI MASUK --- */
.fade-in { animation: fadeIn 0.8s ease-out; }
.fade-up { animation: fadeInUp 0.8s ease-out; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- TOMBOL DASHBOARD (BACK) --- */
#btn-back-home {
    position: fixed; top: 20px; left: 20px; z-index: 1000;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white; border: none; border-radius: 30px;
    cursor: pointer; font-weight: 600;
    backdrop-filter: blur(5px);
    transition: 0.3s;
}
#btn-back-home:hover { background: black; transform: scale(1.05); }

/* --- DASHBOARD KEREN (HOME) --- */
#home {
    text-align: center;
    padding-top: 100px;
    
    /* INI GRADIENT HIJAU YANG KAMU MINTA 👇 */
    background: linear-gradient(135deg, #21d6c7 0%, #36d673 100%);
    
    /* Agar background memenuhi layar */
    min-height: 100vh;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-content h1 {
    font-size: 3.5em; color: #fff;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3); margin-bottom: 10px;
}
.hero-content p { font-size: 1.3em; color: #f0f0f0; margin-bottom: 60px; }

.menu-grid {
    display: flex; /* Menggunakan Flex agar tombol di tengah */
    justify-content: center;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    flex-wrap: wrap;
}

.menu-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: 250px; height: 180px; /* Ukuran tombol proporsional */
    padding: 20px; font-size: 1.2em; font-weight: 600;
    border: none; border-radius: 20px; color: white; cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    background-size: 200% auto;
}

.menu-btn:hover { transform: translateY(-10px) scale(1.05); box-shadow: 0 15px 30px rgba(0,0,0,0.3); background-position: right center; }

/* Warna Tombol Gradient */
.word { background-image: linear-gradient(to right, #36D1DC 0%, #5B86E5 51%, #36D1DC 100%); }
.presentasi { background-image: linear-gradient(to right, #11998e 0%, #38ef7d 51%, #11998e 100%); }

/* --- ARTIKEL WORD (BACKGROUND MEJA KAYU) --- */
.section-artikel { padding: 60px 20px; display: flex; justify-content: center; }

.kertas-word {
    background: #fff;
    width: 100%; max-width: 800px; min-height: 900px;
    padding: 70px 90px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
    font-family: 'Times New Roman', Times, serif;
    color: #111; line-height: 1.6; font-size: 17px;
    position: relative;
}
/* Efek Vignette Kertas */
.kertas-word::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    box-shadow: inset 0 0 40px rgba(0,0,0,0.05); pointer-events: none;
}
.kertas-word p { text-align: justify; text-indent: 50px; margin-bottom: 15px; }
.list-menu { margin-left: 20px; } .list-menu li { margin-bottom: 10px; }

/* --- GALERI MAKANAN STYLE --- */
.section-presentasi header { background: #27ae60; color: white; padding: 40px 20px; text-align: center; border-radius: 20px 20px 0 0; }

.section-presentasi section { padding: 30px; max-width: 900px; margin: 30px auto; background: white; border-radius: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.section-presentasi footer { text-align: center; padding: 20px; background: #27ae60; color: white; margin-top: 40px; border-radius: 0 0 20px 20px; }

.food-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px; padding: 20px 0; }
.food-card { background: white; border: none; border-radius: 15px; padding: 15px; box-shadow: 0 4px 10px rgba(0,0,0,0.08); cursor: pointer; transition: transform 0.3s; display: flex; flex-direction: column; align-items: center; }
.food-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.15); }
.food-card img { width: 100px; height: 100px; object-fit: cover; border-radius: 50%; margin-bottom: 10px; border: 3px solid #f0f0f0; }

/* Modal Popup */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 2000; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(5px); }
.modal-content { background: white; padding: 40px; border-radius: 20px; width: 90%; max-width: 500px; position: relative; text-align: center; }
.close-btn { position: absolute; top: 15px; right: 25px; font-size: 35px; cursor: pointer; color: #999; }
.close-btn:hover { color: #e74c3c; }
#modal-body { text-align: left; background: #f4fcf6; padding: 20px; border-radius: 15px; border-left: 5px solid #2ecc71; margin-top: 20px; }

/* --- STYLE TOMBOL MUSIK --- */
#btn-music {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999; /* Supaya selalu di paling atas */
    padding: 12px 20px;
    background: #ff4757;
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s, background 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

#btn-music:hover {
    background: #e04050;
    transform: scale(1.1);
}

/* Biar ikon muter dikit pas hover */
#btn-music:active {
    transform: scale(0.95);
}