/* =========================================================
   Theme Park & Resort – Coming Soon to Abu Dhabi
   ========================================================= */

:root {
  --navy-900: #070d33;
  --navy-800: #0b1340;
  --navy-700: #13205e;
  --royal: #1f3ca8;
  --royal-600: #2b4fd0;
  --sky-50: #f4f8ff;
  --sky-100: #e8f0fe;
  --sky-200: #d6e4fb;
  --gold: #f7c948;
  --gold-600: #e9b422;
  --gold-soft: #fff6e2;
  --ink: #1b2350;
  --muted: #4a5378;
  --white: #fff;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --brand: "Cormorant Garamond", Georgia, serif;
  --script: "Satisfy", "Brush Script MT", cursive;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 4px 14px rgba(19, 32, 94, .08);
  --shadow: 0 14px 40px rgba(19, 32, 94, .12);
  --shadow-lg: 0 24px 60px rgba(19, 32, 94, .18);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
svg { width: 1em; height: 1em; flex-shrink: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--navy-800); padding: 10px 16px; border-radius: 8px;
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.center { text-align: center; }

/* ---------- Shared type ---------- */
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
  color: var(--navy-700); margin-bottom: 10px;
}
.eyebrow-light { color: rgba(255,255,255,.88); }
.section-title {
  font-family: var(--serif); font-weight: 700; color: var(--navy-800);
  font-size: clamp(30px, 4vw, 46px); line-height: 1.15;
}
.section-title-sm { font-size: clamp(26px, 2.6vw, 34px); }
.title-rule { display: block; width: 64px; height: 3px; border-radius: 3px; background: var(--gold); margin: 18px auto 22px; }
.title-rule-left { margin-left: 0; }
.lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--muted); }
.note { margin-top: 28px; font-size: 13px; color: var(--muted); font-style: italic; }

