/* WARUNGCASH189 — brand tokens & base */
:root {
  --bg: #070707;
  --bg-elevated: #101010;
  --bg-soft: #141414;
  --surface: #1a1a1a;
  --text: #f2f0ea;
  --text-muted: #a8a398;
  --gold: #f5c518;
  --gold-deep: #c9a227;
  --gold-soft: rgba(245, 197, 24, 0.14);
  --line: rgba(245, 197, 24, 0.28);
  --line-subtle: rgba(255, 255, 255, 0.08);
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --header-h: 4.5rem;
  --radius: 0.35rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(201, 162, 39, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 30%, rgba(245, 197, 24, 0.04), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

address {
  font-style: normal;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

h1, h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
}

h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0;
}

p {
  margin: 0;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.section {
  padding: clamp(4rem, 10vw, 7rem) 0;
}

.section__head {
  max-width: 38rem;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.section__head p:not(.eyebrow) {
  margin-top: 1rem;
  color: var(--text-muted);
}

.section__head h2 + p,
.section__head .eyebrow + h2 + p {
  margin-top: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.55rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn--sm {
  padding: 0.65rem 1.1rem;
  font-size: 0.8rem;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #111;
}

.btn--gold:hover {
  background: linear-gradient(135deg, #ffd84a, var(--gold));
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Header / Nav */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(7, 7, 7, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-subtle);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(7, 7, 7, 0.92);
  border-bottom-color: var(--line);
}

.nav {
  width: min(100% - 2rem, var(--max));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__brand img {
  width: auto;
  height: 2.6rem;
  object-fit: contain;
}

.nav__toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 5px auto;
  background: var(--gold);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__panel {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav__links a {
  position: relative;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--text);
}

.nav__links a.is-active::after,
.nav__links a:hover::after {
  transform: scaleX(1);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  animation: heroZoom 18s var(--ease) infinite alternate;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 7, 7, 0.72) 0%, rgba(7, 7, 7, 0.55) 40%, rgba(7, 7, 7, 0.88) 100%),
    radial-gradient(ellipse at center, transparent 20%, rgba(0, 0, 0, 0.45) 100%);
}

.hero__content {
  width: min(100% - 2rem, 42rem);
  text-align: center;
  padding: calc(var(--header-h) + 2rem) 0 3rem;
  animation: fadeUp 0.9s var(--ease) both;
}

.hero__logo {
  width: min(100%, 22rem);
  margin: 0 auto 1.25rem;
  filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.55));
}

.hero__title {
  font-size: clamp(2.4rem, 7vw, 4rem);
  margin-bottom: 0.85rem;
}

.hero__lead {
  color: var(--text-muted);
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  margin-bottom: 1.85rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

@keyframes heroZoom {
  from { transform: scale(1.04); }
  to { transform: scale(1.1); }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About */
.about {
  background:
    linear-gradient(180deg, transparent, rgba(245, 197, 24, 0.03)),
    var(--bg);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about__copy h2 {
  margin-bottom: 1.15rem;
}

.about__copy p:not(.eyebrow) {
  color: var(--text-muted);
  max-width: 34rem;
}

.about__visual {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.about__visual img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.about__visual:hover img {
  transform: scale(1.03);
}

/* Services — no heavy cards */
.services__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 2rem;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}

.services__item {
  padding-top: 0.25rem;
}

.services__icon {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.services__icon svg {
  width: 100%;
  height: 100%;
}

.services__item h3 {
  margin-bottom: 0.5rem;
  color: var(--text);
}

.services__item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Facilities */
.facilities {
  background: var(--bg-elevated);
}

.facilities__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.facilities__item {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line-subtle);
  background: #000;
}

.facilities__item img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  transition: transform 0.7s var(--ease), opacity 0.4s var(--ease);
  opacity: 0.92;
}

.facilities__item:hover img {
  transform: scale(1.04);
  opacity: 1;
}

.facilities__item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.75rem 1.15rem 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}

/* Packages */
.packages__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.packages__visual {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}

.packages__visual img {
  width: 100%;
  object-fit: contain;
  background: #0a0a0a;
}

.packages__visual figcaption {
  padding: 0.85rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border-top: 1px solid var(--line-subtle);
  background: var(--bg-soft);
}

.packages__cta {
  margin-top: 2rem;
  text-align: center;
}

/* Contact */
.contact {
  background:
    radial-gradient(ellipse 70% 60% at 50% 100%, var(--gold-soft), transparent 60%),
    var(--bg);
}

.contact__inner {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}

.contact__inner .section__head {
  margin-inline: auto;
  margin-bottom: 2rem;
}

.contact__inner .section__head p:not(.eyebrow) {
  color: var(--text-muted);
}

.contact__inner strong {
  color: var(--gold);
  font-weight: 700;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.contact__link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 10.5rem;
  justify-content: center;
  padding: 1rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  background: rgba(0, 0, 0, 0.35);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s var(--ease);
}

.contact__link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-soft);
  transform: translateY(-2px);
}

.contact__icon {
  display: inline-flex;
  width: 1.25rem;
  height: 1.25rem;
}

.contact__icon svg {
  width: 100%;
  height: 100%;
}

/* Lokasi */
.lokasi__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 1.5rem;
  align-items: stretch;
}

.lokasi__info address {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.lokasi__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.lokasi__photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-subtle);
}

.lokasi__photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.lokasi__map {
  min-height: 480px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

.lokasi__map iframe {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: 0;
  display: block;
  filter: grayscale(0.15) contrast(1.05);
}

/* Footer */
.footer {
  border-top: 1px solid var(--line-subtle);
  padding: 2.5rem 0;
  background: #050505;
}

.footer__inner {
  display: grid;
  gap: 1.25rem;
  justify-items: center;
  text-align: center;
}

.footer__brand img {
  height: 2.4rem;
  width: auto;
  margin-inline: auto;
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social a {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-subtle);
  border-radius: 50%;
  color: var(--text-muted);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer__social a:hover {
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.footer__social svg {
  width: 1.1rem;
  height: 1.1rem;
}

.footer__copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 960px) {
  .about__grid,
  .lokasi__grid,
  .services__list {
    grid-template-columns: 1fr 1fr;
  }

  .services__list {
    gap: 1.75rem;
  }

  .lokasi__map,
  .lokasi__map iframe {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .nav__toggle {
    display: block;
  }

  .nav__panel {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: grid;
    gap: 1.25rem;
    padding: 1.25rem 1rem 1.5rem;
    background: rgba(7, 7, 7, 0.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  }

  .nav__panel.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .nav__panel .btn {
    width: max-content;
  }

  .about__grid,
  .services__list,
  .facilities__grid,
  .packages__grid,
  .lokasi__grid {
    grid-template-columns: 1fr;
  }

  .hero__logo {
    width: min(100%, 16rem);
  }

  .lokasi__map,
  .lokasi__map iframe {
    min-height: 360px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
