/* =========================================================
   Griyo Butuh - home.css  (Poppins, modern)
   ========================================================= */
:root {
    --green: #1f5a3a;
    --green-dark: #163f29;
    --green-soft: #e8f1ec;
    --rust: #a3401f;
    --ink: #1b1f1d;
    --muted: #6b726e;
    --line: #e6e8e6;
    --bg: #f0f0ef;
    --white: #fff;
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --shadow: 0 1px 2px rgba(20, 30, 25, .05), 0 8px 24px rgba(20, 30, 25, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    margin: 0;
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, p { margin: 0; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); font-size: 13px; }

/* ---------- Tombol & label ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 8px; justify-content: center;
    padding: 13px 26px; border-radius: 999px; font: 500 14px 'Poppins', sans-serif;
    border: 0; cursor: pointer; transition: background .2s, transform .2s;
}
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-dark); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--green-soft); }
.btn--sm { padding: 9px 22px; font-size: 13px; }

.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--rust); }
.chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px;
    background: rgba(255, 255, 255, .16); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .3); color: #fff; font-size: 12px;
}
.pill {
    padding: 7px 16px; border-radius: 999px; font-size: 12px; font-weight: 500;
    background: #e3e5e3; color: #444; white-space: nowrap;
}
.pill--dark { background: rgba(255, 255, 255, .18); color: #fff; backdrop-filter: blur(8px); }

/* ---------- Navbar ---------- */
.nav-wrap { position: fixed; inset: 16px 0 auto; z-index: 50; padding: 0 20px; }
.nav {
    max-width: 780px; margin: 0 auto; padding: 10px 14px 10px 26px;
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px);
    border-radius: 999px; box-shadow: var(--shadow); position: relative;
}
.nav__brand { font-weight: 700; color: var(--green); display: inline-flex; align-items: center; gap: 10px; }
.nav__brand img { width: 34px; height: 34px; border-radius: 8px; flex: none; }
.nav__menu { display: flex; gap: 6px; }
.nav__menu a { padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 500; transition: background .2s; }
.nav__menu a:hover { background: var(--green-soft); color: var(--green); }
.nav__toggle { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
    position: relative; min-height: 600px; height: 88vh; max-height: 760px;
    background-size: cover; background-position: center; display: grid; place-items: center;
    padding: 120px 20px 150px; text-align: center; color: #fff;
}
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 25, 18, .45), rgba(10, 25, 18, .7)); }
.hero__body { position: relative; max-width: 760px; display: grid; gap: 22px; justify-items: center; animation: rise .9s ease both; }
.hero h1 { font-size: clamp(34px, 6vw, 62px); line-height: 1.1; font-weight: 700; letter-spacing: -.02em; }
.hero p { max-width: 560px; font-size: 15px; font-weight: 300; opacity: .92; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Kartu besar (tentang & lokasi) ---------- */
.card-lg { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.about {
    margin-top: -90px; position: relative; z-index: 2; padding: 56px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.about__text { display: grid; gap: 16px; }
.about h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.25; font-weight: 600; }
.about p { color: var(--muted); font-size: 14px; }
.about__collage { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(6, 44px); gap: 14px; }
.about__collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-md); box-shadow: var(--shadow); }
.c1 { grid-column: 3 / 6; grid-row: 1 / 4; }
.c2 { grid-column: 1 / 4; grid-row: 2 / 6; }
.c3 { grid-column: 3 / 5; grid-row: 4 / 7; }
.c4 { grid-column: 5 / 7; grid-row: 3 / 6; }

/* ---------- Section ---------- */
.section { padding: 72px 0 8px; }
.section__head { margin-bottom: 36px; display: grid; gap: 10px; }
.section__head h1, .section__head h2 { font-size: clamp(24px, 3.2vw, 32px); font-weight: 600; letter-spacing: -.01em; }
.section__head p { color: var(--muted); font-size: 14px; max-width: 560px; }
.section__head--split { grid-template-columns: 1fr auto; align-items: end; }
.section__head--center { text-align: center; justify-items: center; }

