:root {
    --bg: #0f0f0f;
    --card: #1b1b1b;
    --accent: #c9a86a; /* Warna premium coffee */
    --accent2: #d4b57a; /* Coklat muda */
    --text: #eaeaea;
    --muted: #aaaaaa;
    --danger: #cc3b3b;
    --success: #3bcc6b;
}

/* =========================
   GENERAL & BACKGROUND
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

body {
    color: var(--text);
    line-height: 1.5;
    background: var(--bg);

    /* background-image: url('assets/coffee-background.jpg'); */
    /* background-size: cover; */
    /* background-attachment: fixed; */

    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: -1;
}

.header, .container, .footer {
    position: relative;
    z-index: 1;
}

/* =========================
   HEADER
========================= */
.header {
    background: #111;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #222;
}

.brand {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
}

.nav a {
    margin-left: 20px;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
}

.nav a:hover,
.nav .active {
    color: var(--accent);
}

/* =========================
   CONTAINER & CARD
========================= */
.container {
    max-width: 1100px;
    margin: 24px auto;
    padding: 0 16px;
    min-height: calc(100vh - 120px);
}

.card {
    background: var(--card);
    border: 1px solid #222;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.card h2 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--accent2);
    font-size: 20px;
}

.card h3 {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 10px;
}

/* =========================
   FORM INPUT & BUTTON
========================= */
form label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--muted);
    margin-top: 10px;
}

form input, select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #333;
    background: #1a1a1a;
    color: #fff;
    margin-bottom: 14px;
    font-size: 14px;
}

form input:focus {
    border-color: var(--accent);
    outline: none;
}

button, .btn-outline {
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
}

button {
    background: var(--accent);
    color: var(--bg);
    border: none;
    font-weight: 600;
}

button:hover {
    filter: brightness(1.1);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: #000;
}

/* =========================
   BADGE
========================= */
.badge.danger {
    background: var(--danger);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    color: #fff;
}

/* =========================
   MENU GRID
========================= */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 15px;
}

.menu-item {
    background: #141414;
    border: 1px solid #222;
    border-radius: 12px;
    overflow: hidden;
    max-width: 200px;
    margin: auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.25);
    transition: 0.2s;
}

.menu-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.35);
}

.menu-item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

.menu-info {
    padding: 12px;
    text-align: left;
}

.menu-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--accent2);
}

.menu-price {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 8px;
    color: var(--success);
}

.menu-info label {
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
}

.menu-info input {
    margin-bottom: 0;
    padding: 6px;
    font-size: 13px;
    height: auto;
}

/* =========================
   FOOTER
========================= */
.footer {
    background: #111;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #222;
    margin-top: 40px;
    color: var(--muted);
}

.footer .social-links a {
    color: var(--accent);
    text-decoration: none;
    margin: 0 8px;
}

.footer .social-links a:hover {
    text-decoration: underline;
}
