/* Eighthaus — tema coklat, merah gelap, gold, hitam: hangat, mewah, remang. */

:root {
    --bg: #120d09;
    --bg-deep: #0d0906;
    --surface: #2a1a10;
    --ink: #f0e7d6;
    --muted: #bfae96;
    --line: #3d2716;
    --brass: #c9a86a;
    --brass-soft: #dcbf85;
    --maroon: #7a1f1f;
    --maroon-hover: #932626;
    --shadow: 0 14px 34px rgba(0, 0, 0, .55);
}

* { box-sizing: border-box; }

body {
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, .brand, .hero h1 {
    font-family: "Fraunces", Georgia, "Times New Roman", serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--ink);
}

h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 1rem; }
h2 { font-size: 1.9rem; margin: 0 0 1.2rem; }
h2::after {
    content: "";
    display: block;
    width: 48px;
    border-top: 2px solid var(--brass);
    margin-top: .7rem;
}
h3 { font-size: 1.3rem; margin: 2rem 0 .8rem; }

a { color: var(--brass); }
a:hover { color: var(--brass-soft); }
::selection { background: var(--brass); color: #120d09; }

section { margin: 3.5rem 0; }

/* ---- Header ---- */
.topbar {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.5rem;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 2rem;
    background: var(--bg-deep);
    color: var(--ink);
    border-bottom: 1px solid rgba(201, 168, 106, .4);
}
.topbar a { color: var(--ink); text-decoration: none; }
.topbar nav { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem 1.1rem; }
.topbar nav a {
    font-size: .82rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .85;
}
.topbar nav a:hover { opacity: 1; color: var(--brass); text-decoration: underline; text-underline-offset: 4px; }
.topbar .brand-logo { height: 34px; width: auto; display: block; }
.topbar .wa {
    border: 1px solid rgba(240, 231, 214, .55);
    border-radius: 999px;
    padding: .4rem .95rem;
    transition: background .2s, color .2s;
}
.topbar .wa:hover { background: var(--ink); color: #120d09; text-decoration: none; }
.topbar .lang { font-size: .82rem; letter-spacing: .08em; }
.topbar .lang a.active { text-decoration: underline; text-underline-offset: 4px; }

/* ---- Konten ---- */
main { max-width: 1080px; margin: 0 auto; padding: 2rem 1.5rem 3rem; }

/* ---- Hero: foto kopi + overlay hitam-merah gelap, selebar layar ---- */
.hero {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 6rem 1.5rem;
    min-height: 72vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        linear-gradient(rgba(30, 8, 8, .72), rgba(12, 6, 4, .86)),
        url('../images/menu/hot-capucino.jpg') center / cover no-repeat;
}
.hero .eyebrow {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: .8rem;
    color: var(--brass);
    margin: 0 0 1.2rem;
}
.hero h1 { margin: .2rem 0 1.2rem; }
.hero-logo { width: min(600px, 92%); height: auto; display: block; margin: 0 auto; }
.hero .tagline {
    font-family: "Fraunces", Georgia, "Times New Roman", serif;
    font-style: italic;
    font-size: 1.35rem;
    color: var(--ink);
    margin: 0 0 1rem;
}
.hero p { max-width: 640px; margin-left: auto; margin-right: auto; color: rgba(240, 231, 214, .85); }
.hero .btn.outline { background: transparent; color: var(--ink); border: 1px solid rgba(240, 231, 214, .7); }
.hero .btn.outline:hover { background: var(--ink); color: #120d09; }

/* ---- Tombol: merah gelap sebagai aksi utama ---- */
.btn {
    display: inline-block;
    background: var(--maroon);
    color: var(--ink);
    padding: .7rem 1.5rem;
    border-radius: 999px;
    text-decoration: none;
    margin-right: .5rem;
    font-size: .85rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: background .2s, transform .2s;
}
.btn:hover { background: var(--maroon-hover); color: var(--ink); transform: translateY(-1px); }
.btn.outline { background: transparent; color: var(--ink); border: 1px solid rgba(240, 231, 214, .6); }
.btn.outline:hover { background: var(--ink); color: #120d09; }

/* ---- Menu ---- */
.menu-list { list-style: none; padding: 0; }
.menu-list li { display: flex; justify-content: space-between; border-bottom: 1px dotted #4a2e1a; padding: .4rem 0; }
.menu-item { align-items: center; gap: .9rem; }
.menu-item img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.menu-item span:first-of-type { flex: 1; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.4rem; }
.card {
    display: block;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: var(--ink);
    background: var(--surface);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .35);
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #5a3a20; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .4s; }
.card:hover img { transform: scale(1.03); }
.card strong, .card span { display: block; padding: 0 1rem; }
.card strong { padding-top: .8rem; font-family: "Fraunces", Georgia, "Times New Roman", serif; font-size: 1.05rem; font-weight: 600; }
.card span { padding-bottom: 1rem; color: var(--brass); font-weight: 600; }

/* ---- Fasilitas, testimoni, artikel ---- */
.facilities { columns: 2; column-gap: 2rem; }
.facilities li { margin-bottom: .4rem; }
blockquote {
    border-left: 3px solid var(--brass);
    margin: 1.5rem 0;
    padding-left: 1.4rem;
    font-family: "Fraunces", Georgia, "Times New Roman", serif;
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.6;
}
blockquote footer {
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    font-style: normal;
    font-size: .85rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: .6rem;
}

/* ---- Form ---- */
form label { display: block; margin: 1rem 0; font-weight: 600; }
form input, form select, form textarea {
    display: block;
    width: 100%;
    max-width: 520px;
    margin-top: .3rem;
    padding: .65rem .8rem;
    border: 1px solid #4a2e1a;
    border-radius: 10px;
    font: inherit;
    font-weight: 400;
    background: #221409;
    color: var(--ink);
}
form input:focus, form select:focus, form textarea:focus {
    outline: none;
    border-color: var(--brass);
    box-shadow: 0 0 0 3px rgba(201, 168, 106, .18);
}
form button { cursor: pointer; border: none; font: inherit; }
.errors { color: #e88a7a; }
.order-row { border-bottom: 1px solid var(--line); padding: .8rem 0; }

/* ---- Footer situs ---- */
body > footer {
    background: var(--bg-deep);
    color: var(--muted);
    text-align: center;
    padding: 2.5rem 1rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(201, 168, 106, .3);
}
body > footer a { color: var(--ink); }
body > footer strong { font-family: "Fraunces", Georgia, "Times New Roman", serif; letter-spacing: .1em; color: var(--ink); }
.footer-logo { height: 96px; width: auto; margin-bottom: .5rem; }

@media (max-width: 640px) {
    .topbar { padding: 1rem; }
    main { padding: 1.5rem 1rem 2rem; }
    .facilities { columns: 1; }
    .hero { padding: 4rem 1rem; min-height: 60vh; }
    .topbar .brand-logo { height: 28px; }
    .footer-logo { height: 76px; }
}

/* Isi artikel (render markdown): subjudul, tabel, tautan. */
.article-body h2, .article-body h3 { margin: 1.6em 0 .6em; }
.article-body p { margin: 0 0 1em; }
.article-body ul, .article-body ol { margin: 0 0 1em 1.4em; }
.article-body table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; }
.article-body th, .article-body td { border: 1px solid #3a2a1a; padding: 8px 10px; text-align: left; }
.article-body th { color: #c9a86a; }
.article-body a { color: #c9a86a; }

/* Gambar artikel: foto sampul (hero), thumbnail daftar, foto di isi. */
/* Sampul & thumbnail dipotong rata (object-fit: cover) supaya semua
   kartu setinggi sama — foto portrait (mis. tampak depan) tidak lagi
   tampil menjulang dan membuat daftar tidak rapi. */
.article-hero img { width: 100%; max-width: 720px; height: 360px; object-fit: cover; object-position: center; display: block; border-radius: 12px; margin: 0 0 1.2em; }
.article-thumb { width: 160px; height: 106px; object-fit: cover; object-position: center; display: block; border-radius: 10px; margin: 0 0 .5em; }
.article-body img { max-width: 100%; height: auto; border-radius: 12px; margin: 0 0 1em; }
