/* Halfiat Routes — Abu Dhabi bus tour editorial */
:root {
  --primary: #0c2d48;
  --primary-dark: #061a2b;
  --accent: #c9a227;
  --accent-light: #e8c96a;
  --sea: #1a6b7c;
  --bg: #f6f3ec;
  --surface: #ffffff;
  --text: #1a2a33;
  --muted: #5a6d78;
  --border: #e5dfd2;
  --shadow: 0 10px 44px rgba(12, 45, 72, 0.09);
  --shadow-lg: 0 24px 64px rgba(12, 45, 72, 0.14);
  --font: 'DM Sans', system-ui, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
  --radius: 12px;
  --radius-lg: 18px;
  --max: 1180px;
  --article: 720px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.72; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sea); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

.skip-link { position: absolute; top: -100px; left: 1rem; background: var(--primary); color: #fff; padding: .5rem 1rem; z-index: 999; border-radius: var(--radius); }
.skip-link:focus { top: 1rem; }

.site-header { background: rgba(246, 243, 236, .95); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 200; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 0; }
.logo { display: flex; align-items: center; gap: .7rem; color: var(--primary); font-weight: 700; }
.logo__icon { color: var(--accent); flex-shrink: 0; }
.logo__text { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; }
.nav { display: flex; gap: 2rem; }
.nav a { color: var(--muted); font-size: .88rem; font-weight: 500; letter-spacing: .03em; }
.nav a.active, .nav a:hover { color: var(--primary); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); }

