@font-face { font-family: 'Gloock'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/gloock-400.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/figtree-var.woff2') format('woff2'); }
:root {
  --brown: #40210C;
  --sun: #EFBE85;
  --sun-dark: #E3A96B;
  --paper: #FBF7EC;
  --ground: #F7F2E6;
  --ground-2: #ECE4D0;
  --placeholder: #DDD2BA;
  --muted: #5A4433;
  --muted-dark: #E8DCCB;
  --line: #BFB199;
  --leaf: #46552F;
  --gutter: clamp(16px, 5vw, 72px);
  --section: clamp(48px, 7vw, 88px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--brown);
  font-family: 'Figtree', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; }
input, button { font: inherit; }
h1, h2, h3 { font-family: 'Gloock', Georgia, serif; font-weight: 400; margin: 0; }
h2 { font-size: clamp(36px, 5vw, 58px); line-height: 1.08; }
p { margin: 0; }
:focus-visible { outline: 3px solid #5F7042; outline-offset: 2px; }

.wrap { max-width: 1240px; margin: 0 auto; }
.section { padding: var(--section) var(--gutter); }
.section-title { margin-bottom: 32px; }
.dark { background: var(--brown); color: var(--paper); }
.leaf { background: var(--leaf); color: var(--paper); }
.alt { background: var(--ground-2); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(28px, 5vw, 72px); align-items: start; }
.placeholder { background: var(--placeholder); color: #4A3220; display: flex; align-items: center; justify-content: center; padding: 12px; text-align: center; font-size: 15px; font-weight: 500; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 6px; background: var(--brown); color: var(--paper); font-weight: 700; text-decoration: none; }
.button:hover { background: #5F7042; }

.site-header { padding: 20px var(--gutter); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.brand img { display: block; width: 64px; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; font-family: 'Gloock', Georgia, serif; font-size: 21px; line-height: 1.1; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 16px; font-weight: 500; }
.site-nav a { padding: 10px 0; text-decoration: none; }
.site-nav a:hover { color: var(--sun); }

.hero { padding: clamp(40px, 7vw, 88px) var(--gutter) 0; }
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(36px, 6vw, 80px); align-items: center; }
.eyebrow { margin-bottom: 16px; color: var(--sun); font-size: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
h1 { font-size: clamp(46px, 7.2vw, 92px); line-height: 1.02; }
.hero-text { margin-top: 24px; max-width: 34em; color: var(--muted-dark); font-size: clamp(18px, 2vw, 21px); }
.hero-art { display: block; width: calc(100% + 2 * var(--gutter)); max-width: none; height: auto; margin: clamp(24px, 4vw, 48px) calc(-1 * var(--gutter)) 0; }

.booking { display: flex; flex-direction: column; gap: 16px; padding: clamp(20px, 3vw, 32px); border-radius: 8px; background: var(--paper); color: var(--brown); }
.booking h2 { font-size: 28px; line-height: 1.2; }
.dates { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .guest-label { font-size: 15px; font-weight: 600; }
.field input { width: 100%; min-height: 46px; padding: 8px 10px; border: 1px solid #7C6A58; border-radius: 6px; background: #fff; color: var(--brown); }
.guests { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stepper { display: flex; align-items: center; gap: 8px; }
.stepper button { width: 44px; height: 44px; border: 1px solid #7C6A58; border-radius: 6px; background: #fff; color: var(--brown); font-size: 22px; cursor: pointer; }
.stepper output { min-width: 32px; text-align: center; font-size: 19px; font-weight: 700; }

.video { margin-top: 32px; }
.video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: var(--brown); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame .placeholder { position: absolute; inset: 0; }
.video-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: var(--brown); cursor: pointer; }
.video-play img { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-play span { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; border-radius: 50%; background: var(--sun); transform: translate(-50%, -50%); }
.video-play:hover span { background: #fff; }
.video-link { margin-top: 12px; color: var(--muted); font-size: 15px; }

.room { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); overflow: hidden; border-radius: 8px; background: #fff; }
.room .placeholder { min-height: 280px; aspect-ratio: 4 / 3; width: 100%; }
.room-body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; padding: clamp(24px, 4vw, 48px); }
.room-detail { color: var(--muted); }
.price { margin: 4px 0 8px; font-size: 24px; font-weight: 700; }
.price span { color: var(--muted); font-size: 15px; font-weight: 400; }

.facilities { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 0 32px; margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.facilities li { padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 500; }

.nearby { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.nearby div { padding: 20px; border: 1px solid #8A7A58; border-radius: 8px; }
.nearby h3 { margin-bottom: 4px; font-family: 'Figtree', system-ui, sans-serif; font-size: 19px; font-weight: 600; }
.nearby p { color: #F1EAD9; }

.gallery-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.gallery-controls { display: flex; gap: 8px; }
.gallery-controls button { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--brown); border-radius: 50%; background: transparent; color: var(--brown); cursor: pointer; }
.gallery-controls button:hover:not(:disabled) { background: var(--brown); color: var(--paper); }
.gallery-controls button:disabled { opacity: .35; cursor: default; }
.gallery { display: flex; gap: clamp(8px, 1.2vw, 16px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.gallery::-webkit-scrollbar { display: none; }
.gallery-item { position: relative; display: block; flex: 0 0 clamp(250px, 31vw, 400px); aspect-ratio: 4 / 3; padding: 0; overflow: hidden; border: 0; border-radius: 8px; background: var(--placeholder); color: #4A3220; cursor: zoom-in; scroll-snap-align: start; }
.gallery-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item .placeholder { width: 100%; height: 100%; }

body:has(.lightbox[open]) { overflow: hidden; }
.lightbox { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(38, 19, 7, .95); color: var(--paper); }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lightbox-top, .lightbox-caption { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px clamp(12px, 3vw, 24px); }
.lightbox-count { font-size: 15px; font-variant-numeric: tabular-nums; }
.lightbox-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 clamp(12px, 7vw, 88px); touch-action: pan-y; }
.lightbox-stage img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.lightbox-empty { width: min(100%, 860px); aspect-ratio: 4 / 3; max-height: 100%; border-radius: 4px; }
.lightbox button { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid #8A7A58; border-radius: 50%; background: var(--brown); color: var(--paper); cursor: pointer; }
.lightbox button:hover { background: #5F7042; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: clamp(8px, 2vw, 24px); }
.lightbox-next { right: clamp(8px, 2vw, 24px); }
.lightbox-caption { justify-content: center; min-height: 56px; text-align: center; }
@media (max-width: 759px) {
  .lightbox-stage { padding: 0; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 8px; transform: none; }
}

.faq { max-width: 900px; margin: 0 auto; }
.faq h2 { margin-bottom: 24px; }
details { padding: 16px 0; border-top: 1px solid #A89880; }
details:last-child { border-bottom: 1px solid #A89880; }
summary { cursor: pointer; font-weight: 600; }
details p { margin-top: 10px; color: var(--muted); }

.location { align-items: center; }
.location p { margin: 16px 0 24px; }
.map { aspect-ratio: 16 / 10; border-radius: 8px; }

.site-footer { padding: 32px var(--gutter); color: var(--muted-dark); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.blog-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 32px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-underline-offset: 4px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 8px; background: #fff; }
.post-card .placeholder { aspect-ratio: 16 / 10; }
.post-body { display: flex; flex-direction: column; flex-grow: 1; gap: 8px; padding: 20px; }
.post-meta { color: var(--muted); font-size: 15px; }
.post-card h3 { font-size: 24px; line-height: 1.22; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.post-excerpt { color: var(--muted); }
.post-card .text-link { margin-top: auto; }
.page-hero { padding: clamp(40px, 6vw, 72px) var(--gutter); }
.page-hero h1 { font-size: clamp(42px, 6vw, 72px); }
.page-hero p { max-width: 36em; margin-top: 16px; color: var(--muted-dark); font-size: clamp(18px, 2vw, 20px); }
.article-hero { padding: clamp(32px, 5vw, 56px) var(--gutter); }
.breadcrumb { margin-bottom: 20px; color: var(--muted-dark); font-size: 15px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; }
.article-hero h1 { max-width: 16em; font-size: clamp(38px, 5.6vw, 68px); line-height: 1.06; }
.article-meta { margin-top: 16px; color: var(--muted-dark); font-size: 16px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.article-main { min-width: 0; }
.article-cover { aspect-ratio: 16 / 9; margin-bottom: 32px; border-radius: 8px; }
.prose { font-size: 18px; line-height: 1.75; }
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: 40px; font-size: clamp(28px, 3.4vw, 36px); line-height: 1.15; scroll-margin-top: 16px; }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.note { padding: 18px 20px; border-radius: 8px; background: var(--ground-2); font-size: 17px; }
.sources { color: var(--muted); font-size: 15px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); }
.share a, .share button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--brown); border-radius: 6px; background: transparent; color: var(--brown); font-weight: 600; text-decoration: none; cursor: pointer; }
.article-side { display: flex; flex-direction: column; gap: 20px; }
.side-box { padding: 20px; border-radius: 8px; background: #fff; }
.side-box h2 { margin-bottom: 8px; font-size: 22px; line-height: 1.2; }
.side-box ol { margin: 0; padding-left: 20px; }
.side-box li + li { margin-top: 6px; }
.side-box a:not(.button) { text-underline-offset: 3px; }
.side-box p { margin-bottom: 16px; color: var(--muted); }
.side-box .button { width: 100%; padding: 0 12px; text-align: center; }
@media (min-width: 980px) { .article-layout { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } .article-side { position: sticky; top: 16px; } }

/* Tambahan untuk render server */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.about-lead { margin-bottom: 16px; font-size: clamp(18px, 2vw, 20px); }
.about-more { color: var(--muted); }
.about-more + .about-more { margin-top: 12px; }
.hero-text:empty { display: none; }
.room-photo { display: block; width: 100%; height: 100%; min-height: 280px; object-fit: cover; aspect-ratio: 4 / 3; }
.post-cover { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: var(--placeholder); }
.article-cover { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 32px; border-radius: 8px; background: var(--placeholder); }
.lightbox-media { display: contents; }
.lightbox-media img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.video-fallback { position: absolute; inset: 0; display: block; background: var(--brown); }
.video-fallback img { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-play-icon { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; border-radius: 50%; background: var(--sun); transform: translate(-50%, -50%); }
.map { display: block; width: 100%; height: auto; border: 0; }
.address { white-space: pre-line; }
.location-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 32px; margin-top: 40px; }
.empty { color: var(--muted); }
.page-hero .button { margin-top: 8px; }
.site-header .brand span { padding-right: 4px; }
