/* Free Dublin Walks with Simon
   Layout: single landing page for ad traffic. Photo hero, then alternating
   cream / white bands; the booking form is the destination of every button. */
:root {
  --green: #1d4536;
  --green-deep: #13302a;
  --gold: #b88a2e;
  --gold-dark: #94701f;
  --cream: #f7f4ec;
  --paper: #ffffff;
  --ink: #1f2b26;
  --muted: #56625b;
  --line: #e2ddd0;
  --tbc: #fff1b8;

  --font-display: "Crimson Pro", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-script: "Parisienne", "Brush Script MT", cursive;

  --radius: 6px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--green); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0; text-wrap: balance; color: var(--green-deep); }
h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h3 { font-size: 1.4rem; }
p { margin: 0; }

.container { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
.eyebrow { font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; color: var(--gold-dark); }
.script { font-family: var(--font-script); font-weight: 400; }

/* Placeholder highlight: delete this rule or the <mark> tags before launch */
mark.tbc { background: var(--tbc); color: inherit; padding: 0 3px; border-radius: 3px; }
.draft-banner { background: var(--tbc); font-size: 0.85rem; text-align: center; padding: 6px 16px; }
.sample-tag { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; background: var(--tbc); padding: 2px 8px; border-radius: 3px; font-weight: 600; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 28px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--gold); color: #fff; text-decoration: none;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 600;
  transition: background .2s;
}
.btn:hover { background: var(--gold-dark); }
.btn-small { padding: 9px 20px; font-size: 1.05rem; }
.btn:disabled { opacity: .6; cursor: wait; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 10px; }
.logo { text-decoration: none; display: grid; line-height: 1; color: var(--green-deep); }
.logo-name { font-family: var(--font-display); font-size: 1.65rem; font-weight: 600; }
.logo-sub { font-size: 0.68rem; letter-spacing: 0.32em; color: var(--gold-dark); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-family: var(--font-display); font-size: 1.1rem; }
.nav a:not(.btn):hover { color: var(--gold-dark); }
@media (max-width: 820px) {
  .nav { display: none; }
  .logo-name { font-size: 1.35rem; }
}

