/* ============================================================
   KHIIMORI JOURNEYS — MAIN.CSS
   Global: variables, reset, header, footer, buttons, page
   ============================================================ */

:root {
  --dark:       #16120D;
  --ink:        #2C2416;
  --parchment:  #F5EFE0;
  --section-bg: #FAF6EE;
  --gold:       #C89A4F;
  --gold-dim:   rgba(200, 154, 79, 0.18);
  --warm:       #7A5C3A;
  --muted:      #8A7A68;
  --divider:    #E0D5C2;
  --card-bg:    #FFFDF7;
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--parchment);
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 16px;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }

a { color: inherit; }

/* ── HEADER ─────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 40px;
  background: rgba(22, 18, 13, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 154, 79, 0.2);
}

.header-logo .logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* SVG logo — always light on dark header */
.header-logo svg {
  height: 48px;
  width: auto;
  color: #C89A4F;
  fill: currentColor;
}

.logo-text {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}

.header-meta {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(245, 239, 224, 0.45);
}

.sticky-btn {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--gold);
  padding: 9px 13px;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s;
}

.sticky-btn:hover { opacity: 0.85; }

/* ── HEADER NAV (non-journey pages) ─────────────────────────── */
.header-nav .nav-menu {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
}

.header-nav .nav-menu a {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(245, 239, 224, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.header-nav .nav-menu a:hover { color: var(--gold); }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  padding: 15px 35px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.2s;
}
.btn-gold:hover { opacity: 0.85; }

.btn-ghost {
  display: inline-block;
  border: 1px solid rgba(200, 154, 79, 0.4);
  color: rgba(245, 239, 224, 0.6);
  padding: 15px 32px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--parchment); }

.btn-parchment {
  display: inline-block;
  background: var(--parchment);
  color: var(--dark);
  padding: 15px 40px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.2s;
}
.btn-parchment:hover { opacity: 0.85; }

.btn-outline-light {
  display: inline-block;
  border: 1px solid rgba(245, 239, 224, 0.3);
  color: rgba(245, 239, 224, 0.6);
  padding: 15px 32px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline-light:hover { border-color: var(--parchment); color: var(--parchment); }

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(200, 154, 79, 0.15);
  padding: 40px;
}

.footer-top {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.footer-brand-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-brand-links a {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(245, 239, 224, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-brand-links a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(245, 239, 224, 0.08);
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(245, 239, 224, 0.3);
}

.footer-policy-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-policy-links a {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(245, 239, 224, 0.3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-policy-links a:hover { color: rgba(245, 239, 224, 0.6); }

/* ── PAGE.PHP (policy pages etc) ────────────────────────────── */
.page-content {
  min-height: 100vh;
  background: var(--parchment);
  padding-top: 80px;
}

.page-content-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 40px 100px;
}

.page-title {
  font-size: clamp(28px, 4vw, 48px);
  color: var(--dark);
  font-weight: 400;
  letter-spacing: -0.5px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--divider);
}

.page-body {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.75;
}

.page-body h2 {
  font-size: 24px;
  color: var(--dark);
  font-weight: 400;
  margin: 40px 0 16px;
}

.page-body h3 {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dark);
  margin: 32px 0 12px;
}

.page-body p { margin-bottom: 16px; }

.page-body a {
  color: var(--warm);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-body ul, .page-body ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.page-body li { margin-bottom: 8px; }

/* ── ADMIN BAR OFFSET ───────────────────────────────────────── */
.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .site-header { padding: 12px 20px; }
  .header-meta { display: none; }

  .header-nav .nav-menu { gap: 20px; }
  .header-nav .nav-menu a { font-size: 10px; letter-spacing: 1.5px; }

  .site-footer { padding: 32px 20px; }
  .footer-bottom { flex-direction: column-reverse; align-items: flex-start; gap: 16px; }

  .page-content-inner { padding: 48px 24px 72px; }
}

/* ── PAGE BACK LINK ─────────────────────────────────────────── */
.page-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 32px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold);
  transition: opacity 0.2s;
}

.page-back-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.page-back-link:hover { opacity: 0.7; }

.page-back-link--bottom {
  display: flex;
  margin-top: 48px;
  margin-bottom: 0;
  padding-top: 32px;
  border-top: 1px solid var(--divider);
}