/* ---------- Buttons & pills ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 15px; text-decoration: none;
  padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s ease; }
.btn:hover svg:last-child { transform: translateX(4px); }
.btn-gold { background: linear-gradient(180deg, #ffd865, var(--gold)); color: var(--navy-800); box-shadow: 0 10px 30px rgba(247, 201, 72, .35); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(247, 201, 72, .5); }
.btn-navy { background: var(--navy-700); color: #fff; box-shadow: 0 10px 24px rgba(19, 32, 94, .28); }
.btn-navy:hover { background: var(--royal); transform: translateY(-2px); }

.pill {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 11px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
}
.pill svg { width: 16px; height: 16px; }
.pill-gold { background: linear-gradient(180deg, #ffd865, var(--gold)); color: var(--navy-800); box-shadow: 0 6px 20px rgba(247, 201, 72, .35); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h); display: flex; align-items: center;
  background: linear-gradient(180deg, rgba(7, 13, 51, .72), rgba(7, 13, 51, 0));
  transition: background .35s ease, height .35s ease, box-shadow .35s ease, backdrop-filter .35s;
}
.site-header.is-scrolled {
  --header-h: 70px;
  background: rgba(9, 16, 58, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}
.header-inner { display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand-mark { width: 50px; height: 50px; filter: drop-shadow(0 0 10px rgba(247, 201, 72, .35)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--brand); font-weight: 700; font-size: 23px; letter-spacing: .015em; white-space: nowrap; }
.brand-sub { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-top: 5px; }
.brand-sub::before, .brand-sub::after { content: ""; width: 18px; height: 1px; background: var(--gold); opacity: .8; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 2px; }
.main-nav a {
  position: relative; display: block; padding: 8px 11px; white-space: nowrap;
  color: rgba(255, 255, 255, .9); text-decoration: none; font-size: 14.5px; font-weight: 500;
  transition: color .2s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--gold); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.nav-pill-mobile { display: none; }

.nav-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s, opacity .3s; }
.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); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(640px, 100vh, 900px);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  color: #fff; background: var(--navy-800);
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%;
  z-index: -2; animation: heroZoom 18s ease-out both;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 13, 51, .82) 0%, rgba(7, 13, 51, .55) 34%, rgba(7, 13, 51, 0) 60%),
    linear-gradient(0deg, rgba(7, 13, 51, .55) 0%, rgba(7, 13, 51, 0) 30%);
}
.hero-inner { position: relative; width: 100%; }
.hero-copy { max-width: 700px; }
.hero-title {
  font-family: var(--serif); font-weight: 800; line-height: 1.02;
  font-size: clamp(42px, 5.6vw, 78px); letter-spacing: -.01em;
  text-shadow: 0 6px 30px rgba(0, 0, 0, .35);
}
.hero-subtitle {
  font-family: var(--serif); font-weight: 700; color: var(--gold);
  font-size: clamp(26px, 3.4vw, 46px); line-height: 1.15; margin: 10px 0 22px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .35);
}
.hero-text { font-size: clamp(15.5px, 1.3vw, 17.5px); color: rgba(255, 255, 255, .92); max-width: 520px; margin-bottom: 30px; }
.hero-date { display: flex; align-items: center; gap: 12px; margin-top: 26px; font-size: 15px; color: rgba(255, 255, 255, .92); }
.hero-date svg { width: 24px; height: 24px; color: #fff; }

.hero-script {
  position: absolute; right: var(--gutter); top: -70px;
  display: flex; flex-direction: column; align-items: flex-end;
  font-family: var(--script); color: #fff; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.12;
  transform: rotate(-8deg); text-shadow: 0 4px 20px rgba(7, 13, 51, .6);
}
.hero-script span:nth-child(2) { margin-right: 30px; }
.hero-script span:nth-child(3) { margin-right: 70px; }
.hero-script-spark { position: absolute; right: -4px; bottom: 34px; width: 28px; height: 28px; color: var(--gold); animation: twinkle 2.8s ease-in-out infinite; }
.hero-script-swash { width: 170px; height: 34px; margin-top: 2px; margin-right: 20px; color: #fff; opacity: .9; }

.hero-tagline {
  position: absolute; right: var(--gutter); bottom: -40px; text-align: right;
  font-size: 12.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; line-height: 1.7;
  color: rgba(255, 255, 255, .95); text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
}

@keyframes twinkle { 0%, 100% { opacity: 1; transform: scale(1) rotate(0); } 50% { opacity: .45; transform: scale(.75) rotate(20deg); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(64px, 8vw, 110px) 0; }

.about { background: #fff; overflow: hidden; }
.about-deco { position: absolute; bottom: 0; width: clamp(220px, 30vw, 420px); height: auto; color: var(--sky-200); pointer-events: none; }
.about-deco-left { left: -20px; }
.about-deco-right { right: -30px; }
.sparkle-deco { position: absolute; width: 22px; height: 22px; color: var(--gold); opacity: .7; animation: twinkle 3.4s ease-in-out infinite; }
.about .container { position: relative; }

/* Experience */
.experience { background: linear-gradient(180deg, var(--sky-100), var(--sky-50)); }
.section-head { margin-bottom: clamp(36px, 5vw, 54px); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  position: relative; background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .35s ease, box-shadow .35s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card-media { aspect-ratio: 16 / 9; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-media img { transform: scale(1.06); }
.card-icon {
  position: absolute; left: 22px; top: -32px;
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  color: #fff; border: 4px solid #fff; box-shadow: 0 8px 20px rgba(19, 32, 94, .25);
}
.card-icon svg { width: 28px; height: 28px; }
.icon-blue { background: linear-gradient(135deg, #3d64e6, #1f3ca8); }
.icon-purple { background: linear-gradient(135deg, #8b6cf0, #5b3fc4); }
.icon-green { background: linear-gradient(135deg, #2fb57f, #13875a); }
.icon-orange { background: linear-gradient(135deg, #ff9f43, #f07412); }
.card-body { position: relative; padding: 42px 26px 30px; }
.card-body h3 { font-family: var(--serif); font-size: 21px; font-weight: 700; color: var(--navy-800); margin-bottom: 10px; }
.card-body p { color: var(--muted); font-size: 15px; }

/* What we know */
.known-wrap { padding-top: 0; background: var(--sky-50); }
.known {
  background: linear-gradient(180deg, #eaf2ff, #dde9fd); border-radius: var(--radius-lg);
  padding: clamp(40px, 5vw, 60px) clamp(20px, 3vw, 40px); box-shadow: var(--shadow-sm);
  border: 1px solid rgba(43, 79, 208, .08);
}
.known .section-head { margin-bottom: 36px; }
.facts { display: grid; grid-template-columns: repeat(7, 1fr); }
.facts li { padding: 8px 14px; text-align: center; border-left: 1px solid rgba(19, 32, 94, .15); }
.facts li:first-child { border-left: 0; }
.facts svg { width: 34px; height: 34px; color: var(--navy-700); margin-bottom: 12px; transition: transform .3s ease, color .3s; }
.facts li:hover svg { transform: translateY(-4px); color: var(--royal-600); }
.facts h3 { font-family: var(--serif); font-size: 17px; font-weight: 700; color: var(--navy-800); margin-bottom: 6px; }
.facts p { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* Abu Dhabi */
.city {
  display: grid; grid-template-columns: 1.15fr 1.25fr .95fr; align-items: stretch;
  background: #fff;
}
.city-media { position: relative; min-height: 380px; overflow: hidden; }
.city-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.city-copy { padding: clamp(40px, 4vw, 60px) clamp(24px, 3vw, 44px); align-self: center; }
.city-copy p:last-child { color: var(--muted); font-size: 15.5px; }
.updates {
  position: relative; align-self: center; margin: 32px var(--gutter) 32px 0;
  background: linear-gradient(160deg, #fffaf0, var(--gold-soft)); border: 1px solid #f6e3b5;
  border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow);
}
.updates h2 { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--navy-800); margin-bottom: 10px; }
.updates p { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.updates .btn { font-size: 14px; padding: 13px 22px; }
.updates-spark { position: absolute; top: 18px; right: 20px; width: 22px; height: 22px; color: var(--gold-600); animation: twinkle 3s ease-in-out infinite; }

/* ---------- Footer ---------- */
.site-footer { background: radial-gradient(120% 140% at 50% 0%, var(--navy-700), var(--navy-900) 70%); color: rgba(255, 255, 255, .85); padding: 56px 0 24px; }
.footer-top { display: flex; align-items: center; gap: 36px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-top .brand { padding-right: 36px; border-right: 1px solid rgba(247, 201, 72, .45); }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.footer-nav a { text-decoration: none; font-size: 14.5px; font-weight: 500; transition: color .2s; }
.footer-nav a:hover { color: var(--gold); }
.socials { display: flex; gap: 10px; margin-left: auto; }
.socials a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2); color: #fff; transition: background .25s, color .25s, transform .25s;
}
.socials a:hover { background: var(--gold); color: var(--navy-800); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-top: 26px; }
.disclaimer { max-width: 720px; font-size: 13px; line-height: 1.7; color: rgba(255, 255, 255, .72); }
.disclaimer strong { color: #fff; }
.footer-script {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-family: var(--script); font-size: 24px; color: #fff; padding-bottom: 6px; border-bottom: 1px solid rgba(247, 201, 72, .6);
}
.footer-script svg { width: 22px; height: 22px; color: var(--gold); animation: twinkle 3s ease-in-out infinite; }
.footer-legal { margin-top: 26px; font-size: 12.5px; color: rgba(255, 255, 255, .5); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.cards .card.reveal:nth-child(2) { transition-delay: .1s; }
.cards .card.reveal:nth-child(3) { transition-delay: .2s; }
.cards .card.reveal:nth-child(4) { transition-delay: .3s; }
.js .card.reveal.is-visible:hover { transform: translateY(-8px); transition-delay: 0s; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1320px) {
  .header-pill { display: none; }
}

@media (max-width: 1180px) {
  .hero-script { top: -60px; }
  .facts { grid-template-columns: repeat(4, 1fr); row-gap: 28px; }
  .facts li:nth-child(5) { border-left: 0; }
  .city { grid-template-columns: 1fr 1fr; }
  .city-media { grid-row: span 2; }
  .updates { margin: 0 var(--gutter) 40px; }
}

@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hero-script { display: none; }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 13, 51, .9) 0%, rgba(7, 13, 51, .72) 55%, rgba(7, 13, 51, .2) 90%),
      linear-gradient(0deg, rgba(7, 13, 51, .55) 0%, rgba(7, 13, 51, 0) 30%);
  }

  /* mobile nav */
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86vw); margin: 0;
    background: linear-gradient(180deg, var(--navy-700), var(--navy-900));
    padding: 100px 28px 32px; display: flex; flex-direction: column; gap: 28px;
    transform: translateX(100%); transition: transform .35s ease; box-shadow: -20px 0 50px rgba(0, 0, 0, .35);
    overflow-y: auto;
  }
  .main-nav.is-open { transform: none; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { font-size: 17px; padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .main-nav a::after { display: none; }
  .nav-pill-mobile { display: inline-flex; align-self: flex-start; }
  .nav-toggle { position: relative; z-index: 2; }
  body.nav-open { overflow: hidden; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(7, 13, 51, .5); z-index: 90; }

  .footer-top { flex-wrap: wrap; }
  .socials { margin-left: 0; }
  .footer-top .brand { border-right: 0; padding-right: 0; width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
  :root { --header-h: 72px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-name { font-size: 19px; }
  .brand-sub { font-size: 10px; }

  .hero { min-height: clamp(620px, 100svh, 860px); align-items: flex-end; padding-bottom: 56px; }
  .hero-bg { object-position: 72% 50%; }
  .hero-shade {
    background:
      linear-gradient(0deg, rgba(7, 13, 51, .95) 0%, rgba(7, 13, 51, .75) 45%, rgba(7, 13, 51, .15) 75%, rgba(7, 13, 51, .35) 100%);
  }
  .hero-tagline { display: none; }
  .btn { width: 100%; justify-content: center; }

  .cards { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts li { border-left: 0; padding: 18px 10px; border-top: 1px solid rgba(19, 32, 94, .12); }
  .facts li:nth-child(-n+2) { border-top: 0; }
  .facts li:nth-child(odd) { border-right: 1px solid rgba(19, 32, 94, .12); }
  .facts li:last-child { grid-column: 1 / -1; border-right: 0; }

  .city { grid-template-columns: 1fr; }
  .city-media { grid-row: auto; min-height: 260px; }
  .updates { margin: 0 var(--gutter) 56px; padding: 30px 24px; }

  .footer-nav ul { gap: 4px 20px; }
  .footer-script { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
