/* ============================================================
   NUSAKIYE — City detail page styles
   Personalized via --ca (accent) and --cb (accent light) set inline.
   ============================================================ */

.cy { min-height: 100vh; background: var(--white); }

/* fade-in images over accent placeholder */
.cyimg { opacity: 0; transition: opacity .6s ease; }
.cyimg.is-loaded { opacity: 1; }

/* ---------- TOP BAR ---------- */
.cy-top { position: sticky; top: 0; z-index: 60; background: rgba(251,247,241,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding: 10px 0; }
.cy-top-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.cy-back { font-size: 13.5px; font-weight: 700; color: var(--ink-soft); transition: color .18s; }
.cy-back:hover { color: var(--ca); }

/* ---------- HERO ---------- */
.cy-hero { position: relative; min-height: 72vh; display: flex; align-items: flex-end; overflow: hidden; background: linear-gradient(150deg, var(--ca), var(--cb)); }
.cy-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cy-hero-scrim { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(20,12,14,.12) 0%, rgba(20,12,14,.0) 30%, rgba(30,14,18,.82) 100%),
  linear-gradient(100deg, color-mix(in srgb, var(--ca) 55%, transparent), transparent 60%); }
.cy-hero-inner { position: relative; z-index: 2; color: #fff; padding: 0 32px 64px; width: 100%; max-width: var(--maxw); margin: 0 auto; }
.cy-hero-title { font-size: clamp(48px, 8vw, 104px); color: #fff; line-height: .95; margin-top: 12px; text-shadow: 0 4px 30px rgba(0,0,0,.35); }
.cy-hero-tag { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 2.4vw, 27px); color: var(--gold-light); margin-top: 12px; }
.cy-chips { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.cy-chip { background: rgba(255,255,255,.12); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.22); border-radius: 14px; padding: 12px 18px; max-width: 280px; }
.cy-chip .l { display: block; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); font-weight: 700; }
.cy-chip .v { display: block; font-size: 14px; font-weight: 600; color: #fff; margin-top: 3px; line-height: 1.4; }

/* ---------- SECTIONS ---------- */
.cy-section { padding: 86px 0; }
.cy-section--tint { background: var(--cream); }
.cy-narrow { max-width: 820px; }
.cy-eyebrow { font-size: 12.5px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--ca); }
.cy-eyebrow.center, .cy-h2.center { text-align: center; }
.cy-h2 { font-size: clamp(28px, 4vw, 44px); margin: 12px 0 0; }
.cy-rule { width: 64px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--ca), var(--cb)); margin: 20px 0 26px; }
.cy-rule.center { margin-left: auto; margin-right: auto; }
.cy-lead { font-size: 17.5px; line-height: 1.7; color: var(--ink); margin-bottom: 18px; }
.cy-lead:last-child { margin-bottom: 0; }

/* ---------- ATTRACTIONS ---------- */
.cy-attr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 40px; }
.cy-attr { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); transition: transform .25s ease, box-shadow .3s ease, border-color .25s; }
.cy-attr:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: color-mix(in srgb, var(--ca) 35%, var(--line)); }
.cy-attr-ph { height: 230px; overflow: hidden; background: linear-gradient(150deg, var(--ca), var(--cb)); }
.cy-attr-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cy-attr:hover .cy-attr-ph img { transform: scale(1.06); }
.cy-attr-bd { padding: 22px 24px 26px; }
.cy-attr-bd h3 { font-family: var(--serif); font-size: 23px; }
.cy-attr-bd p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; margin-top: 8px; }

/* ---------- FACTS ---------- */
.cy-facts { display: grid; gap: 14px; margin-top: 34px; }
.cy-fact { display: flex; gap: 20px; align-items: flex-start; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); border-left: 3px solid var(--ca); }
.cy-fact-n { font-family: var(--serif); font-size: 30px; font-weight: 800; color: var(--ca); line-height: 1; flex: none; opacity: .85; }
.cy-fact p { font-size: 15.5px; line-height: 1.6; color: var(--ink); }

/* ---------- GALLERY ---------- */
.cy-gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.cy-gallery-cell { aspect-ratio: 1 / 1.1; overflow: hidden; background: linear-gradient(150deg, var(--ca), var(--cb)); }
.cy-gallery-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.cy-gallery-cell:hover img { transform: scale(1.08); }

/* ---------- CTA BAND ---------- */
.cy-cta { background: linear-gradient(135deg, var(--ca), color-mix(in srgb, var(--ca) 55%, #1a0d10)); color: #fff; }
.cy-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 60px 32px; flex-wrap: wrap; }
.cy-cta-h { color: #fff; font-size: clamp(26px, 3.4vw, 40px); margin: 12px 0 8px; max-width: 18ch; }
.cy-cta-inner p { color: rgba(255,255,255,.82); font-size: 16px; }

/* ---------- OTHER CITIES ---------- */
.cy-others { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 38px; }
.cy-other { position: relative; aspect-ratio: 3/4; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-sm); background: linear-gradient(150deg, var(--ca), var(--cb)); transition: transform .25s ease, box-shadow .3s; }
.cy-other:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.cy-other img { width: 100%; height: 100%; object-fit: cover; }
.cy-other-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(30,14,18,.85)); }
.cy-other-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 16px; color: #fff; z-index: 2; }
.cy-other-meta small { display: block; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); font-weight: 700; }
.cy-other-meta b { font-family: var(--serif); font-size: 19px; font-weight: 700; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .cy-attr-grid { grid-template-columns: 1fr; }
  .cy-gallery { grid-template-columns: repeat(3, 1fr); }
  .cy-others { grid-template-columns: repeat(3, 1fr); }
  .cy-hero { min-height: 64vh; }
}
@media (max-width: 560px) {
  .cy-section { padding: 56px 0; }
  .cy-hero-inner { padding: 0 20px 40px; }
  .cy-gallery { grid-template-columns: repeat(2, 1fr); }
  .cy-others { grid-template-columns: repeat(2, 1fr); }
  .cy-cta-inner { padding: 40px 20px; }
  .cy-back { display: none; }
}
