/*
 * Gaya "tropis" — boutique hotel di tengah hijau.
 * Pasir hangat, terakota, hijau tua; judul serif lembut (Fraunces), teks Manrope.
 * Bentuk khas: foto berbentuk lengkung (arch), kontrol membulat, blok hijau penuh.
 * Dimuat setelah toko.css, jadi cukup menimpa yang berbeda.
 */

@font-face {
    font-family: 'Fraunces';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url('../../fonts/fraunces/fraunces-latin-full-normal.woff2') format('woff2-variations');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Fraunces';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url('../../fonts/fraunces/fraunces-latin-ext-full-normal.woff2') format('woff2-variations');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Fraunces';
    font-style: italic;
    font-display: swap;
    font-weight: 100 900;
    src: url('../../fonts/fraunces/fraunces-latin-full-italic.woff2') format('woff2-variations');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Fraunces';
    font-style: italic;
    font-display: swap;
    font-weight: 100 900;
    src: url('../../fonts/fraunces/fraunces-latin-ext-full-italic.woff2') format('woff2-variations');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-display: swap;
    font-weight: 200 800;
    src: url('../../fonts/manrope/manrope-latin-wght-normal.woff2') format('woff2-variations');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-display: swap;
    font-weight: 200 800;
    src: url('../../fonts/manrope/manrope-latin-ext-wght-normal.woff2') format('woff2-variations');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --ink: #1f3b2d;          /* hijau tua: teks & blok */
    --ink-soft: #4a6052;
    --paper: #f1e8da;        /* pasir */
    --kangkung: #a24e33;     /* terakota: tombol & aksen */
    --kangkung-dark: #7e3a25;
    --sage: #e3d3bc;         /* pasir gelap: latar foto kosong, footer */
    --line: #d6c4a8;
    --brick: #a83a22;
    --ok: #2f6b45;
    --krem: #fffaf2;         /* kartu & kotak */
    --aksen-terang: #e9a27f; /* aksen di atas hijau */

    --font: 'Manrope', 'PingFang TC', 'Noto Sans TC', 'Microsoft JhengHei', system-ui, sans-serif;
    --font-judul: 'Fraunces', 'Songti TC', 'Noto Serif TC', Georgia, serif;
    --wrap: 82rem;
    --radius-foto: 20px;
    --radius-kontrol: 999px;
}

body { font-size: 1rem; line-height: 1.65; }

a { color: inherit; }
::selection { background: var(--aksen-terang); color: var(--ink); }

/* ---------- Tipografi judul ---------- */

.display, .judul-halaman, .judul-produk, .bagian-kepala h2, .wordmark, .tr-sehari h2,
.blok h2, .rincian-judul, .chat-judul, .teks-kebijakan h2 {
    font-family: var(--font-judul);
    font-stretch: normal;
    font-optical-sizing: auto;
}
.display em, .bagian-kepala h2 em, .tr-sehari h2 em, .judul-halaman em { font-style: italic; color: var(--kangkung); }

.display {
    font-weight: 400;
    font-size: clamp(3rem, 6.4vw, 5.75rem);
    line-height: .98;
    letter-spacing: -.02em;
    max-width: 11ch;
    margin-bottom: 1.5rem;
}
:lang(zh-TW) .display { font-weight: 500; line-height: 1.15; letter-spacing: 0; }
.judul-halaman { font-weight: 400; letter-spacing: -.02em; line-height: 1.02; }
.judul-produk { font-weight: 400; letter-spacing: -.015em; line-height: 1.05; }
.bagian-kepala h2 { font-weight: 400; font-size: clamp(2.25rem, 4.5vw, 3.25rem); line-height: 1.05; letter-spacing: -.015em; }
.blok h2, .rincian-judul { font-weight: 500; font-size: 1.5rem; }
.lead { font-size: 1.125rem; max-width: 30rem; color: var(--ink-soft); }

/* ---------- Header ---------- */

