/* =======================================================
   Jakarta Film Summit — shared base styles
   Used by: index.html, about.html, news.html, register.html
   ======================================================= */

:root {
  --ink: #1e1e19;
  --ink-soft: #4a4a42;
  --paper: #f4f4f1;
  --panel: #ffffff;
  --line: #c2cccc;
  --line-strong: #9ca8a8;
  --rust: #bf4419;
  --rust-deep: #8f3110;
  --mauve: #c67188;
  --gold: #e4c697;
  --red: #cc3315;
  --grad: linear-gradient(
    120deg,
    #c67188 0%,
    #e4c697 17%,
    #cc3315 58%,
    #1e1e19 100%
  );
  --grad-tight: linear-gradient(120deg, #cc3315, #bf4419);
  --grad-wash: linear-gradient(
    160deg,
    rgba(198, 113, 136, 0.14),
    rgba(228, 198, 151, 0.18) 55%,
    rgba(204, 51, 21, 0.1)
  );
  --shadow: 0 24px 50px -24px rgba(30, 30, 25, 0.4);
  --font-display:
    "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body:
    "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*,
*::before,
*::after {
  box-sizing: inherit;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #1e1e19;
    --paper: #f4f4f1;
    --panel: #ffffff;
  }
}
:root[data-theme="dark"] {
  --ink: #1e1e19;
  --paper: #f4f4f1;
  --panel: #ffffff;
}

/* ---------- reset ---------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(66px + env(safe-area-inset-top, 0px));
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
svg {
  max-width: 100%;
  display: block;
}
.wrap {
  max-width: 1160px;
  margin: 0 auto;
  /* padding: 0 24px; */
}
a {
  color: var(--rust);
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
button {
  font: inherit;
}
/* ----------  navbar ---------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;

  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;

  backdrop-filter: none;
  -webkit-backdrop-filter: none;

  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

/* =======================================================
   BOTTOM ACCENT LINE
   ======================================================= */

.site-nav::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;

  bottom: -1px;

  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(191, 68, 25, 0.45),
    rgba(198, 113, 136, 0.35),
    transparent
  );

  opacity: 0;

  transition: opacity 0.3s ease;
}

/* =======================================================
   NAVBAR — SCROLLED STATE
   ======================================================= */
