/* EJ Holidays — Dubai on the Water
   One stylesheet for every page. No frameworks, no web fonts = fast. */

:root {
  --navy: #0b2a3f;
  --sea: #0a7ea4;
  --sea-dark: #076584;
  --aqua: #e6f4f8;
  --sand: #f6efe4;
  --coral: #f7941d; /* brand orange (logo) */
  --coral-dark: #dd7d0b;
  --charcoal: #3d3c3a; /* brand charcoal (logo) */
  --ink: #1d2a33;
  --muted: #5b6b76;
  --line: #dbe5ea;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(11, 42, 63, 0.08);
  --max: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--sea-dark); }
a:hover { color: var(--navy); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 70px; gap: 16px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 20px; color: var(--navy); text-decoration: none;
  letter-spacing: -0.3px;
}
.logo img { width: 52px; height: 52px; }
.wordmark { color: var(--charcoal); }
.wordmark span { color: var(--coral); }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--sea); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--sea-dark) 55%, var(--sea) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero .wrap { padding-top: 56px; padding-bottom: 88px; position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(30px, 5vw, 48px); line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.5px;
}
.hero p.lead { font-size: clamp(17px, 2.2vw, 20px); max-width: 640px; margin: 0 0 24px; opacity: 0.92; }
.hero .waves { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 60px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; background: rgba(255,255,255,0.14);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}
.hero.small .wrap { padding-top: 40px; padding-bottom: 72px; }
.meta { font-size: 14px; opacity: 0.85; margin-top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 16px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--coral); color: var(--white); }
.btn-primary:hover { background: var(--coral-dark); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.btn-viator { background: #186b6d; color: var(--white); }
.btn-viator:hover { background: #10504f; color: var(--white); }
.btn-gyg { background: #ff5533; color: var(--white); }
.btn-gyg:hover { background: #e2401f; color: var(--white); }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { padding: 48px 0; }
section.alt { background: var(--aqua); }
section.sand { background: var(--sand); }
h2 { font-size: clamp(24px, 3.4vw, 32px); line-height: 1.25; color: var(--navy); margin: 0 0 14px; letter-spacing: -0.3px; }
h3 { font-size: 20px; color: var(--navy); margin: 26px 0 8px; }
p { margin: 0 0 16px; }
.section-intro { color: var(--muted); max-width: 680px; margin-bottom: 28px; }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column;
  text-decoration: none; color: var(--ink); transition: transform 0.15s, box-shadow 0.15s;
}
a.card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(11,42,63,0.14); color: var(--ink); }
.card .art { height: 130px; display: flex; align-items: center; justify-content: center; }
.card .art svg { width: 64px; height: 64px; }
.card .body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.card h3 { margin: 0 0 6px; font-size: 19px; }
.card p { color: var(--muted); font-size: 15px; margin: 0 0 14px; flex: 1; }
.card .tag {
  align-self: flex-start; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px;
  padding: 3px 10px; border-radius: 999px;
}
.tag.live { background: #dff5e9; color: #18744a; }
.tag.soon { background: #eef1f3; color: var(--muted); }
.card.is-soon { opacity: 0.78; }

.art-1 { background: linear-gradient(135deg, #0a7ea4, #41b6d6); }
.art-2 { background: linear-gradient(135deg, #ff6b4a, #ffa36b); }
.art-3 { background: linear-gradient(135deg, #7a4fd1, #b08cf0); }
.art-4 { background: linear-gradient(135deg, #12876f, #4fc9a8); }
.art-5 { background: linear-gradient(135deg, #e09b16, #f7c95a); }
.art-6 { background: linear-gradient(135deg, #0b2a3f, #2e5f80); }
.art-7 { background: linear-gradient(135deg, #c53f6b, #f07fa3); }

/* ---------- Article ---------- */
.article { padding: 40px 0 24px; }
.article h2 { margin-top: 44px; }
.article h2:first-child { margin-top: 0; }
.article ul, .article ol { padding-left: 22px; margin: 0 0 18px; }
.article li { margin-bottom: 6px; }

.quick {
  background: var(--aqua); border-left: 5px solid var(--sea); border-radius: 10px;
  padding: 20px 22px; margin: 0 0 30px;
}
.quick h2 { font-size: 20px; margin: 0 0 10px; }
.quick ul { margin: 0; }

.toc {
  border: 1px solid var(--line); border-radius: 10px; padding: 16px 22px; margin: 0 0 30px; background: #fbfdfe;
}
.toc strong { display: block; margin-bottom: 6px; color: var(--navy); }
.toc ol { margin: 0; padding-left: 20px; }
.toc a { text-decoration: none; }

/* Comparison table */
.table-wrap { overflow-x: auto; margin: 0 0 24px; border: 1px solid var(--line); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15.5px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--navy); color: var(--white); font-weight: 700; }
tbody tr:nth-child(even) td { background: #f7fafb; }
tbody tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 700; color: var(--navy); }

/* Pick boxes (tour options) */
.pick {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 0 0 18px;
  box-shadow: var(--shadow); background: var(--white);
}
.pick .label {
  display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.7px;
  color: var(--white); background: var(--sea); padding: 3px 10px; border-radius: 999px; margin-bottom: 8px;
}
.pick h3 { margin: 4px 0 6px; }
.pick .facts { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 15px; margin: 0 0 12px; }
.pick .facts b { color: var(--ink); }
.pick ul { margin-bottom: 16px; }

.tip {
  background: #fff7e8; border: 1px solid #f3dcaa; border-radius: 10px; padding: 14px 18px; margin: 0 0 20px; font-size: 16px;
}
.tip strong { color: #8a5a00; }

/* FAQ */
details {
  border: 1px solid var(--line); border-radius: 10px; padding: 0 18px; margin-bottom: 10px; background: var(--white);
}
summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 14px 0; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; font-size: 22px; line-height: 1; color: var(--sea); }
details[open] summary::after { content: "–"; }
details p { margin-top: 0; }

/* Disclosure + footer */
.disclosure {
  font-size: 14px; color: var(--muted); background: #f4f7f8; border-radius: 8px; padding: 10px 14px; margin: 0 0 24px;
}
.site-footer { background: var(--navy); color: #c9d6de; padding: 36px 0 28px; font-size: 15px; margin-top: 40px; }
.site-footer a { color: var(--white); }
.site-footer .cols { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.site-footer h4 { color: var(--white); margin: 0 0 8px; font-size: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 4px; }
.site-footer .fine { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 24px; padding-top: 16px; font-size: 13px; }

/* Breadcrumbs */
.crumbs { font-size: 14px; margin-bottom: 12px; opacity: 0.85; }
.crumbs a { color: var(--white); }

@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .nav { display: none; }
  section { padding: 36px 0; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  table { min-width: 0; font-size: 14.5px; }
  th, td { padding: 10px 9px; }
}

/* ---------- Home hero with photo mosaic ---------- */
.hero-home .wrap { padding-top: 48px; padding-bottom: 92px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero-badges { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14.5px; opacity: 0.95; }
.hero-badges li::before { content: "✓"; color: var(--coral); font-weight: 800; margin-right: 6px; }
.hero-mosaic {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 230px 170px; gap: 12px;
}
.tile {
  position: relative; border-radius: 16px; overflow: hidden; display: block; color: var(--white);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25); background: var(--sea-dark);
}
.tile-big { grid-column: 1 / -1; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
a.tile:hover img { transform: scale(1.04); }
.tile-label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px;
  background: linear-gradient(transparent, rgba(5,20,32,0.82));
  font-weight: 800; font-size: 17px; line-height: 1.2; color: var(--white);
}
.tile-label small { display: block; font-weight: 600; font-size: 13px; opacity: 0.85; margin-top: 2px; }
.footer-logo { width: 72px; height: 72px; background: #fff; border-radius: 50%; padding: 4px; margin-bottom: 10px; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-mosaic { grid-template-rows: 200px 150px; }
}
@media (max-width: 640px) {
  .logo img { width: 46px; height: 46px; }
  .hero-home .wrap { padding-top: 32px; padding-bottom: 80px; }
  .hero-mosaic { grid-template-rows: 180px 130px; gap: 10px; }
}
.tile-big img { object-position: center 80%; }
