/* ============================================================
   NUSAKIYE — Design System
   Indonesia & Türkiye · Ottoman heritage · premium travel
   ============================================================ */

:root {
  /* Brand palette */
  --crimson:       #8E2433;
  --crimson-dark:  #5E1620;
  --crimson-deep:  #43101A;
  --gold:          #C9A24B;
  --gold-light:    #E3CB8A;
  --gold-soft:     #efe1bf;
  --ink:           #2B2024;
  --ink-soft:      #6b5d62;
  --cream:         #FBF7F1;
  --cream-2:       #F4ECE0;
  --white:         #FFFFFF;
  --green:         #3B7A57;
  --green-soft:    #e6f0ea;
  --navy:          #16253F;
  --navy-deep:     #0E1A2E;
  --navy-soft:     #25395a;
  --line:          #e7ddcf;
  --line-strong:   #d9cbb4;

  /* Typography */
  --serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --sans:  'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;

  /* Shadows */
  --sh-sm: 0 1px 2px rgba(43,32,36,.06), 0 2px 6px rgba(43,32,36,.05);
  --sh-md: 0 6px 18px rgba(43,32,36,.08), 0 2px 6px rgba(43,32,36,.05);
  --sh-lg: 0 20px 50px rgba(43,32,36,.16), 0 6px 16px rgba(43,32,36,.08);
  --sh-gold: 0 8px 30px rgba(201,162,75,.30);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 30px;

  --maxw: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.08; margin: 0; color: var(--ink); }
h1 { letter-spacing: -.5px; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--sans); cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: var(--gold); color: var(--crimson-deep); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ---- Eyebrow / kicker ---- */
.kicker {
  font-size: 12.5px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); display: inline-flex; align-items: center; gap: 10px;
}
.kicker.dark { color: var(--crimson); }

/* ---- Diamond divider ◆◆◆ ---- */
.diamonds { display: inline-flex; align-items: center; gap: 7px; color: var(--gold); }
.diamonds::before, .diamonds::after,
.diamonds i {
  content: ""; width: 6px; height: 6px; background: currentColor;
  transform: rotate(45deg); display: inline-block; opacity: .9;
}
.diamonds i:nth-child(2) { width: 8px; height: 8px; }
.rule-diamond {
  display: flex; align-items: center; gap: 16px; color: var(--gold);
}
.rule-diamond::before, .rule-diamond::after {
  content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--line-strong));
}
.rule-diamond::after { background: linear-gradient(90deg, var(--line-strong), transparent); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-weight: 700; font-size: 15px; letter-spacing: .01em;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
  cursor: pointer; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--crimson-deep); box-shadow: var(--sh-gold);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(201,162,75,.42); }
.btn-crimson { background: var(--crimson); color: #fff; box-shadow: var(--sh-md); }
.btn-crimson:hover { background: var(--crimson-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--crimson); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--gold); color: var(--crimson-dark); background: var(--cream); }
.btn-ghost-light { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(227,203,138,.5); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); border-color: var(--gold-light); }
.btn-lg { padding: 17px 34px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---- Cards ---- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-sm); transition: transform .25s ease, box-shadow .3s ease, border-color .25s ease;
}

/* ---- Ottoman corner ornament helper ---- */
.ornament-frame { position: relative; }

/* ---- Entrance: transform-only so content is ALWAYS visible
       (even if rAF is frozen, reduced-motion, or printing) ---- */
@keyframes fadeUp { from { transform: translateY(18px); } to { transform: none; } }
@keyframes fadeIn { from { transform: translateY(10px); } to { transform: none; } }
@keyframes popIn  { from { transform: scale(.96); } to { transform: none; } }
.fade-up { animation: fadeUp .6s cubic-bezier(.2,.7,.3,1) both; }
.fade-in { animation: fadeIn .45s ease both; }
@media (prefers-reduced-motion: reduce) {
  .fade-up, .fade-in { animation: none; }
}

/* ---- Scrollbar (subtle) ---- */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 99px; border: 3px solid var(--white); }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ---- Form controls ---- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.input, .select, textarea.input {
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--white); transition: border-color .18s ease, box-shadow .18s ease; width: 100%;
}
.input:focus, .select:focus, textarea.input:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,75,.16);
}
.input::placeholder { color: #b6a99f; }

/* utility */
.muted { color: var(--ink-soft); }
.center { text-align: center; }
.tnum { font-variant-numeric: tabular-nums; }