.site-nav.scrolled {
  background: rgba(244, 244, 241, 0.96);
  border-bottom-color: rgba(194, 204, 204, 0.65);
  box-shadow: 0 6px 18px rgba(30, 30, 25, 0.07);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.site-nav.scrolled::after {
  opacity: 0.7;
}
.site-nav.scrolled .logo-white {
  display: none !important;
}

.site-nav.scrolled .logo-black {
  display: block !important;
}
/* =======================================================
   NAVBAR WRAPPER
   ======================================================= */

.site-nav .wrap {
  min-height: 72px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 28px;

  padding: 10px 24px;
}
/* =======================================================
   NAVBAR — COLORS
   ======================================================= */

/* Saat navbar berada di atas hero */
.site-nav:not(.scrolled) .nav-links a {
  color: #fff;
}

/* Saat navbar sudah scroll */
.site-nav.scrolled .nav-links a {
  color: var(--ink);
}

/* Active tetap putih di atas background hitam */
.site-nav .nav-links a.active,
.site-nav.scrolled .nav-links a.active {
  color: #f4f4f1;
  background: var(--ink);
}

/* Hover saat navbar transparan */
.site-nav:not(.scrolled) .nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* Hover saat navbar sudah scroll */
.site-nav.scrolled .nav-links a:hover {
  color: var(--ink);
  background: rgba(194, 204, 204, 0.28);
}

/* Active tidak boleh berubah karena hover */
.site-nav .nav-links a.active:hover,
.site-nav.scrolled .nav-links a.active:hover {
  color: #f4f4f1;
  background: var(--ink);
}

/* =======================================================
   CTA — DAFTAR
   Selalu orange + teks putih
   ======================================================= */

.site-nav .nav-cta {
  color: #fff;
  background: var(--grad-tight);
  border: 0;
  box-shadow: 0 5px 14px rgba(30, 30, 25, 0.12);
}

.site-nav .nav-cta:hover,
.site-nav.scrolled .nav-cta:hover {
  color: #fff;
  background: var(--grad-tight);
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(30, 30, 25, 0.17);
}
/* =======================================================
   BRAND / LOGO
   ======================================================= */
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand .logo {
  display: block;
  width: auto;
  height: 38px;
  transition: opacity 0.3s ease;
}

.logo-black {
  display: none !important;
}

.logo-white {
  display: block !important;
}
.brand img {
  width: 150px;

  height: auto;

  display: block;

  object-fit: contain;

  filter: drop-shadow(0 5px 8px rgba(30, 30, 25, 0.14));

  transition:
    transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.3s ease;
}

.brand:hover img {
  transform: translateY(-1px) scale(1.02);

  filter: drop-shadow(0 7px 12px rgba(30, 30, 25, 0.18));
}

/* =======================================================
   DESKTOP NAVIGATION
   ======================================================= */

.nav-links {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 4px;

  margin-left: auto;

  overflow-x: auto;

  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  position: relative;

  display: flex;

  align-items: center;

  flex: 0 0 auto;

  text-decoration: none;

  color: var(--ink-soft);

  font-size: 0.86rem;

  font-weight: 650;

  letter-spacing: -0.005em;

  padding: 9px 15px;

  border-radius: 999px;

  white-space: nowrap;

  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

/* =======================================================
   NAVIGATION HOVER ACCENT
   ======================================================= */

.nav-links a::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--rust);
  transform: translateX(-50%);
  transition: width 0.2s ease;
}

.nav-links a:hover::before {
  width: 18px;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(194, 204, 204, 0.28);
  transform: translateY(-1px);
}

/* =======================================================
   ACTIVE NAVIGATION
   ======================================================= */
.nav-links a.active {
  color: #f4f4f1;
  background: var(--ink);
  box-shadow: 0 4px 12px rgba(30, 30, 25, 0.14);
}

.nav-links a.active::before {
  display: none;
}

/* =======================================================
   CTA — DAFTAR
   ======================================================= */

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  text-decoration: none;
  color: #f4f4f1;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--grad-tight);
  box-shadow: 0 5px 14px rgba(30, 30, 25, 0.12);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);

  box-shadow: 0 8px 18px rgba(30, 30, 25, 0.17);
}

/* =======================================================
   MOBILE HAMBURGER
   ======================================================= */