.topbar { border-bottom: 0; }
.topbar-inner { min-height: 5.5rem; gap: 1rem 1.5rem; }
.wordmark {
    display: inline-flex; align-items: center; gap: .55rem;
    font-weight: 600; font-size: 1.6rem; letter-spacing: -.01em; text-transform: lowercase;
}
/* Tanpa logo: daun kecil terakota sebagai tanda. */
.wordmark:not(:has(.logo))::before {
    content: ""; width: 1.6rem; height: 1.6rem; flex: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath d='M15 3c-5 6-5 18 0 24M15 3c5 6 5 18 0 24M4 17c5-3 17-3 22 0' fill='none' stroke='%23a24e33' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.footer .wordmark::before { display: none; }
.nav { gap: .25rem; font-weight: 500; font-size: .9375rem; }
.nav a { padding: .55rem 1.1rem; border-radius: var(--radius-kontrol); color: var(--ink); }
.nav a:hover { background: var(--sage); text-decoration: none; }
.nav a.aktif { background: var(--sage); text-decoration: none; }
.akun-nav a {
    display: inline-flex; align-items: center; min-height: 2.6rem; padding: .5rem 1.25rem;
    border-radius: var(--radius-kontrol); background: var(--ink); color: var(--paper);
    font-weight: 600; font-size: .9375rem; text-decoration: none;
}
.akun-nav a:hover, .akun-nav a.aktif { background: var(--kangkung); color: var(--krem); }
.prefs select { border-color: transparent; background-color: transparent; font-weight: 500; }
.prefs select:hover { border-color: var(--line); }

/* ---------- Tombol & kontrol ---------- */

.tombol { font-weight: 700; border-radius: 18px; }
.tombol-garis { border-color: var(--ink); }
.field label { font-weight: 700; font-size: .8125rem; color: var(--ink-soft); }
.field input, .field textarea, .field select, .qty input {
    background-color: var(--krem); border-color: var(--line); border-radius: 14px;
}
.field select { border-radius: 14px; }
.kategori a { background: var(--krem); }

/* ---------- Kotak cari (hero & daftar kamar) ---------- */

.kotak-cari {
    background: var(--krem);
    border: 0;
    border-radius: 28px;
    padding: .75rem;
    box-shadow: 0 12px 34px rgba(31, 59, 45, .10);
}
.form-cari { gap: .5rem; grid-template-columns: 1fr 1fr 1fr 1fr; }
.form-cari .field { background: var(--paper); border-radius: 20px; padding: .55rem 1rem .5rem; gap: 0; }
.form-cari .field label { font-size: .75rem; }
.form-cari .field input, .form-cari .field select {
    background-color: transparent; border: 0; border-radius: 0; padding: 0; min-height: 1.9rem;
    font-weight: 600; font-size: 1.0625rem; color: var(--ink);
}
.form-cari .field select { padding-right: 1.5rem; }
.form-cari .field-galat { box-shadow: inset 0 0 0 2px var(--brick); }
.form-cari .tombol { min-height: 3.4rem; border-radius: 20px; font-size: 1rem; }
.form-cari .cari-zona { padding: .1rem .5rem .25rem; text-align: left; }
@media (max-width: 560px) {
    .form-cari { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
    .kotak-cari-baris .form-cari { grid-template-columns: 1fr 1fr 8rem 8rem auto; }
    .kotak-cari-baris .cari-zona { margin-top: 0; }
}

/* ---------- Beranda ---------- */

.tr-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
    padding-block: clamp(1.5rem, 4vw, 2.5rem) clamp(3rem, 7vw, 5.5rem);
}
.tr-hero:not(:has(.tr-hero-foto)) { grid-template-columns: minmax(0, 46rem); }
.tr-label {
    display: inline-block; margin: 0 0 1.5rem; padding: .35rem .9rem;
    border-radius: var(--radius-kontrol); background: var(--sage); font-size: .875rem; font-weight: 600;
}
.tr-cari { max-width: 40rem; }
.tr-hero-foto { position: relative; margin: 0; }
.tr-hero-foto img {
    width: 100%; aspect-ratio: 5 / 6; object-fit: cover;
    border-radius: 50% 50% 24px 24px / 41.67% 41.67% 24px 24px; /* lengkung setengah lingkaran (rasio 5:6) */
}
.tr-sorot {
    position: absolute; left: -1.5rem; bottom: 2.5rem; max-width: 14rem;
    padding: 1rem 1.25rem; border-radius: 20px; background: var(--krem);
    box-shadow: 0 12px 30px rgba(31, 59, 45, .16); font-size: .875rem; line-height: 1.45; color: var(--ink-soft);
}
.tr-sorot strong { display: block; font-family: var(--font-judul); font-weight: 400; font-size: 2.1rem; line-height: 1; color: var(--ink); margin-bottom: .25rem; }

@media (prefers-reduced-motion: no-preference) {
    .tr-hero-foto img { animation: tr-naik .8s cubic-bezier(.2, .7, .2, 1) both; }
    .tr-sorot { animation: tr-naik .8s .25s cubic-bezier(.2, .7, .2, 1) both; }
    @keyframes tr-naik { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

.tr-kamar { background: var(--ink); color: var(--paper); padding-block: clamp(3.5rem, 8vw, 6rem); }
.tr-kamar .bagian-kepala { align-items: end; margin-bottom: clamp(2rem, 4vw, 3rem); flex-wrap: wrap; }
.tr-kamar .bagian-kepala h2 em { color: var(--aksen-terang); }
.tr-kamar .bagian-kepala a { color: var(--aksen-terang); font-weight: 700; text-decoration: none; }
.tr-kamar .bagian-kepala a:hover { text-decoration: underline; }
.tr-kamar .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem 2rem; }
@media (max-width: 1000px) { .tr-kamar .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tr-kamar .kartu-meta { color: #b9c8be; }
.tr-kamar .kartu-foto { background: #2c4d3c; }
.tr-kamar .kamar-siluet { color: var(--aksen-terang); }
.tr-kamar :focus-visible { outline-color: var(--aksen-terang); }

.tr-sehari { padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(2rem, 5vw, 3rem); }
.tr-sehari h2 { margin: 0 0 clamp(2rem, 4vw, 3.25rem); font-weight: 400; font-size: clamp(2.25rem, 4.5vw, 3.25rem); line-height: 1.05; }
.tr-sehari ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 2rem 1.75rem; counter-reset: none; }
.tr-sehari img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }
.tr-jam { margin: 1.1rem 0 .15rem; font-weight: 700; color: var(--kangkung); font-variant-numeric: tabular-nums; }
.tr-agenda { margin: 0; font-family: var(--font-judul); font-size: 1.375rem; line-height: 1.25; }

/* ---------- Kartu kamar ---------- */

.grid { gap: 2.5rem 1.5rem; }
.tr-kartu { gap: .15rem; }
.tr-kartu .kartu-foto {
    aspect-ratio: 4 / 5;
    border-radius: 50% 50% 16px 16px / 40% 40% 16px 16px; /* setengah lingkaran di atas (rasio 4:5) */
    margin-bottom: 1rem;
}
.tr-kartu .geser, .tr-kartu .geser-jalur { height: 100%; }
.tr-kartu .geser-slide { height: 100%; object-fit: cover; }
.tr-kartu .kartu-nama { font-family: var(--font-judul); font-weight: 400; font-size: 1.45rem; line-height: 1.2; }
.tr-kartu-mulai { margin-top: .4rem; font-weight: 700; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.tr-kamar .tr-kartu-mulai { color: var(--aksen-terang); }
.tr-kartu .kartu-harga { margin-top: .35rem; }
.tr-kartu:hover .kartu-nama { text-decoration: none; }
.tr-kartu img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.tr-kartu:hover img { transform: scale(1.035); }
@media (prefers-reduced-motion: reduce) { .tr-kartu img { transition: none; } .tr-kartu:hover img { transform: none; } }
.kartu-sisa { color: var(--kangkung); }
.tr-kamar .kartu-sisa { color: var(--aksen-terang); }

/* ---------- Detail kamar ---------- */

.galeri-utama { border-radius: 28px; }
.galeri-thumb button { border-radius: 12px; }
.fasilitas li { background: var(--krem); border-color: var(--line); }
.info .harga { font-family: var(--font-judul); }

/* ---------- Footer & chat ---------- */

.footer { background: var(--sage); border-top: 0; }
.footer-inner { padding-block: 3rem; color: var(--ink-soft); }
.footer .wordmark-kecil { color: var(--ink); text-transform: lowercase; }
.footer-tautan a { font-weight: 500; text-decoration: none; color: var(--ink); }
.footer-tautan a:hover { color: var(--kangkung); text-decoration: underline; }
.footer-kontak { border-top-color: var(--line); }
.chat-buka { background: var(--kangkung); color: var(--krem); box-shadow: 0 8px 24px rgba(126, 58, 37, .3); }
.chat-panel { border-color: var(--line); border-radius: 22px; }

/* ---------- Layar kecil ---------- */

@media (max-width: 760px) {
    .tr-hero { grid-template-columns: minmax(0, 1fr); }
    .tr-hero-foto { order: -1; }
    .tr-hero-foto img { aspect-ratio: 1; border-radius: 50% 50% 20px 20px / 50% 50% 20px 20px; max-height: 26rem; }
    .tr-sorot { left: 1rem; bottom: 1rem; }
    .display { max-width: none; }
    .tr-kamar .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem .9rem; }
    .tr-kartu .kartu-nama { font-size: 1.15rem; }
    .tr-sehari ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem .9rem; }
    .tr-agenda { font-size: 1.125rem; }
    .topbar-inner { min-height: 4rem; row-gap: .25rem; }
}