/* Hero */
.hero { position: relative; color: #fff; background: var(--green-deep); overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10,28,22,.86) 0%, rgba(10,28,22,.6) 55%, rgba(10,28,22,.3) 100%); }
.hero .container { position: relative; z-index: 2; padding-block: 80px 88px; display: grid; gap: 22px; justify-items: start; }
.hero .eyebrow { color: #f1dca8; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero-lead { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.4; max-width: 36ch; }
.hero-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 1rem; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: "✓"; color: #f1dca8; font-weight: 700; }
.hero-rating { font-size: 1rem; }
.hero-rating a { color: #fff; }
.hero-note { font-size: 0.92rem; opacity: .85; }
@media (max-width: 600px) { .hero .container { padding-block: 52px 60px; } .hero-lead { font-size: 1.25rem; } }

/* Sections */
.section { padding-block: 72px; }
.section.paper { background: var(--paper); }
.section-head { display: grid; gap: 10px; justify-items: center; text-align: center; margin-bottom: 40px; }
.section-head p { color: var(--muted); max-width: 60ch; font-size: 1.1rem; }

/* How it works: a real sequence, so numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 8px; align-content: start; min-width: 0; }
.steps li::before {
  content: counter(step); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green); color: #fff; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
}
.steps p { color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Tours */
.tour-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tour { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.tour-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tour p { color: var(--muted); }
.stops { list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 2px solid var(--gold); display: grid; gap: 4px; flex: 1; }
.tour-meta { font-size: 0.92rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.tour .btn { align-self: flex-start; }
@media (max-width: 960px) { .tour-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; } }

/* Attractions */
.sights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sight { background: var(--paper); padding: 20px 22px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.sight small { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; }
.sight h3 { font-size: 1.3rem; }
.sight p { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 960px) { .sights { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .sights { grid-template-columns: 1fr; } }

/* Guide */
.guide .container { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.guide img { width: 100%; max-width: 360px; border-radius: var(--radius); margin-inline: auto; }
.guide-text { display: grid; gap: 14px; min-width: 0; }
.guide-text p { max-width: 58ch; }
.guide-sign { font-size: 2.4rem; line-height: 1; }
@media (max-width: 820px) { .guide .container { grid-template-columns: 1fr; gap: 28px; } }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.review { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.review blockquote { margin: 0; font-family: var(--font-display); font-style: italic; font-size: 1.15rem; line-height: 1.45; }
.review figcaption { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 0.9rem; color: var(--muted); }
.stars { color: var(--gold); letter-spacing: 2px; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; } }

/* Booking */
.book { background: var(--green-deep); color: #e8eee9; }
.book .section-head h2, .book .section-head .eyebrow { color: #fff; }
.book .section-head .eyebrow { color: #f1dca8; }
.book .section-head p { color: #cfdad3; }
.form-card { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 28px; display: grid; gap: 18px; max-width: 760px; margin-inline: auto; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .form-row, .form-row.three { grid-template-columns: 1fr; } .form-card { padding: 20px; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: 0.95rem; }
.hint { font-weight: 400; color: var(--muted); }
input, select, textarea { font: inherit; font-size: 1rem; padding: 11px 12px; border: 1px solid #cfc9b8; border-radius: var(--radius); background: #fff; color: var(--ink); width: 100%; }
textarea { min-height: 110px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.93rem; color: var(--muted); }
.check input { width: auto; margin-top: 4px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form-foot p { font-size: 0.92rem; color: var(--muted); }
.form-status { padding: 14px 16px; border-radius: var(--radius); }
.form-status.ok { background: #e3efe7; color: var(--green-deep); border: 1px solid #b7d3c1; }
.form-status.warn { background: var(--tbc); border: 1px solid #e8d27a; }
.form-status.err { background: #f8e1dc; color: #7a2615; border: 1px solid #e7b5aa; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 780px; margin-inline: auto; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px; }
.faq summary { cursor: pointer; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--green-deep); }
.faq details p { margin-top: 10px; color: var(--muted); }

/* Footer */
.site-footer { background: var(--green-deep); color: #dfe7e1; font-size: 0.92rem; border-top: 1px solid rgba(255,255,255,.12); }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 26px 90px; }
.site-footer a { color: #f1dca8; }
@media (min-width: 821px) { .site-footer .container { padding-block: 26px; } }

/* Sticky mobile booking bar */
.mobile-book { display: none; }
@media (max-width: 820px) {
  .mobile-book {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(19,48,42,.08);
  }
  .mobile-book .btn { width: 100%; }
}

/* Cookie consent (only shown once a Meta Pixel ID is set in js/main.js) */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin-inline: auto; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.18); padding: 18px 20px; display: grid; gap: 12px; font-size: 0.95rem; }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-plain { background: transparent; color: var(--green); border: 1.5px solid var(--green); }
.btn-plain:hover { background: var(--green); color: #fff; }

/* Privacy page */
.legal { max-width: 760px; display: grid; gap: 16px; }
.legal h2 { font-size: 1.6rem; margin-top: 12px; }
.legal ul { margin: 0; padding-left: 22px; }

.legal-line { flex-basis: 100%; font-size: 0.8rem; opacity: .8; }

.site-footer p, .legal p { overflow-wrap: anywhere; }
.site-footer mark.tbc { color: var(--ink); }
@media (max-width: 820px) { .consent { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); } }

/* Photo strip */
.photo-strip { background: var(--paper); padding-block: 0 72px; }
.photo-strip .container { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.photo-strip figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; min-width: 0; }
.photo-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-strip figcaption { line-height: 1.2; position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 14px 10px; color: #fff; font-family: var(--font-display); font-size: 1.15rem; background: linear-gradient(transparent, rgba(0,0,0,.6)); }
@media (max-width: 760px) {
  .photo-strip .container { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
  .photo-strip figure { flex: 0 0 82%; scroll-snap-align: center; }
  .photo-strip figcaption { font-size: 1rem; padding: 18px 10px 8px; }
}