.nav-toggle {
  display: none;

  width: 42px;
  height: 42px;

  flex: 0 0 auto;

  align-items: center;
  justify-content: center;

  flex-direction: column;

  gap: 5px;

  padding: 0;

  cursor: pointer;

  background: var(--panel);

  border: 1.4px solid var(--line);

  border-radius: 10px;

  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.nav-toggle span {
  display: block;

  width: 18px;

  height: 2px;

  border-radius: 999px;

  background: var(--ink);

  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}

/* =======================================================
   HAMBURGER — ACTIVE / X
   ======================================================= */

.nav-toggle.active {
  border-color: var(--rust);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =======================================================
   MOBILE BACKDROP
   ======================================================= */

.nav-backdrop {
  display: none;

  position: fixed;

  inset: 0;

  background: rgba(30, 30, 25, 0.28);

  z-index: 998;

  opacity: 0;

  pointer-events: none;

  transition: opacity 0.25s ease;
}

.nav-backdrop.show {
  opacity: 1;

  pointer-events: auto;
}

/* =======================================================
   MOBILE
   ======================================================= */

@media (max-width: 760px) {
  /* -----------------------------------------------------
     Prevent page scrolling while menu is open
     ----------------------------------------------------- */

  body.nav-open {
    overflow: hidden;
  }

  /* -----------------------------------------------------
     Navbar wrapper
     ----------------------------------------------------- */

  .site-nav .wrap {
    min-height: 64px;

    justify-content: flex-start;

    gap: 10px;

    padding: 8px 16px;
  }

  /* -----------------------------------------------------
     Logo
     ----------------------------------------------------- */

  .brand img {
    width: 118px;
  }

  /* -----------------------------------------------------
     Navigation links drawer
     ----------------------------------------------------- */

  .nav-links {
    position: absolute;

    top: 100%;

    left: 0;
    right: 0;

    flex-direction: column;

    align-items: stretch;

    justify-content: flex-start;

    margin-left: 0;

    gap: 2px;

    max-height: 0;

    overflow: hidden;

    background: rgba(244, 244, 241, 0.98);

    border-bottom: 1px solid var(--line);

    box-shadow: 0 12px 25px rgba(30, 30, 25, 0.1);

    padding: 0 16px;

    transition:
      max-height 0.32s ease,
      padding 0.32s ease;
  }

  /* -----------------------------------------------------
     Open drawer
     ----------------------------------------------------- */

  .nav-links.open {
    max-height: 340px;

    padding: 10px 16px 18px;

    overflow-y: auto;
  }

  /* -----------------------------------------------------
     Mobile links
     ----------------------------------------------------- */

  .nav-links a {
    width: 100%;

    padding: 14px 10px;

    border-radius: 10px;

    font-size: 0.95rem;
  }

  .nav-links a::before {
    display: none;
  }

  .nav-links a.active {
    box-shadow: none;
  }

  /* -----------------------------------------------------
     CTA
     ----------------------------------------------------- */

  .nav-cta {
    min-width: auto;

    font-size: 0.82rem;

    padding: 9px 16px;
  }

  /* -----------------------------------------------------
     Hamburger
     ----------------------------------------------------- */

  .nav-toggle {
    display: flex;

    margin-left: auto;

    position: relative;

    z-index: 1001;
  }

  /* -----------------------------------------------------
     Backdrop
     ----------------------------------------------------- */

  .nav-backdrop {
    display: block;
  }
}

/* =======================================================
   SMALL PHONES
   ======================================================= */

@media (max-width: 560px) {
  .site-nav .wrap {
    gap: 8px;
  }

  .brand img {
    width: 94px;
  }

  .nav-cta {
    padding: 9px 14px;

    font-size: 0.8rem;
  }

  .nav-toggle {
    width: 40px;

    height: 40px;
  }
}
/* ---------- shared keyframes ---------- */
@keyframes heroGlow {
  0% {
    background-position: 0% 30%;
  }
  100% {
    background-position: 100% 70%;
  }
}
@keyframes watermarkFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}
@keyframes reelRun {
  from {
    background-position-x: 13px;
  }
  to {
    background-position-x: 73px;
  }
}
@keyframes clapOpen {
  0% {
    transform: rotate(-14deg);
  }
  55% {
    transform: rotate(4deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- hero shell (page header) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--grad);
  background-size: 220% 220%;
  animation: heroGlow 20s ease-in-out infinite alternate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background: radial-gradient(
    ellipse at center,
    transparent 30%,
    rgba(0, 0, 0, 0.12) 52%,
    rgba(0, 0, 0, 0.42) 78%,
    rgba(0, 0, 0, 0.72) 100%
  );
}
.hero-watermark {
  position: absolute;
  right: -4%;
  bottom: -14%;
  z-index: 0;
  pointer-events: none;
  font-family: var(--font-display);
  font-weight: 900;
  font-style: normal;
  line-height: 0.78;
  color: rgba(244, 244, 241, 0.08);
  letter-spacing: -0.03em;
  white-space: nowrap;
  animation: watermarkFloat 70s ease-in-out infinite;
}
.sprockets {
  position: absolute;
  left: 0;
  right: 0;
  height: 20px;
  z-index: 2;

  background-image: linear-gradient(
    90deg,
    rgb(195, 63, 24, 0.9) 0,
    rgb(223, 194, 148, 0.9) 18px,
    transparent 18px,
    transparent 26px
  );

  background-size: 60px 8px;
  background-position: 13px center;
  background-repeat: repeat-x;

  opacity: 0.85;

  animation: reelRun 2s linear infinite;
}
.sprockets.top {
  top: 0;
}
.sprockets.bottom {
  bottom: 0;
}
.hero .wrap {
  position: relative;
  z-index: 1;
}
.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.86rem;
  font-weight: 600;
}
.crumb a {
  color: rgba(244, 244, 241, 0.85);
  text-decoration: none;
}
.crumb a:hover {
  color: #fff;
  text-decoration: underline;
}
.crumb span {
  color: rgba(244, 244, 241, 0.5);
}
.crumb b {
  color: #f8f7f3;
  font-weight: 700;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  opacity: 0;
  animation: riseIn 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) 0.05s forwards;
}
.clap {
  width: 34px;
  height: 28px;
  flex: 0 0 auto;
  transform-origin: 8% 85%;
  animation: clapOpen 1s ease 0.4s both;
}
.hero-kicker span {
  font-weight: 700;
  color: #f4f4f1;
  opacity: 0.95;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
}
h1.headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: normal;
  letter-spacing: -0.02em;
  line-height: 1.03;
  margin: 0 0 18px;
  color: #f8f7f3;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.25);
  opacity: 0;
  animation: riseIn 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) 0.14s forwards;
}
.hero p.lead {
  color: #f4f0e8;
  margin: 0;
  opacity: 0;
  animation: riseIn 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) 0.24s forwards;
}