.btn { display: inline-flex; align-items: center; padding: .9rem 1.75rem; font-size: .85rem; font-weight: 600; border-radius: var(--radius); transition: all .25s; letter-spacing: .02em; }
.btn--primary { background: var(--accent); color: var(--primary-dark); box-shadow: 0 4px 18px rgba(201, 162, 39, .35); }
.btn--primary:hover { background: var(--accent-light); transform: translateY(-2px); color: var(--primary-dark); }
.btn--outline { border: 1.5px solid rgba(255,255,255,.5); color: #fff; }
.btn--outline:hover { background: rgba(255,255,255,.1); color: #fff; }

.hero { position: relative; min-height: 90vh; display: flex; align-items: center; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(118deg, rgba(6,26,43,.92) 0%, rgba(12,45,72,.78) 42%, rgba(26,107,124,.55) 100%); }
.hero__content { position: relative; z-index: 2; padding: 5rem 1.5rem; color: #fff; max-width: 760px; }
.eyebrow { font-size: .74rem; text-transform: uppercase; letter-spacing: .2em; color: var(--accent-light); font-weight: 600; margin-bottom: 1.25rem; }
.hero h1 { font-family: var(--serif); font-size: clamp(2.5rem, 6vw, 4.1rem); font-weight: 600; line-height: 1.08; margin-bottom: 1.35rem; }
.hero__lead { font-size: 1.12rem; opacity: .92; margin-bottom: 2.25rem; line-height: 1.85; max-width: 640px; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.metrics { background: var(--surface); border-bottom: 1px solid var(--border); padding: 2.75rem 0; }
.metrics__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.metric__num { display: block; font-family: var(--serif); font-size: 2.6rem; color: var(--primary); line-height: 1; }
.metric__label { font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; margin-top: .4rem; }

.section { padding: 5.5rem 0; }
.section-head { max-width: 660px; margin-bottom: 3.25rem; }
.section-head h2 { font-family: var(--serif); font-size: 2.35rem; color: var(--primary); margin-bottom: .85rem; font-weight: 600; line-height: 1.15; }
.section-head p { color: var(--muted); font-size: 1.06rem; }

.cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.card { background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform .35s, box-shadow .35s; border: 1px solid var(--border); }
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; }
.card__image-link { display: block; overflow: hidden; aspect-ratio: 16/10; }
.card--featured .card__image-link { aspect-ratio: auto; min-height: 340px; }
.card__image-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.card:hover .card__image-link img { transform: scale(1.05); }
.card__body { padding: 1.85rem; }
.card__cat { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--sea); font-weight: 700; }
.card h3 { font-family: var(--serif); font-size: 1.4rem; margin: .55rem 0 .8rem; line-height: 1.22; font-weight: 600; }
.card h3 a { color: var(--text); }
.card h3 a:hover { color: var(--primary); }
.card p { font-size: .93rem; color: var(--muted); margin-bottom: 1rem; }
.card__meta { font-size: .78rem; color: var(--muted); }

.split { padding: 5.5rem 0; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.split__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.split__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split__content h2 { font-family: var(--serif); font-size: 2.1rem; color: var(--primary); margin-bottom: 1.1rem; font-weight: 600; }
.split__content p { color: var(--muted); margin-bottom: 1.1rem; font-size: 1.03rem; }
.split__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.75rem; }
.split__stat { background: var(--bg); border-radius: var(--radius); padding: 1.1rem 1.35rem; border: 1px solid var(--border); }
.split__stat strong { display: block; font-family: var(--serif); font-size: 1.55rem; color: var(--accent); }
.split__stat span { font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }

.topics { padding: 4.5rem 0 5.5rem; background: var(--primary); color: #fff; }
.topics h2 { font-family: var(--serif); font-size: 1.9rem; margin-bottom: 1.75rem; text-align: center; font-weight: 600; }
.topics__grid { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.topic-pill { padding: .65rem 1.35rem; background: rgba(201,162,39,.12); border: 1px solid rgba(201,162,39,.35); border-radius: 100px; color: #fff; font-size: .86rem; font-weight: 500; }
.topic-pill:hover { background: rgba(201,162,39,.28); color: #fff; }

.article-page { padding-bottom: 4.5rem; }
.article-hero { position: relative; height: 48vh; min-height: 340px; max-height: 540px; overflow: hidden; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.article-hero__overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 0%, transparent 58%); }
.article-wrap { margin-top: -4.5rem; position: relative; z-index: 2; }
.breadcrumb { font-size: .82rem; color: var(--muted); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb span { margin: 0 .4rem; }
.article-header { max-width: var(--article); margin-bottom: 2.75rem; }
.article-header__cat { font-size: .7rem; text-transform: uppercase; letter-spacing: .13em; color: var(--sea); font-weight: 700; }
.article-header h1 { font-family: var(--serif); font-size: clamp(2.1rem, 5vw, 3.1rem); color: var(--primary); line-height: 1.1; margin: .55rem 0 1.1rem; font-weight: 600; }
.article-header__meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .85rem; color: var(--muted); }
.article-layout { display: grid; grid-template-columns: 1fr 270px; gap: 3.25rem; align-items: start; }
.article__body { max-width: var(--article); }
.article__body .lead { font-size: 1.18rem; color: #2f4550; line-height: 1.88; margin-bottom: 2.25rem; }
.article__body h2 { font-family: var(--serif); font-size: 1.6rem; color: var(--primary); margin: 2.75rem 0 1rem; font-weight: 600; }
.article__body p { margin-bottom: 1.2rem; color: #2f4550; }
.article__body ul, .article__body ol { margin: 0 0 1.35rem 1.5rem; color: #2f4550; }
.article__body li { margin-bottom: .55rem; }
.article-figure { margin: 2.25rem 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.article-figure figcaption { padding: .9rem 1.35rem; background: var(--surface); font-size: .83rem; color: var(--muted); border-top: 1px solid var(--border); line-height: 1.5; }
.callout { background: linear-gradient(135deg, rgba(12,45,72,.06), rgba(201,162,39,.12)); border-left: 4px solid var(--accent); padding: 1.6rem 1.85rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 2.25rem 0; }
.callout strong { display: block; color: var(--primary); margin-bottom: .55rem; font-size: .84rem; text-transform: uppercase; letter-spacing: .07em; }
.callout p { margin: 0; font-size: .96rem; }
.related { position: sticky; top: 6rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.6rem; }
.related h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); margin-bottom: 1.1rem; }
.related__item { display: block; padding: .8rem 0; border-bottom: 1px solid var(--border); font-size: .89rem; font-weight: 500; color: var(--text); line-height: 1.45; }
.related__item:last-child { border: none; }
.related__item:hover { color: var(--sea); }

.page { padding: 4.5rem 0 5.5rem; }
.page h1 { font-family: var(--serif); font-size: 2.6rem; color: var(--primary); margin-bottom: 1.1rem; font-weight: 600; }
.page h2 { font-family: var(--serif); font-size: 1.45rem; color: var(--primary); margin: 2.25rem 0 .85rem; font-weight: 600; }
.page-lead { font-size: 1.16rem; color: var(--muted); margin-bottom: 2.25rem; max-width: 660px; }
.page p { margin-bottom: 1.05rem; color: #2f4550; max-width: 700px; }
.page ul { margin: 0 0 1.1rem 1.5rem; color: #2f4550; }
.page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; }
.contact-email { font-size: 1.22rem; font-weight: 600; margin-bottom: 2rem; }
.contact-form { max-width: 540px; display: grid; gap: 1.3rem; }
.contact-form label { display: grid; gap: .45rem; font-size: .88rem; font-weight: 600; }
.contact-form input, .contact-form textarea { padding: .9rem 1.05rem; border: 1px solid var(--border); border-radius: var(--radius); font: inherit; background: var(--surface); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.form-ok { color: var(--primary); font-weight: 500; margin-top: .5rem; }

.site-footer { background: var(--primary-dark); color: rgba(255,255,255,.82); padding: 4.5rem 0 2rem; margin-top: 2rem; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand strong { font-family: var(--serif); font-size: 1.35rem; color: #fff; display: block; margin-bottom: .55rem; font-weight: 600; }
.footer-brand p { font-size: .88rem; opacity: .8; margin-top: .35rem; }
.footer-note { font-size: .77rem !important; opacity: .52 !important; margin-top: 1.1rem !important; }
.footer-col h4 { font-size: .7rem; text-transform: uppercase; letter-spacing: .11em; color: var(--accent-light); margin-bottom: 1rem; }
.footer-col a { display: block; color: rgba(255,255,255,.74); font-size: .88rem; margin-bottom: .5rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 1.6rem; font-size: .77rem; opacity: .5; flex-wrap: wrap; gap: .5rem; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s, transform .75s; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .cards-grid, .footer-top, .page-grid, .split__grid { grid-template-columns: 1fr; }
  .card--featured { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .related { position: static; }
  .metrics__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav { position: fixed; top: 0; right: -100%; width: 85%; max-width: 300px; height: 100vh; background: var(--surface); flex-direction: column; padding: 5rem 1.5rem 2rem; box-shadow: var(--shadow-lg); transition: right .3s; }
  .nav.open { right: 0; }
  .hero { min-height: 74vh; }
  .article-hero { height: 36vh; }
}