/* ---------- Grid & Card ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card { background: #fff; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #ddd; }
.card__img--short { aspect-ratio: 16 / 10; }
.card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__img img { transform: scale(1.04); }
.card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__body h3 { font-size: 17px; font-weight: 600; line-height: 1.3; }
.badge, .ribbon {
    position: absolute; top: 14px; left: 14px; padding: 5px 14px; border-radius: 999px;
    background: #fff; font-size: 11px; font-weight: 600; color: var(--green);
}
.ribbon { background: var(--rust); color: #fff; }

.feat { display: grid; gap: 8px; margin-top: 4px; font-size: 12px; color: #444; }
.feat--2 { grid-template-columns: 1fr 1fr; }
.feat li { display: flex; gap: 8px; align-items: flex-start; }
.feat i { color: var(--green); font-size: 14px; line-height: 1.5; }

.card__foot {
    margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line);
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.price small { font-size: 11px; color: var(--muted); }
.price small:first-child:not(:only-child) { flex-basis: 100%; }
.price strong { font-size: 20px; font-weight: 700; color: var(--rust); }

/* ---------- Jeep ---------- */
.jeep { position: relative; margin-top: 72px; padding: 0 0 80px; color: #fff; }
.jeep__bg { position: absolute; inset: 0 0 auto; height: 340px; background-size: cover; background-position: center; }
.jeep__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 25, 18, .55), rgba(10, 25, 18, .8)); }
.jeep .container { position: relative; }
.jeep__head { padding: 88px 0 56px; display: grid; gap: 12px; justify-items: start; }
.jeep__head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; letter-spacing: -.01em; }
.jeep__head p { max-width: 520px; font-weight: 300; opacity: .9; }
.jeep .card { color: var(--ink); }
.card--row { flex-direction: row; }
.card--row .card__img { flex: 0 0 42%; aspect-ratio: auto; min-height: 240px; }
.card--row .card__foot { border-top: 0; padding-top: 8px; }
.meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.time { font-size: 11px; color: var(--muted); display: inline-flex; gap: 5px; align-items: center; }

/* ---------- Fasilitas ---------- */
.fas {
    background: #fff; border-radius: var(--r-md); padding: 24px; display: flex; gap: 16px;
    align-items: flex-start; box-shadow: var(--shadow);
}
.fas__icon {
    flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--green-soft);
    color: var(--green); display: grid; place-items: center; font-size: 20px;
}
.fas h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }

/* ---------- Galeri ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery figure { margin: 0; aspect-ratio: 3 / 4; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow); }
.gallery figure:nth-child(even) { transform: translateY(24px); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery { padding-bottom: 24px; }

/* ---------- Lokasi ---------- */
.loc { padding: 28px; display: grid; grid-template-columns: 1.7fr 1fr; gap: 40px; align-items: center; }
.loc__map { position: relative; border-radius: var(--r-md); overflow: hidden; min-height: 340px; background: #dfe5e1; }
.loc__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.loc__btn { position: absolute; left: 16px; bottom: 16px; box-shadow: var(--shadow); }
.loc__text { display: grid; gap: 12px; padding-right: 20px; }
.loc__text h3 { font-size: 24px; font-weight: 600; }

/* ---------- Footer ---------- */
.footer { margin-top: 88px; background: #fff; border-top: 1px solid var(--line); padding-top: 56px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.4fr; gap: 40px; padding-bottom: 40px; }
.footer__brand { font-size: 20px; font-weight: 700; color: var(--green); display: inline-block; margin-bottom: 12px; }
.footer p { font-size: 12.5px; color: var(--muted); }
.footer h5 { font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.footer ul { display: grid; gap: 10px; font-size: 12.5px; color: var(--muted); }
.footer ul a:hover { color: var(--green); }
.footer .icons li { display: flex; gap: 10px; align-items: flex-start; }
.footer .icons i { color: var(--green); }
.footer__copy { border-top: 1px solid var(--line); padding: 20px; text-align: center; font-size: 12px; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
    .about { grid-template-columns: 1fr; padding: 32px 24px; margin-top: -60px; }
    .about__collage { grid-template-rows: repeat(6, 38px); }
    .grid--2 { grid-template-columns: 1fr; }
    .loc { grid-template-columns: 1fr; }
    .loc__text { padding: 0 8px 12px; }
    .section__head--split { grid-template-columns: 1fr; }
    .section__head--split .pill { justify-self: start; }
    .nav { border-radius: 24px; }
    .nav__toggle { display: block; }
    .nav__menu {
        display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column;
        background: #fff; border-radius: 20px; padding: 10px; box-shadow: var(--shadow);
    }
    .nav__menu.is-open { display: flex; }

    /* Kartu jeep: tampil seperti kartu kamar (foto di atas, keterangan & harga di bawah) */
    .card--row { flex-direction: column; }
    .card--row .card__img { flex: none; width: 100%; height: auto; min-height: 0; aspect-ratio: 4 / 3; }
    .card--row .card__body { padding: 22px; flex: 1; }
    .card--row .card__foot { border-top: 1px solid var(--line); padding-top: 16px; }
}
@media (max-width: 600px) {
    .grid--3 { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
    .hero { padding-bottom: 130px; }
}
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}