/* ---------- ticker ---------- */
.ticker {
  background: var(--ink);
  overflow: hidden;
  border-bottom: 1px solid rgba(244, 244, 241, 0.12);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 70s linear infinite;
}
.ticker:hover .ticker-track {
  animation-play-state: paused;
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 14px 20px;
}
.ticker-item span {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: normal;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: #ececea;
  white-space: nowrap;
  padding: 0 18px;
}
.ticker-item i {
  width: 3px;
  height: 22px;

  background: #ececea;

  flex: 0 0 auto;

  display: block;
}

/* ---------- section shell ---------- */
section.block {
  padding: 96px 0;
  scroll-margin-top: 80px;
  position: relative;
}
.band-light {
  background: var(--paper);
}
.band-dark {
  background: var(--ink);
  color: #f4f0e8;
}
.band-wash {
  background: var(--grad-wash);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--rust);
  margin-bottom: 14px;
}
.band-dark .eyebrow {
  color: var(--gold);
}
.eyebrow .num {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 800;
  font-size: 1.1rem;
  color: transparent;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
}
.band-dark .eyebrow .num {
  -webkit-text-fill-color: initial;
}
h2.block-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
p.block-desc {
  font-size: 1rem;
  color: var(--ink-soft);
  max-width: 64ch;
  margin: 0 0 40px;
}
.band-dark p.block-desc {
  color: rgba(244, 240, 232, 0.72);
}

/* ---------- scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal.d1.in {
  transition-delay: 0.08s;
}
.reveal.d2.in {
  transition-delay: 0.16s;
}
.reveal.d3.in {
  transition-delay: 0.24s;
}
.reveal.d4.in {
  transition-delay: 0.32s;
}

/* ---------- buttons ---------- */
.btn-primary,
.btn-light,
.btn-outline,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  transition:
    transform 0.15s ease,
    filter 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
}
.btn-primary,
.btn-light {
  position: relative;
  overflow: hidden;
}
.btn-primary::after,
.btn-light::after,
.nav-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.55),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}
.btn-light::after {
  background: linear-gradient(
    120deg,
    transparent,
    rgba(191, 68, 25, 0.28),
    transparent
  );
}
.btn-primary:hover::after,
.btn-light:hover::after,
.nav-cta:hover::after {
  left: 120%;
}
.nav-cta {
  position: relative;
  overflow: hidden;
}

.btn-primary {
  font-size: 1rem;
  color: #fff;
  background: var(--grad-tight);
  padding: 16px 32px;
  box-shadow: 0 16px 30px -14px rgba(191, 68, 25, 0.6);
}
.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 20px 36px -14px rgba(191, 68, 25, 0.7);
}
.btn-light {
  font-size: 1rem;
  color: var(--ink);
  background: #f8f7f3;
  padding: 16px 32px;
  box-shadow: 0 16px 30px -14px rgba(0, 0, 0, 0.35);
}
.btn-light:hover {
  transform: translateY(-2px);
  filter: brightness(0.97);
}
.btn-ghost {
  font-size: 1rem;
  color: #f8f7f3;
  background: transparent;
  border: 1.6px solid rgba(244, 244, 241, 0.55);
  padding: 15px 28px;
}
.btn-ghost:hover {
  background: rgba(244, 244, 241, 0.12);
  border-color: #f8f7f3;
  transform: translateY(-2px);
}
.btn-outline {
  font-size: 0.95rem;
  color: var(--ink);
  background: transparent;
  border: 1.6px solid var(--line-strong);
  padding: 13px 26px;
}
.btn-outline:hover {
  border-color: var(--rust);
  transform: translateY(-2px);
}
.band-dark .btn-outline {
  color: #f4f0e8;
  border-color: rgba(244, 240, 232, 0.35);
}
.band-dark .btn-outline:hover {
  border-color: var(--gold);
}

/* ---------- final cta band ---------- */
.final-cta {
  position: relative;
  background: var(--grad);
  background-size: 220% 220%;
  animation: heroGlow 30s ease-in-out infinite alternate-reverse;
  padding: 30px 0;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(30, 30, 25, 0.05),
    rgba(30, 30, 25, 0.35)
  );
  z-index: 0;
}
.final-cta .wrap {
  position: relative;
  z-index: 1;
}
.final-cta h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: normal;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  color: #f8f7f3;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.final-cta p {
  color: #f4f0e8;
  max-width: 48ch;
  margin: 0 auto 30px;
  font-size: 1rem;
}
/* ---------- FOOTER ---------- */
footer {
  background: var(--ink);
  color: rgba(244, 240, 232, 0.7);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding: 56px 0 40px;
}

/* Logo footer */
footer .foot-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

/* Logo utama JFS */
footer .foot-brand > img {
  display: block;
  flex: 0 1 auto;
  width: auto !important;
  height: 48px !important;
  max-width: 260px;
  object-fit: contain;
}

/* Garis pemisah */
footer .foot-brand .foot-sep {
  flex: 0 0 1px;
  width: 1px;
  height: 40px;
  background: rgba(244, 240, 232, 0.28);
}

/* Logo mitra */
footer .foot-brand .foot-partner {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  transition: transform 0.18s ease;
}

footer .foot-brand .foot-partner img {
  display: block;
  width: auto !important;
  height: 48px !important;
  max-width: 110px;
  object-fit: contain;
}

footer .foot-brand .foot-partner:hover {
  transform: translateY(-2px);
}

/* Deskripsi */
footer p {
  font-size: 0.88rem;
  max-width: 36ch;
  line-height: 1.6;
  margin: 0;
}

/* Judul kolom */
footer h5 {
  color: #f4f0e8;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 16px;
}

/* Navigasi dan kontak */
footer .flinks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

footer .flinks a {
  color: rgba(244, 240, 232, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
}

footer .flinks a:hover {
  color: #f4f0e8;
}

/* Copyright */
.foot-bottom {
  border-top: 1px solid rgba(244, 240, 232, 0.12);
  padding: 22px 0 40px;
  font-size: 0.78rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

/* Tablet */
@media (max-width: 900px) {
  .foot-grid {
    grid-template-columns: 1.3fr 1fr;
    gap: 32px;
  }
}

/* HP */
@media (max-width: 700px) {
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 0 30px;
  }

  footer .foot-brand {
    gap: 12px;
  }

  footer .foot-brand > img {
    height: 42px !important;
    max-width: 200px;
  }

  footer .foot-brand .foot-sep {
    height: 32px;
  }

  footer .foot-brand .foot-partner {
    height: 42px;
  }

  footer .foot-brand .foot-partner img {
    height: 42px !important;
    max-width: 100px;
  }

  .foot-bottom {
    padding-bottom: 28px;
  }
}

/* HP kecil: logo boleh turun baris jika ruang sempit */
@media (max-width: 380px) {
  footer .foot-brand {
    gap: 12px;
  }

  footer .foot-brand .foot-sep {
    display: none;
  }
}
/* =======================================================
   MOBILE MENU — FIX LAYERING
   ======================================================= */

@media (max-width: 760px) {
  /* Backdrop harus berada DI BAWAH navbar + menu */
  .nav-backdrop {
    z-index: 997;
  }

  /* Navbar harus berada di atas backdrop */
  .site-nav {
    z-index: 1000;
  }

  /* Menu drawer harus bisa menerima klik */
  .nav-links {
    position: absolute;
    z-index: 1002;
  }

  /* Hamburger / X paling atas */
  .nav-toggle {
    position: relative;
    z-index: 1003;
  }

  /* Semua link harus benar-benar clickable */
  .nav-links a {
    position: relative;
    z-index: 1004;
    pointer-events: auto;
  }
}

/* =======================================================
   MOBILE MENU — FINAL COLOR & LAYER FIX
   ======================================================= */

@media (max-width: 760px) {
  /* Drawer selalu terang */
  .nav-links {
    background: #f4f4f1 !important;
    color: #1e1e19 !important;
    opacity: 1;
    z-index: 1002;
  }

  /* Semua link di drawer selalu hitam */
  .nav-links a,
  .site-nav:not(.scrolled) .nav-links a,
  .site-nav.scrolled .nav-links a {
    color: #1e1e19 !important;
    opacity: 1 !important;
  }

  /* Hover */
  .nav-links a:hover {
    color: #1e1e19 !important;
    background: rgba(30, 30, 25, 0.06);
  }

  /* Menu aktif */
  .nav-links a.active,
  .site-nav:not(.scrolled) .nav-links a.active,
  .site-nav.scrolled .nav-links a.active {
    background: #1e1e19 !important;
    color: #f4f4f1 !important;
  }

  /* Backdrop di bawah navbar */
  .nav-backdrop {
    z-index: 997;
  }

  /* Navbar di atas backdrop */
  .site-nav {
    z-index: 1000;
  }

  /* Drawer di atas backdrop */
  .nav-links {
    position: absolute;
    z-index: 1002;
  }

  /* Tombol X paling atas */
  .nav-toggle {
    position: relative;
    z-index: 1003;
  }
}

/* ---------- Hospitality Guide CTA ---------- */
.guide-cta {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
  padding: 26px 30px;
  background: rgba(191, 68, 25, 0.06);
  border: 1px solid rgba(191, 68, 25, 0.18);
  border-radius: 18px;
}
.guide-cta-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(191, 68, 25, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.guide-cta-icon svg { width: 24px; height: 24px; }
.guide-cta-text { flex: 1 1 auto; min-width: 200px; }
.guide-cta-text h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}
.guide-cta-text p { margin: 0; font-size: 0.9rem; color: var(--ink-soft); }
.guide-cta .btn-primary { flex: 0 0 auto; }

@media (max-width: 760px) {
  .guide-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 22px;
  }
  .guide-cta .btn-primary { width: 100%; justify-content: center; }
}

.guide-section {
  padding: 40px 0 0;
}
.guide-cta {
  max-width: 1160px;   /* sama dengan .wrap */
  margin: 0 auto;
}
.guide-cta .btn-primary {
  padding: 13px 26px;
  font-size: 0.92rem;
}